Back to Forums
5 posts / 0 new
Last post
#1 Aug 20, 2020
Fu Yuyang
Offline
Last seen: 3 years 8 months ago
Joined: 2020-08-20 12:14

PSPICE Error in simulation and application quit unexpectedly

Can anyone help me with this problem in simulation? Thanks please.

.subckt compact_memristor_2 plus minus
.param Z=1 Vr=7 param_a=75nm Vh=3.5E-3 Ea=0.5eV B=0.3 param_R=20nm rou_on=4E-2 rou_off=1.33E2
+A=1.33E-15 L=50nm C=0.08V Rth=1E5 q=1 beta=0.3 h_init=0 r_init=0 k=1.38E-23 T0=300
*---------------------------
*memristor model
Gpm plus minus value={(V(plus)-V(minus))/
+if(ifOff(V(x))==1,Roff(V(x)),Ron(V(y)))}
*memristor model end
*---------------------------
*integrator of h
Gx x 0 curx={if((V(x)+(1E-10)*Vh*exp(-Ea/(k*T(V(y))))*
+sinh((Z*q*E(V(x))*param_a)/2*k*T(V(y))))>0,
+Vh*exp(-Ea/(k*T(V(y))))*sinh((Z*q*E(V(x))*param_a)/2*k*T(V(y))),0)}
Cx x 0 1 IC={h_init}
Rx x 0 1E12
*integrator of h end
*---------------------------
*integrator of r
Gy y 0 cury={if((V(y)+(1E-10)*Vr*exp(-Ea/(k*T(V(y))))*
+sinh((beta*q*(V(plus)-V(minus)))/2*k*T(V(y))))>0,
+Vr*exp(-Ea/(k*T(V(y))))*sinh((beta*q*(V(plus)-V(minus)))/2*k*T(V(y))),0)}
Cy y 0 1 IC={r_init}
Ry y 0 1E12
*integrator of r end
*---------------------------
.func u(t)={if(t>0,1,0)}
.func Ron(y1)={(rou_on*L)/pi*y1*R}
.func Roff(y2)={(rou_on*y2+rou_off*(L-y2))/A}
.func E(y3)={(V(plus)-V(minus))/(L+((rou_on/rou_off)-1)*y3)}
.func T(y4)={T0+(V(plus)-V(minus))^2/((rou_on*L)/pi*y4*param_R)}
.func ifOff(y5)={if(L>y5,1,0)}
.ends
 

Errors occurs as follows and software showed some windows saying that "this application has quit unexpectedly." and something like RPC Server invalid.

ERROR(ORPSIM-16396): Missing gain/transconductance/transresistance

ERROR(ORPSIM-16396): Missing gain/transconductance/transresistance

Thu, 2021-06-03 00:56
alok
Offline
Last seen: 1 year 1 month ago
Joined: 2016-05-10 23:49

you should report this cadence support. You should also share cir file where this model is used. 

Mon, 2021-09-13 10:50
AyeshaSubhanRao1995
AyeshaSubhanRao1995's picture
Offline
Last seen: 2 years 7 months ago
Joined: 2021-09-13 10:45

I am unable to simulate a cct  kindly help me in this regard.

Error:

ERROR -- Digital Simulator Option not present

Mon, 2021-09-13 10:52
AyeshaSubhanRao1995
AyeshaSubhanRao1995's picture
Offline
Last seen: 2 years 7 months ago
Joined: 2021-09-13 10:45

I am unable to simulate a cct  kindly help me in this regard.

Error:

ERROR -- Digital Simulator Option not present

 

 

 

Wed, 2022-12-28 12:54
juankax
Offline
Last seen: 1 year 3 months ago
Joined: 2022-12-28 12:51
Download PSpice and try it for free! Download Free Trial
Cadence