Patent ID: 11959950
Assignee: ARM LIMITED
Field: Control (Instruments)
Classification: CPC G | IPC G

Claim 16:
17. A power meter for measuring power usage in a circuit, the power meter comprising:
a pre-processor configured to:
receive toggle data for a plurality of power proxy signals in the circuit for a plurality of clock cycles of the circuit in a first time window, where the power proxy signals and an associated set of weight values are determined together in a plurality of iterations of an automated design process for the power meter based on the circuit, where during an iteration of the automated design process the pre-processor is configured to:
model power usage as a weighted sum of toggle data from prior power proxy signals for a set of weight values;
determine values of the weight values to minimize a loss function that includes a difference between the power usage and the modeled power usage, and penalty function of the weight values; and
select, as new power proxy signals, a subset of signals of the prior power proxy signals corresponding to weight values with positive values, the subset of new power proxy signals and the corresponding subset of weight values determined simultaneously;

for each power proxy signal, average the toggle data over one or more clock cycles in a plurality of second time windows, within the first time window, to provide averaged toggle data for the plurality of second time windows and
for each power proxy signal, output the averaged toggle data for the plurality of second time windows; and

a weighting network configured to:
combine the averaged toggle data from the plurality of second time windows based on the set of weight values to provide the measured power usage.