nmos.sch 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. v {xschem version=3.4.5 file_version=1.2
  2. }
  3. G {}
  4. K {}
  5. V {}
  6. S {}
  7. E {}
  8. N 10 -10 120 -10 {
  9. lab=Vout}
  10. N -90 20 -30 20 {
  11. lab=Vin}
  12. N 10 20 40 20 {
  13. lab=GND}
  14. N 40 20 40 50 {
  15. lab=GND}
  16. N 10 50 40 50 {
  17. lab=GND}
  18. N 10 -30 10 -10 {
  19. lab=Vout}
  20. N 10 -110 10 -90 {
  21. lab=#net1}
  22. N 10 50 10 140 {
  23. lab=GND}
  24. N 10 140 80 140 {
  25. lab=GND}
  26. N 80 140 120 140 {
  27. lab=GND}
  28. N 120 130 120 140 {
  29. lab=GND}
  30. N 120 -10 120 70 {
  31. lab=Vout}
  32. C {sky130_fd_pr/nfet_01v8.sym} -10 20 0 0 {name=M1
  33. L=0.15
  34. W=1
  35. nf=1
  36. mult=1
  37. ad="'int((nf+1)/2) * W/nf * 0.29'"
  38. pd="'2*int((nf+1)/2) * (W/nf + 0.29)'"
  39. as="'int((nf+2)/2) * W/nf * 0.29'"
  40. ps="'2*int((nf+2)/2) * (W/nf + 0.29)'"
  41. nrd="'0.29 / W'" nrs="'0.29 / W'"
  42. sa=0 sb=0 sd=0
  43. model=nfet_01v8
  44. spiceprefix=X
  45. }
  46. C {devices/vsource.sym} -90 50 0 0 {name=Vin value="pulse(0 1.8 0 1ns 1ns 4ns 10ns)" savecurrent=false}
  47. C {devices/vsource.sym} 40 -110 3 0 {name=Vdd value=1.8 savecurrent=false}
  48. C {devices/gnd.sym} -90 80 0 0 {name=l1 lab=GND}
  49. C {devices/gnd.sym} 80 140 0 0 {name=l2 lab=GND}
  50. C {devices/gnd.sym} 70 -110 0 0 {name=l3 lab=GND}
  51. C {devices/code_shown.sym} -520 -230 0 0 {name=lib only_toplevel=false value="
  52. .lib /usr/local/share/pdk/sky130A/libs.tech/ngspice/sky130.lib.spice tt
  53. "}
  54. C {devices/code_shown.sym} -520 -140 0 0 {name=dc_simulation1 only_toplevel=false value="
  55. .tran 100ps 12ns
  56. .save all
  57. .end
  58. "}
  59. C {devices/lab_pin.sym} -90 20 0 0 {name=p1 sig_type=std_logic lab=Vin}
  60. C {devices/lab_pin.sym} 120 -10 0 1 {name=p2 sig_type=std_logic lab=Vout}
  61. C {devices/res.sym} 10 -60 0 0 {name=R1
  62. value=1k
  63. footprint=1206
  64. device=resistor
  65. m=1}
  66. C {devices/capa.sym} 120 100 0 0 {name=C1
  67. m=1
  68. value=50f
  69. footprint=1206
  70. device="ceramic capacitor"}