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.

Hi,could anyone help me with Hspice power simulation issue?

Status
Not open for further replies.

coco85

Newbie level 3
Joined
Apr 19, 2009
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
USA
Activity points
1,312
I would like to know the consumed power and the output power of the VCO.

For the consumed power,
(1) First,I add ".print power" in the ".sp" file, run "hspice .sp >results",
and then grep "pow" from the file "results". The result is showns as
" power 1.000e-06 9.650e-02
total voltage source power dissipation= 9.650e-02 watts"
and a long list like
power 8.858e-02 1.203e-29 1.025e-28 8.631e-30 1.709e-33 4.908e-32
power 6.564e-33 7.430e-29 8.086e-33 1.252e-04 2.629e-04 1.070e-04
power 1.337e-05 5.258e-05 1.251e-04 3.138e-05 1.073e-08 3.251e-05
power 2.316e-06 3.918e-06 2.129e-08 3.678e-10 1.155e-09 9.727e-10
.....
what are 1.000e-6 and the long list? (The simulation period is 10ns.)

(2) Second, if I use ".measure avg_pow AVG power from=0n to=5n"
file ".mt0" shows,

avg_pow temper alter#
0.1006 25.0000 1.0000

If I change the end time, such that ".measure avg_pow AVG power from=0n to=10n", ".mt0" shows

avg_pow temper alter#
5.234e-02 25.0000 1.0000

Why the "avg_pow" changes according to time period?

Which value is the actual total power consumption? from (1) or (2)?

For the output power, I add ".print I(r0)" (r0 is a 50 Ohm load) to simulate the current through the load and thus get the output power into the load. But when I "grep r0" or "grep current" from the file "results", I cannot tell which value is the one I want. Should this value be written to "results" or some other files?

Thanks very much!!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top