|
* Simulation of block sbTDrOut07_hmodel_01, TT Case, 85C
2 l! f3 m+ S4 h.options list node post probe accurate. q% i3 j8 j/ }% v% U9 u
.options BYPASS=0
[% @* L; R8 M; }! D* L" C+ p.global SUBSTRATE VSS; m! n. N0 q. U! p/ s3 e
8 S5 K/ M/ U) g" ?
********************************************************************7 ~% j6 }$ I, a+ c) I" F4 g
* F# `6 t- q5 @! z! R+ B, r- ~, P [# K5 ?0 ]/ ]
& e# S$ }. \$ l .lib "./vendorhspice.1_0v-3_3v-G" TT
) W- o0 d& h2 K; F x& L .lib "./vendorhspice.1_0v-3_3v-G" TT_hvt
$ \5 T8 ^! I# [- ? .lib "./vendorhspice.1_0v-3_3v-G" TT_lvt
7 j2 d/ g. D# [0 z .lib "./vendorhspice.1_0v-3_3v-G" TT_na
; f% L, t. L; X3 L: Q, e- A8 f6 ^ .lib "./vendorhspice.1_0v-3_3v-G" TT_BIP! s0 y( L: D7 k* m
.lib "./vendorhspice.1_0v-3_3v-G" TT_DIO3 H5 L7 o% j! ?% B+ A3 j
.lib "./vendorhspice.1_0v-3_3v-G" TT_DIO_hvt9 G0 m r* G# R: z |
.lib "./vendorhspice.1_0v-3_3v-G" TT_DIO_na
! x5 J$ z7 L$ ~1 d s5 h0 { .lib "./vendorhspice.1_0v-3_3v-G" TT_RES! |6 @; l5 g, C) ]( _
.lib "./ResModel.1_0v-3_3v-G" res_t
& o7 L( B+ ~/ W9 n
' e* @1 x# I, Y1 d, w1 j1 _ .temp 85
# C* f+ |# U+ i- k5 @8 z# R$ S2 c" |$ a5 {1 W: G" I# D
********************************************************************
: l4 ]+ `3 N, u1 }
$ n% H( X0 I& N* \* c0 u .inc './TT/sbtdrout07_hmodel_01.inc'
7 {1 C2 R7 z9 ~1 s7 o5 g9 v .inc './TT/alias.inc'
4 o( l" a( e/ G+ y7 N7 |7 A* .inc './data_pattern.inc'9 v- d) i0 S6 q1 _$ H1 B
' A& `; s# G0 }* g1 o
********************************************************************0 k: R' M. q, B3 \% }1 a- M8 u
2 q- o! B3 R: `********************************************************************& a1 E7 q4 N& K
*StatEye example circuit7 n: {% b* ?2 e! Q! q; v
.param _BW=0.16n2 M' K) E+ p8 q& [+ w. y6 J
.param trf='_BW*0.01'
5 M$ D: B+ H* k, }9 o.param opfreq='1.0/_BW'* O H4 Q, @( w4 }- @
*define ports and stimulus; k L' M1 U: D7 y
P1 data 0 port=1 LFSR (1 0 0 'trf' 'trf' 'opfreq' 1 [7,4,1])6 a* k4 [6 u& b [
P2 pad1 pad0 0 port=2
9 k: ]3 L! w. e8 X# X: g. ]
$ ]0 I$ ?3 l. x0 \2 W' L. ~% E/ b. A, Z
" k0 q: ^9 F" K& n' {
. |( `/ r2 H. t/ e" L0 G; oVAVDD AVDD 0 dc=pwr.vdd- H7 d" A" \' B1 r) H
VAGND AGND 0 dc=pwr.gnd
3 e8 f0 F* ]( u, C4 u2 a6 V' L- x3 w8 A2 e+ a
.param pwr.vdd = 0.987 Z4 {. l' E. u$ Z8 B) S, Q
.param pwr.gnd = 0.00
; W3 c" F& [8 i3 w5 S. e' C# Y3 P" p7 c
( T3 j5 r( B @/ _# i0 _Rsub SUBSTRATE 0 100
; I: I' o; z$ kRvss VSS AGND 100u7 c% j9 v: L7 b" H1 c$ n+ [: X
Ragnd AGND 0 100u
& k5 N8 J+ S- Y8 h! F2 d' B- n' m; t' `3 F/ Z" f
* Set up loads
4 ~. _8 {9 k* H2 F# _) X- I8 }! m" C8 H
RL1 pad1 vcm 50.03 Q0 k9 H2 Y( V( Y3 K9 D9 u7 h
RL0 pad0 vcm 50.0
6 o- k5 E& y" @3 s3 z0 \# ]4 ]- M, {3 Q
* Add subcircuit with parameter values ~- d) @) V5 d* M
z, y# U" u% m0 P
XDUT AGND AVDD pad1 pad0 data 'sbTDrOut07_hmodel_01'
k4 j- H1 f4 ]. y9 s; m h" G+ sr1=0 eq3=0 eq2=0 eq1=0 Clock=Clock Wait=Wait) q& B# W: b2 a N6 \6 X3 f: l, W
( y0 R0 `/ m9 N) C: Q
* Set Clock parameter
9 |8 N) Q3 N' K) {% [.param Clock=6.250G
, H2 e$ }7 J+ M2 ~- [# L9 K8 F/ m
* r" w% ]" F* d* Set Wait parameter1 j5 {: ^1 V9 R8 }2 Z5 v* Z; ~, Y
.param Wait=0n+ j! X3 l' Z( O! x* G' t C
3 T% Q* N, {) z/ R5 A# `
*.TRAN 100p 50n
; _; k5 |* e- }) N: u. _" j- y/ o+ }- a8 _7 P
* NOTE the 100ps timestep will cause interpolation inaccuracy, but does% N G/ }# B9 I9 [5 r9 Q6 c3 D
* give a short simulation time. Serious work should be done at <10ps." {+ J0 A V- [7 m# ^) [+ }
, T2 k+ f$ e" n1 _& q3 g; @
*.probe
- G# K) D: C8 Y! ?0 V8 f*+ v(agnd)- p+ m8 o1 I9 v) Y
*+ v(avdd)$ @0 N& f; y L; J5 ^
*+ v(data), e7 P |. J5 x* g5 I- ^1 }" o9 m
*+ v(pad0)
! X/ ?4 B) d6 C/ n: ^6 o0 P*+ v(pad1)
* _6 [6 }. f) L' t* v9 W O0 p*+ v(vcm)6 C5 \5 o! @: D) P" r; p. f
*+ i(vavdd)
) x$ F K$ H; y5 {*+ i(vagnd)
4 h' ]3 Q* U) w; ~9 p
$ h/ Z( G% {" U2 f! m7 u# Z, y2 ^" [*print and probe
7 K: Y' t' Y9 V; O*eye and ber7 ~- E3 K, e- [" l
. V# @! g1 A- [6 O
.probe stateye eye(2) ber(2) eyeBW(2)' r1 I6 R. ?0 _
.print stateye eye(2) ber(2) eyeBW(2)# T: z/ }0 e/ X$ ^: q4 h, r1 E$ p
$ T9 Z7 M! z; G" J*bathtub curve
+ v8 W" e' U9 e; W, A2 G+ J' I, ?.probe stateye bathtubT(2,1e-11) bathtubV(2,0.0)" l; n/ |0 B3 ]
.print stateye bathtubT(2,1e-11) bathtubV(2,0.0) 0 N- M' \- w( U E* v4 J! w
* d% c% H9 i1 {3 N2 b C8 \' I*eye size. I9 b! K8 t) z$ q% Q4 ~
.probe stateye eyeV(2,0.0) eyeT(2,1.0e-11). S7 B* p8 {1 R1 _
.print stateye eyeV(2,0.0) eyeT(2,1.0e-11). d4 e: E0 V T* N
( V% j' C* Z7 a& F*measurements
4 x& m! Q0 E0 O6 \# \.measure stateye veye1 Veye 2 time=1e-11 tol=1e-10- Z) w1 t9 P: `
.measure stateye heye1 Heye 2 volt=0.0 tol=1e-10
9 X+ k- G2 ?: q p0 x( S# P.measure stateye worst1 WorstBits 2 time=10p
+ D. V# c2 D' M G/ x
1 F5 @1 b1 d# `+ j( t% k, q7 X***********************************************************************
/ y9 K( @# Q- V! ^
% F: o5 L& \! E: D5 y- f.end1 M" W% @+ |* d# P/ g0 I
0 ?# j8 _+ \1 ]9 e8 @+ w
错误信息如下: Init: read install configuration file: d:\synopsys\Hspice_C-2009.03-SP1\meta.cfg% g3 C8 w, w* Q5 y; Y
**error** (e:\sim\stateye\sbtdrout07_hmodel_01_transmit_hspice_model\tt.sp:76)
! r4 L" k# b" R2 v& R6 m syntax error when fetching "'sbTDrOut07_hmodel_01'" 3 k& K( x4 L5 Q( \- A+ `+ s
, V+ [1 [1 O4 z( M7 Y W. v' F; T
我用hspice2008仿真没有问题。 |
|