EDA365电子工程师网
标题:
Hspice模型2006与2009版本冲突?
[打印本页]
作者:
lpch8
时间:
2009-9-2 09:49
标题:
Hspice模型2006与2009版本冲突?
最近做一个仿真过程中,用Hspice2008仿真加密的Hspice2006模型,就OK,昨天下载了最新的2009尝试一下,没想到老是错误:
a% F/ ]& n/ S* s" v: V
错误信息如下:
# H( R0 d2 D5 x5 b8 ]
syntax error when fentching ‘××××××。inc’文件,其中文件是完全加密的,请教坛子里的高手有碰到吗?
作者:
wakinoda
时间:
2009-9-2 09:56
我觉得不应该是model的问题,有可能是你的网表某些关键字有update,最好查一下
作者:
lpch8
时间:
2009-9-2 11:48
多谢,同样的sp文件,我用不同的2008与2009打开,没有更改,现在搞不懂了。
作者:
wakinoda
时间:
2009-9-2 13:41
能把你的sp贴出来看看么?最好别是附件,公司block掉了
作者:
lpch8
时间:
2009-9-2 15:49
* Simulation of block sbTDrOut07_hmodel_01, TT Case, 85C
6 c" Q+ g/ F$ |' Q; x" A
.options list node post probe accurate
" M# z( C7 m& w5 {. j0 N T
.options BYPASS=0
% F, y5 D$ K/ q( S/ E4 T! j, T' g
.global SUBSTRATE VSS
2 k" a) q: k; t& }
0 s: Q3 ^7 P* d# e+ {
********************************************************************
; P: r/ P; v+ |
$ x3 A2 u4 F( U! @5 q/ w
+ z- I* p$ t, W" E V- ?
8 {6 w' {+ q- R8 t& z9 Z
.lib "./vendorhspice.1_0v-3_3v-G" TT
8 @; @" `0 f) d' e S* o1 \
.lib "./vendorhspice.1_0v-3_3v-G" TT_hvt
3 Y& k* M2 _+ S$ k3 X
.lib "./vendorhspice.1_0v-3_3v-G" TT_lvt
) c* c0 d8 q8 F- s# f
.lib "./vendorhspice.1_0v-3_3v-G" TT_na
5 o- P) d% P3 B" q# g
.lib "./vendorhspice.1_0v-3_3v-G" TT_BIP
& s" T3 ?% r& e" N
.lib "./vendorhspice.1_0v-3_3v-G" TT_DIO
1 b" A* M( x) t
.lib "./vendorhspice.1_0v-3_3v-G" TT_DIO_hvt
# N/ u* R" ~6 _4 n" N
.lib "./vendorhspice.1_0v-3_3v-G" TT_DIO_na
- Z/ C0 n& [! ~+ B7 A% e
.lib "./vendorhspice.1_0v-3_3v-G" TT_RES
7 \2 N. r* p0 S
.lib "./ResModel.1_0v-3_3v-G" res_t
% l1 a. c, G6 E4 I# h, n+ u
) ?/ F2 q2 h9 n4 T) N
.temp 85
) I% B$ S6 b4 W4 E" x; F. p0 m( O
' Y" v& J2 j# U; Y
********************************************************************
: L* u- f# \9 |7 [( A
: R0 V3 d4 b7 r
.inc './TT/sbtdrout07_hmodel_01.inc'
5 ]6 c8 F( J0 [/ h% s
.inc './TT/alias.inc'
: J8 L- D" _7 u+ |1 {5 w: \; w
* .inc './data_pattern.inc'
2 F# E$ Y# O7 {4 U8 t+ e3 q' v
+ H, o2 P' D' p# N
********************************************************************
: |$ H' a' M: E- @' h- P" J& X
4 W. l2 f. t* x& D' V/ V# S \8 k
********************************************************************
5 l3 x4 t. }6 x' X2 z5 E3 @3 c5 M
*StatEye example circuit
8 \* s, U3 B) B3 z8 i! V
.param _BW=0.16n
: @" \& v/ H$ M& y7 W4 M8 C
.param trf='_BW*0.01'
8 y) V$ H3 Q4 K; l2 o
.param opfreq='1.0/_BW'
) P* \$ x( ], I; i0 M
*define ports and stimulus
7 e8 N1 l- e/ y! N1 j. a1 l
P1 data 0 port=1 LFSR (1 0 0 'trf' 'trf' 'opfreq' 1 [7,4,1])
; [7 M. o. s' W+ o( f
P2 pad1 pad0 0 port=2
* N# B: V( I2 N) G! @
, S% ~: [: Y5 C: _' Y. B! X. X
9 h7 g& y% s' Y" ~ c
0 n& S3 Y- P U$ P/ Y
& n& ~1 V6 N8 O! N9 v0 J* U
VAVDD AVDD 0 dc=pwr.vdd
1 _+ F/ @7 z8 k! f
VAGND AGND 0 dc=pwr.gnd
D% N9 X$ u( j2 S
. j. H. M- Y/ i& f
.param pwr.vdd = 0.98
N H- @* \# e- P
.param pwr.gnd = 0.00
/ z7 N& f2 g5 t5 J1 e$ k0 [
4 R/ y3 z# {1 j! E
7 H, W, M; T8 ^, ~
Rsub SUBSTRATE 0 100
/ s4 G/ N+ b: e2 S
Rvss VSS AGND 100u
. P- g M+ B3 `* r
Ragnd AGND 0 100u
K1 y k" T9 [5 i. y3 G, m
5 r6 r- y5 K# ]' a
* Set up loads
6 s0 |( v1 |' V( e& s
9 }4 ^7 H2 F' F6 L$ C
RL1 pad1 vcm 50.0
; S2 g0 N _5 \9 _7 N' z1 ^. C
RL0 pad0 vcm 50.0
. x+ L2 N/ a& h. r) C
" s/ p, p8 D6 B* s1 d
* Add subcircuit with parameter values
' K. ^- }/ _! g
( ?$ w( ^& g! D. E
XDUT AGND AVDD pad1 pad0 data 'sbTDrOut07_hmodel_01'
6 ?9 K; q: [( V9 K9 M" W
+ sr1=0 eq3=0 eq2=0 eq1=0 Clock=Clock Wait=Wait
2 T& D- D$ c; y$ \: s( E
?+ s: V8 F* U' `1 ?1 v
* Set Clock parameter
0 S) A) Z, W% F6 ]: n! Q6 I
.param Clock=6.250G
) q; i( H& N! I/ w/ Z6 [& ~
8 |8 \1 \) v. H9 M# n
* Set Wait parameter
0 z" R% A( Y |
.param Wait=0n
; I% y. ^4 H$ O7 O
( v- n6 g- u! @6 Q5 l
*.TRAN 100p 50n
1 O4 R0 E3 f3 b5 F I7 i( j8 B: p
. V4 v5 t0 f5 D
* NOTE the 100ps timestep will cause interpolation inaccuracy, but does
9 c( r" B" }$ l R& g7 \( |
* give a short simulation time. Serious work should be done at <10ps.
/ M/ F3 G# x: u& o$ f4 X( j1 Y8 C# q
2 r h J* k5 L
*.probe
2 i' S, r2 g9 @8 h8 S/ v' j5 S
*+ v(agnd)
0 b0 O; ?) Z) ^' i, l
*+ v(avdd)
! N9 m+ ^6 V+ J
*+ v(data)
" t5 i" q! L' h% P1 }3 \" f. m7 q+ Y
*+ v(pad0)
4 P( ?0 n: T$ i+ H) ~; s/ ?
*+ v(pad1)
* U( W4 f% }) g* v, J+ }
*+ v(vcm)
$ D3 ^" ?) H5 ^6 F4 }7 Q
*+ i(vavdd)
. D6 @7 }$ Y- `5 l4 B
*+ i(vagnd)
* P0 m; O0 T0 U! N+ q5 Y( |# c
n O7 n6 f ?, z
*print and probe
. |+ f# [$ F& z5 d0 \+ |/ I
*eye and ber
1 O4 X" v" l0 A% k# u4 R+ d
7 G" t4 t. l* G
.probe stateye eye(2) ber(2) eyeBW(2)
. K$ `! U, E; ~1 T7 y
.print stateye eye(2) ber(2) eyeBW(2)
# ]/ _+ p+ d- f
+ E/ y5 \& u' O8 X. |* |
*bathtub curve
0 ~2 m7 G% O' p' v
.probe stateye bathtubT(2,1e-11) bathtubV(2,0.0)
+ u9 q4 t/ N/ L+ T% m
.print stateye bathtubT(2,1e-11) bathtubV(2,0.0)
' G0 s: |) B3 }$ @2 j# X& {
" k: \' D# T8 q) i4 B5 u( {$ G$ P0 f& B
*eye size
9 y9 }- l, D' p. y
.probe stateye eyeV(2,0.0) eyeT(2,1.0e-11)
3 j0 P6 z- P- P, [! T
.print stateye eyeV(2,0.0) eyeT(2,1.0e-11)
Y, e. ~% x1 s, J& e5 t4 H
# `. T' t9 [9 q! _+ P4 y1 t0 u% b$ T
*measurements
0 }: G7 [3 ?4 i* d' V9 H
.measure stateye veye1 Veye 2 time=1e-11 tol=1e-10
8 i# r: W0 E6 J: W" ~
.measure stateye heye1 Heye 2 volt=0.0 tol=1e-10
4 g O% T. g. G* Q6 \1 A# B6 m
.measure stateye worst1 WorstBits 2 time=10p
1 S+ g/ K" e3 g! k' O
0 [7 ~ p4 C* M. c
***********************************************************************
$ |7 k7 K: n6 q2 h& h# R
* c G/ k% b4 {
.end
) u* y6 R9 M P5 U
# z0 L) C% r1 R7 y* m4 F' K0 o
错误信息如下: Init: read install configuration file: d:\synopsys\Hspice_C-2009.03-SP1\meta.cfg
9 t, f9 f3 J3 v1 N6 w8 U& x
**error** (e:\sim\stateye\sbtdrout07_hmodel_01_transmit_hspice_model\tt.sp:76)
+ c$ S$ _& N5 a9 o- y w- n
syntax error when fetching "'sbTDrOut07_hmodel_01'"
# }$ L# V: X" E( }+ R
: [2 V" j; e5 q. n" o
我用hspice2008仿真没有问题。
作者:
montevin
时间:
2009-12-20 18:19
请问大侠可以Hspice2009软件吗?谢谢!!
欢迎光临 EDA365电子工程师网 (http://bbs.elecnest.cn/)
Powered by Discuz! X3.2