The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> is it possible to write single measurement expression for duty-cycle in hspice?
https://designers-guide.org/forum/YaBB.pl?num=1326180288

Message started by newic on Jan 9th, 2012, 11:24pm

Title: is it possible to write single measurement expression for duty-cycle in hspice?
Post by newic on Jan 9th, 2012, 11:24pm

is it possible to write single measurement expression for duty-cycle in hspice? so that my mt output files did not contain not important data (assume I have many important expression to measure)

.meas dc_out_a trig v(out) val='0.5*vcc08' rise=4 targ v(out) val='0.5*vcc08' fall=4  $wanna skip this
.meas dc_out_b trig v(out) val='0.5*vcc08' rise=4 targ v(out) val='0.5*vcc08' rise=5 $wanna skip this
.meas dc_out param = '(dc_out_a/ dc_out_b)*100'


Title: Re: is it possible to write single measurement expression for duty-cycle in hspice?
Post by raja.cedt on Jan 10th, 2012, 12:37am

some time back i have used hspice, and i am sure you can find the command in the h spice manual.

Thanks,
Raj.

Title: Re: is it possible to write single measurement expression for duty-cycle in hspice?
Post by newic on Jan 10th, 2012, 10:46pm

hspice does not allow multiple equation/function in single expression as like in spectre

any expert?

Title: Re: is it possible to write single measurement expression for duty-cycle in hspice?
Post by spiceoracle on Apr 23rd, 2012, 8:56am

No, it is not possible to write one measure statement to measure the duty cycle.  You need to measure the period and pulse width using separate measure statements and then calculate the duty cycle using a third measure statement.

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.