** sch_path: /home/sahana/inverter/xschem/Inverter_tb.sch **.subckt Inverter_tb out in *.opin out *....
v
** sch_path: /home/sahana/inverter/xschem/Inverter_tb.sch **.subckt Inverter_tb out in *.opin out *.ipin in V1 in GND PWL(0 0 20n 0 900n 1.8) .save i(v1) V2 net1 GND 1.8 .save i(v2) x1 net1 out in GND Inverter ** begin user architecture code .control tran 1n 1u plot V(in) V(out) .endc .lib /usr/local/pdk/sky130A/libs.tech/ngspice/sky130.lib.spice tt ** end user architecture code **.ends * expanding symbol: Inverter.sym # of pins=4 ** sym_path: /home/sahana/inverter/xschem/Inverter.sym ** sch_path: /home/sahana/inverter/xschem/Inverter.sch .subckt Inverter VDD out in VSS *.opin out *.ipin in *.iopin VDD *.iopin VSS XM1 out in VSS VSS sky130_fd_pr__nfet_01v8 L=0.18 W=4.5 nf=3 ad='int((nf+1)/2) * W/nf * 0.29' as='int((nf+2)/2) * W/nf * 0.29' + pd='2*int((nf+1)/2) * (W/nf + 0.29)' ps='2*int((nf+2)/2) * (W/nf + 0.29)' nrd='0.29 / W' nrs='0.29 / W' + sa=0 sb=0 sd=0 mult=1 m=1 XM2 out in VDD VDD sky130_fd_pr__pfet_01v8 L=0.18 W=3 nf=3 ad='int((nf+1)/2) * W/nf * 0.29' as='int((nf+2)/2) * W/nf * 0.29' + pd='2*int((nf+1)/2) * (W/nf + 0.29)' ps='2*int((nf+2)/2) * (W/nf + 0.29)' nrd='0.29 / W' nrs='0.29 / W' + sa=0 sb=0 sd=0 mult=1 m=1 .ends .GLOBAL GND .end