Wawan66
Newbie level 5
- Joined
- Sep 5, 2006
- Messages
- 8
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- Bégard, FRANCE
- Activity points
- 1,338
spectre ocean script
Hi,
I'm trying to simulate a basic SRAM cell 6T with Cadence Spectre simulator and Ocean script. More precisely, I need to carry out a parametric analysis but I haven't succeeded in. Here's my netlist :
and my Ocean script :
What's the problem? Each time I run a simulation, an error message indicate the variable "cap" isn't defined in the current design!
Thx alot for your help.
Hi,
I'm trying to simulate a basic SRAM cell 6T with Cadence Spectre simulator and Ocean script. More precisely, I need to carry out a parametric analysis but I haven't succeeded in. Here's my netlist :
/////////////////////////////
// basic gates description //
/////////////////////////////
subckt sramCell WL BLb BL
M0 net0 net1 0 0 nsvt w=0.12 l=0.1
M1 net0 net1 vdd! vdd! psvt w=0.12 l=0.1
M2 net1 net0 0 0 nsvt w=0.12 l=0.1
M3 net1 net0 vdd! vdd! psvt w=0.12 l=0.1
M4 BLb WL net0 0 nsvt w=0.12 l=0.1
M5 BL WL net1 0 nsvt w=0.12 l=0.1
C0 net0 0 capacitor c=700a
C1 net1 0 capacitor c=700a
ends sramCell
/////////////////////////////////
// end basic gates description //
/////////////////////////////////
I0 WL BLb BL sramCell
C0 BLb 0 capacitor c=cap
C1 BL 0 capacitor c=cap
and my Ocean script :
simulator('spectre)
definitionFile("corners")
design("netlist")
stimulusFile(?xlate nil "stimuli.scs")
resultsDir("./results")
paramAnalysis("cap" ?start 10f ?stop 500f ?step 10f)
ic("I0.net0" 0 "I0.net1" 1 "WL" 0 "BLb" 1 "BL" 1)
save('v "I0.net0")
temp(27)
paramRun()
clearAll()
plot(v("I0.net0") ?expr list("Qb"))
What's the problem? Each time I run a simulation, an error message indicate the variable "cap" isn't defined in the current design!
Thx alot for your help.