oly
Junior Member level 3
- Joined
- Jul 17, 2014
- Messages
- 27
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Location
- Jaipur, Rajasthan, India
- Activity points
- 165
i want simulation sram in hspice
but i dont know
please please help me for netlist and calculate SNM
*[B]CODE-SPICE[/B]
.lib "E:\Stuff\NG Spice\SPICE PROGRAMS\BTP\45 nominal.md"
.GLOBAL VDD
.PARAM VDD=0.6V
.options list post
*.temp 100
.PARAM U=0
.PARAM UL='-VDD/sqrt(2)'
.PARAM UH='VDD/sqrt(2)'
.PARAM BITCAP=1E-12
MPL QD QB VDD VDD PMOS W=45n L=45n AS=40.5f PS=1.89u AD=40.5f PD=1.89u
MNL QD QB GND GND NMOS W=90n L=45n AS=81f PS=1.98u AD=81f PD=1.98u
MPR QBD Q VDD VDD PMOS W=50n L=45n AS=162f PS=2.16u AD=162f PD=2.16u
MNR QBD Q GND GND NMOS W=90n L=45n AS=81f PS=1.98u AD=81f PD=1.98u
MAL BLB WL QBD GND NMOS W=45n L=45n AS=40.5f PS=1.89u AD=40.5f PD=1.89u
MAR BL WL QD GND NMOS W=45n L=45n AS=40.5f PS=1.89u AD=40.5f PD=1.89u
VVDD VDD GND DC=VDD
*****Read****
*VWL WL GND PULSE(1 0 0n 1n 1n 30n 1200n)
*.IC V(BL)=VDD
*.IC V(BLB)=VDD
*****Hold****
VWL WL GND DC=0v
.IC V(BL)=VDD
.IC V(BLB)=VDD
*****Write***
*VBL BL GND PULSE (0 1 0n 5n 5n 40n 100n)
*VBLB BLB GND PULSE (1 0 0n 5n 5n 40n 100n)
*VWL WL GND PULSE(0 1 0n 1n 1n 75n 200n)
CBLB BLB 0 BITCAP
CBL BL 0 BITCAP
EQ Q 0 VOL='1/sqrt(2)*U+1/sqrt(2)*V(V1)'
EQB QB 0 VOL='-1/sqrt(2)*U+1/sqrt(2)*V(V2)'
EV1 V1 0 VOL=' U + sqrt(2)*V(QBD)'
EV2 V2 0 VOL='-U + sqrt(2)*V(QD)'
EVD VD 0 VOL='ABS(V(V1) - V(V2))'
.DC U UL UH 0.01
*.tran 0.5n 500n
*.PRINT DC V(QD) V(QBD) V(QB) V(Q) V(V1) V(V2)
.PRINT DC V(QB) V(QBD)
*.print tran V(BL) V(BLB)
.MEASURE DC MAXVD MAX V(VD)
.MEASURE DC SNM param='1/sqrt(2)*MAXVD'
.END
hi
i simulated this netlist and no error
but i dont know about it
Code dot - [expand] 1 2 3 4 5 6 MPL QD QB VDD VDD PMOS W=45n L=45n AS=40.5f PS=1.89u AD=40.5f PD=1.89u MNL QD QB GND GND NMOS W=90n L=45n AS=81f PS=1.98u AD=81f PD=1.98u MPR QBD Q VDD VDD PMOS W=50n L=45n AS=162f PS=2.16u AD=162f PD=2.16u MNR QBD Q GND GND NMOS W=90n L=45n AS=81f PS=1.98u AD=81f PD=1.98u MAL BLB WL QBD GND NMOS W=45n L=45n AS=40.5f PS=1.89u AD=40.5f PD=1.89u MAR BL WL QD GND NMOS W=45n L=45n AS=40.5f PS=1.89u AD=40.5f PD=1.89u
VWL WL GND PULSE(1 0 0n 1n 1n 30n 1200n)
.IC V(BL)=VDD
.IC V(BLB)=VDD
.GLOBAL VDD
.PARAM VDD=0.6V
MPL QD QB VDD VDD PMOS
MNL QD QB GND GND NMOS
MPR QBD Q VDD VDD PMOS
MNR QBD Q GND GND NMOS
MAL BLB WL QBD GND NMOS
MAR BL WL QD GND NMOS
mosn1 Q QB 0 0 nmos l=32n w=90n
mosp2 Q QB vdd vdd pmos l=32n w=50n
mosn3 QB Q 0 0 nmos l=32n w=90n
mosp4 QB Q vdd vdd pmos l=32n w=50n
mosn5 BL WL QB 0 nmos l=37n w=47n
mosn6 BLB WL Q 0 nmos l=37n w=47n
if they are changing with :
what happend??Code:mosn1 Q QB 0 0 nmos l=32n w=90n mosp2 Q QB vdd vdd pmos l=32n w=50n mosn3 QB Q 0 0 nmos l=32n w=90n mosp4 QB Q vdd vdd pmos l=32n w=50n mosn5 BL WL QB 0 nmos l=37n w=47n mosn6 BLB WL Q 0 nmos l=37n w=47n
mosn1 Q QB 0 0 nmos l=32n w=90n
mosp2 Q QB vdd vdd pmos l=32n w=45n
mosn3 QB Q 0 0 nmos l=32n w=90n
mosp4 QB Q vdd vdd pmos l=32n w=50n
[B]mosn5 BLB WL QB 0 nmos l=32n w=32n
mosn6 BL WL Q 0 nmos l=32n w=32n [/B]
From your attached waveform,it seems you Vdd = 0.6 V,can you increase it to 1V & post the simulation waveform.helllo
excuse me for my alots question
when i simulated in read mode i see:
What do you mean ? I can't understand what you're saying.hi
when we explanation noise voltage source for read and write operation??
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?