_farhad_
Newbie level 3
- Joined
- Dec 13, 2011
- Messages
- 3
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- Fayetteville, AR
- Activity points
- 1,311
Cadence Spectre continuous measurement
Hello all,
I have been trying to measure rise/fall time of a signal continuously to average it later. I'm using Cadence Spectre and I have added all the required measure statements to the netlist. The Spectre runs successfully and creates ".measure" file but it only contains one value in it while I expect to see several values in the output file because the signal under test makes several rises/falls.
I have tried to use both Spice and Spectre MDL syntax but none of them works.
For Spectre MDL I used:
alias measurement Trise {
export Rise_Time
export real VDD = 1.2
run tran
Rise_Time = risetime(V(z),0,VDD,theta1=10,theta2=90)
}
run Trise
For Spice syntax I used:
simulator lang=spice
.meas tran Trise TRIG V(z) val=0.1 TARG V(z) val=1.1 Rise=1
(I know in HSpice you must use tran_cont instead of tran to get several values but it seems that Spectre doesn't support tran_cont since it ignores it with a warning)
For both cases the Spectre runs successfully and creates the measure files but they contain only one value for the very first rise time!
I am able to go around this problem by making separate netlists for each rise/fall scenario but it seems not the best way if Spectre can automatically measure several rise/fall events and put all of them together in one measure file.
I appreciate any help to solve this issue.
Thanks in advance
Hello all,
I have been trying to measure rise/fall time of a signal continuously to average it later. I'm using Cadence Spectre and I have added all the required measure statements to the netlist. The Spectre runs successfully and creates ".measure" file but it only contains one value in it while I expect to see several values in the output file because the signal under test makes several rises/falls.
I have tried to use both Spice and Spectre MDL syntax but none of them works.
For Spectre MDL I used:
alias measurement Trise {
export Rise_Time
export real VDD = 1.2
run tran
Rise_Time = risetime(V(z),0,VDD,theta1=10,theta2=90)
}
run Trise
For Spice syntax I used:
simulator lang=spice
.meas tran Trise TRIG V(z) val=0.1 TARG V(z) val=1.1 Rise=1
(I know in HSpice you must use tran_cont instead of tran to get several values but it seems that Spectre doesn't support tran_cont since it ignores it with a warning)
For both cases the Spectre runs successfully and creates the measure files but they contain only one value for the very first rise time!
I am able to go around this problem by making separate netlists for each rise/fall scenario but it seems not the best way if Spectre can automatically measure several rise/fall events and put all of them together in one measure file.
I appreciate any help to solve this issue.
Thanks in advance