(19)
(11)EP 0 171 088 B1

(12)EUROPEAN PATENT SPECIFICATION

(45)Mention of the grant of the patent:
17.06.1992 Bulletin 1992/25

(21)Application number: 85110113.9

(22)Date of filing:  12.08.1985
(51)International Patent Classification (IPC)5G06F 1/00

(54)

Microprocessor with execution unit independently put into standby condition

Mikroprozessor mit unabhängig in Standby-Zustand versetzbarer Ausführungseinheit

Microprocesseur avec unité d'exécution mise en état de veille de façon indépendante


(84)Designated Contracting States:
DE FR GB

(30)Priority: 10.08.1984 JP 167467/84

(43)Date of publication of application:
12.02.1986 Bulletin 1986/07

(73)Proprietor: NEC CORPORATION
Tokyo (JP)

(72)Inventor:
  • Yamada, Kouichi
    Minato-ku Tokyo (JP)

(74)Representative: Glawe, Delfs, Moll & Partner 
Patentanwälte Postfach 26 01 62
80058 München
80058 München (DE)


(56)References cited: : 
EP-A- 0 050 844
GB-A- 2 130 405
DE-A- 2 825 770
  
  • PATENT ABSTRACTS OF JAPAN, vol. 6, no. 112 (P-124)[990], 23rd June 1982; & JP-A-57 43 238 (FUJITSU K.K.) 11-03-1982
  
Note: Within nine months from the publication of the mention of the grant of the European patent, any person may give notice to the European Patent Office of opposition to the European patent granted. Notice of opposition shall be filed in a written reasoned statement. It shall not be deemed to have been filed until the opposition fee has been paid. (Art. 99(1) European Patent Convention).


Description


[0001] The present invention relates to microprocessors, and more particularly to microprocessors of CMOS structure having at least an execution unit and a control unit.

Description of related art



[0002] At present, there have been developed a variety of microprocessors constituted of complementary MOS (CMOS) integrated circuits in order to decrease consumption of power. Such microprocessors ordinarily have a so-called "standby" mode in which the microprocessor stands by in a ready condition capable of immediately restarting its operation whenever an restart instruction is received.

[0003] This standby mode is divided into a stop mode and a halt mode. In the stop mode, not only the execution of instructions is stopped but also the generation of clocks is stopped so as to minimize the power consumption of the processor. But, the content of data memories is held as it is so that when the processor is released from the stop mode the processor can restart to execute the instructions in the same condition as that just before the processor is brought into the stop mode. In addition, the function necessary for terminating the stop mode is maintained effective. In the halt mode, on the other hand, the clock generation is maintained but all functions excluding the function for interrupt are stopped. Ordinarily, when the processor has completed the execution of one program, it is put into the halt mode by the halt instruction generated in the processor itself. In any case, with a reset input or an interrupt request to the processor, the stop mode and the halt mode are terminated and the processor restarts its execution of instructions.

[0004] Briefly, the conventional microprocessor ordinarily comprises a control unit 1 and an execution unit 2, as shown in Figure 1. The control unit 1 includes an instruction register or queue register 3 coupled to an internal bus 4, and an instruction decoder 5 coupled to the queue register 3 and adapted to output decoded control signals 6 to the execution unit 2. On the other hand, the execution unit 2 mainly comprises an arithmetic logic unit, an accumulator, a temporary register and others (not shown) as wellknown to persons skilled in the art. If the microprocessor as mentioned above is combined with a read only memory, a random access memory and an input/output device, a microcomputer can be constituted.

[0005] As seen from Figure 1, in the conventional microprocessor, the execution unit 2 is controlled as a whole by the instruction decoder 5, and therefore, is put in the standby mode fundamentally in accordance with the instructions.

[0006] Therefore, assuming that the aforementioned microprocessor is applied with a sequence of instructions C₁, C₂, E₁ and C₃ (where c₁, C₂ and C₃ are control instructions and E₁ is an operation instruction) as shown in Figure 2, these instructions are sequentially executed for execution periods e₁, e₂, e₃ and e₄, respectively, and during the four periods, the execution unit 2 is maintained in operating condition, not in the standby mode. Therefore, a substantial amount of power will be consumed in the execution unit.

[0007] Turning to Figure 3, there is shown a time chart of a program sequence for cancellation of the standby mode. In the example of Figure 3, control instructions c₁, C₂ and C₃ (where C₃ is interrupt instruction), an operation instruction E₁ and a control instruction C₄ are executed in the mentioned order for execution periods e₁, e₂, e₃, e₄ and e₅. Therefore, in order to release the processor from the standby mode so that the processor can execute the operation instructions, it has been necessary to supply the interrupt instruction C₃ before the operation instruction E₁.

[0008] As seen from the above, the conventional microprocessor is ordinarily in a condition requiring a substantial comsumption of power irrespectively of whether the control instruction or the operation instruction is executed, and also, the interrupt instruction is necessary for release from the standby mode once the processor is entered into the standby mode.

[0009] Particularly, the microprocessor of an ordinary scale needs an operating current of about ten and several milliamperes in operating condition, but consumes only ten and several microamperes in the standby condition. This difference in current consumption between the operating condition and the standby condition has been recently further enlarged because of such an inclination that the execution unit becomes greatly larger than the control unit. At present, there has been put on the market large-scaled microprocessors which need an operating current of one hundred and several tens milliamperes and a power consumption of several hundreds milliwatts in the operating condition. In such microprocessors, the average power dissipation becomes large even if it has the standby mode, and therefore, the low power consumption effect which is the most attractive feature of the CMOS structure becomes down, even if the power consumption itself is greatly smaller the processor of NMOS structure having the same processing capability.

[0010] In order to further enhance the low power consumption of the CMOS structure, it is considered to construct all the CMOS circuits in the form of static circuits, so that the current does not essentially flow unless any change of data occurs. However, it is difficult to construct the circuit by only static circuits. Specifically, since the static circuit needs transistors of the number larger than that of a dynamic circuit having the same function, the microprocessors often have to comprise a number of dynamic circuits because of restriction in integrated circuit chip area.

[0011] A microprocessor according to the preamble part of claim 1 is disclosed in EP-A-0 050 844. In this system a clock stop instruction is decoded and application of the clock to the execution unit is stopped, wherein restore of the application of the clock of the execution unit is performed in response to an external interrupt signal, so that the execution unit is brought into an operable condition. Therefore, this device is equivalent to the prior art as mentioned above and shows also these drawbacks.

[0012] From "Patents Abstracts of Japan", Vol. 6, No. 112, June 1982, it is known to discriminate a functional circuit used for a given instruction and another functional circuit is not-used for the same given instruction, wherein no electric current is supplied to the not-used functional circuit. For this purpose, the instruction decoder generates a current cut signal to the not-used functional circuit.

[0013] It is, therefore, the object of the invention to realize the standby mode without using a special or exclusive instruction and to cancel the standby mode without using an external interrupt signal.

[0014] This object is achieved by a microprocessor having the features of claim 1; the dependent claims are related to further developments of the invention.

[0015] In particular, since the second instruction decoder receives a portion of the instruction from the instruction register to the first instruction decoder, the second instruction decoder can discriminate whether or not the instruction to be executed is an operation instruction or an a control instruction, and generates the standby control signal when the instruction to be executed is an execution instruction. Therefore, the execution unit can take the standby mode after the operation mode is completed, and then returns to the operation mode when the standby control signal is applied. Accordingly, the execution unit is put in the standby condition more frequently as compared with the conventional CMOS microprocessor, and so, the average power dissipation becomes greatly smaller than the conventional CMOS microprocessor. This effect will be enhanced as the execution unit becomes larger.

[0016] Preferably, the execution unit is adapted to take the standby mode without receiving a specific instruction such as a halt instruction and a stop instruction in the course of a stream of instructions. In this case, since the execution unit can come back to the operation mode without receiving an interrupt instruction for cancellation of the standby condition as mentioned above, the execution unit can take the standby mode and return to the normal operation mode without requiring any instruction in streams of instructions, and therefore, the speed of processing becomes relatively higher than the conventional microprocessor.

[0017] In an embodiment of the microprocessor in accordance with the present invention, the execution unit is adapted to put only a portion of the execution unit in the standby mode, and to return that portion to the operation mode in response to the standby control signal. Specifically, the portion of the execution unit put in the standby mode is a microprogram ROM read-out circuit, or a carry lookahead circuit in an arithmetic logic circuit of the execution unit.

[0018] Further, in a preferred embodiment, the microprocessor is a coprocessor. In this case, the instruction loaded to the first instruction decoder includes the most significant plural hits which indicates whether a given instruction is directed to the coprocessor and the next least significant plural bits which designates whether the given instruction needs read of microprogram, and the second instruction decoder includes a first NOR gate receiving the above most significant plural bits, a second NOR gate receiving the above next least significant plural bits and an AND circuit receiving the outputs of the first and second NOR gates for generating the standby cancel signal.

[0019] In addition, there is provided a microprogram ROM read controller adapted to detect an END microinstruction by detecting the most significant plural bits of microinstructions and to generate a halt signal, and the execution unit is adapted to be put into the standby mode in response to the halt signal. Specifically, the processor further includes a microprogram ROM read-out circuit which is associated to a microprogram ROM and adapted to be rendered operable in response to the standby cancel signal and non-operable in response to the halt signal. Otherwise, the microprocessor further includes a carry lookahead circuit in the execution unit and a carry lookahead biasing circuit which is associated to a carry lookahead circuit and adapted to supply a bias voltage to the carry lookahead circuit in response to the standby cancel signal and to make it non-operable in response to the halt signal.

[0020] The above and other objects, features and advantages of the present invention will be apparent from the following description of preferred embodiments of the invention with reference to the accompanying drawings.

Brief Description of the Drawings



[0021] 

Figure 1 is a block diagram showing a conceptual structure of the conventional microprocessor;

Figures 2 and 3 are time charts showing a stream of instructions for the microprocessor shown in Figure 1;

Figure 4 is a diagram similar to Figure 1, but showing one embodiment of the microprocessor in accordance with the present invention;

Figures 5 and 6 are charts similar to Figure 2, but showing a stream of instructions for the microprocessor shown in Figure 4;

Figure 7 is a diagram showing three examples of instruction format;

Figure 8 is a logic circuit diagram of one example of a microprogram ROM read instruction detecting circuit which can used as the auxiliary instruction decoder in the control unit of the microprocessor;

Figure 8A is a circuit diagram of a transistor circuit for the microprogram ROM read instruction detecting circuit shown in Figure 8;

Figure 9 is a chart showing one example of microinstruction streams which constitute microprograms;

Figure 10 is a logic circuit diagram of one example of an END instruction detector;

Figure 11 is a logic circuit diagram of one example of a microprogram ROM read controller;

Figure 12 is a circuit diagram of a sense amplifier in accordance with the present invention for the microprogram ROM reading circuit;

Figure 13 is a circuit diagram of a carry lookahead circuit in accordance with the present invention; and

Figure 13A is a circuit diagram of a biasing circuit for the conventional carry lookahead circuit.


Description of the Preferred Embodiments



[0022] Referring to Figure 4, there is shown a conceptual structure of the microprocessor in accordance with the present invention, which comprises a control unit 1 and an execution unit 2. The control unit 1 includes a queue register 3 coupled to an internal bus 4 and having final stages functioning as an instruction register, and an instruction decoder 5 coupled to the instruction register 3 to generate decoded control signals 6. In addition, the control unit 1 ordinarily comprises a program counter (not shown), and may further include additional registers such as index registers, arithmetic units to provide address modifications, and other functional units (all of which are also not shown). On the other hand, the execution unit 2 comprises an arithmetic logic unit, an accumulator, a temporary register, a read controller for a microprogram read only memory (ROM), a microprogram ROM address register, and other functional units (all of which are not shown in Figure 4) as wellknown to persons skilled in the art.

[0023] In such an arrangement and in accordance with the present invention, the instruction decoder 5 is associated with an auxiliary instruction decoder 7 which receives at least a portion of the instruction applied to the instruction decoder 5 and generates a standby control signal 8 indicating whether that instruction is an operation instruction. For example, when the standby control signal 8 is at a logical level "1", it means that the instruction to be executed is an operation instruction, and on the other hand, when the standby control signal is at a logical level "0", it means that the instruction to be executed is a control instruction.

[0024] Turning to Figures 5 and 6, there are shown two examples of instruction sequences applied to the microprocessor of Figure 4 and the sequences of execution times for such sequences of instructions. As shown in Figure 5, in the case that the sequence of instructions is composed of control instructions C₁ and C₂, an operation instruction E₁ and a control instruction C₃, these instructions are sequentially executed for execution periods e₁, e₂, e₃ and e₄. But, in the course of such instruction executions, when the control instructions C₁ and C₂ are applied to the instruction decoder 5, the auxiliary instruction decoder 7 generates and supplies the standby control signal 8 of logical level "0" to the execution unit 2, so that the execution unit 2 is in the standby mode during the execution periods e₁ and e₂. Thereafter, when the execution instruction E₁ is applied to the instruction decoder 5, the auxiliary instruction decoder 7 supplies the standby control signal 8 of the logical level "1" to the execution unit 2. As a result, the execution unit 2 is released from the standby mode, and the operation instruction E₁ is executed for the period e₃. After the execution of the instruction E₁, the execution unit 2 is returned to the standby mode since the next instruction is the control instruction C₃.

[0025] In the case of the instruction sequence as shown in Figure 6, when the control instructions C₁ and C₂ are applied to the instruction decoder 5, the auxiliary instruction decoder 7 generates and supplies the standby control signal 8 of logical level "0" to the execution unit 2, so that the execution unit 2 is in the standby mode during the execution periods e₁ and e₂. Thereafter when the execution instruction E₁ is applied to the instruction decoder 5, the auxiliary instruction decoder 7 supplies the standby control signal 8 of the logical level "1" to the execution unit 2. As a result, the execution unit 2 is released from the standby mode, and the operation instruction E₁ is executed for the period e₃.

[0026] This instruction E₁ is followed by another operation instruction E₂, so that the auxiliary instruction decoder again outputs the standby control signal of the logical level "1" when the instruction E₂ is applied to the instruction register 5. Accordingly, the execution unit 2 is maintained in the operation mode, and the operation instruction E₂ is executed for the period e₄. Thereafter, when the next instruction, i.e., the control instruction C₃ is loaded to the instruction decoder 5, the auxiliary instruction decoder 7 generates the standby control signal of the logical level "0", and so, the execution unit 2 is returned to the standby mode.

[0027] As seen from the above, in the course of execution of the ordinary instruction stream, the execution unit 2 is normally put in the standby mode as shown in dotted lines in Figures 5 and 6, and is brought into the operation mode as shown in the solid line labeled "h" in Figures 5 and 6 when the operation instruction should be executed.

[0028] Therefore, the execution unit is more frequently put in the standby mode in the course of execution of the ordinary instruction stream without receiving a halt instruction or a stop instruction, the average power consumption of the microprocessor becomes greatly small. In addition, the execution unit can take either the standby mode or the operation mode without receiving any specific instruction such as a halt instruction, a stop instruction and an interrupt instruction in the instruction streams, the processing speed becomes higher.

[0029] The aforementioned microprocessor is more effective in the case that it is applied to a so-called coprocessor, because it is ordinarily smaller in the number of operation instructions than a master processor associated with the coprocessor, or a single processor without any coprocessor. In addition, it is a more practical way of automatically putting a portion of the execution unit in the standby mode at complete of execution of each microprogram, as compared with the manner of locating the execution unit in the standby mode in response to the standby control signal of logical level "0". Therefore, explanation will be made on one example of the coprocessor embodying the present invention in such a way.

[0030] Referring to Figure 7, there is shown three examples of the instruction format applied to a multiprocessor which includes at least two microprocessors adapted to be divided into a host processor and a coprocessor in the case of execution of high speed floating-point arithmetic processing and other high speed processings. In Figure 7, the instruction words includes N bits, the most significant six bits 0 to 5 of which includes a processor indication instruction, and the next least significant two bits 6 and 7 shows whether the instruction needs the reading of a microprogram ROM associated to the coprocessor in the case that the first to sixth bits designates the coprocessor.

[0031] For example, as shown in Figures 7 (a) and 7 (b), if the first to sixth bits are "000110", it means an instruction for the coprocessor, and if the first to sixth bits bear data other than "000110", for example "101000" as shown in Figure 7 (c), it means any instruction for the master processor. In addition, when "11" appears in the seventh and eighth bits as shown in Figure 7 (a), it means that the coprocessor instruction in the first to sixth bits needs to read any microprogram from the microprogram ROM. Such a read operation ordinarily requires use of the execution unit. If the seventh and eighth bits are "00" as shown in Figure 7 (b), the coprocessor instruction does not need the reading of the microprogram ROM. Namely, the "00" means a so called nonmemory reference instruction.

[0032] Now, assuming that the instructions of the aforementioned format are supplied to the queue register 3 of the control unit 2 in the coprocessor, the auxiliary instruction decoder 7 can be constructed as shown in Figure 8. The queue register 3 comprises a plurality of (M + 1)-stage shift registers of the number corresponding to the word length of the instruction, and the initial stages of these shift registers are coupled to the internal bus 4 to receive the instructions to be executed. But, for simplification of drawing, there is shown only eight shift registers for the most significant 8 bits of the instructions. The last stages of the most significant 8 bit portion of the queue register 3 are connected to a coprocessor instruction detector 10 and a microprogram ROM use detector 12.

[0033] Specifically, the decoder 10 is constructed of for example a NOR circuit 14 having six inputs connected to the outputs of the first to sixth shift registers corresponding to the most significant 6 bits of the instructions. Particularly, the fourth and fifth shift registers supply their outputs "d" and "e" in the inverted form to the NOR circuit 14, and the first, second, third and sixth shift registers supply non-inverted outputs "a", "b", "c" and "f" to the NOR circuit 14.

[0034] On the other hand, the microprogram ROM use detector 12 includes a two-input NOR circuit 16 having inputs connected to inverted outputs "g" and "h" of the seventh and eight shift registers. This NOR circuit 16 can be formed by for example a CMOS circuit as shown in Figure 8A, which includes two CMOS inverters interconnected in such a manner that each pMOS device is series-connected to each other and each nMOS device is put in parallel to each other. The outputs of these NOR circuits 14 and 16 are connected to a two-input AND circuit 18, which outputs a STANDBY CANCEL signal 8.

[0035] Turning to Figure 9, there is shown one example of microinstruction streams supplied to a microinstruction bus. As seen from Figure 9, each set of microinstructions which constitute one microprogram is terminated with an END microinstruction, which includes for example "11100" in the most significant five bits as shown in Figure 9. Therefore, such an END microinstruction is detected by an end instruction detector 20, as shown in Figure 10.

[0036] The detector 20 comprises a five-input AND circuit 22, three inputs of which are connected to the most significant three bit lines of the microinstruction bus, and the other two inputs are connected through inverters 22A and 22B to the next least significant two bit lines of the microinstruction bus. Therefore, when the most significant five bits of the microinstruction bus are "11100", the END instruction detector 20 outputs an END signal of the logical level "1".

[0037] This END signal is applied as one kind of standby signal to a microprogram ROM read controller 24, as shown in Figure 11. This controller 24 includes three RS flipflops 26, 28 and 30 each of which is formed of two NOR gates. The first flipflop 26 receives at its S input the STANDBY CANCEL signal 8 from the circuit 18 and at its two R inputs the END signal from the END instruction detector 20 and a SYSTEM RESET signal which also functions as one kind of standby signal. The flipflop 26 is connected at its Q output to an inverter 32A, which in turn generates a halt cancel signal HALT. The Q output of the flipflop 26 is connected to another inverter 32B for generating a halt signal HALT.

[0038] Further, the END signal and the STANDBY CANCEL signal are respectively applied to R and S inputs of the second flipflop 28, whose Q output is connected to one input of a NOR gate 34. In addition, a LOOP INSTRUCTION signal, the SYSTEM RESET signal and a LOOP CANCEL signal are supplied to an R input and two S inputs of the third flipflop 30. This flipflop 30 is connected at its Q output to another input of the NOR gate 34, whose output is connected through a MOS transistor 36 to one input of a NAND gate 38. Clocks ø₁ and ø₂ are applied to another input of the HAND gate 38 and the gate of the transistor 36. Thus, NAND gate 38 generates an OUT signal and outputs through an inverter 38A an OUT signal.

[0039] The signals, HALT, HALT, OUT and OUT thus generated are applied to for example a sense amplifier 40 as shown in Figure 12, which constitutes a microprogram ROM read-out circuit. The circuit shown is for one bit, and therefore, if the microinstructions in the microprogram ROM have the length of 20 bits at maximum, twenty similar circuits are required at total.

[0040] The sense amplifier 40 comprises a NOR gate 42 connected at its one input to the HALT signal line, and at its output to the gate of nMOS device of a CMOS circuit 44, which circuit is connected between VCC and a selector 46 for a microprogram ROM 48 associated with a decoder 50. The nMOS device has a source connected to another input of the NOR gate 42. The HALT line is connected to a gate of an MOS device 52 connected between VCC and the common-connected gate and drain of the pMOS device of the CMOS circuit 44. The gate of the pMOS device of the CMOS circuit 44 is further connected to the gate of the pMOS device of a second CMOS circuit 54 in which the gate of the nMOS device is connected to the source of the pMOS device.

[0041] The connection node between the pMOS and nMOS devices of the CMOS circuit 54 is connected to the gates of the outside pMOS and nMOS devices of a cascaded double-stage CMOS circuit 56. The inside pMOS and nMOS devices are connected at their gates to the OUT and OUT lines, respectively. The connection point between the pMOS and nMOS devices of the circuit 56 is connected to the gates of a fourth CMOS circuit 58. The intermediate connection between the pMOS and nMOS devices of the CMOS circuit 58 is connected to one line 60 of a microinstruction bus and the gates of a fifth CMOS circuit 62, whose intermediate connection point is connected to the gates of the CMOS circuit 58. The CMOS circuits 54, 56, 58 and 62 are connected between VCC and ground.

[0042] With this arrangement, when the HALT and OUT signals are "1" and the HALT and OUT signals are "0" currents ii and i₂ are flowed through the CMOS circuits 44 and 54, and so, a predetermined memory cell in the microprogram ROM 48 is read out to the bus line 60. But, if the HALT and HALT signals are brought into "0" and "1" respectively, the currents i₁ and i₂ are stopped. Therefore, in the case of the microprogram ROM of 20-bit words, the current 20(i₁+i₂) is saved at total.

[0043] Furthermore, the HALT signal generated by the microprogram ROM read-out controller 24 in Figure 11 can be applied to a carry lookahead circuit 64 for an adder circuit incorporated in the arithmetic logic circuit, as shown in Figure 13 in a very simplified and partially omitted form. The carry lookahead circuit 64 is associated to an adder array 66 which receives at the least significant bit adder a carry-in signal and outputs from the most significant bit adder a carry-out signal. This adder array 66 is divided into a plurality of groups each of which consists of adders for four continuous bits. The adders of each group have an inverted output connected to a four input NOR gate 68A, 68B, ... 68N, which have one pMOS device 70A, 70B ... 70N at their current supply ports, respectively. All the gates of these pMOS devices 70A to 70N are connected to a common line 72, a potential Vo of which is controlled by an associated current controller 74.

[0044] With the above arrangement, if the potential Vo of the common line 72 is at a low level, all the pMOS devices 70A to 70N are conductive, and therefore, the NOR gates 68A to 68N are operable. In such a condition, if all the sum outputs of a given adder group for four bits are "1", the associated NOR gate 68i generates a carry signal Si of logical level "1". At this time, if there is a carry "1" from the adder group (i+1) for the next least significant four bits, a carry propagate signal "1" is generated by a circuit not shown, and then applied to the adder group (i-1) for the next significant four bits. As a result, the carry signal runs to the more significant adder by bypassing the given adder group for four bits so that the propagate speed of the carry is greatly increased.

[0045] The controller 74 includes a CMOS circuit 76 adapted to receive the HALT signal at its gate input. The output of the CMOS circuit 76 is connected to the gate of the nMOS device of another CMOS circuit 78, whose output is connected to the gate of the pMOS device of the CMOS circuit 78 per se and also to the common line 72. The HALT signal is also applied to an inverter 80 whose output is connected to the gate of a pMOS device 82 between VCC and the output of the CMOS circuit 78. The two CMOS circuits 76 and 78 are connected between VCC and ground.

[0046] With the arrangement, if the HALT signal is of "1", the CMOS circuit 76 and the pMOS device 82 are conductive, and the CMOS circuit 78 is non-conductive, so that the common line 72 is maintained at a high level so as to render all the pMOS devices 70A to 70N non-conductive. Thus, currents i₁, i₂ ... in are prevented from flowing through these pMOS devices 70A to 70N. In the prior art, the current controller 78 was constructed as shown in Figure 13A, and so, the currents i₁, i₂ ... in are ceaselessly flowed through the pMOS devices 70A to 70N.


Claims

1. A microprocessor of CMOS structure which includes at least an execution unit (2) and a control unit (1) including an instruction register (3) adapted to receive and store instructions to be executed by the microprocessor and an instruction decoder (5) receiving the instruction from the instruction register (3) and outputting at least one control signal (6), characterized by a second instruction decoder (7) receiving at least a portion of the instruction applied from the instruction register (3) to the first instruction decoder (5) and supplying a standby control signal to the execution unit (2), wherein each instruction stored in the instruction register (3) includes a field designating the kind of instruction, and wherein the second instruction decoder (7) decodes said field of the instruction and operates to supply the standby control signal to the execution unit (2) to put at least one portion of the execution unit (2) into a standby mode when said field indicates that the given instruction is of a first kind, and to inhibit the standby control signal to put said at least one portion of the execution unit (2) into an operable condition when said field indicates that the given instruction is of a second kind.
 
2. A microprocessor as claimed in claim 1 , wherein the portion of the execution unit (2) put in the standby mode is a microprogram ROM read-out circuit.
 
3. A microprocessor as claimed in claim 1, wherein the portion of the execution unit (2) put in the standby mode is a carry look-ahead circuit in an arithmetic logic circuit of the execution unit (2).
 
4. A microprocessor as claimed in claim 1, wherein the microprocessor is a coprocessor.
 
5. A microprocessor as claimed in claim 4, wherein the second instruction decoder (7) is adapted to receive the most significant plural bits of the instruction loaded to the first instruction decoder (5).
 
6. A microprocessor as claimed in claim 5, wherein the instruction loaded to the first instruction decoder (5) includes the most significant plural bits which indicates whether a given instruction is directed to the coprocessor and the next least significant plural bits which designates whether the given instruction needs read of microprogram, and wherein the second instruction decoder (7) includes a first NOR gate receiving the above most significant plural bits, a second NOR gate receiving the above next least significant plural bits and an AND circuit receiving the outputs of the first and second NOR gates for generating the standby cancel signal.
 
7. A microprocessor as claimed in claim 6 further including a microprogram ROM read controller adapted to detect an END microinstruction by detecting the most significant plural bits of microinstructions and to generate a halt signal and wherein the execution unit (2) is adapted to be put into the standby mode in response to the halt signal.
 
8. A microprocessor as claimed in claim 7 further including a microprogram ROM read-out circuit which is associated to a microprogram ROM and adapted to be rendered operable in response to the standby cancel signal and non-operable in response to the halt signal.
 
9. A microprocessor as claimed in claim 7 further including carry look-ahead circuit in the execution unit (2) and a carry lookahead biasing circuit which is associated to a carry lookahead circuit and adapted to supply a bias voltage to the carry look-ahead circuit in response to the standby cancel signal and to make it non-operable in response to the halt signal.
 


Revendications

1. Microprocesseur à structure CMOS qui comporte au moins une unité d'exécution (2) et une unité de commande (1) comportant un registre d'instructions (3) prévu pour recevoir et stocker des instructions qui doivent être exécutées par le microprocesseur et un décodeur d'instruction (5) recevant l'instruction du registre d'instructions (3) et délivrant au moins un signal de commande (6), caractérisé par un second décodeur d'instruction (7) recevant au moins une partie de l'instruction appliquée à partir du registre d'instructions (3) au premier décodeur d'instruction (5) et délivrant un signal de commande d'attente à l'unité d'exécution (2), dans lequel chaque instruction stockée dans le registre d'instructions (3) comporte une zone désignant le type d'instruction, et dans lequel le second décodeur d'instruction (7) décode ladite zone de l'instruction et fonctionne pour délivrer le signal de commande d'attente à l'unité d'exécution (2) pour mettre au moins une partie de l'unité d'exécution (2) en mode d'attente lorsque la zone indique que l'instruction donnée est d'un premier type et pour interdire le signal de commande d'attente de mettre la au moins une partie de l'unité d'exécution (2) en condition exploitable lorsque la zone indique que l'instruction donnée est d'un second type.
 
2. Microprocesseur selon la revendication 1, dans lequel la partie de l'unité d'exécution (2) mise dans le mode d'attente est un circuit de lecture de mémoire morte de microprogramme.
 
3. Microprocesseur selon la revendication 1, dans lequel la partie de l'unité d'exécution (2) mise en mode d'attente est un circuit de lecture anticipée de report dans un circuit arithmétique et logique de l'unité d'exécution (2).
 
4. Microprocesseur selon la revendication 1, dans lequel le microprocesseur est un coprocesseur.
 
5. Microprocesseur selon la revendication 4, dans lequel le second décodeur d'instruction (7) est prévu pour recevoir les nombreux bits de poids fort de l'instruction chargée dans le premier décodeur d'instruction (5).
 
6. Microprocesseur selon la revendication 5, dans lequel l'instruction chargée dans le premier décodeur d'instruction (5) comporte les nombreux bits de poids fort qui indiquent si une instruction donnée est dirigée vers le coprocesseur et les prochains nombreux bits de poids faible qui désignent si l'instruction donnée nécessite la lecture d'un microprogramme et dans lequel le second décodeur d'instruction (7) comporte une première porte NON OU recevant les nombreux bits de poids fort ci-dessus, une seconde porte NON OU recevant les nombreux bits de poids faible suivants et un circuit ET recevant les sorties des première et seconde portes NON OU pour produire le signal d'annulation d'attente.
 
7. Microprocesseur selon la revendication 6, comportant de plus un contrôleur de lecture de mémoire morte de microprogramme prévu pour détecter une micro-instruction FIN en détectant les nombreux bits de poids fort des micro-instructions et pour produire un signal d'interruption et dans lequel l'unité d'exécution (2) est prévue pour être mise dans le mode d'attente en réponse au signal d'interruption.
 
8. Microprocesseur selon la revendication 7, comportant de plus un circuit de lecture de mémoire morte de microprogramme qui est associé à la mémoire morte de microprogramme et est prévu pour être rendu fonctionnel en réponse au signal d'annulation d'attente et non fonctionnel en réponse au signal d'interruption.
 
9. Microprocesseur selon la revendication 7, comportant de plus un circuit de lecture anticipée de report dans l'unité d'exécution (2) et un circuit de polarisation de lecture anticipée de report qui est associé à un circuit de lecture anticipée de report et est prévu pour appliquer une tension de polarisation au circuit de lecture anticipée de report en réponse au signal d'annulation d'attente et pour le rendre non fonctionnel en réponse au signal d'interruption.
 


Ansprüche

1. Mikroprozessor aus einer CMOS-Struktur mit zumindest einer Ausführungseinheit (2) und einer Steuereinheit (1), die ein Befehlsregister (3) zum Empfang und Speichern von Befehlen, die durch den Mikroprozessor auszuführen sind, und einen Befehlsdekoder (5), der den Befehl vom Befehlsregister (3) erhält und zumindest ein Steuersignal (6) ausgibt, gekennzeichnet durch einen zweiten Befehlsdekoder (7), der zumindest einen Teil des vom Befehlsregister (3) an den ersten Befehlsdekoder (5) abgegebenen Befehls erhält und ein Standby-Steuersignal an die Ausführungseinheit (2) abgibt, wobei jeder im Befehlsregister (3) gespeicherte Befehl ein Feld umfaßt, das die Art des Befehls angibt, und wobei der zweite Befehlsdekoder (7) das Feld des Befehls dekodiert und zur Zuführung des Standby-Steuersignals an die Ausführungseinheit (2) arbeitet, um zumindest ein Teil der Ausführungseinheit (2) in einen Standby-Modus zu versetzen, wenn das Feld anzeigt, daß der gegebene Befehl von einer ersten Art ist, und zur Verhinderung des Standby-Steuersignals, um zumindest einen Teil der Ausführungseinheit (2) in einen betriebsbereiten Zustand zu versetzen, wenn das Feld anzeigt, daß der gegebene Befehl von einer zweiten Art ist.
 
2. Mikroprozessor nach Anspruch 1, wobei der Teil der Ausführungseinheit (2), der in den Standby-Modus versetzt wird, eine Leseschaltung zum Auslesen eines Mikroprogramms aus einem ROM ist.
 
3. Mikroprozessor nach Anspruch 1, wobei der Teil der Ausführungseinheit (2), der in den Standby-Modus versetzt wird, eine Übertrags-Überwachungsschaltung in einer Arithmetik-Logik-Schaltung der Ausführungseinheit (2) ist.
 
4. Mikroprozessor nach Anspruch 1, wobei der Mikroprozessor ein Co-Prozessor ist.
 
5. Mikroprozessor nach Anspruch 4, wobei der zweite Befehlsdekoder (7) zum Empfang der mehreren höchstwertigen Bits des Befehls, der in den ersten Befehlsdekoder (5) geladen wird, ausgebildet ist.
 
6. Mikroprozessor nach Anspruch 5, wobei der in den ersten Befehlsdekoder (5) geladene Befehl die mehreren höchstwertigen Bits umfaßt, die anzeigen, ob ein gegebener Befehl an einen Coprozessor gerichtet ist, und die nächsten mehreren wenigerwertigen Bits, die anzeigen, ob der gegebene Befehl das Lesen eines Mikroprogramms erfordert, und wobei der zweite Befehlsdekoder (7) ein erstes NOR-Gate aufweist, das die oben genannten mehreren höchstwertigen Bits empfängt, ein zweites NOR-Gate, das die obengenannten mehreren, niedrigerwertigen Bits empfängt und eine UND-Schaltung, die die Ausgaben des ersten und des zweiten NOR-Gates zur Erzeugung des Standby-Löschsignals erhält.
 
7. Mikroprozessor nach Anspruch 6, mit zusätzlich einem Mikroprogramm ROM-Lesecontroller, der zur Erfassung einer ENDE-Mikroinstruktion ausgebildet ist durch Erfassung der mehreren höchstwertigen Bits der Mikroinstruktion und zur Erzeugung eines Halt-Signals, wobei die Ausführungseinheit (2) so ausgebildet ist, daß sie in Abhängigkeit von dem Haltsignal in den Standby-Modus versetzt werden kann.
 
8. Mikroprozessor nach Anspruch 7, mit zusätzlich einer Mikroprogramm ROM-Leseschaltung, die einem Mikroprogramm ROM zugeordnet und so ausgebildet ist, daß sie in Abhängigkeit von dem Standby-Löschsignal in Betrieb gesetzt werden kann und in Abhängigkeit von dem Halt-Signal in einen Nicht-Betriebszustand versetzt werden kann.
 
9. Mikroprozessor nach Anspruch 7, mit zusätzlich einer Übertrag-Überwachungsschaltung in der Ausführungseinheit (2) und einer Übertragsüberwachung-Vorspannschaltung, die einer Übertragsüberwachungsschaltung zugeordnet ist und zur Zuführunge einer Vorspannung an die Übertragsüberwachungsschaltung ausgebildet ist in Abhängigkeit von dem Standby-Löschsignal und sie in den Nicht-Betriebszustand in Abhängigkeit von dem Halt-Signal zu versetzen.
 




Drawing