yschuang
Full Member level 3
Hello,
I would like to know the current through a resistor, which is a subcircuit.
XRX N22 N23 RNP R=3740.69 L=9.6U W=2.4U M=4
I use the following statement to probe the current but that does not work.
.probe i_rx = par('i1(XRX)')
The error message is the following
**error** check output variable name specification 0:xrx
Thanks for any suggestion.
==========================================================
.subckt rnp n1 n2 l=length w=width mf=1
.param rsh='72+drnp' dw=-0.01u ptc1=1e-3 ptc2=0 pvc1=-2E-05 pvc2=2E-05 pt='temper'
.param tfac='1.0+ptc1*(pt-25.0)+ptc2*(pt-25.0)*(pt-25.0)'
r1 n1 n2 'rsh/mf*l/(w-dw)*(1+pvc1*abs(v(n2,n1))+pvc2*v(n2,n1)*v(n2,n1))*tfac'
.ends rnp
I would like to know the current through a resistor, which is a subcircuit.
XRX N22 N23 RNP R=3740.69 L=9.6U W=2.4U M=4
I use the following statement to probe the current but that does not work.
.probe i_rx = par('i1(XRX)')
The error message is the following
**error** check output variable name specification 0:xrx
Thanks for any suggestion.
==========================================================
.subckt rnp n1 n2 l=length w=width mf=1
.param rsh='72+drnp' dw=-0.01u ptc1=1e-3 ptc2=0 pvc1=-2E-05 pvc2=2E-05 pt='temper'
.param tfac='1.0+ptc1*(pt-25.0)+ptc2*(pt-25.0)*(pt-25.0)'
r1 n1 n2 'rsh/mf*l/(w-dw)*(1+pvc1*abs(v(n2,n1))+pvc2*v(n2,n1)*v(n2,n1))*tfac'
.ends rnp