|
.subckt inv b a wdn=1u k=2.5) v$ @- ], A# R7 m8 h
mp0 b a vdd! vdd! p_18 w="wdn*k" l=len$ @/ O6 L7 O! E7 r1 X3 s& ]2 h
mn0 b a gnd! gnd! n_18 w=wdn l=len/ Q, b3 G; m. p; i
.ends: Y6 j% H, ]5 V1 v$ k
]9 R0 Z) ]# Y0 ^. b.subckt and3 a b c g wdn=1u k=2.5
6 L2 Y6 W& z% N! {mp0 d a vdd! vdd! p_18 w="wdn*k" l=len1 _- h! B/ A* }2 e) j2 I
mp1 d b vdd! vdd! p_18 w="wdn*k" l=len
( z% \7 [% o/ H6 E' wmp2 d c vdd! vdd! p_18 w="wdn*k" l=len2 V8 f; {4 c1 q5 N: }
mn0 d a e gnd! n_18 w="wdn*3" l=len
9 d; E9 R; X/ J" X, E2 @3 Gmn1 e b f gnd! n_18 w="wdn*3" l=len" `$ P* _2 }# r* }
mn2 f c gnd! gnd! n_18 w="wdn*3" l=len
m: z3 Y2 a9 [9 q6 Sxinv d g inv$ F3 `6 b; h ~' J
.ends
7 q0 s* n+ z. g: m u+ p+ m' s# }
6 J# Z! Y4 z# J4 E4 _& r( U7 g.subckt and2 a b f wdn=1u k=2.58 `7 x7 B% @# L% D* [
mp0 d a vdd! vdd! p_18 w="wdn*k" l=len
8 m R- z3 @ Q' i% Gmp1 d b vdd! vdd! p_18 w="wdn*k" l=len
8 B) V/ ]& c, q; ^mn0 d a e gnd! n_18 w="wdn*2" l=len
6 ?8 y& u- C# X' a4 A2 |mn1 e b gnd! gnd! n_18 w="wdn*2" l=len' Q* \3 v0 |# e F% |6 S
xinv d f inv9 m1 ~3 K. f% d# G$ n$ C0 Z' x+ R! t
.ends
1 I" u8 k6 I0 V2 N" G
/ `2 o* ^. E7 a9 g, m.subckt or2 a b f wdn=1u k=2.5
: q/ i' c* w8 l+ w; o% R0 O, Emp0 e a vdd! vdd! p_18 w="wdn*k*2" l=len2 u* V: B( L' [( c1 {# F) H
mp1 d b e vdd! p_18 w="wdn*k*2" l=len; n7 M1 q+ H$ O% Z3 @0 k% o
mn0 d a gnd! gnd! n_18 w=wdn l=len" u/ U' i" L0 t- C6 G; Y4 K" _
mn1 d b gnd! gnd! n_18 w=wdn l=len3 r* T" n! k1 |+ Q2 x3 M
xinv d f inv, W* @- ?/ i3 a5 I5 [3 X, M
.ends
) `, p6 r1 A, f9 v" U; D7 f6 s1 {$ d, K& b1 j8 T. j
.subckt or3 a b c g wdn=1u k=2.5 * s# h, ~% P9 v y2 ^& V0 }
mp0 d a e vdd! p_18 w="wdn*k*3" l=len
N% ?. M9 a8 f* Ump1 e b f vdd! p_18 w="wdn*k*3" l=len
0 [% A& ~( A5 H6 w" E) I( j2 Z8 u: imp2 f c vdd! vdd! p_18 w="wdn*k*3" l=len
& R3 l/ W1 R, B+ ]" W" s4 t- W+ pmn0 d a gnd! gnd! n_18 w=wdn l=len# J8 H1 [5 |) ?
mn1 d b gnd! gnd! n_18 w=wdn l=len
2 a$ H+ h! [- H9 Q/ Zmn2 d c gnd! gnd! n_18 w=wdn l=len. C, u* ?, |. L1 ^, Y: v
xinv d g inv" z7 _8 C) c/ K9 R+ e
.ends
2 [4 j9 w! c4 o! p9 N& q/ w6 m5 x3 R; [9 J' \
.subckt buffer b a wdn=1u k=2.5 kb=1, ^8 ^; K* n) C4 m8 Z* j
mp0 b a vdd! vdd! p_18 w="wdn*k*kb" l=len; Q x M/ Z S6 k/ d2 j! C# V
mn0 b a gnd! gnd! n_18 w=wdn l=len
2 {( ^, F- K4 Q- _.ends# }8 M& _0 H9 M
: F7 m+ `: i+ M0 Q+ M! T* L- ]xt1 b0 b1 b2 t1 or3
! W$ B% G( d- W+ L( ?# mxt2 b1 b2 t2 or2
8 K9 ]. I* ?8 T" }xinv b1 b1b inv
1 y/ ]0 U: R+ J- j) yxt33 b0 b1b b2 t33 and34 V& H6 G# G( K$ ~6 k F, `
xt3 b2 t33 t3 or2' P8 T# e$ m3 x" }, v' k
xt4b b2 t4b buffer kb=3
4 [7 e; t7 J6 T/ J8 X" m4 Y+ N3 Mxt4 t4b t4 buffer kb=9, V# e- {- D6 J' A6 R
xor5 b0 b1 tor5 or2. F4 ?5 ?; j5 C% t2 t2 P
xt5 tor5 b2 t5 and2
" p( R/ s& ` C2 o$ f4 o2 U7 p& @, C+ axt6 b1 b2 t6 and2
$ z6 n/ V# |6 M" }" @0 Dxt7 b0 b1 b2 t7 and3
, s7 S5 x8 J! Zvdd vdd! gnd! 3.3
- N2 a6 r( K9 w7 w+ Q( fvb0 b0 gnd! PULSE 3.3 0 0 0.5n 0.5n 4.5n 10n2 j6 F# x- h- ~ r' X6 O4 w
vb1 b1 gnd! PULSE 3.3 0 0 0.5n 0.5n 9.5n 20n
! S& c: S: c8 B6 }6 [2 @* Z" m2 [vb2 b2 gnd! PULSE 3.3 0 0 0.5n 0.5n 19.5n 40n
. ~6 Q' ^7 K0 z {6 o.tran 0.1n 200n! v9 A \* M4 C( D% j9 H
CL1 t1 gnd! 5p$ B8 ]) t: Z; M! c) o# r
CL2 t2 gnd! 5p
% O/ c( h* l: W' l& G3 ^/ SCL3 t3 gnd! 5p
, }# ^% O, f5 M1 \1 s. ICL4 t4 gnd! 5p4 {: x7 ^; n6 w' C5 l
CL5 t5 gnd! 5p& b9 R1 m- X1 ~$ v; p) y1 v! ^, T9 T
CL6 t6 gnd! 5p( l4 D" v/ p+ {/ U; {1 h
CL7 t7 gnd! 5p
* a n y- H0 U7 x) d+ V.end
$ h0 _; E; R/ N9 ?" `" `
Q4 l' y* G3 W! `* h" l2 U1 N **error** no dc path to ground from node 0:t1 defined in subckt 0
: A" ?5 K" Z ~0 |8 y9 y% D7 k+ E / [/ j, P2 c( x2 K: \
% V' I2 i, \% A1 C+ F請問要怎麼解決這個問題 |
評分
-
查看全部評分
|