I am running transient simulations to observe how a full adder circuit responds to input glitches. And I want to analyze dynamic power consumption distribution, as well as how it relates to features of input glitches. In Virtuoso (IC 6.1.8-64b.500.14), I find something about measuring total power consumption
average(getData("FA1:pwr"? result "tran"))
"FA1" is the instance name. Is there any similar command that can be used to export dynamic power consumption? And is it possible to define a time interval for the calculation of power consumption?
Thanks for helping me!
I I believe the pwr option saves the power of the device or subcircuit specified in a transient simulation as a waveform. Therefore, unless I am misunderstand your desire for "dynamic power dissipation", it appears the pwr waveform will this as it provides power consumed as a function of time. From the spectre manual:
To save power dissipated on a circuit, subcircuit, or device, you use the pwrparameter. Power is calculated only during DC and transient analyses. The results are saved as a waveform, representing the instantaneous power dissipated in the circuit, subcircuit, or device.
With respect to your second question concerning defining a time interval for the power measurement, if I understand correctly, this can be achieved by using the clip() function on the pwr waveform followed by the average() function. Alternately, you might consider using Mr. Andrew Beckett's moving average function. It essentially provides a means of measuring the power with a user defined low-pass filter.
Please let me know if I did not understand your two questions correctly!!
thanks for your answer!
I just hope it made some sense and provided some insight into a means for doing your analyses!