The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> How to find a point value using expression??
https://designers-guide.org/forum/YaBB.pl?num=1124439814

Message started by littlepig on Aug 19th, 2005, 1:23am

Title: How to find a point value using expression??
Post by littlepig on 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...

Title: Re: How to find a point value using expression??
Post by Jess Chen on 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.

Title: Re: How to find a point value using expression??
Post by Scott Flinchbaugh on 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.


Title: Re: How to find a point value using expression??
Post by Andrew Beckett on 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.

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