The present invention relates to a multifunctional video encoding circuit system, and more particularly to a multifunctional video encoding circuit system capable of reducing the power consumption of a partial product generation part, a partial product reduction part and an accumulation part by a virtual power suppression unit, and further reducing the power consumption of the multifunctional video encoding circuit system.
In recent years, integrated circuit designers invested tremendous time and effort on reducing the power consumption while maintaining the original computation efficiency of an integrated circuit system, e.g. a video encoding circuit system. Partial products of a multiplier can mainly be added by column-wise addition or row-wise addition. Conventional multipliers such as Wallace or Dadda multipliers generally adopt the column-wise addition, but the multipliers of this sort consume more power consumption than the multipliers that adopt the row-wise addition. In addition, existing multipliers generally perform an exhaustive operation, but the valid data widths of an operation are not always equal to the maximum data widths of the hardware in practical applications. Thus, the functional unit will perform unnecessary computations and waste lots of power. Further, the multiplication conducted in practical applications must work together with other types of computations such as addition, subtraction and multiply-accumulation to complete the required operations. However, the functional units of a microprocessor generally come with a single function, and thus it is not easy to allocate the hardware resource efficiently. As a result, some functional units are very busy, while other functional units are idle.
Therefore, it is a subject for the present invention to explore and develop a multifunctional video encoding circuit system with multiple types of computational functions to enhance the flexibility of allocating the hardware resource as well as to reduce the dynamic power consumption of a circuit.
In view of the shortcomings of the prior art, the inventor of the present invention based on years of experience in the related industry to conduct researches and experiments, and finally developed a multifunctional video encoding circuit system with multiple types of computational functions to enhance the flexibility of allocating the hardware resource. By operating with a virtual power suppression unit, the dynamic power consumption of a circuit can be reduced so as to further achieve the objective of reducing the power consumption of the multifunctional video encoding circuit system.
Therefore, it is a primary objective of the present invention to provide a multifunctional video encoding circuit system, wherein a partial product generation part, a partial product reduction part and an accumulation part are equipped with a virtual power suppression unit each, and these virtual power suppression units reduce the power consumption of the partial product generation part, the partial product reduction part and the accumulation part, and further reduce the power consumption of the multifunctional video encoding circuit system.
Another objective of the present invention is to provide a multifunctional video encoding circuit system, comprising: a partial product generation part that performs a modified booth encoding computation for a plurality of video computing data to generate a plurality of partial product values; a partial product reduction part that adds the partial product values to generate a plurality of first results; and an accumulation part that accumulates the first results to generate a second result.
In addition, these virtual power suppression units reduce the power consumption of the partial product generation part, the partial product reduction part and the accumulation part, and further achieve the objective of reducing the power consumption of the multifunctional video encoding circuit system.
The above and other objects, features and advantages of the present invention will become apparent from the following detailed description taken with the accompanying drawing.
To make it easier for our examiner to understand the objective, innovative features and performance of the present invention, we use preferred embodiments and accompanying drawings for a detailed description of the present invention.
Referring to
2a=2a+1−2a
For an n-bit multiplicator, the encoding of the modified booth encoder is derived below:
Then 2AC916×006A16 is used as an example of the operation as illustrated in
Referring to
Referring to
Referring to
Referring to
The multifunctional video encoding circuit system guides the video computing data through an appropriate path by a control circuit. In other words, the path of the video computing data varies with the selected function, and the arithmetic operations for different functions are completed. The multifunctional switch of the multifunctional video encoding circuit system takes the low power design into consideration. After the required operation is selected, the control circuit will guide the video computing data through an appropriate path to complete the selected operation without toggling the dynamic activities in the partial circuit, so as to avoid unnecessary dynamic power consumption. Since the dynamic power consumption occupies approximately 80% of the total power consumption in a CMOS circuit, therefore this low dynamic power design is very important for the design of a multifunctional circuit.
Since the data processed by video encoding refers to the difference value between frames, the numeric values of most video computing data use the data width of the least significant part only. In other words, the absolute value of these video computing data is usually much smaller than the maximum. However, the hardware architecture still needs a bandwidth capable of processing the data of the maximum width to maintain the precision of the operation, and thus a circuit often executes unnecessary operations and results in unnecessary power consumption. For example, it is known from an operation of 16-bit multiplication that if the effective range of one of the operators is within the least significant part, the value of the most significant part after the booth encoding is equal to 0, the partial product as shown in the shaded portion in
AMSP=A[15:8]; BMSP=B[15:8]
A
and
=A[15]·A[14]· . . . ·A[8]
B
and
=B[15]·B[14]· . . . ·B[8]
A
nor=
B
nor=
close=(Aand+Anor)·(Band+Bnor);
Where, A[m] and B[n] stand for the mth bit of Operator A and the nth bit of Operator B, and AMSP and BMSP stand for the most significant parts of Operator A and Operator B, respectively. If all bits of the most significant parts of Operator A or Operator B are equal to 1, then the values of Aand or Band will be equal to 1; if all bits of the most significant part of Operator A or Operator B are equal to 0, then the value of Anor or Bnor will be equal to 1. The “close” signal, one of the three output signals of the detection logic circuit, will determine whether or not to close the most significant part circuit. If the most significant parts of Operators A and B do not affect the computation result, then the signal “close” will become 0 to close the most significant part circuit to save power consumption. When the most significant part circuit is closed, we can use a data latch to latch the original most significant bit data, and input 0 to the most significant part circuit to stop all phase changing activities so as to prevent a drop of electric potential due to a long time of floating, compared with using transmission gate to latch the data. The Boolean logic equations of another two output signals: carr-ctrl and sign of the detection logic circuit are given below.
Referring to
Referring to
Since the video encoding has become a necessary function of various different consumer electronic products, it is an important factor major for microprocessor manufacturers or research and development departments to consider and integrate a video encoding hardware accelerator into a microprocessor, and enhance the processing capability of multimedia applications. A PAC DSP processor having multiple functions and applications and a 5-way VLIW architecture, developed by the System Chip Technology Center of Industrial Technology Research Institute of R.O.C., includes a scalar unit, two cluster instruction executing units and a customized functional unit (CFU), wherein the cluster instruction executing unit includes a data address processor and an arithmetic operation unit, and the CFU is an operating unit designed for special operations. If the PAC DSP processor is applied for multimedia encoding, the arithmetic operation unit and the CFU will be applicable for replacing the technology adopted by the present invention and the circuit design to reduce power consumption. In addition, the TMS320DM641 developed by the a well-known IC manufacturer TI is designed for the digital signal processing required by videoconference and video encoding, and a 256-bit VLIW instruction is used, and eight 32-bit instructions are allocated for eight types of functional units including L1, .S1, .M1, .D1, .L2, .S2, .M2 and D2 within each clock cycle, wherein the two .L and .S functional units are in charge of general arithmetic, logic and branch functions; two .M functional units are in charge of all multiplication operations; and a .D functional unit is in charge of the control of data transmission between a register and a memory. According to the functions, the arithmetic and logic operations performed by the .L and .S functional units and the multiplication performed by the .M functional unit of the DM641 processor can be replaced by the multifunctional design circuit system disclosed by the present invention. Referring to
In summation of the description above, the present invention provides a multifunctional video encoding circuit system having several computational functions to enhance the flexibility of hardware resource allocation and work with a virtual power suppression unit to reduce the dynamic power consumption in the circuit. The invention herein enhances the performance over the conventional structure and further complies with the patent application requirements and is duly filed for patent application.
While the invention has been described in terms of what is presently considered to be the most practical and preferred embodiments, it is to be understood that the invention needs not be limited to the disclosed embodiment. On the contrary, it is intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims which are to be accorded with the broadest interpretation so as to encompass all such modifications and similar structures.