X
Xuejun Zhang
Guest
A parameter is set in the "init.s" file which is written in cdsSpice
syntax. This parameter is used in the hspice models.
For example, in the "init.s" the parameter "a" is set using cdsSpice
command
"set a=1"
Then in the hspice model, I will use "a" in some equations, for
example
..param b=a*2
The questions are,
how can I translate the value of the parameter "a" to hspiceS.
I have tried the following method, but not successful,
1.create a file called "test.s" with content of "\.param a =a".
2.create a file called "hspice.include" with content of "use test"
3.inlcude "hspice.include" into the Inlcude/Stimulus File Field with
the syntax cdsSpice.
4. generate raw and final netlist.
The final netlist shows
.param a 1.000
as you can see, the symbol "=" is missing, which is needed for hspice.
So the question is how I can pass the value of a parameter from init.s
to hspice.
Thanks
syntax. This parameter is used in the hspice models.
For example, in the "init.s" the parameter "a" is set using cdsSpice
command
"set a=1"
Then in the hspice model, I will use "a" in some equations, for
example
..param b=a*2
The questions are,
how can I translate the value of the parameter "a" to hspiceS.
I have tried the following method, but not successful,
1.create a file called "test.s" with content of "\.param a =a".
2.create a file called "hspice.include" with content of "use test"
3.inlcude "hspice.include" into the Inlcude/Stimulus File Field with
the syntax cdsSpice.
4. generate raw and final netlist.
The final netlist shows
.param a 1.000
as you can see, the symbol "=" is missing, which is needed for hspice.
So the question is how I can pass the value of a parameter from init.s
to hspice.
Thanks