Data processor and single-chip microcomputer with changing clock frequency and operating voltage
DCFirst Claim
1. A data processor comprising:
- a circuit module operating in synchronism with a clock signal;
a storage circuit storing control data for designating a frequency of the clock signal to be fed to said circuit module and an operating voltage to be fed to said circuit module;
a clock generator outputting a clock signal having a frequency according to the control data of said storage means to said circuit module;
a power circuit outputting an operating voltage having an absolute value according to the control data of said storage means to said circuit module; and
a first control circuit controlling changes in the frequency of the clock signal to be outputted by said clock generator and in the absolute value of the operating voltage to be outputted by said power circuit,wherein the changes in the frequency of the clock signal and in the absolute value of the operating voltage are designated by changing the control data in the storage circuit, and wherein the operating voltage is prevented from being lowered in its absolute value prior to the lowering of the frequency of the clock signal if the change of the control data is an instruction to reduce the frequency of said clock signal and the absolute value of the operating voltage, and the frequency of the clock signal is prevented from being increased prior to the rise of the absolute value of the operating voltage if the change of the control data is an instruction to increase the clock signal frequency and the absolute value of the operating voltage.
4 Assignments
Litigations
0 Petitions
Accused Products
Abstract
A microcomputer has a clock generator capable of changing the frequency of an output clock signal: and a power circuit capable of changing the level of an operating voltage to be outputted. The frequencies of clock signals and the levels of operating voltages to be individually fed to a plurality of circuit modules can be dynamically changed according to the content of a packaged register. If the content of the register instructs the reduction of the clock signal frequency and the operating voltage in its absolute value, the operating voltage is lowered in its absolute value prior to the change in the clock signal frequency. On the contrary, if the instruction is to increase the frequency of the clock signal and the operating voltage in its absolute value, the clock signal having the increased frequency is outputted prior to the increase of the operating voltage in the absolute value. As a result, it is possible to prevent in advance the malfunctions of the circuit at the time of switching the operation frequency and the operating voltage of the circuit module.
390 Citations
23 Claims
-
1. A data processor comprising:
-
a circuit module operating in synchronism with a clock signal; a storage circuit storing control data for designating a frequency of the clock signal to be fed to said circuit module and an operating voltage to be fed to said circuit module; a clock generator outputting a clock signal having a frequency according to the control data of said storage means to said circuit module; a power circuit outputting an operating voltage having an absolute value according to the control data of said storage means to said circuit module; and a first control circuit controlling changes in the frequency of the clock signal to be outputted by said clock generator and in the absolute value of the operating voltage to be outputted by said power circuit, wherein the changes in the frequency of the clock signal and in the absolute value of the operating voltage are designated by changing the control data in the storage circuit, and wherein the operating voltage is prevented from being lowered in its absolute value prior to the lowering of the frequency of the clock signal if the change of the control data is an instruction to reduce the frequency of said clock signal and the absolute value of the operating voltage, and the frequency of the clock signal is prevented from being increased prior to the rise of the absolute value of the operating voltage if the change of the control data is an instruction to increase the clock signal frequency and the absolute value of the operating voltage. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A single-chip microcomputer comprising:
-
a central processing unit operating in accordance with a clock signal; an input/output circuit; a peripheral circuit operating in accordance with a clock signal; a bus controller operating in accordance with a clock signal and controlling an interface with an external bus to be disposed outside of said single-chip microcomputer, through said input/output circuit; a first internal bus to which is coupled said central processing unit; a second internal bus, to which is coupled said bus controller and to which is coupled said central processing unit while interfacing with the external bus through said input/output circuit; a third internal bus to which is coupled said peripheral circuit; a clock generator outputting a first clock signal for the central processing unit coupled to said first internal bus, a second clock signal for the bus controller coupled to said second internal bus, and a third clock signal for the peripheral circuit coupled to said third internal bus; and a clock controller coupled to said first internal bus and to the clock generator, and changing a frequency of the first clock signal without changing a frequency of the second clock signal in accordance with control data set by said central processing unit. - View Dependent Claims (10, 11)
-
-
12. A data processor, as constructed into a single-chip microcomputer, comprising:
-
a first internal bus to which is coupled a central processing unit; a second internal bus interfacing through an input/output circuit with an external bus disposed outside of said data processor and to which is coupled a bus controller for controlling the interface with said external bus; a third internal bus to which is coupled a predetermined peripheral circuit; a clock pulse generator for outputting a first clock signal for a circuit module coupled to said first internal bus, a second clock signal for a circuit module coupled to said second internal bus, and a third clock signal for a circuit module coupled to said third internal bus; and a clock controller for controlling the frequencies of said first to third clock signals individually, wherein said clock pulse generator includes;
first frequency changing means connected with a first connection terminal adapted to be coupled to a clock generator disposed outside;
second frequency changing means coupled to a second connection terminal adapted to be coupled to said clock generator;
select means for selecting one of said first and second frequency changing means;
third frequency changing means for making said first to third clock signal frequencies individually changeable in response to the clock signal selected by said select means; and
a clock signal output path for outputting the clock signal, which is outputted from said first frequency changing means, as an external clock signal, andwherein said clock controller includes a clock control register coupled to an external clock mode terminal and having control data set by said central processing unit for especially designating the frequency changing ratios of said first and third clock signals by said third frequency changing means and for designating the frequency changing ratio by said second frequency changing means, wherein said clock controller decides the frequency changing ratio by said first frequency changing means in accordance with the status of said external clock mode terminal, to select a first state, in which said third frequency changing means is controlled so that a clock signal can be transmitted from said first connection terminal to the input of said third frequency changing means and so that said second clock signal frequency may be equal to the frequency of the clock signal outputted from said first frequency changing means, and a second state, in which a clock signal can be transmitted from said second connection terminal to the input of said third frequency changing means, wherein said clock controller controls the frequency changing ratio by said second frequency changing means and the frequency changing ratios of said first and third clock signals by said third frequency changing means variably according to the control data set in said clock control register, and controls the frequency changing ratio of said second clock signal by said third frequency changing means in said second state designated at said clock mode terminal in accordance with the control data set in said clock control register, so that the frequency of said second clock signal may be equal to the frequency of the clock signal fed from said second connection terminal. - View Dependent Claims (13, 14, 15)
-
-
16. A single-chip microcomputer comprising:
-
a central processing unit; a circuit module operating in synchronism with a clock signal; a register stores control data for designating a frequency of the clock signal to be fed to said circuit module and an operating voltage to be fed to said circuit module; a clock generator outputting a clock signal having a frequency according to the control data of said register to said circuit module; a power circuit outputting an operating voltage having an absolute value according to the control data of said register to said circuit module; and a first control unit controlling changes in the frequency of the clock signals to be outputted by said clock generator and in the absolute value of the operating voltage to be outputted by said power circuit, wherein the changes in the frequency of the clock signal and in the absolute value of the operating voltage are designated by changing the control data in the storage circuit, and wherein the operating voltage is prevented from being lowered in its absolute value prior to the lowering of the frequency of the clock signal if the change of the control data is an instruction to reduce the frequency of said clock signal and the absolute value of the operating voltage, and the frequency of the clock signal is prevented from being increased prior to the rise of the absolute value of the operating voltage if the change of the control data is an instruction to increase the clock signal frequency and the absolute value of the operating voltage, in which the operating voltage is lowered in its absolute value prior to the change in the frequency, when it detects an instruction to reduce the frequency of said clock signal and the operating voltage in its absolute value, and by blocking the state, in which the clock signal having its frequency increased is outputted prior to the rise of the operating voltage in its absolute value, when it detects an instruction to increase the clock signal frequency and the operating voltage in its absolute value!, wherein the changes in the frequency of the clock signal and in the absolute value of the operating voltage are designated by changing the control data in the storage circuit, and wherein the first control circuit controls so as to prevent the absolute value of the operating voltage from being lowered prior to a lower in the frequency of the clock signal if the change of the control data instructs both of a lower in the frequency of the clock signal and a lower in the absolute value of the operating voltage, and so as to prevent the frequency of the clock signal from being risen prior to a rise in the absolute value of the operating voltage if the change of the control data instructs both of a rise in the frequency of the clock signal and a rise in the absolute value of the operating voltage. - View Dependent Claims (17, 18, 19, 20)
-
-
21. A single-chip microcomputer comprising:
-
a central processing unit operating in accordance with a clock signal; an input/output circuit; a peripheral circuit operating in accordance with a clock signal; a bus controller operating in accordance with a clock signal and controlling an interface with an external bus to be disposed outside of said single-chip microcomputer, through said input/output circuit; a clock generator outputting a first clock signal for the central processing, a second clock signal for the bus controller, and a third clock signal for the peripheral circuit; and a clock controller coupled to the clock generator, and changing a frequency of the first clock signal without changing a frequency of the second clock. - View Dependent Claims (22, 23)
-
Specification