The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> Pls help with measuring current through a pin of a "sub circuit" in hspice
https://designers-guide.org/forum/YaBB.pl?num=1320268855

Message started by Larry_80 on Nov 2nd, 2011, 2:20pm

Title: Pls help with measuring current through a pin of a "sub circuit" in hspice
Post by Larry_80 on Nov 2nd, 2011, 2:20pm

Hello All, i have a black box/subcircuit, and the outputs are currents, can someone please tell me how to measure the currents of this subcircuit in hspice?? I do not want to use a resistor to sense the current, i am looking for an hspice command that will directly PROBE the current of the sub circuit.
regards

Title: Re: Pls help with measuring current through a pin of a "sub circuit" in hspice
Post by cheshire_cat on Nov 2nd, 2011, 2:31pm

Larry, use the 'isub' command. You may read more about it in the hspice documentation. Basically,

isub(xi1.xi2.portname)

-Chris

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