Hi, Ken
I have some question about spectre format.
I want conversion of hspice format sub-circuit into spectre format sub-circuit.
As I know spectre is not support V(n1,n2) (voltage-drop of n1-node and n2-node).
Below equation is hspice format circuit :
>> .subckt nmos_rf nd ng ns nb lr=length wr=width nr=finger
>> m0 nd ngi ns nbi nch w="wr*nr" l=lr ad=0 as=0 pd=0 ps=0
>> rgx ng ngi "(127.02+(86.55*lr*1e6))/(nr+1.9) + (-0.22+2.5*lr*1e6)"
>> cgd ngi nd "((0.45+1.5*lr*1e6) + ((1.06+0.89*lr* 1e6)*nr))*1e-15"
>> cgs ngi ns "((-9.74+73.05*lr*1e6) + (0.97+1.57*lr* 1e6)* nr)*1e-15"
>> cjd nd nbi "(((7.81-16.2*lr*1e6) + ((0.29+4.78*lr *1e6)*nr))*1e-15)/pwr((1+(v(nd,ns)/0.6791)),0.3529)"
>> cjs ns nbi "((-7.46+3.34*nr)*1e-15)"
>> rsubx nbi nb "(12.67*nr+1954.1)/(nr+8.26)"
>> .ends lvn
I want to conversion functions above, is possible?
send your opinion, please... i'll wait. good bye
Best Regards