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.

How to measure read and write delay in 6T sram cell

Status
Not open for further replies.

Shimah

Newbie level 2
Joined
Apr 20, 2018
Messages
2
Helped
0
Reputation
0
Reaction score
1
Trophy points
1
Activity points
17
Hi, anyone know how to measure read and write delay for 6t sram ? here is my hspice code for 6t sram cell, there is an error for the delay. Can anyone help me ?

*CODE-SPICE
Code:
.include './HP_16nm.pm'



.GLOBAL VDD
.PARAM VDD=0.7V 
.options list post 
.temp 25 

.PARAM VNOISE=0.141
.PARAM BITCAP=1E-12

MPL Q QBN VDD VDD pmos W=96n L=16n 
MNL Q QBN GND GND nmos W=32n L=16n 
MPR QB QN VDD VDD pmos W=96n L=16n 
MNR QB QN GND GND nmos W=32n L=16n 
MAL BLB WL QB GND nmos W=32n L=16n 
MAR BL WL Q GND nmos W=32n L=16n 
VVDD VDD GND DC=VDD
VWL WL GND DC=VDD
*****Read****
*VWL WL GND PULSE(1 0 0n 1n 1n 30n 1200n) 
.IC V(Q)=VDD
.IC V(QB)=0
.IC V(BL)=VDD
.IC V(BLB)=VDD


CBLB BLB 0 BITCAP
CBL BL 0 BITCAP


VNOISER Q QN DC='V(QB)-V(QBN)'
VNOISEL QB QBN PWL(0ns 0 10ns 0 15ns 1 20ns 1 25ns 0) 

.tran 1ns 30ns UIC

.PRINT TRAN  V(Q) V(QB) V(BL) V(BLB)

*NBTI model (Pick either NIT or NIT&NOT)
*(for Nit mechanism)
*.model pmos_ra mosra level=1 tit0=5e-7 titfd=7.5e-10 tittd=1.45e-20 tn=0.25
*.appendmodel pmos_ra mosra pmos pmos

*Measurement setup (Pick either sim 1, sim 2 or sim 3)
*Simulation 1
*.mosra reltotaltime='(10*365*24*60*60)' relstep='(10*365*24*60*60)/10' relmode=2 simmode=2


*Measure setup time (tsu[0], clock to output time(tclktoq) and delay time (for pass '0')
.MEASURE TPLH TRIG V(WL) VAL=0.35 FALL=1 TARG V(Q) VAL=0.35 RISE=2
.MEASURE TPHL TRIG V(Q) VAL=0.35 RISE=2 TARG V(WL) VAL=0.35 FALL=1


.MEASURE TRAN avg_power AVG POWER FROM=1ns TO=30ns

.MOSRAPRINT DVTH dvth(MPR, vds='vdd', vgs='vdd', vbs=0)
.MOSRAPRINT DIDS dids(MPR, vds='vdd', vgs='vdd', vbs=0)
.OPTIONS PROBE POST MEASOUT
.option mosrasort=delvth0
.option radegoutput=csv
.END
 
Last edited by a moderator:
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top