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.

HSPICE power calculation help: AVG power vs Integrated Power

Status
Not open for further replies.

moharaza

Junior Member level 3
Joined
Mar 26, 2006
Messages
25
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,483
Hi,

I am having a problem with power calculation in HSPICE.

1. I calculated power with AVG power command.
2. I integrated current over the period and multiplied with vdd, then divided the energy with period to get the power.

surprisingly those power numbers are different. over a 500 cycles, I am seeing at some instances the difference is as much as 2 orders of magnitude. Can anyone give me any explanation as to why this is happening.

sampling time is 30ps, cycle time 100ps. How does hspice calculate AVG power, or how does it do integration if sampling time is 30ps.

--
Thanks
 

Does your circuit have any inductors?

Another suggestion, try your 2 methods on a very simple circuit, and get the matching number first.
 

no, it does not have inductors.

I tried with sample circuit, on that test circuit the figures were close.

But, for a full adder it is very different.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top