Zankrut
Newbie level 5
- Joined
- Dec 30, 2013
- Messages
- 9
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 53
How to measure the SNM of 7T cell?
.include "Z:\8th semester\ModelFiles\32nm_HP.pm.txt"
.PARAM VDD=1V
.options list post
.temp 70
.PARAM U=0
.PARAM UL='-VDD/sqrt(2)'
.PARAM UH='VDD/sqrt(2)'
.PARAM BITCAP=1E-12
MP2 Q Q2 VDD VDD pmos l=32n w=36n m=1
MN2 Q Q2 0 0 nmos l=32n w=72n m=1
MP1 QB Q VDD VDD pmos l=32n w=36n m=1
MN1 QB Q 0 0 nmos l=32n w=72n m=1
MN3 Q2 WL BLB 0 nmos l=32n w=72n m=1
MN4 Q RD BL 0 nmos l=32n w=72n m=1
MN5 Q2 W QB 0 nmos l=32n w=72n m=1
VVDD VDD GND DC=VDD
VWL WL GND DC=0
VRD RD GND DC=0
VW W GND DC=1
CBLB BLB 0 BITCAP
CBL BL 0 BITCAP
.IC V(BL)=VDD
.IC V(BLB)=VDD
EQ Q 0 VOL='1/sqrt(2)*U + 1/sqrt(2)*V(V1)'
EQ2 Q2 0 VOL='-1/sqrt(2)*U + 1/sqrt(2)*V(V2)'
EV1 V1 0 VOL=' U + sqrt(2)*V(QB)'
EV2 V2 0 VOL='-U + sqrt(2)*V(Q)'
EVD VD 0 VOL='ABS(V(V1) - V(V2))'
.DC U UL UH 0.01
.PRINT DC V(Q) V(QB) V(Q2) V(Q) V(V1) V(V2)
.MEASURE DC MAXVD MAX V(VD)
.MEASURE DC SNM param='1/sqrt(2)*MAXVD'
.END
what is mistake?
It's showing 0 SNM!
please help.!
.include "Z:\8th semester\ModelFiles\32nm_HP.pm.txt"
.PARAM VDD=1V
.options list post
.temp 70
.PARAM U=0
.PARAM UL='-VDD/sqrt(2)'
.PARAM UH='VDD/sqrt(2)'
.PARAM BITCAP=1E-12
MP2 Q Q2 VDD VDD pmos l=32n w=36n m=1
MN2 Q Q2 0 0 nmos l=32n w=72n m=1
MP1 QB Q VDD VDD pmos l=32n w=36n m=1
MN1 QB Q 0 0 nmos l=32n w=72n m=1
MN3 Q2 WL BLB 0 nmos l=32n w=72n m=1
MN4 Q RD BL 0 nmos l=32n w=72n m=1
MN5 Q2 W QB 0 nmos l=32n w=72n m=1
VVDD VDD GND DC=VDD
VWL WL GND DC=0
VRD RD GND DC=0
VW W GND DC=1
CBLB BLB 0 BITCAP
CBL BL 0 BITCAP
.IC V(BL)=VDD
.IC V(BLB)=VDD
EQ Q 0 VOL='1/sqrt(2)*U + 1/sqrt(2)*V(V1)'
EQ2 Q2 0 VOL='-1/sqrt(2)*U + 1/sqrt(2)*V(V2)'
EV1 V1 0 VOL=' U + sqrt(2)*V(QB)'
EV2 V2 0 VOL='-U + sqrt(2)*V(Q)'
EVD VD 0 VOL='ABS(V(V1) - V(V2))'
.DC U UL UH 0.01
.PRINT DC V(Q) V(QB) V(Q2) V(Q) V(V1) V(V2)
.MEASURE DC MAXVD MAX V(VD)
.MEASURE DC SNM param='1/sqrt(2)*MAXVD'
.END
what is mistake?
It's showing 0 SNM!
please help.!