|
* Simulation of block sbTDrOut07_hmodel_01, TT Case, 85C
' I5 J2 G( J, G2 R.options list node post probe accurate
% U8 ]3 ?/ f8 K& ]& G. v; N. C.options BYPASS=0. R, c$ L( Q! r3 f
.global SUBSTRATE VSS$ G2 {9 P; g3 l
: O3 x/ J% e! N5 h" a& q: u6 d
********************************************************************
$ G" W. [* N' D& l! }0 U, w$ j L% A& r9 Z/ l! h
, Y( P9 v5 r. N6 F
9 V1 E" t) \/ r' ~5 e8 | .lib "./vendorhspice.1_0v-3_3v-G" TT! _' s8 U4 e' N$ ~
.lib "./vendorhspice.1_0v-3_3v-G" TT_hvt
1 `6 M+ ~# J0 _& w .lib "./vendorhspice.1_0v-3_3v-G" TT_lvt
+ K8 e; O& \9 S6 y. H9 m .lib "./vendorhspice.1_0v-3_3v-G" TT_na0 Y8 \3 d! O+ N: E# P
.lib "./vendorhspice.1_0v-3_3v-G" TT_BIP
9 O; A% j7 Q' H: c .lib "./vendorhspice.1_0v-3_3v-G" TT_DIO
1 `- P, ^% _9 ]" e* K0 J .lib "./vendorhspice.1_0v-3_3v-G" TT_DIO_hvt$ a# g8 ~1 G% r/ X
.lib "./vendorhspice.1_0v-3_3v-G" TT_DIO_na
# d! n8 A3 R+ L9 f .lib "./vendorhspice.1_0v-3_3v-G" TT_RES D$ G& b/ b! h r* ^% t6 k
.lib "./ResModel.1_0v-3_3v-G" res_t- }; m) s- L6 d4 ^
6 C- f( ^& J+ p
.temp 85; ]+ i/ J7 C; b
' v9 ?! J) ^* g% _4 ]8 u********************************************************************
) p. q! u9 ]% ]+ O3 C8 p
0 m# b7 o7 Y( {5 C/ Q$ E .inc './TT/sbtdrout07_hmodel_01.inc'- z- H8 b7 {: G& s
.inc './TT/alias.inc'
$ j2 K5 d: K1 W) \* .inc './data_pattern.inc'$ M" S8 p, ? Z+ j' K. g- L& B
/ f% z9 x2 h! @3 e" H$ S********************************************************************
" ?4 `: Z9 K0 K% X6 n) P: E' M6 z y. j: V6 Q% @
********************************************************************/ W; d, s* G0 V! y
*StatEye example circuit a, T3 W4 C- D& a
.param _BW=0.16n
" Z$ k, Q4 ^) k3 {3 [.param trf='_BW*0.01'
' ~ `$ P( M r.param opfreq='1.0/_BW'
8 H* Z8 A% U) D, ^! z6 Z0 W5 B*define ports and stimulus2 R4 h$ }9 {" o
P1 data 0 port=1 LFSR (1 0 0 'trf' 'trf' 'opfreq' 1 [7,4,1]); H5 R S2 h- x) _
P2 pad1 pad0 0 port=2
3 l4 o- \4 n2 ]2 q% i7 ~: j) x. F+ { K" ^
- T( P' R, i: U2 J8 {) l8 Z+ a- \, R! W3 M f! r4 t' }; B
% Q' z" m3 V/ ~! h$ YVAVDD AVDD 0 dc=pwr.vdd
/ ]4 ], y3 G8 o% j# `2 {VAGND AGND 0 dc=pwr.gnd
/ {( o' E# Q! ?' Y% N. w/ V( a) D5 U3 L& ]* H# `3 j) h! B
.param pwr.vdd = 0.98
7 N3 W/ a8 Y) N4 a.param pwr.gnd = 0.00: T2 U5 d. w' `$ R' d9 }/ {
( |1 _( j# Y. p5 ?, w+ g! S
# @( |* w9 b) T, hRsub SUBSTRATE 0 100
2 @) H3 I- E" F' RRvss VSS AGND 100u
7 b% J. @1 v( N9 u4 e; xRagnd AGND 0 100u
5 J' N+ P* i L3 S+ h8 W/ T/ O% h) b# E' f* ]( @/ Y# t8 m1 ~2 M
* Set up loads
' m, i* z# j4 a
. s9 z; r* |# L4 ] R# O* ]! X; GRL1 pad1 vcm 50.09 s2 o. K0 r! ^ Q
RL0 pad0 vcm 50.04 k O. Y! F5 v" d, C: l
! b6 j) z# ~# r4 X
* Add subcircuit with parameter values5 O4 U+ r* e: H( K
( L; L; {, R( i0 r9 J
XDUT AGND AVDD pad1 pad0 data 'sbTDrOut07_hmodel_01'
/ @7 n7 E! H% o- K# d+ sr1=0 eq3=0 eq2=0 eq1=0 Clock=Clock Wait=Wait" E) ~7 Z- m2 x$ h+ s. o& e
% e3 D4 g6 n& r% w
* Set Clock parameter
9 V, Z0 [1 @" e# n, {.param Clock=6.250G
8 S6 r# e. @" }, j5 x5 w( F( E1 L C3 z/ |0 O
* Set Wait parameter9 q- }! V7 L0 R
.param Wait=0n
5 y9 @9 N" X+ U8 K3 l
) [4 |; D8 E4 ^, a h" X: F*.TRAN 100p 50n7 |- y+ {0 n5 x# {
% |: [2 n. r$ c: |- f* NOTE the 100ps timestep will cause interpolation inaccuracy, but does
w0 k# e$ O; A3 f: n* give a short simulation time. Serious work should be done at <10ps.( K3 g# @5 M" f) u! w. x
/ @$ X6 z" q4 \9 V3 f, q/ T/ B7 Y$ r" ~
*.probe7 v* A$ u! @6 M6 D0 m3 h
*+ v(agnd)9 H% A8 k3 a0 I
*+ v(avdd)+ X7 t# ?, x& O: O: y ^
*+ v(data) B0 h; s+ y, `2 r9 u0 W
*+ v(pad0)
; w" F! n# y e' l0 N2 Y*+ v(pad1)
1 g4 W4 T0 K- w( X5 L4 ~+ J- `*+ v(vcm)1 L1 N5 a2 j6 q# @
*+ i(vavdd)
h$ F2 t8 e, z9 a% l*+ i(vagnd)
+ J+ T9 u) U& X0 U; T" R0 j9 y/ r. L9 L& @! {- ?1 |
*print and probe* }4 [2 Z+ W7 y2 b4 H8 i
*eye and ber
7 a2 W( b C* R1 \) l9 t) v5 Q; @* @- J/ H% D+ a8 x4 L' R" |8 c% G, U+ o
.probe stateye eye(2) ber(2) eyeBW(2)
T/ ~$ f, j/ A" d9 t) G3 ]3 S.print stateye eye(2) ber(2) eyeBW(2)' j0 D9 T) f4 U0 l
7 b: r2 q6 M" H# s*bathtub curve
9 B' o j. n- A4 S.probe stateye bathtubT(2,1e-11) bathtubV(2,0.0)
) T1 x. K2 |# Y+ H4 N- w, V4 w4 T.print stateye bathtubT(2,1e-11) bathtubV(2,0.0)
9 J4 m! j1 h* R% k7 Y) `% ]3 V: J* z! {
*eye size, n. [/ E1 D! l0 x t4 b1 G
.probe stateye eyeV(2,0.0) eyeT(2,1.0e-11)$ o3 Z. d6 N) O2 N2 e: Q8 V
.print stateye eyeV(2,0.0) eyeT(2,1.0e-11)2 u4 K# Q' G2 y: O4 o% j
/ T3 L8 N& j# ?' c( S! P*measurements
" C, y/ A# H3 ]7 k.measure stateye veye1 Veye 2 time=1e-11 tol=1e-10
1 A8 ^5 [8 o- E' R+ U% T+ H4 _3 ~! _.measure stateye heye1 Heye 2 volt=0.0 tol=1e-10 @; f7 Z1 `7 \3 Q
.measure stateye worst1 WorstBits 2 time=10p# H9 E! r- I7 B# e
, Z3 K7 O0 B- o! Y" F+ Y/ F9 a, T8 P***********************************************************************
3 _( e4 J5 ~( @! D9 B' y
% G/ i+ Q( h# u/ R% h$ u( _.end7 W5 \) X9 d( M& \( v& t
$ r' N- R4 m4 k: Z; P
错误信息如下: Init: read install configuration file: d:\synopsys\Hspice_C-2009.03-SP1\meta.cfg! j7 T, _! ]' E x! U0 b% i; K6 Z
**error** (e:\sim\stateye\sbtdrout07_hmodel_01_transmit_hspice_model\tt.sp:76)! w8 `7 r8 X" Y" ?/ _
syntax error when fetching "'sbTDrOut07_hmodel_01'"
' X# E( f. C( }/ l' N
/ _( c1 e% k/ g; n我用hspice2008仿真没有问题。 |
|