pigkiller
Member level 4
Hi, all
I get a RES model file like this way, and I want to use this model for spectre sim.
Since I'm a newbie in HSPICE area, I have the following questions.
1.which symbol I can use to call this model in analogLib? How to use it?
2.Should I need to change this RES model to 2-terminal model? How can I change it?
3.I use SPP convert HSPICE model for spectre usage, so HSPICE or Spectre model are all OK.
*###################################################
.model Dr D ( bv=45 ibv=1.0E-5 is=3E-17)
.model Dd D ( bv=7 ibv=1.0E-5 is=3.34E-17)
*
.subckt Ri n1 n2 n3 l=length w=width kri=scale area=Sc
.param dl=0.8u dw=-0.52u
.param rsh=2393.4 ptc1=5.45e-3 ptc2=1e-5 pvc1=1.408e-2 pvc2=-6e-5 pt='temper'
.param tfac='1.0+ptc1*(pt-25.0)+ptc2*(pt-25.0)*(pt-25.0)'
d1 n1 n3 Dr
d2 n2 n3 Dr
r1 n1 n2 '(rsh*((l-dl)/(w-dw))+1000/area)*(1+pvc1*(v(n3,n1)+v(n3,n2))/2+pvc2*(v(n3,n1)+v(n3,n2))/2*(v(n3,n1)+v(n3,n2))/2)*tfac*kri'
.ends Ri
*##################################################
I get a RES model file like this way, and I want to use this model for spectre sim.
Since I'm a newbie in HSPICE area, I have the following questions.
1.which symbol I can use to call this model in analogLib? How to use it?
2.Should I need to change this RES model to 2-terminal model? How can I change it?
3.I use SPP convert HSPICE model for spectre usage, so HSPICE or Spectre model are all OK.
*###################################################
.model Dr D ( bv=45 ibv=1.0E-5 is=3E-17)
.model Dd D ( bv=7 ibv=1.0E-5 is=3.34E-17)
*
.subckt Ri n1 n2 n3 l=length w=width kri=scale area=Sc
.param dl=0.8u dw=-0.52u
.param rsh=2393.4 ptc1=5.45e-3 ptc2=1e-5 pvc1=1.408e-2 pvc2=-6e-5 pt='temper'
.param tfac='1.0+ptc1*(pt-25.0)+ptc2*(pt-25.0)*(pt-25.0)'
d1 n1 n3 Dr
d2 n2 n3 Dr
r1 n1 n2 '(rsh*((l-dl)/(w-dw))+1000/area)*(1+pvc1*(v(n3,n1)+v(n3,n2))/2+pvc2*(v(n3,n1)+v(n3,n2))/2*(v(n3,n1)+v(n3,n2))/2)*tfac*kri'
.ends Ri
*##################################################