akbarza
Full Member level 2
hi
i wanted to run a simple verilog-a in hspice 2013 that are as below:
Content of resistor.va as:
Content of resistor.sp file as:
when i run resistor.sp in hspice , some file is produced but .lis file is empty( 0kb) and nothing is written on it and nothing occurred.
i search this site and search net. in some thread, the problem is related to licence, but i don't know how to check it or correct it.
for clarity, i write the name of files created after runing hspice:
i wanted to run a simple verilog-a in hspice 2013 that are as below:
Content of resistor.va as:
Code:
// 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
Content of resistor.sp file as:
Code:
*Title: Simple Verilog-A Resistor
.hdl resistor.va
.options post=1
X1 1 2 resistor r=1
*r1 1 2 1
r2 2 0 1
VS 1 0 1
.dc VS 0 10 1
.probe v(2)
.end
i search this site and search net. in some thread, the problem is related to licence, but i don't know how to check it or correct it.
for clarity, i write the name of files created after runing hspice:
- resistor.sto
- resistor.valog
- resistor.lis
- resistor.pvadir(folder)
Last edited by a moderator: