# US 2025/0209244 A1 · Method to reduce the hardware costs of extracting power profiles in emulation by using statistical techniques

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0209244 A1
- Document ID: US20250209244A1
- Status: Published application
- Kind: A1
- Application number: 18/390,410
- Filed: 2023-12-20
- Published: 2025-06-26
- Earliest claimed: 2023-12-20
- Applicants: Synopsys, Inc.
- Inventors: Beshara George Elmufdi; Madhavan Narayana Pillai; Anup Kumar Sultania
- Web page: https://patentgrep.com/patent/US20250209244A1

## CPC

- G06F 30/331: with hardware acceleration, e.g. by using field programmable gate array [FPGA] or emulation
- G06F 30/3312: Timing analysis
- G01R 31/318314: {Tools, e.g. program interfaces, test suite, test bench, simulation hardware, test compiler, test program languages (simulation software G01R31/318357; emulators G06F11/261)}
- G06F 9/455: Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F 30/333: Design for testability [DFT], e.g. scan chain or built-in self-test [BIST]
- G06F 30/367: Design verification, e.g. using simulation, simulation program with integrated circuit emphasis [SPICE], direct methods or relaxation methods
- G06F 2119/06: Power analysis or power optimisation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

A method of determining power consumption of a circuit design includes, in part: determining toggle data associated with each of a first multitude of flip-flops of the design by applying a stimulus during one or more time intervals; selecting a subset of the first multitude of flip-flops based on their toggle data; performing a first hardware emulation of the design after instrumenting each of the subset of the first multitude of flip-flops; identifying a multitude of time periods during which a sum of toggle data associated with the instrumented flip-flops exceeds a threshold count; performing a second hardware emulation of the design for each of the multitude of time periods after instrumenting a second multitude of flip-flops disposed in the design; storing waveform data associated with each of the second multitude of flip-flops in a first memory; and determining the power consumption of the circuit from the stored waveform data.

## Claims

### Claim 1

A method of determining power consumption of a circuit design, the method comprising:
determining toggle data associated with each of a first plurality of flip-flops disposed in the circuit design by applying a stimulus to the circuit design during one or more time intervals;
selecting a subset of the first plurality of flip-flops based on their toggle data;
performing a first hardware emulation of the circuit design after instrumenting each of the subset of the first plurality of flip-flops;
identifying a plurality of time periods during which a sum of toggle data associated with the instrumented flip-flops exceeds a threshold count;
performing a second hardware emulation of the circuit for each of the plurality of time periods after instrumenting a second plurality of flip-flops disposed in the circuit design;
storing waveform data associated with each of the second plurality of flip-flops in a first memory; and
determining the power consumption of the circuit design from the stored waveform data.

### Claim 2 (depends on 1)

The method of claim 1 wherein the stimulus is applied by a logic simulation software to simulate the circuit design during the one or more time intervals.

### Claim 3 (depends on 1)

The method of claim 1 wherein the stimulus is applied by a hardware emulation system to emulate the circuit design during the one or more time intervals.

### Claim 4 (depends on 1)

The method of claim 1 wherein the first plurality of flip-flops comprises an entirety of flip-flops disposed in the circuit design, and wherein the second plurality of flip-flops comprises the entirety of flip-flops disposed in the circuit design.

### Claim 5 (depends on 1)

The method of claim 1 wherein the toggle data associated with each of the subset of the first plurality of flip-flops comprises a toggle count of the flip-flop and a fanout of the flip-flop.

### Claim 6 (depends on 1)

The method of claim 1 further comprising configuring the hardware emulation system to form a plurality of toggle detectors, a plurality of toggle counters, a toggle accumulator and a storage control logic.

### Claim 7 (depends on 1)

The method of claim 1 further comprising:
stopping the second hardware emulation of the circuit design when the first memory is full;
transferring the waveform data stored in the first memory to a second memory after stopping the second hardware emulation; and
resuming the second hardware emulation after the waveform data is transferred from the first memory to the second memory.

### Claim 8 (depends on 1)

The method of claim 1, wherein the toggle data of each of the selected subset of the first plurality of flip-flops is above a threshold toggle data.

### Claim 9 (depends on 1)

The method of claim 1, wherein the selected subset of the first plurality of flip-flops has a highest toggle data of all the first plurality of flip-flops.

### Claim 10 (depends on 1)

The method of claim 1 further comprising:
performing the second hardware emulation of the circuit after instrumenting a first plurality of nodes disposed in the circuit design, wherein said first plurality of nodes is distinct from the first plurality of flip-flops;
storing waveform data associated with each of the first plurality of nodes in the first memory; and
determining the power consumption of the circuit design from the stored waveform data.

### Claim 11 (depends on 10)

The method of claim 10 wherein each of said first plurality of nodes has a fanout that is greater than a threshold value.

### Claim 12 (depends on 10)

The method of claim 10 wherein said first plurality of nodes are output ports of a memory disposed in the circuit design.

### Claim 13

A hardware emulation system comprising:
a memory storing instructions; and
a processor, coupled with the memory and to execute the instructions, the instructions when executed cause the processor to:
receive toggle data associated with each of a first plurality of flip-flops disposed in the circuit design;
select a subset of the first plurality of flip-flops based on their toggle data;
invoke performance a first emulation run of the circuit design while each of the subset of the first plurality of flip-flops is instrumented;
identify a plurality of time periods during which a sum of toggle data associated with the instrumented flip-flops exceeds a threshold value;
invoke performance of a second emulation of the circuit for the plurality of time periods while a second plurality of flip-flops disposed in the circuit design are instrumented; and
store waveform data associated with each of the second plurality of flip-flops in a first memory.

### Claim 14 (depends on 13)

The hardware emulation system of claim 13, wherein the toggle data is determined by a logic simulation software configured to simulate the circuit design during one or more time intervals.

### Claim 15 (depends on 13)

The hardware emulation system of claim 13, wherein the toggle data is determined by the hardware emulation system during one or more time intervals.

### Claim 16 (depends on 13)

The hardware emulation system of claim 13, wherein the first plurality of flip-flops comprises an entirety of flip-flops disposed in the circuit design, and wherein the second plurality of flip-flops comprises the entirety of flip-flops disposed in the circuit design.

### Claim 17 (depends on 13)

The hardware emulation system of claim 13, wherein the toggle data associated with each of the subset of the first plurality of flip-flops comprises a toggle count of the flip-flop and a fanout of the flip-flop.

### Claim 18 (depends on 13)

The hardware emulation system of claim 13, wherein the hardware emulation system is configured to form a plurality of toggle detectors, a plurality of toggle counters, a toggle accumulator and a storage control logic.

### Claim 19 (depends on 10)

The hardware emulation system of claim 10, wherein the toggle data of each of the selected subset of the first plurality of flip-flops is above a threshold toggle data.

### Claim 20

A non-transitory computer readable medium comprising stored instructions, which when executed by a processor, cause the processor to:
receive toggle data associated with each of a first plurality of flip-flops disposed in the circuit design;
select a subset of the first plurality of flip-flops based on their toggle data;
invoke performance a first emulation run of the circuit design while each of the subset of the first plurality of flip-flops is instrumented;
identify a plurality of time periods during which a sum of toggle data associated with the instrumented flip-flops exceeds a threshold value;
invoke performance of a second emulation of the circuit for the plurality of time periods while a second plurality of flip-flops disposed in the circuit design are instrumented; and
store waveform data associated with each of the second plurality of flip-flops in a first memory.
