或许也可以试试在hspice仿真输入中用这个语句alias模型名.
.MALIAS
Assigns an alias to a diode, BJT, JFET, or MOSFET model that you defined in a .MODEL command.
Syntax
.MALIAS model_name=alias_name1 [alias_name2 ...]
Argument
Description
model_name
Model name defined in the .MODEL card
alias_name1...
Alias that an instance (element) of the model references
Description
Use this command to assi ...
.MALIAS
Assigns an alias to a diode, BJT, JFET, or MOSFET model that you defined in a .MODEL command.
Syntax
.MALIAS model_name=alias_name1 [alias_name2 ...]
Argument
Description
model_name
Model name defined in the .MODEL card
alias_name1...
Alias that an instance (element) of the model references
Description
Use this command to assign an alias (another name) to a diode, BJT, JFET, or MOSFET model that you defined in a .MODEL command.
.MALIAS differs from .ALIAS in two ways:
\u2022A model can define the alias in an .ALIAS command, but not the alias in a .MALIAS command. The .MALIAS command applies to an element (an instance of the model), not to the model itself.
\u2022The .ALIAS command works only if you include .ALTER in the netlist. You can use .MALIAS without .ALTER.
You can use .MALIAS to alias to a model name that you defined in a .MODEL command or to alias to a subcircuit name that you defined in a .SUBCKT command. The syntax for .MALIAS is the same in either usage.
Note:
The .MALIAS command is supported for diode, BJT, JFET, and MOSFET models in .Global_Variation and .Local_Variation blocks.
Control Options
None.
Command Group
Model and Variation
Examples
\u2022zendef is a diode model
\u2022zen and zend are its aliases.
\u2022The zendef model points to both the zen and zend aliases.
*file: test malias statement
.OPTION tnom=50 list gmin=1e-14 post
.temp 0.0 25
.tran .1 2
vdd 2 0 pwl 0 -1 1 1
d1 2 1 zend dtemp=25
d2 1 0 zen dtemp=25
* malias statements
.malias zendef=zen zend
* model definition
.model zendef d (vj=.8 is=1e-16 ibv=1e-9 bv=6.0 rs=10
+ tt=0.11n n=1.0 eg=1.11 m=.5 cjo=1pf tref=50)
.end