[SOLVED] SRAM butterfly curve

Status
Not open for further replies.

warlocklw

Newbie level 5
Joined
Oct 27, 2013
Messages
8
Helped
1
Reputation
2
Reaction score
1
Trophy points
3
Visit site
Activity points
56
SRAM butterfly curve - HSPICE / CosmosScope

Greetings. I wish to ask for method to create butterfly curve. It's V(q) vs V(qb). When I use DC analysis, I can sweep voltage q and observe voltage at qb, but the voltage q will be a linear increase straight line. If I were to observe the transition of q and qb, i will have to use transient analysis. How do I create a v(q) vs v(qb) butterfly curve? Thanks in advanced.
_________________________________________________________________________________________________________________________________________________
SRAM4
.option abstol=1e-6 reltol=1e-6 post ingold

.hdl "bsimcmg.va"
.include "modelcard.nmos"
.include "modelcard.pmos"

.global vdd!
.param vdd=1
Vvdd! vdd! gnd dc=vdd

* --- Source ---
VWL vWL gnd dc=0
Vqq q gnd

* --- Inverter Subcircuit ---
.subckt inverter vin vout vddi vss
Xp1 vout vin vddi vddi pmos1 TFIN=15n L=30n NFIN=10
Xn1 vout vin vss vss nmos1 TFIN=40n L=30n NFIN=10
.ends

* --- 1 unit SRAM ---
Xinv_top qb q vdd! 0 inverter
Xinv_bot q qb vdd! 0 inverter

* --- Access Transistor ---
Xn5 qb vWL BLB gnd nmos1 TFIN=20n L=30n NFIN=10
Xn6 q vWL BL gnd nmos1 TFIN=20n L=30n NFIN=10

* --- Analysis ---
.dc Vqq 0 1 0.01
.print dc v(q) v(qb)
.end
 
Last edited:

which version of Spice you follow?
Because I am with Hspice 2008 version, will this FinFET configuration work for it?
 

Re: SRAM butterfly curve - HSPICE / CosmosScope


Solution, check journal below:
https://www.hindawi.com/journals/jnm/2014/820763/
 

Hello
can please help me,draw butterfly curve,iam doing project on SRAM
i want write netlist sram in write mode please help me

thanks
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…