|
* Simulation of block sbTDrOut07_hmodel_01, TT Case, 85C
* @# ?) D% ~4 \" ~) U/ L0 t.options list node post probe accurate/ u( d$ w4 z- I- z. D( j! i
.options BYPASS=0
/ f9 }# W4 _! p1 q- q! U& a5 w( i& t.global SUBSTRATE VSS3 E) d) j2 x3 \$ V t
7 {! k3 Z2 M) g3 A' Y# p7 e********************************************************************
/ J+ k: A3 @+ [4 g0 U4 Y1 O5 h2 Q3 `! `; o$ B9 d. g( G
0 Y) z$ h/ P( T! b$ O
: q, L4 a4 \( C! D4 p$ |, Q
.lib "./vendorhspice.1_0v-3_3v-G" TT
+ d. H& W: I8 z1 v6 \4 K9 ` .lib "./vendorhspice.1_0v-3_3v-G" TT_hvt
7 a. I6 k! s* J# I .lib "./vendorhspice.1_0v-3_3v-G" TT_lvt+ J- p# K( z6 N" p8 G8 H) i9 `
.lib "./vendorhspice.1_0v-3_3v-G" TT_na% t1 b5 X" O7 e% P! U0 l; `
.lib "./vendorhspice.1_0v-3_3v-G" TT_BIP
5 U, H9 D, d5 U |9 { .lib "./vendorhspice.1_0v-3_3v-G" TT_DIO" @, Z$ J, ^7 h( S
.lib "./vendorhspice.1_0v-3_3v-G" TT_DIO_hvt
4 O, P6 P0 z) ~- R: L9 [; s7 c .lib "./vendorhspice.1_0v-3_3v-G" TT_DIO_na5 [$ U" E: N% i7 |/ E
.lib "./vendorhspice.1_0v-3_3v-G" TT_RES, [& x3 M- z5 E3 r$ n; G& K
.lib "./ResModel.1_0v-3_3v-G" res_t0 N k' f6 T0 E' l
Q3 ^0 \. J7 d% f$ E9 B P) k5 x' K; G .temp 85
c2 w b; {1 w* l* e" |
; [) t7 h* P* L% O********************************************************************% U* Z! |( B3 G& k
" [* D2 j f. C2 b6 @8 x
.inc './TT/sbtdrout07_hmodel_01.inc'
" P% o6 D. H e8 b3 C7 [ y. y .inc './TT/alias.inc'
2 r: b6 Y6 X$ s+ U* .inc './data_pattern.inc'7 C, A8 s. S; M
9 e% {4 W8 P* V3 M. |+ ^# w) [********************************************************************
- p7 X3 d$ q2 ~% d3 Q8 M- D1 g! a. c. |
********************************************************************2 Z! i) X( E3 k& ?
*StatEye example circuit6 N3 e0 v# U# @6 {/ T
.param _BW=0.16n
p; A% X8 l5 ^; w) K& X: h; t.param trf='_BW*0.01'8 a- Y; V3 N( E( `0 @! G
.param opfreq='1.0/_BW': x$ i$ P- d- ?: G
*define ports and stimulus2 a$ h4 y9 f* c4 T: p/ U" U& v* D
P1 data 0 port=1 LFSR (1 0 0 'trf' 'trf' 'opfreq' 1 [7,4,1])9 P9 m. Q/ R3 ~. Z$ e* s5 p( ^
P2 pad1 pad0 0 port=2+ ~8 ?- }0 I+ H" {+ }/ a3 P. C( L
4 b# j' J& u/ F: F, }$ \1 I
. \/ y* [$ ]" L/ v- }2 x2 S
8 b" t) |: E: q" V0 U# `
- s S9 Z" H" g; U. T. i+ Z1 eVAVDD AVDD 0 dc=pwr.vdd
/ o8 W8 |" r1 ]) uVAGND AGND 0 dc=pwr.gnd7 X, w" W/ t5 m( k
" G) Q5 a' \# e* N7 Y.param pwr.vdd = 0.98: G8 L. B( k4 `8 G2 `
.param pwr.gnd = 0.00
) ?& C2 J: E7 O# j- U
! D, X2 v( \( b- Q2 }& Z) _) Y% X9 t# ^* q
Rsub SUBSTRATE 0 1004 S% K$ T& Y3 B- d3 H( P+ ^# A' p5 T/ [
Rvss VSS AGND 100u/ N* f b6 W& t% I# e
Ragnd AGND 0 100u
+ |- K" n" e" a- V+ C! f0 J ~4 {
- R, p! j+ M9 n* Set up loads
* g( a3 c3 Y* B0 K0 Y+ X- M; `% N- p3 k, I3 j$ Y T6 V: w7 \+ N
RL1 pad1 vcm 50.09 o+ o: Q% v7 w3 ?# V' c
RL0 pad0 vcm 50.03 L7 q. _# l" G+ W
* m( H1 c2 |* d/ p) V3 W; N; U
* Add subcircuit with parameter values
/ y9 g; B2 e& |! Z+ N L# g! p2 O K& V
XDUT AGND AVDD pad1 pad0 data 'sbTDrOut07_hmodel_01'5 J8 y2 L+ }6 H; U+ p/ Q
+ sr1=0 eq3=0 eq2=0 eq1=0 Clock=Clock Wait=Wait$ w' d* m+ b1 K5 d: \( S
' k& }) O* f5 Y9 F5 H5 @* Set Clock parameter
( a" v: ~3 b }.param Clock=6.250G
% c) y7 d5 V; n6 p) p
0 K. Y% _; w' j- D* A; K7 a, z& p* Set Wait parameter
, M& N' c" O" |/ @8 \.param Wait=0n
* q& E; K7 z; P* C7 @ R$ D! \- L) L B' X6 |0 X
*.TRAN 100p 50n* [( h+ @" g/ p4 s- o
1 I5 w. k, X- D: B3 N* NOTE the 100ps timestep will cause interpolation inaccuracy, but does' g4 Z, C1 S+ u9 I1 q1 O, x
* give a short simulation time. Serious work should be done at <10ps.7 c$ f: c& Z. H
6 _/ y! |" F2 e$ ~3 q
*.probe r: M" O! R1 D. Q+ p; K. o# ?! N3 I
*+ v(agnd)
: w# I; a/ }* d*+ v(avdd)
' T9 Y9 q5 {. I- L*+ v(data)
* j$ |8 A' G! `4 C*+ v(pad0)8 _2 L, L }& R! ~, M- \! K3 X
*+ v(pad1); f( R2 p7 V, l8 _6 N
*+ v(vcm)) H: W1 X& L; F) F) I3 K- \
*+ i(vavdd)
: ]) F; F) @; p8 c' J! L% D*+ i(vagnd)
# p, ? u4 j0 W/ s5 u
' P* T W: c' ~# d3 {# Y*print and probe
% k1 e+ b/ _; P*eye and ber
. O n- g0 D \) ~* V( h+ a$ O# I9 b7 r
.probe stateye eye(2) ber(2) eyeBW(2) [% T3 |$ a& ?5 M- [8 l& s5 r
.print stateye eye(2) ber(2) eyeBW(2)
9 m. _+ s! ^6 B0 {/ R* B$ p. c* \& w/ t! P1 M
*bathtub curve
" v8 r; ]5 k. O, C8 r& y: N.probe stateye bathtubT(2,1e-11) bathtubV(2,0.0)
: n Y; P2 n- a3 n1 z% H! u.print stateye bathtubT(2,1e-11) bathtubV(2,0.0) 8 J9 h( m$ v( k9 u
6 a: n0 L$ R9 a5 b$ O8 ]4 Z7 I
*eye size
! F0 _4 X+ i$ p+ e. h/ g) U.probe stateye eyeV(2,0.0) eyeT(2,1.0e-11)6 `) n5 ]* p% o% r0 M' H
.print stateye eyeV(2,0.0) eyeT(2,1.0e-11)
3 W5 V# T' S4 G$ p! {7 g1 {5 u! V+ O. c# T' i# |! H
*measurements + J, e( a' z) h, n/ z
.measure stateye veye1 Veye 2 time=1e-11 tol=1e-10
6 u1 X4 u+ m- Y% F.measure stateye heye1 Heye 2 volt=0.0 tol=1e-10
6 M4 d! o" D, p' A: _/ V; O y.measure stateye worst1 WorstBits 2 time=10p
1 Q2 `3 q4 Z2 Y6 C. C# |" e& u6 [0 }$ j7 v: V
***********************************************************************
' V* H! ~* F. x% l3 p0 h0 j0 p( x( z' Q$ |5 f8 O/ _
.end, A& p7 w3 V/ t! r2 B
* G" R6 X9 q0 y1 S, ^* z
错误信息如下: Init: read install configuration file: d:\synopsys\Hspice_C-2009.03-SP1\meta.cfg
9 Q9 @# Q) G7 t) E( ]4 X **error** (e:\sim\stateye\sbtdrout07_hmodel_01_transmit_hspice_model\tt.sp:76)
$ Z1 }% ^+ K6 B( j syntax error when fetching "'sbTDrOut07_hmodel_01'" 9 }0 G1 z+ x2 W/ n
( M& k0 \: z, Q- j我用hspice2008仿真没有问题。 |
|