The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 3rd, 2024, 6:51pm
Pages: 1
Send Topic Print
a simple question about Hspice (Read 2139 times)
James
Community Member
***
Offline

snowfiled

Posts: 32

a simple question about Hspice
Apr 04th, 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.
Back to top
 
 

James
View Profile   IP Logged
James
Community Member
***
Offline

snowfiled

Posts: 32

Re: a simple question about Hspice
Reply #1 - Apr 4th, 2005, 6:51am
 
I've got it

.MEASURE tran freq param="1/period_width"
Back to top
 
 

James
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.