nmosTrait.sch 1.3 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 -110 10 -50 10 {
  9. lab=Vgs}
  10. N -10 10 20 10 {
  11. lab=GND}
  12. N 20 10 20 40 {
  13. lab=GND}
  14. N -10 40 20 40 {
  15. lab=GND}
  16. N -10 -20 120 -20 {
  17. lab=Vds}
  18. N 120 -20 120 10 {
  19. lab=Vds}
  20. N -10 40 -10 70 {
  21. lab=GND}
  22. C {sky130_fd_pr/nfet_01v8.sym} -30 10 0 0 {name=M1
  23. L=0.15
  24. W=2
  25. nf=1
  26. mult=1
  27. ad="'int((nf+1)/2) * W/nf * 0.29'"
  28. pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
  29. as="'int((nf+2)/2) * W/nf * 0.29'"
  30. ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
  31. nrd="'0.29 / W'" nrs="'0.29 / W'"
  32. sa=0 sb=0 sd=0
  33. model=nfet_01v8
  34. spiceprefix=X
  35. }
  36. C {devices/vsource.sym} -110 40 0 0 {name=Vgs value=0 savecurrent=false}
  37. C {devices/vsource.sym} 120 40 0 0 {name=Vds value=1.8 savecurrent=false}
  38. C {devices/gnd.sym} -110 70 0 0 {name=l1 lab=GND}
  39. C {devices/gnd.sym} -10 70 0 0 {name=l2 lab=GND}
  40. C {devices/gnd.sym} 120 70 0 0 {name=l3 lab=GND}
  41. C {devices/lab_pin.sym} -110 10 0 0 {name=p1 sig_type=std_logic lab=Vgs}
  42. C {devices/lab_pin.sym} 120 -20 0 1 {name=p2 sig_type=std_logic lab=Vds}
  43. C {devices/code_shown.sym} -610 -240 0 0 {name=lib only_toplevel=false value="
  44. .lib /usr/local/share/pdk/sky130A/libs.tech/ngspice/sky130.lib.spice tt
  45. "}
  46. C {devices/code_shown.sym} -610 -150 0 0 {name=dc_simulation1 only_toplevel=false value="
  47. .dc Vgs 0 2.2 1m
  48. .save all
  49. .end
  50. "}