The invention concerns a complex number multiplier receiving the binary number A, b, c and D complimentarily coded in pairs so as to perform the complex multiplication (A+jB)*(c+jD). A first processing stage enables to perform the operations A−B, C−D, and A+b whereof the results are binary numbers in base two with a redundant binary format, and a borrow-save coding for subtractions and carry-save coding for addition. A second processing stage converts said results into coded binary numbers in base four. A third processing stage enables to perform multiplication (A−B)c, (C−D)b and (A+b)D with a redundant binary format and a borrow-save coding. A last stage comprises two adders for working out the real part (A−B)c+(C−D)b and the imaginary part (A+b)D+(C−D)b in a redundant binary format and a borrow-save coding.
|
0. 12. A complex number multiplier, comprising:
an input for receiving a real part A and an imaginary part b of a first complex number, and a real part c and an imaginary part D of a second complex number, wherein A, b, c, D are binary numbers coded in two's complement form;
a first processing stage which outputs values representing operations A−B, C−D, and A+b, wherein the A−B and C−D values are each a base two binary number with a redundant binary format and a borrow-save coding, wherein the A+b value is a base two binary number with a redundant format and a carry-save coding;
a second processing stage comprising a converter configured to convert numbers delivered by the first processing stage into base four coded binary numbers with a redundant format;
a third processing stage comprising one or more multipliers configured to perform operations (A−B)c, (C−D)b and (A+b)D, wherein results of these operations are base two coded numbers with a redundant format; and
a fourth processing stage comprising two adders configured to compute a real part and an imaginary part of a product of two input complex numbers from numbers delivered by the third processing stage, wherein the real and imaginary parts are base two with a redundant binary format.
0. 22. A mobile phone comprising a complex number multiplier comprising:
an input for receiving a real part A and an imaginary part b of a first complex number, and a real part c and an imaginary part D of a second complex number, wherein A, b, c, D are binary numbers coded in two's complement form;
a first processing stage which outputs values representing operations A−B, A+b, and C−D, wherein the A−B and C−D values are each a base two binary number with a redundant binary format and a borrow-save coding, wherein the A+b value is a base two binary number with a redundant format and a carry-save coding;
a second processing stage comprising a converter configured to convert numbers delivered by the first processing stage into base four coded binary numbers with a redundant format;
a third processing stage comprising one or more multipliers configured to perform operations (A−B)c, (C−D)b and (A+b)D, wherein results of these operations are base two coded numbers with a redundant format; and
a fourth processing stage comprising two adders configured to compute a real part and an imaginary part of a product of two input complex numbers from numbers delivered by the third processing stage, wherein the real and imaginary parts are base two with a redundant binary format.
1. A complex number multiplier, comprising:
an input for receiving a real part A and an imaginary part b of a first complex number, and a real part c and an imaginary part D of a second complex number, wherein A, b, c, D are binary numbers coded in two's complement;
a first processing stage comprising a subtractor module configured to perform operations A−B and C−D, wherein results of each subtraction are a base two binary number with a redundant binary format and a borrow-save coding, and an adder module configured to perform operation A+b, wherein a result of this addition is a base two binary number with a redundant format and a carry-save coding;
a second processing stage comprising a converter configured to convert numbers delivered by the first processing stage into base four coded binary numbers with a redundant format;
a third processing stage comprising a multiplier configured to perform operations (A−B) c, (C−D)b and (A+b) D, wherein results of these operations are base two coded numbers with a redundant format; and
a fourth processing stage comprising two adders configured to compute a real part and an imaginary part of a product of two input complex numbers from numbers delivered by the third processing stage, wherein the real and imaginary parts are to the base two according to a redundant binary format.
2. The complex number multiplier of
3. The complex number multiplier of
4. The complex number multiplier of
5. The complex number multiplier of
6. The complex number multiplier of
7. The complex number multiplier of
8. The complex number multiplier of
9. The complex number multiplier of
10. The complex number multiplier of
11. The complex number multiplier of
0. 13. The complex number multiplier as recited in
0. 14. The complex number multiplier as recited in
0. 15. The complex number multiplier as recited in
0. 16. The complex number multiplier as recited in
0. 17. The complex number multiplier as recited in
0. 18. The complex number multiplier as recited in
0. 19. The complex number multiplier as recited in
0. 20. The complex number multiplier as recited in
0. 21. The complex number multiplier as recited in
0. 23. The mobile phone as recited in
0. 24. The mobile phone as recited in
0. 25. The mobile phone as recited in
0. 26. The mobile phone as recited in
0. 27. The mobile phone as recited in
0. 28. The mobile phone as recited in
|
The present invention relates to a fast complex number multiplier which consumes little energy.
In current communication systems, the information is generally processed digitally. Digitization improves the quality and the performance of the transmission systems. Moreover, the increase in the bit rate of data transmitted and the development of ever more powerful software constrain the transmission systems to process a large amount of data in a record time, hence the importance of extremely high-performance calculation modules. One of these modules is the complex number multiplier found in practically any signal processing device such as mobile telephones, for example.
A multiplication of two complex numbers generally involves four real multiplication operations and two real addition and subtraction operations. Specifically, the multiplication of two complex numbers (A+jB) and (C+jD) can be broken down as follows:
(A+jB)(C+jD)=(AC−BD)+j(AD+BC)=R+jI
This breakdown clearly involves four real multiplications (AC; BD; AD and BC) and two real additions and multiplications (AC−BD and AD+BC).
A, B, C and D are binary numbers represented according to a two's complement convention.
For a positive number, the first bit, called the “sign bit”, is equal to zero, and the following bits code the absolute value of the relevant decimal number in natural binary.
For a negative number, the sing bit is equal to one, and the following bits code the absolute value of the relevant decimal number in two's complement binary.
The real multiplication operations (AC,AD,BD, and BC) are particularly complex to implement.
In the prior art, use is made of a factoring technique for reducing the number of multiplication operations in return for addition and subtraction operations. This factorization, called “transformation by reduction of force” ultimately yields three multiplication operations and five addition and subtraction operations. A difficult multiplication operation has been swapped for three new addition and subtraction operations.
R=AC−BD=(A−B)C+(C−D)B
I=AD+BC=(A+B)D+(C−D)B
The five addition and subtraction operations are A−B, A+B, C−D, (A−B)C+(C−D)B, (A+B)D+(C−D) B
The three multiplication operations are (A−B)C, (A+B)D, (C−D)B
The terms (A−B), (A+B) and (C−D) are called “premultiplication operations” since they are intended to feed real multipliers included in a complex number multiplier.
This method is of real benefit as regards energy consumption, since one less real multiplier is synonymous with a saving of space on the electronic circuit, hence with a decrease in energy consumption, the area used by a real multiplier generally being three times greater than that of a real adder.
However, the calculation execution time for a complex number multiplier using the transformation by reduction of force, is greater than a direct complex number multiplier performing the four multiplication operations and the two addition and subtraction operations. The complex number multiplier is consequently slower.
This speed limitation is due essentially to the propagation of the carry of the least significant bit (LSB) to the most significant bit (MSB) in the course of addition and subtraction operations.
Complex number multiplier devices are known which use the transformation by reduction of force while improving the speed of execution of calculation as compared with the direct method. Such a device has been described by B. W. Y. Wei, H. Du and H. Chen in “A Complex-Number Multiplier Using Radix-4 Digits”, pages 84-90, 12th “Symposium of Computer Arithmetic”, Bath, England, 19 to 21 Jul. 1995.
In this method, the numbers are put into a redundant binary format, having numerous advantages. For example, the bit of a base two redundant binary number can take three values: −1, 0 or 1, and enables the decimal number of value 5 to be represented, in redundant binary format, by:
A decimal number can thus be represented by five redundant binary numbers. This redundancy makes it possible to reduce the rules for adding two binary numbers by confining oneself, for each bit of the result, to considering only the two bits of like rank of the two operands. Thus, the additions and subtractions are performed without carry propagation. The execution time for such an addition or subtraction operation remains constant irrespective of the length of the operands. Moreover, this representation requires no specific device for taking account of the sign bit.
In the method proposed by Wei et al, the two's complement binary numbers A, B, C and D are delivered to the input of a first stage composed of two subtractors and an adder, then the latter generates at the output the results (A−B), (A+B) and (C−D) in a redundant binary format.
These results, also called “partial products”, are represented by a specific base two coding. The modules forming the first stage and performing the three addition and subtraction operations comprise inverters only.
These result then undergo a conversion from the base two to a base four in a second stage so as to reduce the length of the binary numbers forming these results and to feed three real number multipliers in a third stage.
The final result is supplied by two real adders which, from the results of the three real multipliers, generate a real part and an imaginary part. However, this device comprises very many components, this being penalizing in terms of energy dissipation.
The invention aims to afford a solution to this problem by reducing the number of logic gates required on the complex number multiplier so as to decrease consumption.
An aim of the invention is to reduced the execution time for multiplying two complex numbers.
In a general manner, the complex number multiplier comprises an input which is followed by four processing stages. The input makes it possible to receive the real part A and the imaginary part B of a first complex number, and the real part C and the imaginary part D of a second complex number, the numbers A, B, C, D being two's complement coded binary numbers.
The first processing stage comprises subtraction means able to perform the operations A−B and C−D, the result of each subtraction being a base two binary number with a redundant binary format and a borrow-save coding, and an adder module able to perform the operation A+B, the result of this addition being a base two binary number with a redundant format and a carry-save coding.
The second processing stage comprises conversion means able to convert the numbers delivered by the first processing stage into base four coded binary numbers with a redundant format.
The third processing stage comprises multiplication means able to perform the operations (A−B)C, (C−D)B and (A+B)D, the result of these operations being base two coded numbers with a redundant format.
Finally, the fourth processing stage comprises two adders for computing the real part and the imaginary part of the product of the two input complex numbers from the numbers delivered by the third processing stage, these real and imaginary parts being to the base two according to a redundant binary format.
This implementation is achieved in accordance with the transformation by reduction of force. The latter therefore involves three multiplication operations and five addition operations. All the results from the four stages of the complex multiplier are in redundant binary format. This format makes it possible to perform the addition and subtraction operations with a carry propagation limited to one bit. Therefore, the saving in processing time obtained by using the multiplier according to the invention is noteworthy as compared, for example, with a multiplier performing the transformation by reduction of force with a two's complement binary format.
According to one mode of implementation of the invention, the subtraction means comprises two distinct modules able to perform the operations A−B and C−D. Advantageously, the subtractor module and adder module are embodied solely by wiring.
At its input, each subtraction module admits two two's complement binary numbers, then performs a transformation so as to obtain a result in redundant binary format, that is to say, two bits coding a decimal number. The type of coding used to match the two bits to the decimal number is borrow-save coding, this making it possible to perform the subtraction operations with straightforward wiring without any logic gate. The cost of producing these two blocks is practically zero. The addition operation (A+B) also results in straightforward wiring since the result is in redundant binary format with carry-save coding, this being known to the person skilled in the art. Thus, the whole of the first stage is characterized by an almost zero cost.
In a preferred embodiment, the multiplication means comprise three distinct real multipliers able to perform the operations (A−B)C, (C−D)B and (A+B)D respectively. Each multiplier advantageously comprises internal means able to perform the addition of two partial products X and Y by performing the operation X−
Specifically, the internal addition of two numbers (X+Y) is performed using the following transformation:
X+Y=X−(−Y)=X−(
The internal means of the real multipliers preferably comprise an inverter for delivering the number
According to an advantageous mode of implementation of the invention, the real multipliers and adders incorporate a borrow-save coding binary tree.
By using a fourth stage for conversion from base two to base four, it was made possible to halve the number of partial products to be added in the multipliers as compared with a conventional multiplier operating with the aid of two's complement coded binary numbers. Furthermore, the use of borrow-save coding in the multipliers according to the invention also makes it possible to halve the number of partial products to be added at the level of the internal adders, i.e. a fourfold reduction as compared with a conventional multiplier.
The type of multiplier thus described comprises a regular cellular structure and dissipates less power than a conventional multiplier.
In a variant of the complex multiplier according to the invention, the real multipliers and adders incorporate a slightly modified borrow-save coding binary tree. The modification stems from the fact that any bit pair “11”, is transformed into a bit pair “00”, at the input of the real multipliers and adders. This makes it possible to perform fast internal additions with frugal consumption.
Described hereinbelow, by way of wholly non limiting example and with reference to the appended drawings, is a device according to the invention.
As is illustrated in
X=−xw-12w-1+Σi-0w-2xi2i
Y=−yw-12w-1+Σi-0w-2yi2i
Z=X−Y=Σi-0w-2xi2i
The number Z comprise W bits taken from the set (−1; 0; 1).
In a practical manner, performing the operation X−Y consists in taking the W bits of X and the W bits of Y so as to form a binary number ZR of 2 W bits arranged in pairs of bits. Each bit pair of ZR consists of a first bit coming from the first operand X and of a second bit coming from the second operand Y, except for the first bit pair of index W−1 which consists of a first bit coming from the second operand Y and of a second bit coming from the first operand X:
ZR=yw-1xw-1xw-2yw-2xw-3yw-3 . . . x0y0.
The string of multiplication operations is performed on the basis of this number ZR which is in fact merely a particular arrangement of the bits of the two operands.
After having obtained ZR, it is regarded as having formed the subject of a borrow-save coding, according to the table below. The decoding of ZR is then performed according to this table and the value of Z is obtained.
Bit pair
Signed digit
00
0
01
−1
11
0
10
1
By way of example, to perform the subtraction of two decimal numbers 5 and −2, one proceeds as follows:
The number ZR is then equal to:
The number Z is then equal to:
To obtain ZR, it is sufficient to produce wiring in accordance with
The subtraction (X−Y) is due to three phenomena:
The borrow-save coding table is used to go from ZR to Z.
The binary number ZR is then a redundant binary number with borrow-save coding.
This method therefore has the advantage of performing a subtraction on the basis of two numbers coded in two's complement without comprising a single logic gate.
The complex number multiplication operation is performed on four distinct stages.
The first stage makes is possible to perform the so-called premultiplication operations (A−B), (C−D) and (A+B) with the aid of three modules 1, 2 and 3. The two subtractors 1 and 2 performing the subtractions are identical to those illustrated in
The module 3 is an adder known to the person skilled in the art and makes it possible to perform the operation (A+B), so as to generate a result in redundant binary format with carry-save coding. Its implementation is likewise restricted to straightforward wiring and the result comprises 2 W bits.
The second stage comprises three conversion modules 4, 5, 6, making it possible to go from the base two of the partial products (A−B), (C−D) and (A+B) to a base four. This conversion is performed so as to reduce the number of partial products.
The numbers (A−B) and (C−D) are redundant binary numbers, of which each bit pair according to the borrow-save coding represents a signed digit included in the set (−1; 0; 1)
The number (A+B) is a redundant binary number of which each bit pair according to the carry-save coding represents a signed digit included in the set (0; 1; 2).
The modules 4 and 5 are BOOTH converters in respect of the borrow-save coding and each make it possible, from the numbers A−B and C−D, to generate a redundant binary number in base four.
The number A−B with 2 W bits in redundant binary format with borrow-save coding (base two) is introduced into the converter 4, 5 and a number A−B with 2 W-2 bits in base four redundant binary formation is obtained.
The converter 4, 5 generates a redundant binary number whose bits are arranged in blocks of four, so as to represent a signed digit included in the set (−2; −1; 0; 1; 2). The four bits are such that the first is a sign bit (Sign), the following three bits, M0, M1 and M2 respectively, represent the values 0; 1 and 2.
These converters making it possible to go from a base two (−1; 0; 1) to a base four (−2; −1; 0; 1; 2) make it possible to halve the number of partial products which need to be involved in the real multiplication.
For further details, consult the publications by Messrs C. N. Lyu and D. Matula “Redundant Binary Booth Recording”, pages 50-57, 12th “Symposium on computer Arithmetic”, Bath, England, 19 to 21 Jul. 1995.
The third stage comprises three identical real number multipliers 7, 8 and 9.
The multiplier 7 admits the base four operand (A−B) and the two's complement coded operand C as data at the input.
The multiplier 8 admits the base four operand (C−D) and the two's complement coded operand B as data at the input.
The multiplier 9 admits the base four operand (A+B) and the two's complement coded operand D as data at the input.
These real number multipliers 7, 8 and 9 are known to the person skilled in the art, and the latter may refer, for further details, to the publication by Mr H. Makino et al, “An 8.8-ns 54*54-bit multiplier with high speed redundant binary architecture,” IEEE Journal of Solid State Circuits, vol. 31, June 1996.
One of these multipliers is represented in FIG. 6. Briefly, this multiplier comprises a first generation step 13 in which partial products PP are generated. This generation step performs the operation A+B=A−B−1, this making it possible to incorporate inverters alone as logic gate. The two's complement coded operands are firstly transformed (not represented) into numbers in base four redundant binary format.
The addition of two number A+B is performed as follows:
A+B=A−(−B)
By using the two's complement representation, −B is obtained by inverting all the bits of B and by adding “1” to the least significant bit:
−B=
A+B=A−
With the borrow-save coding, subtracting “1” corresponds to adding (0, 1) which represents −1.
By using the redundant binary format, we obtain:
A+B=(A,
By way of example, the addition of A=10100110 (−90) and
B=01101101 (109) is performed as follows:
−1=(0,1)
A + B = (1,1) (0,0) (1,0) (0,1) (0,0) (1,0) (1,1) (0,0) + (0,1) =
(0 0 1 −1 0 1 0 0) + (−1) =
32 − 16 + 4 − 1 =
19
Partial Product PP=(1,1) (0,0) (1,0) (0,1) (0,0) (1,0) (1,1) (0,0) (0,1).
The second step involves a WALLACE binary tree 14 making it possible to obtain a redundant binary number with the aid of parallel operations of addition of the partial products PP.
A third conversion step 15 makes it possible to obtain the final result with borrow-save coding.
The three multipliers 7, 8 and 9 make it possible to obtain three redundant binary numbers with borrow-save coding: (A−B)C, (C−D)B and (A+B)D
The fourth stage comprises two real adders 10 and 11 able to perform the addition of two redundant binary numbers with borrow-save coding and to generate a redundant binary number with borrow-save coding.
Result of the operation
Outputs (+2;−)
2
10
1
11
0
00
−1
01
For example, if the operation (y0+−y0−+x0+) of block 21 has the number two as result, then the “+2” output of block 21 will be at one, and the “−” output of block 21 will be at zero.
The blocks 22-24 are also adders such that:
Result of the operation
Outputs (−2;+)
−2
10
−1
11
0
00
1
01
The result of these operations is the number S(Sn+Sn− . . . S0+S0−) which is a redundant binary number with borrow-save coding.
The adder 10 of
The adder 11 of
The complex multiplier according to the invention comprises a first stage of premultiplication operations which is embodied with straightforward wirings. The use of a redundant format with borrow-save coding and of the converters 4, 5 and 6, allows a fourfold reduction in the number of partial products to be multiplied in the real multipliers 7, 8 and 9 as compared with a complex number multiplier not using this type of coding.
By virtue in particular of the implementation of the this borrow-save coding, this device substantially reduces the energy consumption and execution time of the calculations.
This kind of multiplier generally being coupled to an accumulator, the conversion of the borrow-save coding of R and I to a conventional binary coding to the two's complement type, is performed subsequent to the accumulator so as to obtain maximum benefit from the carry nonpropagation characteristic related to the borrow-save coding during addition operations in the accumulator.
Montalvo, Luis, Arndt, Marylin
Patent | Priority | Assignee | Title |
8943114, | Aug 17 2011 | AVAGO TECHNOLOGIES GENERAL IP SINGAPORE PTE LTD | Method for implementing 32 bit complex multiplication by using 16-bit complex multipliers |
Patent | Priority | Assignee | Title |
4344151, | Apr 21 1980 | Boeing Company, the | ROM-Based complex multiplier useful for FFT butterfly arithmetic unit |
5694349, | Mar 29 1996 | Amati Communications Corp. | Low power parallel multiplier for complex numbers |
6122654, | Apr 28 1997 | HANGER SOLUTIONS, LLC | Complex multiplication circuit |
6272512, | Oct 12 1998 | Intel Corporation | Data manipulation instruction for enhancing value and efficiency of complex arithmetic |
6307907, | Jun 28 1997 | Hyundai Electronics, Ind., Co., Ltd. | Complex multiplier |
6411979, | Jun 14 1999 | AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LIMITED | Complex number multiplier circuit |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Sep 13 2001 | MONTALVO, LUIS | France Telecom | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 022166 | /0776 | |
Sep 13 2001 | ARNDT, MARYLIN | France Telecom | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 022166 | /0776 | |
Nov 20 2001 | Fahrenheit Thermoscope LLC | (assignment on the face of the patent) | / | |||
Dec 03 2004 | FRANCE TELECOM S A | Fahrenheit Thermoscope LLC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 022167 | /0134 | |
Aug 11 2015 | Fahrenheit Thermoscope LLC | ZARBAÑA DIGITAL FUND LLC | MERGER SEE DOCUMENT FOR DETAILS | 037338 | /0316 | |
Dec 23 2019 | Zarbana Digital Fund LLC | INTELLECTUAL VENTURES ASSETS 157 LLC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 051413 | /0230 | |
Dec 30 2019 | INTELLECTUAL VENTURES ASSETS 157 LLC | LIBERTY PATENTS LLC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 051630 | /0115 |
Date | Maintenance Fee Events |
Apr 24 2012 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Apr 25 2016 | M1553: Payment of Maintenance Fee, 12th Year, Large Entity. |
Date | Maintenance Schedule |
Jun 23 2012 | 4 years fee payment window open |
Dec 23 2012 | 6 months grace period start (w surcharge) |
Jun 23 2013 | patent expiry (for year 4) |
Jun 23 2015 | 2 years to revive unintentionally abandoned end. (for year 4) |
Jun 23 2016 | 8 years fee payment window open |
Dec 23 2016 | 6 months grace period start (w surcharge) |
Jun 23 2017 | patent expiry (for year 8) |
Jun 23 2019 | 2 years to revive unintentionally abandoned end. (for year 8) |
Jun 23 2020 | 12 years fee payment window open |
Dec 23 2020 | 6 months grace period start (w surcharge) |
Jun 23 2021 | patent expiry (for year 12) |
Jun 23 2023 | 2 years to revive unintentionally abandoned end. (for year 12) |