|
发表于 2019-8-30 13:25:01
|
显示全部楼层
如果mos调用时语句为
MNM1 ....
则端口电流输出为 i1(x1.MNM1)
Syntax
In(Wwww)
Iall(Wwww)
Parameter Description
n Node position number, in the element statement. For example, if the
element contains four nodes, I3 is the branch-current output for the
third node. If you do not specify n, HSPICE assumes the first node.
Wwww Element name. To access current output for an element in a subcircuit,
append a dot and the subcircuit name to the element name. For
example, I3(X1.Wwww).
Iall (Wwww) An alias just for diode, BJT, JFET, and MOSFET devices.
■ If Wwww is a diode, it is equivalent to:
I1(Wwww) I2(Wwww).
■ If Wwww is one of the other device types, it is equivalent to:
I1(Wwww) I2(Wwww) I3(Wwww) I4(Wwww)
Example 1
I1(R1)
This example specifies the current through the first R1 resistor node.
Example 2
I4(X1.M1)
This example specifies the current, through the fourth node (the substrate
node) of the M1 MOSFET, defined in the X1 subcircuit.
Example 3
I2(Q1)
The last example specifies the current, through the second node (the base
node) of the Q1 bipolar transistor.
如果调用语句为
XNM1 ...
则端口电流输出为 isub(x1.MNM1.d)
Current: Subcircuit Pin
Syntax
ISUB(X****.****)
Example
.PROBE ISUB(X1.PIN1) |
|