evilella
Newbie level 3
- Joined
- Oct 20, 2014
- Messages
- 3
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Location
- Liverpool (UK)
- Activity points
- 34
Dear all,
I am trying to run the Monte Carlo analysis of the offset voltage of a comparator.
For this, I am using the 'cross' function from Cadence calculator. The expression I use is the following one:
cross(VDC("/OUT_SF") 0.9 0 "either" t "time"),
where OUT_SF is the output of my comparator and 0.9 is my threshold value. Before running the Monte Carlo analysis, I do a simple dc simulation with Spectre. However, the simulation fails giving an 'eval err' without further information. To my surprise, if I try to represent with the calculator:
cross(value(getData("/OUT_SF" ?result "dc") "d" 10) 0.9 0 "either" t "time")
which is the same expression as before, but selecting the waveform from the visualization window instead of selecting the net in the schematic, it works! I can see the value of the input voltage when the output crosses the threshold.
Does anybody know why this happens? Can anybody help me to run the Monte Carlo analysis of the cross function, please?
Many thanks,
Eva
I am trying to run the Monte Carlo analysis of the offset voltage of a comparator.
For this, I am using the 'cross' function from Cadence calculator. The expression I use is the following one:
cross(VDC("/OUT_SF") 0.9 0 "either" t "time"),
where OUT_SF is the output of my comparator and 0.9 is my threshold value. Before running the Monte Carlo analysis, I do a simple dc simulation with Spectre. However, the simulation fails giving an 'eval err' without further information. To my surprise, if I try to represent with the calculator:
cross(value(getData("/OUT_SF" ?result "dc") "d" 10) 0.9 0 "either" t "time")
which is the same expression as before, but selecting the waveform from the visualization window instead of selecting the net in the schematic, it works! I can see the value of the input voltage when the output crosses the threshold.
Does anybody know why this happens? Can anybody help me to run the Monte Carlo analysis of the cross function, please?
Many thanks,
Eva