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.

Memristor resistance switching problem

Status
Not open for further replies.

leila.bagheriye

Newbie level 3
Joined
Feb 27, 2012
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,314
Dear all,

I want to see the memristor resistance switching ( by applying different voltages to its terminals), this is my Hspice code, by applying any different voltages, it only shows Roff, switching to Ron doesn't occur. Could you please tell me what is the problem?




**************Memristor model
.SUBCKT memristor Plus Minus
+ Ron=100 Roff=16K Rinit=11K D=10N uv=10F p=10
* DIFFERENTIAL EQUATION MODELING *
. PARAM f(x,p)= '1-pow((2*x-1),(2*p))'
Gx 0 x value='I(Emem)*uv*Ron/pow(D,2)*f(V(x),p)'
Cx x 0 1 IC='(Roff-Rinit)/(Roff-Ron)'
Raux x 0 1T
* RESISTIVE PORT OF THE MEMRISTOR *
Emem plus aux value='-I(Emem)*V(x)*(Roff-Ron)'
Roff aux minus Roff
.ENDS memristor
*********************************************************
Xmemrist blb bl memristor Ron=100 Roff=16K Rinit=.1 D=10N uv=10F p=10

RL f bl 1

VF F 0 pwl(0 0 1n 0 1.05n 0 10n 0 )
VBLB BLB 0 pwl(0 0 1n 0 1.05n 2 10n 2 )
*************************************************************************
.option probe
.option measform 3

.Tran 10p 10n
.prob v(bl) I(RL) v(blb) PAR('(V(f)-V(blb))/I(RL)')
*************************************************************************
.option probe
.end
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top