pmos.sch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. v {xschem version=3.4.5 file_version=1.2
  2. }
  3. G {}
  4. K {}
  5. V {}
  6. S {}
  7. E {}
  8. N 20 -70 130 -70 {
  9. lab=#net1}
  10. N -80 -10 -20 -10 {
  11. lab=vgs}
  12. N 20 -10 50 -10 {
  13. lab=#net1}
  14. N -80 -70 20 -70 {
  15. lab=#net1}
  16. N 20 -70 20 -40 {
  17. lab=#net1}
  18. N 50 -70 50 -10 {
  19. lab=#net1}
  20. N 20 20 20 60 {
  21. lab=GND}
  22. N 20 60 130 60 {
  23. lab=GND}
  24. N 130 -10 130 60 {
  25. lab=GND}
  26. C {devices/vsource.sym} -80 -40 0 0 {name=Vgs value=0 savecurrent=false}
  27. C {devices/vsource.sym} 130 -40 0 0 {name=Vds value=0 savecurrent=false}
  28. C {devices/gnd.sym} 20 60 0 0 {name=l2 lab=GND}
  29. C {devices/code_shown.sym} -440 -210 0 0 {name=lib only_toplevel=false value="
  30. .lib /usr/local/share/pdk/sky130A/libs.tech/ngspice/sky130.lib.spice tt
  31. "}
  32. C {devices/code_shown.sym} -440 -120 0 0 {name=dc_simulation1 only_toplevel=false value="
  33. .dc Vgs 0 1.8 1m Vds 0 1.8 0.3
  34. .save all
  35. .end
  36. "}
  37. C {sky130_fd_pr/pfet_01v8.sym} 0 -10 0 0 {name=M1
  38. L=0.15
  39. W=1
  40. nf=1
  41. mult=1
  42. ad="'int((nf+1)/2) * W/nf * 0.29'"
  43. pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
  44. as="'int((nf+2)/2) * W/nf * 0.29'"
  45. ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
  46. nrd="'0.29 / W'" nrs="'0.29 / W'"
  47. sa=0 sb=0 sd=0
  48. model=pfet_01v8
  49. spiceprefix=X
  50. }