|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
初学veriloga,用hspiceva编译仿真hspice自带的demo网表。。
出现找不到CML文件,请问需要设置cml文件的生成路径吗。。
resistor.va-----
// Simple resistor
`include "disciplines.vams"
module resistor(p,n);
parameter R=1.0 from (0:inf);
electrical p,n;
analog I(p,n) <+ V(p,n)/R;
endmodule
resistor.sp------
Title: Simple Verilog-A Resistor
.hdl resistor.va
.options post=1
X1 1 0 resistor r=1
VS 1 0 1
.dc VS 0 10 1
.end
vacompile编译没有报错
仿真报错-----
hsp-vacomp: Synopsys HSPICE Verilog-A Compiler Version 1.40.012707.
hsp-vacomp: Copyright (C) 2005 Synopsys, Inc. All Rights Reserved.
hsp-vacomp:
hsp-vacomp: lic: Release hspiceva token(s)
** error **
During Verilog-A Device processing:
CML file does not exist
'C:\Documents and Settings\rockie.li\hsp-model-cache\1.40\d\\synopsys\hspice_z-2007.03\demo\hspice\veriloga\\lib.win32\resistor.cml'
***** job aborted
lic: Release hspice token(s)
初学菜鸟请教! |
|