The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 31st, 2024, 3:24am
Pages: 1
Send Topic Print
is it possible to write single measurement expression for duty-cycle in hspice? (Read 5965 times)
newic
Senior Member
****
Offline



Posts: 138

is it possible to write single measurement expression for duty-cycle in hspice?
Jan 09th, 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'

Back to top
 
 
View Profile   IP Logged
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
Re: is it possible to write single measurement expression for duty-cycle in hspice?
Reply #1 - 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.
Back to top
 
 
View Profile WWW raja.sekhar86   IP Logged
newic
Senior Member
****
Offline



Posts: 138

Re: is it possible to write single measurement expression for duty-cycle in hspice?
Reply #2 - Jan 10th, 2012, 10:46pm
 
hspice does not allow multiple equation/function in single expression as like in spectre

any expert?
Back to top
 
 
View Profile   IP Logged
spiceoracle
Junior Member
**
Offline



Posts: 21
USA
Re: is it possible to write single measurement expression for duty-cycle in hspice?
Reply #3 - 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.
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.