This application claims the priority benefit of Taiwan patent application number 099210464 filed on Jun. 2, 2010.
1. Field of the Invention
The present invention relates to a digital signal processor (DSP); in particular, the present invention relates to a DSP having the feature of power-saving.
2. Description of Related Art
In the era of information technology, demands for signal processing increase more and more. General-purpose processors usually are not capable of completing high-speed and complicated signal processing operations, therefore, the digital signal processor is developed to specifically deal with such tasks. The DSP is directed to performance of real-time operations on digitized signals; such operations may include signal filtering, mixing and comparing and the like.
The DSP can be not only programmable, but the in-field operation rate thereof may reach up to tens of millions of complex instructions per second which is far beyond the ability of commonly used microprocessors, playing a role of the critical chips in modern digitized electronic world. The conventional DSP also needs higher clocks in performing high-speed data processing, which may not only require massive amount of electricity, but power consumption must be much higher. In order to solve the above-said power consumption problem, the industry has made significant efforts to develop technologies enabling better power-saving effect in DSP.
Furthermore, currently available electronic applications mostly require portability and emphasize the ability to operate under a condition of limited power source; even for electronic products having stable power supply, and the demands on issues such as environment protection and power-saving are highlighted as well. Therefore, the technologies in the field of DSP have to advance toward low energy consumption.
In accordance with the prediction of Gene's Law, the trend regarding to energy consumption reductions in the DSP along the evolution of manufacture processes will augment one tenth in every 5 years. Actually, conventional DSP power-saving technologies are essentially based on dynamic adjustments on the operating clock and the operation voltage of the DSP; whereas, inasmuch as differences exist in various applications of the DSP, although switching the DSP among differing operating frequencies and voltages according to the DSP applications indeed reduces the power consumption, the effect thereof may be limited.
For example, currently available DSPs can be roughly categorized as 8-bit, 16-bit and 32-bit DSPs. When a 32-bit DSP receives an instruction for 16 bits, each of the components installed inside of such a DSP will start to run the instruction of 16-bit, however, the redundant components of the DSP never rest idle. Thus the aforementioned status causes unnecessary power consumption.
In brief, there are some disadvantages in the conventional technologies as follows:
1. Incapable of effectively controlling the number of transistors required while the DSP work.
2. Unable to arrange the resources precisely according to instruction and data.
In view of the above, what is desired is an improved DSP that is efficient and power-saving.
Accordingly, to effectively resolve such problems and defects described as above, the one objective of the present invention is to provide a digital signal processor featuring the efficiency.
Another objective of the present invention is to provide a digital signal processor may arrange the access capacity corresponding with binary codes of instructions or data.
Another objective of the present invention is to provide a digital signal processor, in addition to voltage and clock adapting, more effective use of the number of actuated transistors in order to further achieve lower power consumptions with better efficiency.
To successively complete the above-said objectives, the present invention provides a digital signal processor comprising: an instruction analysis unit, which receives an instruction and determines the number M of binary code(s) from the instruction; a DSP core, electrically connected to the instruction analysis unit which performs a M-bit process based on the number M of binary code(s) of the instruction analysis unit; and a memory unit, electrically connected to the which stores multiple data including the M-bit data accessed by the DSP core, thereby allowing the DSP core to access; additionally, through the number M of binary code(s) for the instruction determined by the instruction analysis unit, it is possible to cause the DSP core to perform the M-bit data process simply on the determined bit width M, while the rest hardware blocks irrelevant to the M-bit data process will not be supplied with voltages and clocks, thus effectively achieving the effect of power-saving.
The above objectives and structural and functional features of the present invention will be described in more detail with reference to preferred embodiments thereof shown in the accompanying drawings. Embodiments of the invention are discussed below with reference to the FIGS. However, those skilled in the art will readily appreciate that the detailed description given herein with respect to these figures is for explanatory purposes as the invention extends beyond these limited embodiments.
Please refer to
The DSP core 12 performs the M-bit process, and after the completion of the M-bit data process, it executes the next instruction or turn off at least one of the operating voltage or clock to wait for the next instruction; in other word, the DSP core 12 learns from the instruction analysis unit 10, for example, 20-bits as mentioned above, so that the DSP core 12 accordingly activates simply the appropriate hardware block (e.g. the number of transistors, not a limitation) for performing 20-bit data processing and then turn off the operating voltage or/and clock for the rest unused hardware blocks, thereby that, after completion of the M-bit process, the DSP core 12 proceed to executes the next instruction or turns off the operating voltage or/and the operating clock to wait for the next instruction, thus effectively achieving the effect of power-saving.
Please refer to
As such, the memory unit 13 is simply enabled/dispatched said accessible area of 20 bits (i.e., to turn on one second sections S2 of 16-bit in a first section 51 of 64-bit and one third section S3 of 4-bit in another second sections S2 of 16-bit) for storage while the redundant (unused) accessible areas/sections of the memory unit 13 are disabled, which can be demonstrated with reference to
Suppose said M is 7 (bits), then the memory unit 13 may be enabled an 8-bit accessible area (that is, to enable just two third sections S3 of 4-bit in one second section S2 of 16-bit within any one of the first section S1 (64-bit) for storage, and the rest unused accessible areas or/and sections are disabled, which can be demonstrated with reference to
Additionally, the memory unit 13 may act to allow the DSP core 12 to saves or/and reads, which is that the memory unit 13 stores the Mbit data determined by the instruction analysis unit 10 such that the DSP core 12 saves or/and reads it.
Refer next to
More specifically, at least one variable of P bit(s) stored by the memory unit 13, which is less than the data of M bit(s), the data exchange unit 15 performs a data extension of P to the same as M (bits). For example, after the DSP core 12 has sent the data of previous data process and stored it back in the memory unit 13, in case later on it is required to use the data with P (bits) in performing the 20-bit data process, the data of P-bit needs to be data transformed (extended) by the data exchange unit 15 from 16-bit into the 20-bit format and then passed it to the DSP core 12 for the 20-bit data process; as soon as the 20-bit data process is completed in the DSP core 12, the result of the process is then stored back in the memory unit 13.
Alternatively, at least one variable of Q bit(s) stored by the memory unit 13, which is greater than the data of M bit(s), the data exchange unit 15 performs a data truncation on the bit(s) of M to the same as Q (bit(s)). For example, after that the DSP core 12 has sent the data of previous operation (i.e., said Q, such as 24 bits) and stored it back in the memory unit 13, in case later on it is required to use the data with Q (bits) in performing the 16-bit (i.e., the M-bit) data process, the data of Q-bit will be transformed (trunked) by the data exchange unit 15 from 24-bit format into the 16-bit format and then passed it to the DSP core 12 for the 16-bit data process; as soon as the 16-bit data process is completed in the DSP core 12, the result of the process is then stored back in the memory unit 13.
As shown in
Besides, through a conjunctively integrated design of the instruction analysis unit 10, the DSP core 12 and the memory unit 13 according to the present invention, it is possible to execute the process of the same digit(s); hence, the DSP according to the present invention may provide a better operational flexibility in performing data processing, further effectively achieving the effect of power-saving.
In summary, compared with prior art, the present invention offers the following advantages:
1. The huge power-saving effect.
2. More flexible in performance of data process.
Whereas, the descriptions set forth hereinbefore illustrate merely the preferred embodiments of the present invention. All modifications, alternations or substitutions made by means of the methods, forms, structures and devices disclosed herein should be deemed as being encompassed by the scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
099210464 | Jun 2010 | TW | national |