Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

problem with hspice measure

Status
Not open for further replies.

pathto_teraze

Junior Member level 3
Joined
Oct 25, 2009
Messages
29
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
USA
Activity points
1,489
Hi,
I want to do some integration in Hspice .measure
such as:

.measure tran integ (v(1)-v(2))*idd from=20n to=50n

but I cannot get it to work.

Anyone can tell me the right syntax?

Thank you very much!
teraze
 

I have a question:
Do you use a explicit current source called idd?, for example:

idd 0 1 1mA

If you try to measure the current, put in the same branch a voltage source with 0V like this:

idd 0 aux 1mA
vdummy aux 1 0V

And put in the .measure statement:

.measure tran integ (v(1)-v(2))*i(vdummy) from=20n to=50n

Regards,:D
 

Hi,
Thank you for your reply.
Actually, idd refers to the current along a specific net, for example, in my circuit, a net is called "test1".

I have put a voltage source with 0V on this specific net named v22, and I measure the current goes through this net as i(v22)

then when I do
.measure tran inge_pwr integ (v(1)-v(2))*i(v22) from=20n to=50n

I have these errors like:
Error:(input.sp:44) unknow word before or at "-"

It looks like hspice do not accept "+" or "-" in its integration.

I don't know whether my understanding is right.

Need your help.

Thanks

jardila said:
I have a question:
Do you use a explicit current source called idd?, for example:

idd 0 1 1mA

If you try to measure the current, put in the same branch a voltage source with 0V like this:

idd 0 aux 1mA
vdummy aux 1 0V

And put in the .measure statement:

.measure tran integ (v(1)-v(2))*i(vdummy) from=20n to=50n

Regards,:D
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top