The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 16th, 2024, 4:49pm
Pages: 1
Send Topic Print
How to find a point value using expression?? (Read 3450 times)
littlepig
Guest




How to find a point value using expression??
Aug 19th, 2005, 1:23am
 
???

Is there any possible ways to find out y-value at a particular x-value by using some expression???
(Waveform is volage vs time)

Thanks...
Back to top
 
 
  IP Logged
Jess Chen
Community Fellow
*****
Offline



Posts: 380
California Bay Area
Re: How to find a point value using expression??
Reply #1 - Aug 19th, 2005, 8:01am
 
What tools are you using? Many user interfaces have waveform calculators that do the job. If you are using Spectre and do not have a GUI, you can do the job with VerilogA or SpectreHDL and probably the fairly new MDL(measurement description language?).

If all you have is raw UC Berkeley SPICE, your options will be more limited.
Back to top
 
 
View Profile   IP Logged
Scott Flinchbaugh
Junior Member
**
Offline



Posts: 14

Re: How to find a point value using expression??
Reply #2 - Aug 24th, 2005, 6:32pm
 
If you have access to spectremdl, construct the following
MDL file.

alias measurement foo
{
    run tran( stop=<stoptime>)
    export real yval = V(<signal>)@<xval>
}

run foo

------- end of file

In this measurement
<stoptime> = transient analysis stop time
<signal> = node name of interest
<xval> = time value of interest

Hope this helps.

Back to top
 
 
View Profile flinchba   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: How to find a point value using expression??
Reply #3 - Aug 27th, 2005, 12:31am
 
If you're using the ADE calculator (either the old one, or wavescan integrated in ADE), or OCEAN, you would use:

value(v("/signal") 0.5u)

for example.

Regards,

Andrew.
Back to top
 
 
View Profile WWW   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.