add first submitted files
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
** sch_path: /foss/designs/naps/deliverable-3/Cmos_tb.sch
|
||||
.subckt Cmos_tb
|
||||
|
||||
Vin Vin 0 1.8
|
||||
x1 Vout Vin Cmos
|
||||
**** begin user architecture code
|
||||
|
||||
** opencircuitdesign pdks install
|
||||
.lib /foss/pdks/sky130A/libs.tech/combined/sky130.lib.spice tt
|
||||
|
||||
|
||||
|
||||
.option savecurrents
|
||||
.control
|
||||
save all
|
||||
dc Vin 0 1.8 0.1
|
||||
plot v(Vin) v(Vout)
|
||||
.endc
|
||||
|
||||
|
||||
**** end user architecture code
|
||||
.ends
|
||||
|
||||
* expanding symbol: /foss/designs/naps/deliverable-3/Cmos.sym # of pins=2
|
||||
** sym_path: /foss/designs/naps/deliverable-3/Cmos.sym
|
||||
** sch_path: /foss/designs/naps/deliverable-3/Cmos.sch
|
||||
.subckt Cmos Vout Vin
|
||||
*.PININFO Vin:B Vout:O
|
||||
M1 Vout Vin net1 net1 sky130_fd_pr__pfet_01v8 L=0.15 W=1 nf=1
|
||||
M2 Vout Vin 0 GND sky130_fd_pr__nfet_01v8 L=0.15 W=1 nf=1
|
||||
Vcc net1 0 1.8
|
||||
.ends
|
||||
|
||||
Reference in New Issue
Block a user