Advertisement
SubhamRath

Untitled

Oct 22nd, 2021
618
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. .lib "/home/srath/tech/skywater-pdk-libs-sky130_fd_pr/models/sky130.lib.spice" tt
  2. Vp vdd1 0 dc 1.8
  3.  
  4. xr1 inp inp1 0 sky130_fd_pr__res_xhigh_po_1p41 l=7 w=1.41
  5. xr2 ref refe 0 sky130_fd_pr__res_xhigh_po_1p41 l=62 w=1.41
  6.  
  7. xq1 0 0 inn 0 sky130_fd_pr__pnp_05v5_W0p68L0p68 m=8
  8. xq2 0 0 inp1 0 sky130_fd_pr__pnp_05v5_W0p68L0p68 m=64
  9. xq3 0 0 refe 0 sky130_fd_pr__pnp_05v5_W0p68L0p68 m=8
  10.  
  11. xmp1 inn out vdd1 vdd1 sky130_fd_pr__pfet_01v8 l=2 w=5 m=4
  12. xmp2 inp out vdd1 vdd1 sky130_fd_pr__pfet_01v8 l=2 w=5 m=4
  13. xmp3 ref out vdd1 vdd1 sky130_fd_pr__pfet_01v8 l=2 w=5 m=4
  14. *Is 0 n1 dc 5u
  15. *Vm n1 rp1 dc 0
  16. E1 out gnd inp inn 1000
  17.  
  18. .dc temp -40 125 5
  19. .control
  20. RUN
  21. plot V(inn)
  22. plot V(inp)
  23. plot V(ref)
  24. plot V(ref)-V(refe)
  25. .endc
  26. .end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement