Measuring Subcircuits current with HSpice

Status
Not open for further replies.

Dric

Newbie level 3
Joined
Jan 28, 2004
Messages
4
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
49
hspice measure current

Hello All, (and sorry for my poor english)
I try to plot (by the way of the .PROBE instruction) the input or output current of a subcircuits (in this precise case a power MOS with some additional diodes and resistors).

I can access to the differents currents of the subcircuits by the way of a ".PROBE I(X1.MN)" instruction (where X1 is the subcircuit, and MN the element of the subcircuit).

I saw in the HSpice 2004 manual that an instruction "ISUB" should allow to probe the current of a subcircuit node ".PROBE ISUB(X1.PIN1)", but of course I use HSpice 2003.
I tried this syntax in the 2003 version of HSpice, but without success...
Did somebody know if another simple solution exist ?

Thanks in advance for any help or suggestion.

Cheers

Cedric
 

hspice isub

I don't find the usage of ISUB (my hspice version is 2001).
I would suggest two solutions:

1) Use p() function to probe the power:
.probe p(x1)

2) Add a 0V voltage source between the global vdd and the subckt's vdd, or power the subckt with a seperate voltage source. Then the current of this voltage source can be probed.
 

spice measure current

Hi Hughes,
thanks a lot for your answer.
I found only a trace of ISUB documentation on the "HSpice Simulation and Analysis User Guide" of the 2004 version.
For the moment I modify all my subcircuit to add a 0V source on input and output pins, as you explain in your second proposition.

Thanks again

Dric
 

hspice current measure

hspice not support measure large current, some design have leakage cuurent
, we usuall trace it from Top (becuase analog have multi power )

if hspice can set some current probe condition , measure some "large current"

for examples

Top - A - A1
B - B1
--B2
-B3

maybe leakage on B3 or other , but I muse "add resistor =1m"
for trace current

have any good method measure current of power , p(xx) is node power
but power caonnect to many block , which block have leakage
I don't know ..
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…