Digital signal processor

Abstract: A digital signal processor according to the present invention comprises, a data bus (100), a control line for supplying a pre-charge signal at the beginning of each cycle, a first memory (110) for providing a first data stored in a first address to the data bus at a first cycle, for receiving the first data from the data bus and storing the first data in a second address at a second cycle successively with the first cycle, a second memory (120) for storing a second data, an arithmetic circuit coupled to the data bus and the second memory, for receiving the first and second data at the first cycle, for performing arithmetic operation and producing a result data in response to the first data and second data at the second cycle, a pre-charge circuit (140) for providing a potential to the data bus in response to the pre-charge signal, a pre-charge control circuit (150) for transferring the pre-charge signal to the pre-charge circuit at the first cycle, and for inhibiting the transfer of the pre-charge signal at the second cycle. It is possible to provide a digital signal processor capable of operating at low power consumption with high integration.

Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital signal processor, particularly the digital signal processor capable of performing effectively a digital filtering operation. 2. Description of the Related Art A digital signal processor has multipliers and adders which are respectively connected to one another wherein multiplication and addition can be performed at high speed. Data and coefficient to be operated by the multiplier and the adder are respectively stored in a RAM (Random Access Memory) and a ROM (Read Only Memory). Generally, these memories are respectively incorporated into the digital signal processor or comprise semiconductor memories which are provided externally. There is such a digital signal processor capable of performing a digital filtering operation as disclosed in Japanese Laid-Open Publication No.63-122309, published on May 5, 1988. "10th ANNUAL GaAs IC SYMPOSIUM 6-9 NOV. 1988; NASHVILLE (US); D.L. HARRINGTON et al. "A 32-BIT RISC MICROPROCESSOR", p. 87-90, discloses a digital signal processor with a data bus, a control line for supplying a pre-charging signal at the beginning of each cycle, a first memory, a second memory, an arithmetic circuit, and a pre-charged control circuit for providing a potential to the data bus in response to the pre-charge signal. SUMMARY OF THE INVENTION It is an object of the present invention to provide a digital signal processor capable of operating at low power consumption with high integration. The present invention is defined in independent claims 1 and 4. The dependent claims define particular embodiments of the invention. A digital signal processor comprises, a data bus, a control line for supplying a pre-charge signal at the beginning of each cycle, a first memory for providing a first data stored in a first address to the data bus at a first cycle, for receiving the first data from the data bus and storing the first data in a second address at a second cycle successively with the first cycle, a second memory for storing a second a second data, an arithmetic circuit coupled to the data bus and the second memory, for receiving the first and second data at the first cycle, for performing arithmetic operation and producing a result data in response to the first data and second data at the second cycle, a pre-charge circuit for providing a potential to the data bus in response to the pre-charge signal, a pre-charge control circuit for transferring the pre-charge signal to the pre-charge circuit at the first cycle, and for inhibiting the transfer of the pre-charge signal at the second cycle. With the arrangement of the preferred embodiment of the present invention, a pre-charge circuit is controlled by a pre-charge control circuit. Accordingly, in case of realizing an arithmetic process of a secondary infinite response filter (hereinafter referred to as an IIR filter), the number of pre-charging of a data bus can be reduced. Since the data bus usually comprises more than 16 bits, the wiring of the data bus is very long. If the data bus is pre-charged every operation cycles, power consumption is much increased. Accordingly, if the number of pre-charging of the data bus is reduced, the power consumption is effectively reduced. Furthermore, during the term when the data bus is prevented from being pre-charged, the data which was read in the operation cycle immediately before the present operation cycle remains held on the data bus. Accordingly, it is not necessary to provide a register which temporarily stores such a data. It is a matter of course that the larger the number of bit of the data is, the larger the register is. According to the present invention, the digital signal processor can be highly integrated since it can dispense with such a register which temporarily stores the data. Still furthermore, according to the present invention, it is possible to provide a digital signal processor capable of operating at low power consumption with high integration. BRIEF DESCRIPTION OF THE DRAWINGS The above and other objects and features of the invention will be apparent to those skilled in the art from the following detailed description of a preferred embodiment of the invention, when considered with the accompanied drawings, in which; Fig. 1 is a functional block diagram of a digital signal processor according to a preferred embodiment of the present invention: Fig. 2 is a functional block diagram illustrating an IIR filter; and Fig. 3 is a time chart showing an operation of the digital signal processor in Fig. 1. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A preferred embodiment of the present invention will be described with reference to Figs. 1 to 3 in which Fig. 1 shows the functional block diagram of the digital signal processor of the present invention. The digital signal processor comprises a data bus 100 for performing the transfer of data, a first data memory (a RAM 110 in this embodiment) for storing therein data on the data bus 100, a second data memory (a ROM 120 in this embodiment) for storing therein a filter coefficient, an operation portion 130 for performing an operation based on data which is supplied from the RAM 110 and the ROM 120, a pre-charge circuit 140 for pre-charging the data bus 100, a pre-charge control circuit 150 for controlling the pre-charge circuit 140, an input-output port (hereinafter referred to as I/O PORT) 160 and a controller 170. The RAM 110 is connected to the data bus 100 at the input portion thereof and to the same data bus 100 at the output thereof through a driver circuit 112. The operation portion 130 comprises an ML register 131 and an LL register 132 for receiving the data on the data bus 100 and storing the same data therein, a selector 133 for receiving the data stored in the ML register 131 and the LL register 132 and selecting and outputting either of the data stored in the ML register 131 or LL register 132, a KL register 134 for receiving the data which is output from the selector 133, an NL register 135 for receiving the data from the ROM 120, a multiplier 136 for performing the multiplication by applying the data which is output from the KL register 132 by the data which is output from the NL register 135, an adder 137 for performing the addition by adding the data which is the result of the multiplication (hereinafter referred to as a product) and the data which is fed back from an accumulator (hereinafter referred to as ACC) 138 and the ACC 138 for storing the data which is the result of the addition (hereinafter referred to as a sum). The output of the ACC 138 is connected to the data bus 100 through a driver circuit 139 and is fed back to the input of the adder 137. In this case, the adder 137 performs the addition by adding the data of the product performed in the multiplier 136 and the data which is fed back from the ACC 138 and outputs the data of the sum to the ACC 138. The ACC 138 stores therein the same data of the sum. The data thus stored in the ACC 138 is output to the data bus 100 through the driver circuit 139. The adder 137 may comprise an arithmetic logic unit (ALU). The pre-charge circuit 140 is the one which responds to a pre-charge control signal PCa which is output from the pre-charge control circuit 140 and pre-charges the data bus 100. The data bus 100 performs the transfer of the data after it is pre-charged. The pre-charge circuit 140 comprises an inverter 141 having an input to which a pre-charge control signal PCa is input and a P-channel type MOS transistor (hereinafter referred to as a PMOS) 142 having a gate electrode which is controlled by the output of the inverter 141. The PMOS 142 has a source electrode which is connected to a power supply Vcc having a power supply potential level and a drain electrode which is connected to the data bus 100. The pre-charge control circuit 150 comprises a delay type flip-flop (hereinafter referred to as a D-FF) 151, an inverter 152 and an AND gate electrode 153. The D-FF 151 can latch a register enable signal REN upon reception of a clock pulse . The output of the D-FF 151 is connected to the input of the inverter 152. The input of the AND gate electrode 153 is connected to the output of the inverter 152 and a pre-charge signal supply line 154 through which a pre-charge signal PC is supplied to the AND gate electrode 153. The AND gate electrode 153 outputs the pre-charge control signal PCa. The register enable signal REN is supplied to the D-FF 151 in a given operation cycle. The clock pulse  and the pre-charge signal PC are supplied in every operation cycle. The timing when the pre-charge control signal PCa is output, i.e. the timing when the data bus 100 is pre-charged is determined by the timing when these register enable signal REN, the clock pulse  and the pre-charge signal PC are supplied to the pre-charge control circuit 150. The digital signal processor having the arrangement as set forth above can be used in the IIR filter. The operation of the IIR filter will be described with reference to Fig. 2 showing the functional block diagram of the IIR filter. The IIR filter is the filter wherein the impulse response continues infinitely in a linear digital filter. The IIR filter includes adder means 201, 202, 203 and 204 which sequentially add an input data IN from the data bus 100. An output data OUT is output from the last stage of adder means 204. The additions which are to be performed by the adder means 201 to 204 are performed by the adder 137 as illustrated in Fig. 1. The output of the adder means 202 is connected to delay means 211 and 212. The delay to be generated by the delay means 211 and 212 can be realized using an n address and n + 1 address of the RAM 110 as illustrated in Fig. 1. The outputs of the delay means 211 and 212 are respectively connected to the inputs of the adder means 201 to 204 through multiplier means 221 to 224. The multiplications which are to be performed by the multiplier means 221 to 224 by multiplying the outputs of the delay means 211 and 212 by the filter coefficient (meaning multiplier), which is stored in the ROM 120 as illustrated in Fig. 1, are performed by the multiplier 136 in Fig. 1. Denoted at n and n + 1 as indicated in the delay means 211 and 212 in Fig. 2 represent addresses of the RAM 110 while denoted at n , n + 1, n + 2 and n + 3 as indicated under the multiplier means 221 to 224 represent addresses of the ROM 120. The detailed operation of the IIR filter will be described with reference to the time chart as illustrated in Fig. 3. In Fig. 3, denoted at "I0 to I4" represent operation cycles, "BUS" represents the data bus 100, "ML", "LL", "KL", "NL" represent the ML register 131, the LL register 132, the KL register 134 and NL register 135. Denoted at "ACC" represents an accumulator 138 and "RAM n " and "RAM n + 1 " represent the data stored in the addresses n and n + 1 of the RAM 110 while "ROM n " and "ROM n + 1 ", "ROM n + 2 " and "ROM n + 3 " represent the data stored in the addresses n , n + 1, n + 2 and n + 3 of the ROM 120. In the "Operation Cycle I0", the data RAM n + 1 which is stored in the address n + 1 of the RAM 110 is transferred onto the data bus 100 and is input to the ML register 131. At the same time, the data ROM n which is stored in the address n of the ROM 120 is input to the NL register 135. Successively, in the "Operation Cycle I1", the data which is stored in the ML register 131 is input to the KL register 134 through the selector 133. The multiplier 136 performs the multiplication by multiplying the data which is output from the KL register 134 by the data which is output from the NL register 135 and outputs the product thereof to the adder 137. The adder 137 performs the addition by adding the same product and the data which is fed back from the ACC 138 and outputs the sum to the ACC 138. The ACC 138 stores therein the data of the sum thereof. A sequence of arithmetic processes correspond to the operations which are performed by the multiplier means 221 and the adder means 201 as illustrated in Fig. 2. The data RAM n which is stored in the address n of the RAM 110 is transferred onto the data bus 100 and is input to the LL register 132. At the same time, the data ROM n + 1 which is stored in the address n + 1 of the ROM 120 is input to the NL register 135. The register enable signal REN is latched in the D-FF 151 when the latter receives the clock pulse  so that the data bus 100 is prevented from being pre-charged in the next "Operation Cycle I2". That is, the pre-charge circuit 140 is restrained from pre-charging the data bus 100 while the pre-charge control signal PCa which is supplied from the pre-charge control circuit 150 to the pre-charge circuit 140 remains held at "Low" level in the next "Operation Cycle I2". In the "Operation Cycle I2", the data which is stored in the LL register 132 is input to the KL register 134 through the selector 133. The multiplier 136 performs the multiplication by multiplying the data which is output from the KL register 134 by the data which is output from the NL register 135 and outputs the product thereof to the adder 137. The adder 137 performs the addition by adding the data of the same product and the data which is fed back from the ACC 138 and outputs the sum thereof to the ACC 138. The ACC 138 stores therein the data of the sum. A sequence of arithmetic processes correspond to the operations which are performed by the multiplier means 222 and the adder means 202 as illustrated in Fig. 2. Furthermore, the data RAM n which remains held on the data bus 100 is stored in the address n + 1 of the RAM 110 since the data bus 100 is prevented from being pre-charged in the "Operation Cycle I1". This process corresponds to the transfer operation of the data from the delay means 211 to the delay means 212 as illustrated in Fig. 2. The restraint of the pre-charging operation of the pre-charge circuit 140 will be described hereinafter. The high-level register enable signal REN which is latched in the D-FF 151 is output from the D-FF 151 when the clock pulse  is supplied to the D-FF 151 in the "Operation Cycle I1". The register enable signal REN is inverted by the inverter 152 and is supplied to the AND gate electrode 153 as an inverted signal. The inverted signal and the pre-charge signal PC are ANDed by the AND gate electrode 153. Accordingly, the output of the AND gate electrode 153, i.e. the pre-charge control signal PCa is changed to a "Low" level. The pre-charge control signal PCa is inverted by the inverter 141. The PMOS 142 is turned off by the inverted signal. Accordingly, the data bus is prevented from being pre-charged. As a result, the data RAM n which is read in the "Operation Cycle I1" remains held as it is on the data bus 100. The thus held data RAM n is stored in the address n + 1 of the RAM 110 in the "Operation Cycle I2". This process corresponds to the transfer operation of the data from the delay means 211 to the delay means 212 as illustrated in Fig. 2. At the same time, the data ROM n +2 which is stored in the address n + 2 of the ROM 120 is input to the NL register 135. Successively, in the "Operation Cycle I3", the data which is stored in the LL register 132 is input to the KL register 134 through the selector 133. The multiplier 136 performs the multiplication by multiplying the data which is output from the KL register 134 by the data which is output from the NL register 135 and outputs the product thereof to the adder 137. The adder 137 performs the addition by adding the data of the same product and the data which is fed back from the ACC 138 and outputs the sum thereof to the ACC 138. The ACC 138 stores therein the data of the sum. A sequence of arithmetic processes correspond to the operations which are performed by the multiplier means 223 and the adder means 203 as illustrated in Fig. 2. At the same time, the data which is stored in the ACC 138 in the "Operation Cycle I2" is transferred onto the data bus 100 and is then stored in the address n of the RAM 110. This process corresponds to the transfer operation of the data from the adder means 202 to the delay means 211 as illustrated in Fig. 2. At the same time, the data ROM n + 3 which is stored in the address n + 3 of the ROM 120 is input to the NL register 135. Successively, in the "Operation Cycle I4", the data which is stored in the ML register 131 is input to the KL register 134 through the selector 133. The multiplier 136 performs the multiplication by multiplying the data which is output from the KL register 134 by the data which is output from the NN register 135 and outputs the product thereof to the adder 137. The adder 137 performs the addition by adding the data of the product and the data which is fed back from the ACC 138 and outputs the sum thereof to the ACC 138. The ACC 138 stores therein the data of the same sum. A sequence of arithmetic processes correspond to the operations which are performed by the multiplier means 224 and the adder means 204 as illustrated in Fig. 2. One arithmetic operation cycle of the IIR filter is completed by performing the Operation Cycles I0 to I4. The result of operation as performed in the manner as set forth above (corresponding to the output OUT as illustrated in Fig. 2) is transferred from the ACC 138 onto the data bus 100 through the driver circuit 139 and is output to the I/O port 160. In case of connecting the IIR filter as illustrated in Fig. 2 are connected in multiple stages in series to the output OUT, the process which is performed in the Operation Cycle I4 as illustrated in Fig. 3 and an Operation Cycle I0 of the IIR filter of the next stage can be realized by one operation cycle. Accordingly, the arithmetic process of one IIR filter can be performed within four operation cycles. With the arrangement of the preferred embodiment of the present invention, the pre-charge circuit is controlled by the pre-charge control circuit. Accordingly, in case of realizing the arithmetic process of the IIR filter as set forth above, it is possible to reduce the number of pre-charging of the data bus. Since the data bus usually comprises more than 16 bits, the wiring of the data bus is very long. If the data bus is pre-charged every operation cycles, power consumption is much increased. Accordingly, if the number of pre-charging of the data bus is reduced, the power consumption is effectively reduced. Furthermore, during the term when the data bus is prevented from being pre-charged, the data which was read in the operation cycle immediately before the present operation cycle remains held on the data bus. Accordingly, it is not necessary to provide the register which temporarily stores such a data. It is a matter of course that the larger the number of bit of the data is, the larger the register is. According to the present invention, the digital signal processor can be highly integrated since it can dispense with such a register which temporarily stores the data. Still furthermore, according to the present invention, it is possible to provide the digital signal processor capable of operating at low power consumption with high integration. While the present invention has been described with reference to the illustrative embodiment, this description is not intended to be construed in a limiting sense. Various modifications of the illustrative embodiment, as well as other embodiments of the invention, will be apparent to persons skilled in the art upon reference to this description.

Claims: A digital signal processor comprising: a data bus (100); a control line for supplying a pre-charging signal (PCa) at the beginning of each cycle; a first memory (110) for providing a first data stored in a first address to the data bus during a first cycle, for receiving the first data from the data bus and storing the first data in a second address during a second cycle, the second cycle being successive to the first cycle; a second memory (120) for storing a second data; an arithmetic circuit (130), coupled to the data bus and the second memory for receiving the first and second data during the first cycle, for performing an arithmetic operation and producing a result data in response to the first data and second data during the second cycle; a pre-charge circuit (140) for providing a potential to the data bus in response to the pre-charge signal; said digital signal processor being characterized by a pre-charge control circuit (150) for transferring the pre-charge signal to the pre-charge circuit during the first cycle, and for inhibiting the transfer of the pre-charge charge signal to the pre-charge circuit during the second cycle. The digital signal processor according to claim 1, wherein the pre-charge control circuit comprises: a latching circuit (151) for outputting a first signal and a second signal; and a gate circuit (142) for transferring the pre-charge signal to the pre-charge circuit in response to the first signal, and for inhibiting the transfer of the pre-charge signal to the pre-charge circuit in response to the second signal. A digital signal processor according to claim 1, wherein: said first memory (110) is a RAM and said second memory (120) is a ROM; and wherein said pre-charge circuit (140) comprises a transistor (142) having a first electrode, for coupling the data bus to a power supply having a predetermined potential in response to the pre-charge signal, the pre-charge signal being applied to the first electrode. A digital signal processor comprising: a data bus (100); a control line for supplying a pre-charge signal (PCa) at a beginning of each cycle; a memory (110) for providing a data to the data during a first cycle; a register (131, 132) coupled to the data bus, for receiving the data during the first cycle; a pre-charge circuit (140) for providing a potential to the data bus in response to the pre-charge signal; said digital signal processor being characterized by a pre-charge control circuit (150) for transferring the pre-charge signal to the pre-charge circuit during the first cycle, and for inhibiting the transfer of the pre-charge signal to the pre-charge circuit during a second cycle, the second cycle being successive to the first cycle. The digital signal processor according to claim 4, wherein the pre-charge control circuit comprises: a latching circuit (151) for outputting a first signal and a second signal; and a gate circuit (142) for transferring the pre-charge signal to the pre-charge circuit in response to the first signal, and for inhibiting the transfer of the pre-charge signal to the pre-charge circuit in response to the second signal. A digital signal processor according to claim 4, wherein said pre-charge control circuit is adapted to output a control signal in response to the pre-charge signal, the control signal having a first logic level and a second logic level; and said pre-charge circuit is adapted to provide a predetermined potential to the data bus when the control signal is at the first logic level during the first cycle, and to prevent the predetermined potential from being provided to the data bus when the control signal is at the second logic level during a second cycle, the second cycle being successively to the first cycle. The digital signal processor according to claim 6, wherein the pre-charge circuit (140) comprises a transistor (142) having a first electrode, a second electrode and a third electrode, and wherein the control signal is applied to the first electrode, the second electrode is coupled to a power supply having the predetermined potential, and the third electrode is coupled to the data bus. The digital signal processor according to claim 7, wherein the transistor is an MOS transistor. A digital signal processor according to claim 4, wherein: said pre-charge control circuit (150) is adapted to output a first control signal during the first cycle in response to the pre-charge signal and to an enable signal when the enable signal has a first logic level, and to output a second control signal during the second cycle in response to the enable signal when the enable signal has a second logic level, the second cycle being successive to the first cycle; and wherein said pre-charge circuit is adapted to provide a predetermined potential to the data bus in response to the first control signal and to prevent the predetermined potential from being providing to the data bus in response to the second control signal. The digital signal processor according to claim 9, wherein the pre-charge circuit (140) couples a power supply having the predetermined potential to the data bus in response to the first control signal, and in response to the second control signal, the pre-charge circuit uncouples the power supply from the data bus. The digital signal proccssor according to claim 10, wherein the pre-charge circuit (140) comprises a transistor (142) having a first electrode, a second electrode and a third electrode, and wherein the first and second control signals are applied to the first electrode, the second electrode is coupled to the power supply, and the third electrode is coupled to the data bus. The digital signal processor according to claim 11, wherein the transistor is an MOS transistor.

Inventors: OKUAKI YASUYUKI, YANAGA OSAMU, OKUAKI, YASUYUKI, YANAGA, OSAMU, Okuaki, Yasuyuki, c/o Oki Electric Ind. Co., Ltd., Yanaga, Osamu, c/o Oki Electric Ind. Co., Ltd.
Applicants: OKI ELECTRIC IND CO LTD, OKI ELECTRIC INDUSTRY CO., LTD.
Application year: 1993
Main classification: H03H17
IPC codes: H04N5, H03H17, G06T5