主权项 |
1. A method for measuring power using a virtual prototype block, comprising:
receiving the virtual prototype block representing an integrated circuit, wherein the virtual prototype block is a transaction level model of the integrated circuit and is generated without synthesizing the integrated circuit; associating a power estimation block with the virtual prototype block, the power estimation block configured to determine a power state of the virtual prototype block; storing, in a memory, information specific to the virtual prototype block including a real clock signal, a supply voltage, an expected number of gates, a per-gate leakage power, and a loading capacitance; simulating, by a processor executing a circuit simulation tool, the virtual prototype block; and generating, during the simulation of the virtual prototype block, an estimate of power consumed by the integrated circuit by inputting the stored information to the power estimation block. |