|
.subckt inv b a wdn=1u k=2.5/ r# K r1 F/ W4 P% s' ?
mp0 b a vdd! vdd! p_18 w="wdn*k" l=len
7 M/ ~, v5 C" W9 Hmn0 b a gnd! gnd! n_18 w=wdn l=len V* ]8 q9 `7 T' S7 y1 Z n
.ends
0 [0 A4 t+ ]- O1 j0 o: R2 \
. a* {8 M p# i0 u3 b: ]7 g.subckt and3 a b c g wdn=1u k=2.5
/ x q6 O) I+ q& Hmp0 d a vdd! vdd! p_18 w="wdn*k" l=len( ~1 M1 R0 {- b3 {$ P$ ?
mp1 d b vdd! vdd! p_18 w="wdn*k" l=len5 Y7 o8 N0 [0 k J( D; Q k
mp2 d c vdd! vdd! p_18 w="wdn*k" l=len- Z( z3 p, W+ [4 ]% v0 C* e
mn0 d a e gnd! n_18 w="wdn*3" l=len# L8 d8 v7 t9 @
mn1 e b f gnd! n_18 w="wdn*3" l=len* ], ]* p+ K- U5 |% Y1 s
mn2 f c gnd! gnd! n_18 w="wdn*3" l=len
" @2 }" |9 u- L0 Txinv d g inv2 `* I( w5 n. u. D" A
.ends + ?0 E; [6 W# C* j
% P) d2 g* w+ R) `
.subckt and2 a b f wdn=1u k=2.55 F0 ^ k: D1 @0 ?; J5 M% u
mp0 d a vdd! vdd! p_18 w="wdn*k" l=len p4 r2 \! |) U# h" Q; ~: Z/ c# u2 z$ f
mp1 d b vdd! vdd! p_18 w="wdn*k" l=len7 t0 Y4 K' Q! q* |1 M
mn0 d a e gnd! n_18 w="wdn*2" l=len i, ~* C& c0 S
mn1 e b gnd! gnd! n_18 w="wdn*2" l=len
3 ]6 y: f7 w& A! s3 xxinv d f inv
1 J5 l$ E5 {4 @# v2 j.ends
; i6 `7 V# } T% ^# W- p( x; D) S7 E* l, Z* {3 ]
.subckt or2 a b f wdn=1u k=2.5' Q: s. Q3 r m6 Y) A
mp0 e a vdd! vdd! p_18 w="wdn*k*2" l=len
( L' ]' ? P" Y. bmp1 d b e vdd! p_18 w="wdn*k*2" l=len1 k. v- y6 M: H
mn0 d a gnd! gnd! n_18 w=wdn l=len
# a% v5 T1 f# @$ p5 f# ~mn1 d b gnd! gnd! n_18 w=wdn l=len O5 u0 ]( ?8 K' S
xinv d f inv* Q- `* ?8 ?2 r2 Y, x) j- j
.ends
9 o, S2 l, ~+ P% v- _; e% L% ]& i% Y- Q
.subckt or3 a b c g wdn=1u k=2.5 " O0 L0 {3 c; a
mp0 d a e vdd! p_18 w="wdn*k*3" l=len6 t( C- g3 Y! w" N
mp1 e b f vdd! p_18 w="wdn*k*3" l=len
5 \! v) ^$ @. P+ D3 S1 jmp2 f c vdd! vdd! p_18 w="wdn*k*3" l=len4 h+ k9 Z8 {8 C {9 x6 t# @: Z
mn0 d a gnd! gnd! n_18 w=wdn l=len
7 j: b5 `, d1 [mn1 d b gnd! gnd! n_18 w=wdn l=len
! D' x: E6 Y( R% Nmn2 d c gnd! gnd! n_18 w=wdn l=len0 e% \( @) U* Y0 E
xinv d g inv! J9 O9 P4 }: v; c+ P' U) T
.ends
- f- p. U* i5 W0 f8 E3 Z1 A1 ]' c& }5 |' z
.subckt buffer b a wdn=1u k=2.5 kb=1: |. ]9 z1 m( s
mp0 b a vdd! vdd! p_18 w="wdn*k*kb" l=len
# r5 j& m! g% b! x8 h& c# Wmn0 b a gnd! gnd! n_18 w=wdn l=len
! c/ K/ J! v% ~0 r4 U' C( A" e.ends+ K! w$ V; p& i c, e5 [
! C: K N) `: a
xt1 b0 b1 b2 t1 or3' x1 }8 H* x: h; ?! [
xt2 b1 b2 t2 or2
# X' T9 R0 V7 \2 N, v) Exinv b1 b1b inv% r/ H6 P% G6 M& W& z8 T, u0 ~; [
xt33 b0 b1b b2 t33 and3; M- V9 f" F& B6 h
xt3 b2 t33 t3 or2
/ B4 {5 X: n" D( b& J& r" W& ^/ uxt4b b2 t4b buffer kb=3/ G/ C5 P( u9 Y( o4 |
xt4 t4b t4 buffer kb=9* J3 s& j, ^# b0 Y6 U
xor5 b0 b1 tor5 or2# R; k, t& L1 U% m+ D
xt5 tor5 b2 t5 and2
6 j6 |$ _& T+ J! xxt6 b1 b2 t6 and2' }5 [ a' l6 g. O: N3 d: {
xt7 b0 b1 b2 t7 and3
7 p$ Z6 L/ \8 ?+ T6 zvdd vdd! gnd! 3.3
' ?' \) p% g; t6 T* z2 Nvb0 b0 gnd! PULSE 3.3 0 0 0.5n 0.5n 4.5n 10n8 w% ?' h7 w' P) p
vb1 b1 gnd! PULSE 3.3 0 0 0.5n 0.5n 9.5n 20n5 E/ K1 E( U; s8 ?
vb2 b2 gnd! PULSE 3.3 0 0 0.5n 0.5n 19.5n 40n$ H+ d# |' f+ p& k$ T" `
.tran 0.1n 200n6 U0 l6 N0 G8 C2 K
CL1 t1 gnd! 5p
& ]' E6 t5 s2 Q4 e+ KCL2 t2 gnd! 5p' V% g2 r2 d( Y
CL3 t3 gnd! 5p
* h. R7 @; r" v! n& |4 BCL4 t4 gnd! 5p9 ? \3 t0 U, O" v( d
CL5 t5 gnd! 5p5 n# @5 p* F0 Z0 g
CL6 t6 gnd! 5p$ k. s D8 {& A. x8 O% J
CL7 t7 gnd! 5p* }) E7 O4 { c5 j1 ^, L& M9 d
.end8 |; u* P: B2 z
, P4 {/ y! w. z4 ? **error** no dc path to ground from node 0:t1 defined in subckt 0
. `3 b) @6 ^% [% e* m' [( v
; i3 _, x$ [! L$ D" [# J. i- H6 i! F! R' a/ M8 f: X9 o/ {# c4 L
請問要怎麼解決這個問題 |
評分
-
查看全部評分
|