Apparatus and method for central processing unit power measurement in a digital signal processor
First Claim
1. Apparatus for measuring the power consumption of a central processing unit in a digital signal processor, the apparatus comprising:
- a plurality of trace leads coupled to selected portions of the central processing unit;
a trace unit coupled to the trace leads;
the trace unit analyzing signals from the central processing unit to determine the current activity of the central processing unit;
a first memory portion for storing a log of activities resulting from operation of the central processing unit;
a second memory portion storing power consumption values for each activity, the power consumption values being indexed by activity; and
a processor for retrieving the activities forming the log in the first memory portion, the processor retrieving power consumption values from the second memory portion for activities retrieved from the log.
1 Assignment
0 Petitions
Accused Products
Abstract
In order to determine the power consumption of a program executed by the central processing unit of a digital signal processor, the power consumption associated with each of the component activities is determined. These power consumption values are stored and indexed by the associated activity. A program is then executed. The activities implementing the program are identified by trace signals and a trace unit, the trace unit analyzing the trace signals. The activities implementing the program are stored in a memory log. The activities stored in the log can then be used to reference the stored power consumption values. In this manner, the total power consumption for the program can be determined. The component power consumption values for activities resulting from the execution of the program can be used to improve the power efficiency of the digital signal processor.
151 Citations
14 Claims
-
1. Apparatus for measuring the power consumption of a central processing unit in a digital signal processor, the apparatus comprising:
-
a plurality of trace leads coupled to selected portions of the central processing unit;
a trace unit coupled to the trace leads;
the trace unit analyzing signals from the central processing unit to determine the current activity of the central processing unit;
a first memory portion for storing a log of activities resulting from operation of the central processing unit;
a second memory portion storing power consumption values for each activity, the power consumption values being indexed by activity; and
a processor for retrieving the activities forming the log in the first memory portion, the processor retrieving power consumption values from the second memory portion for activities retrieved from the log. - View Dependent Claims (2, 3, 4, 5)
-
-
6. The method of measuring the power consumed by a central processing unit, the method comprising:
- determining the power consumption value for each activity in the central processing unit;
storing the power consumption for each activity in a second memory file using the central processing unit activity as an index;
during the operation of the central processing unit, using a trace unit to identify the activity being implemented in the central processing unit;
storing the central processing unit activities identified by the trace unit to form an activity log; and
using the activities of the activity log, retrieving the power consumption values for each activity of the activity log;
- View Dependent Claims (7, 8, 9, 10)
- determining the power consumption value for each activity in the central processing unit;
-
11. A system for testing a power consumption of a digital signal processor central processing unit, the central processing unit having trace leads coupled to preselected portions of the central processing unit, the system comprising:
-
a trace unit coupled to the central processing unit trace leads, the trace unit identifying central processing unit activity from the signals applied to the trace leads by the central processing unit;
a first memory portion coupled to the trace unit, the first memory portion storing an activity log of the activities of the central processing unit;
a second memory portion, the second memory portion storing power consumption values indexed for each activity; and
a processor coupled to the first memory portion and the second memory portion, the processor retrieving the activities of the activity log and using each retrieved activity to retrieve the power consumption value for the activity. - View Dependent Claims (12, 14)
-
-
13. The system as recited 12 wherein the processor sums all of the power consumption values for the activity log to provide the total power consumed by the program.
Specification