sunjiao3
Member level 5
.meas dc
Dear all,
I encounter a problem in sim with hspice 2004.09. I designed a hysteresis comparator, and, I wanna measure its positive and negtive trig point and thus the width of the hysteresis window in DC sweep. This would be a huge work when I use monte carlo simulation, and what is more, I 'd like get more accurate result. So, how to do it by using .meas?
I've read all the related doc like command_ref. But all examples are give in .meas tran or .meas ac. I think the most "like" command is "find when". So, I use the following command:
.measure DC TH+ find X when v(out)=2.5 fall=1
Here, X is the value of the input signal. But, all I got in *.ms was
$DATA1 SOURCE='HSPICE' VERSION='W-2004.09 '
.TITLE 'comparator_hysteresis************************************'
th+ temper alter#
failed 25.0000 1.0000
So, anyone have the same experience before? Please, give me some suggestion on this command.
Dear all,
I encounter a problem in sim with hspice 2004.09. I designed a hysteresis comparator, and, I wanna measure its positive and negtive trig point and thus the width of the hysteresis window in DC sweep. This would be a huge work when I use monte carlo simulation, and what is more, I 'd like get more accurate result. So, how to do it by using .meas?
I've read all the related doc like command_ref. But all examples are give in .meas tran or .meas ac. I think the most "like" command is "find when". So, I use the following command:
.measure DC TH+ find X when v(out)=2.5 fall=1
Here, X is the value of the input signal. But, all I got in *.ms was
$DATA1 SOURCE='HSPICE' VERSION='W-2004.09 '
.TITLE 'comparator_hysteresis************************************'
th+ temper alter#
failed 25.0000 1.0000
So, anyone have the same experience before? Please, give me some suggestion on this command.