1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31 |
.MODEL cmosn NMOS
.MODEL cmosp PMOS
.subckt inv out in
.ends
.SUBCKT inv out in
m2 out in GND GND cmosn w=1.5e-06 l=4e-07
m3 out in VDD VDD cmosp w=2.7e-06 l=4e-07
.ENDS not
.subckt buf in out
.ends
.SUBCKT buf out in
m5 out n5 GND GND cmosn w=1.5e-06 l=4e-07
m6 GND in n5 GND cmosn w=5e-07 l=4e-07
m7 out n5 VDD VDD cmosp w=2.7e-06 l=4e-07
m8 VDD in n5 VDD cmosp w=9e-07 l=4e-07
.ENDS buf
.subckt inv out in
.ends
.subckt TOP
X1 n1 IN inv
X2 OUT n1 buf
.ends TOP
.END
|