The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> Cadence spectre
https://designers-guide.org/forum/YaBB.pl?num=1530075746

Message started by yaswanth25 on Jun 26th, 2018, 10:02pm

Title: Cadence spectre
Post by yaswanth25 on 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.

Title: Re: Cadence spectre
Post by Ken Kundert on 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

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.