The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> Saving difference of two node voltages in Spectre
https://designers-guide.org/forum/YaBB.pl?num=1055930624

Message started by Lokesh on Jun 18th, 2003, 3:03am

Title: Saving difference of two node voltages in Spectre
Post by Lokesh on Jun 18th, 2003, 3:03am

What is the equivalent of the HSPICE command
.print v(vop,von)
(which automatically generates the difference of the two node voltages Vop and Von) in Spectre?

In other words how to save difference of two node voltages in Spectre?

Thanks

Title: Re: Saving difference of two node voltages in Spec
Post by Andrew Beckett on Jun 24th, 2003, 10:12pm

I don't think this can be done in spectre directly, but since
you can save both components and do the subtraction in
the post processing tools, it's not really needed.

You could of course do it in spectre using a vcvs
between the two inputs, and then outputting the output
of the vcvs (with the output side referred to ground):

diff (vdiff 0 vop vin) vcvs gain=1

Regards,

Andrew.

Title: Re: Saving difference of two node voltages in Spec
Post by Lokesh on Jun 25th, 2003, 1:47am

Hi Andrew,
Thanks for the helpful comments.

Regards
Lokesh

Title: Re: Saving difference of two node voltages in Spec
Post by wued on May 2nd, 2005, 5:52am

you can plot differential value of vop minus von by ADE, then using printvs function to finish it.

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