Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Simulation Problem with PSPICE

Status
Not open for further replies.

sinansabahm

Newbie level 1
Newbie level 1
Joined
Sep 6, 2008
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,291
Hi All,

I am using PSPICE to get the nonlinear Memristor model simulation. A part of the SPICE Model is as follows:

Code:
Gxpos 0 x value={stp(-V(x)+lim_max)*stp(V(plus,minus))*((V(Plus,Minus))^q)*f(V(x),I(plus,minus),p)}
Gxneg x 0 value={stp(V(x)-lim_min)*stp(V(minus,plus))*((V(Plus,Minus))^q)*f(V(x),I(plus,minus),p)}
Cx x 0 0.00008 IC=0.15
Raux x 0 0.01T

Gmem plus minus value={(((V(x)^n))*b*sinh(a*V(plus,minus))+c*(exp(g*V(plus,minus))-1))}

.func f(x,i,p)={1-(x-stp(-i))^(2*p)}

But when running ,I get an error "Missing or invalid expression" not recognizing I(plus,minus) ,which is the current of the VCCS Gmem.
So how to solve such problem? Thanks
 
Last edited by a moderator:

Pspice does not support directly referencing behavioral devices currents inside other behavioral sources.
You would need to add dummy voltage source (zero volt) in series with Gmem and refer it's current inside Gxpos ,Gxneg.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top