Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .lib "/home/srath/tech/skywater-pdk-libs-sky130_fd_pr/models/sky130.lib.spice" tt
- Vp vdd1 0 dc 1.8
- xr1 inp inp1 0 sky130_fd_pr__res_xhigh_po_1p41 l=7 w=1.41
- xr2 ref refe 0 sky130_fd_pr__res_xhigh_po_1p41 l=62 w=1.41
- xq1 0 0 inn 0 sky130_fd_pr__pnp_05v5_W0p68L0p68 m=8
- xq2 0 0 inp1 0 sky130_fd_pr__pnp_05v5_W0p68L0p68 m=64
- xq3 0 0 refe 0 sky130_fd_pr__pnp_05v5_W0p68L0p68 m=8
- xmp1 inn out vdd1 vdd1 sky130_fd_pr__pfet_01v8 l=2 w=5 m=4
- xmp2 inp out vdd1 vdd1 sky130_fd_pr__pfet_01v8 l=2 w=5 m=4
- xmp3 ref out vdd1 vdd1 sky130_fd_pr__pfet_01v8 l=2 w=5 m=4
- *Is 0 n1 dc 5u
- *Vm n1 rp1 dc 0
- E1 out gnd inp inn 1000
- .dc temp -40 125 5
- .control
- RUN
- plot V(inn)
- plot V(inp)
- plot V(ref)
- plot V(ref)-V(refe)
- .endc
- .end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement