Power saving operation of an apparatus with a cache memory
DCFirst Claim
1. An apparatus that is switchable to a low power operating mode and to a normal operating mode, the apparatus comprising:
- an instruction processing circuit;
a main memory for providing instructions for the instruction processing circuit during execution by the instruction processing circuit;
a cache memory coupled between the instruction processing circuit and the main memory, operable in the normal operating mode to cache a part of data and/or instructions that the instruction processing circuit addresses in the main memory during execution, and to substitute cached data and/or instructions when the instruction processing circuit addresses the data and/or instructions in the main memory;
low power operating mode activating circuit, arranged to keep part of the apparatus deactivated during operation in the low power operating mode, said part of the apparatus including the main memory, but excluding at least part of the cache memory, the low power mode activating circuit being arranged to load a program of instructions for executing a function during operation in the low power operating mode into said at least part of the cache memory before switching to the low power operating mode;
wherein the instruction processing circuit is configured to;
detect when it is no longer necessary to operate in the normal operating mode;
cause the program of instructions to be loaded into the cache memory when the instruction processing circuit has determined that it is no longer necessary to operate in the normal operating mode; and
signal to a main power supply circuit to deactivate itself when the instruction processing circuit has determined that it is no longer necessary to operate in the normal operating mode, wherein a cache management unit of the cache memory is deactivated in the low power operating mode.
7 Assignments
Litigations
1 Petition
Accused Products
Abstract
An apparatus that contains an instruction processing circuit (14), a main memory (18) addressable by the instruction processing circuit (14) and a cache memory (16). In a normal mode the cache memory (16) is used to cache a part of data and/or instructions that the instruction processing circuit (14) addresses in the main memory (18) during execution, and to substitute cached data and/or instructions when the instruction processing circuit (14) addresses the data and/or instructions in the main memory (18). The circuit is able to switch to a low power operating mode. Upon the switch an interrupt program for executing a function during operation in the low power operating mode is loaded into the cache memory (16) from the main memory (18). Power supply to the main memory (18) is then switched off, but keeping at least a part of the cache memory (16) continuous to receive power supply. This part ensures that the program of instructions for executing the function is available to the instruction processing circuit. The program is executed from said at least part of the cache memory (16) in the low power operating mode.
36 Citations
10 Claims
-
1. An apparatus that is switchable to a low power operating mode and to a normal operating mode, the apparatus comprising:
-
an instruction processing circuit; a main memory for providing instructions for the instruction processing circuit during execution by the instruction processing circuit; a cache memory coupled between the instruction processing circuit and the main memory, operable in the normal operating mode to cache a part of data and/or instructions that the instruction processing circuit addresses in the main memory during execution, and to substitute cached data and/or instructions when the instruction processing circuit addresses the data and/or instructions in the main memory; low power operating mode activating circuit, arranged to keep part of the apparatus deactivated during operation in the low power operating mode, said part of the apparatus including the main memory, but excluding at least part of the cache memory, the low power mode activating circuit being arranged to load a program of instructions for executing a function during operation in the low power operating mode into said at least part of the cache memory before switching to the low power operating mode; wherein the instruction processing circuit is configured to; detect when it is no longer necessary to operate in the normal operating mode; cause the program of instructions to be loaded into the cache memory when the instruction processing circuit has determined that it is no longer necessary to operate in the normal operating mode; and signal to a main power supply circuit to deactivate itself when the instruction processing circuit has determined that it is no longer necessary to operate in the normal operating mode, wherein a cache management unit of the cache memory is deactivated in the low power operating mode. - View Dependent Claims (2, 3, 4)
-
-
5. An apparatus that is switchable to a low power operating mode and to a normal operating mode, the apparatus comprising:
-
an instruction processing circuit; a main memory for providing instructions for the instruction processing circuit during execution by the instruction processing circuit; a cache memory coupled between the instruction processing circuit and the main memory, operable in the normal operating mode to cache a part of data and/or instructions that the instruction processing circuit addresses in the main memory during execution, and to substitute cached data and/or instructions when the instruction processing circuit addresses the data and/or instructions in the main memory; low power operating mode activating circuit, arranged to keep part of the apparatus deactivated during operation in the low power operating mode, said part of the apparatus including the main memory, but excluding at least part of the cache memory, the low power mode activating circuit being arranged to load a program of instructions for executing a function during operation in the low power operating mode into said at least part of the cache memory before switching to the low power operating mode; wherein the instruction processing circuit is configured to; detect when it is no longer necessary to operate in the normal operating mode; cause the program of instructions to be loaded into the cache memory when the instruction processing circuit has determined that it is no longer necessary to operate in the normal operating mode; and signal to a main power supply circuit to deactivate itself when the instruction processing circuit has determined that it is no longer necessary to operate in the normal operating mode, wherein address comparison circuits of the cache memory are deactivated in the low power operating mode.
-
-
6. An apparatus that is switchable to a low power operating mode and to a normal operating mode, the apparatus comprising:
-
an instruction processing circuit; a main memory for providing instructions for the instruction processing circuit during execution by the instruction processing circuit; a cache memory coupled between the instruction processing circuit and the main memory, operable in the normal operating mode to cache a part of data and/or instructions that the instruction processing circuit addresses in the main memory during execution, and to substitute cached data and/or instructions when the instruction processing circuit addresses the data and/or instructions in the main memory; low power operating mode activating circuit, arranged to keep part of the apparatus deactivated during operation in the low power operating mode, said part of the apparatus including the main memory, but excluding at least part of the cache memory, the low power mode activating circuit being arranged to load a program of instructions for executing a function during operation in the low power operating mode into said at least part of the cache memory before switching to the low power operating mode; wherein the instruction processing circuit is configured to; detect when it is no longer necessary to operate in the normal operating mode; cause the program of instructions to be loaded into the cache memory when the instruction processing circuit has determined that it is no longer necessary to operate in the normal operating mode; and signal to a main power supply circuit to deactivate itself when the instruction processing circuit has determined that it is no longer necessary to operate in the normal operating mode, wherein excess storage capacity of the cache memory is deactivated in the low power operating mode.
-
-
7. A method of operating an apparatus that contains an instruction processing circuit, a main memory addressable by the instruction processing circuit and a cache memory, the method comprising:
-
using the cache memory and the main memory in a normal operating mode, to cache in cache memory a part of data and/or instructions that the instruction processing circuit addresses in the main memory during execution, and to substitute cached data and/or instructions when the instruction processing circuit addresses the data and/or instructions in the main memory; storing, in the main memory, a program of instructions for executing an interrupt function during operating in a low power operating mode, wherein the interrupt program is stored at addresses in main memory that have been selected so that all instructions of the interrupt program can be stored together in the cache memory; detecting that it is no longer necessary to operate in the normal operating mode; switching to the low power operating mode once it is detected that it is no longer necessary to operate in the normal operating mode, by loading the interrupt program into the cache memory from the main memory, wherein all instructions of the interrupt program are stored together in the cache memory; deactivating the main memory to reduce power consumption, but keeping active at least a part of the cache memory, that is needed for retrieving the interrupt program and for executing the interrupt function; executing the interrupt program from said at least part of the cache memory. - View Dependent Claims (8, 9, 10)
-
Specification