The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Mar 28th, 2024, 11:05am
Pages: 1
Send Topic Print
Cadence spectre (Read 623 times)
yaswanth25
New Member
*
Offline



Posts: 1

Cadence spectre
Jun 26th, 2018, 10:02pm
 
HI all,
i am working on threshold gates using memristors and i am using  cadence spectre to write spice code  and i have the verilog_A model of memristor
please help me know how to use  that verilog A code of memristor to get used in my spice code.
Back to top
 
 
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2384
Silicon Valley
Re: Cadence spectre
Reply #1 - Jun 27th, 2018, 9:17am
 
A memristor is a relationship between flux (φ) and charge (q), where φ = ∫v dt and q = ∫i dt.

So a memristor can be written one of two ways.

1) φ = f(q)

This is written in Verilog-A as:
Code:
V(br) <+ ddt( f( idt(I(br) ) ); 



2) q = g(φ)

This is written in Verilog-A as:
Code:
I(br) <+ ddt( g( idt(V(br) ) ); 



-Ken
Back to top
 
 
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.