The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> a simple question about Hspice
https://designers-guide.org/forum/YaBB.pl?num=1112600265

Message started by James on Apr 4th, 2005, 12:37am

Title: a simple question about Hspice
Post by James on Apr 4th, 2005, 12:37am

I use .meas to get the period time (period_width) of a periodic signal by

.meas period-width trig v(1) val=2
+ rise=3 targ v(1) val=2 rise=4

Then I want to get the frequency (ie. 1/period_width ). But I don’t know how. It seems I cannot use period-width as a parameter.

I really appreciate your answer.

Title: Re: a simple question about Hspice
Post by James on Apr 4th, 2005, 6:51am

I've got it

.MEASURE tran freq param="1/period_width"

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