CN102741805B - Method and device for using one multiplier to implement multiplication of complex numbers - Google Patents

Method and device for using one multiplier to implement multiplication of complex numbers Download PDF

Info

Publication number
CN102741805B
CN102741805B CN201280000316.XA CN201280000316A CN102741805B CN 102741805 B CN102741805 B CN 102741805B CN 201280000316 A CN201280000316 A CN 201280000316A CN 102741805 B CN102741805 B CN 102741805B
Authority
CN
China
Prior art keywords
value
plural number
bit
product
imaginary part
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201280000316.XA
Other languages
Chinese (zh)
Other versions
CN102741805A (en
Inventor
王祥
付饶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN102741805A publication Critical patent/CN102741805A/en
Application granted granted Critical
Publication of CN102741805B publication Critical patent/CN102741805B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/38Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
    • G06F7/48Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
    • G06F7/4806Computations with complex numbers
    • G06F7/4812Complex multiplication

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Complex Calculations (AREA)

Abstract

The present invention provides a method and a device for using one multiplier to implement multiplication of complex numbers. The method comprises: receiving a first complex number signal a+ci and a second complex number signal b+di, the first complex number signal and the second complex number signal being both digital communication signals; performing shift processing according to a first real part a and a first imaginary part c of the first complex number signal to acquire a first transformed value s, and performing shift processing according to a second real part b and a second imaginary part d of the second complex number signal to acquire a second transformed value t; according to the first transformed value s and the second transformed value t, performing calculation by using a multiplier to acquire a first reference value w1=st; and acquiring the real part and the imaginary part of the product of the first complex number and the second complex number according to the first reference value w1. The present invention further provides a corresponding device. The technical solutions of the present invention can overcome the disadvantage in the prior art that the utilization ratio of the multiplier is low.

Description

A multiplier is used to realize the method and apparatus of complex multiplication
Technical field
The present invention relates to Digital Signal Processing, particularly relate to a kind of method and apparatus using a multiplier to realize complex multiplication, belong to communication technical field.
Background technology
In the digital signal processing of communication technical field, often need to carry out multiplying to a large amount of complex signals, above-mentioned complex multiplication operation can be realized by multiplier.The complex multiplication be such as calculated as follows:
(a+ci)·(b+di)=(ab-cd)+(ad+bc)i
Scheme conventionally, needs four multipliers to calculate the value of ab, cd, ad and bc respectively, and then calculates the value of ab-cd and ad+bc, draw net result.
Along with the fast development of computing machine and infotech, need quantity of information to be processed increasing, when carrying out complex multiplication operation, need to use a large amount of multipliers, and usually in the treatment facility of data-signal, such as field programmable gate array (Fie1d-Programmable Gate Array, hereinafter referred to as: FPGA), wherein the quantity of multiplier is all limited, and carries out complex multiplication and need to use nearly four multipliers.As can be seen here, when carrying out complex multiplication operation in prior art, the defect that ubiquity multiplier utilization ratio is low.
Summary of the invention
The invention provides a kind of method and apparatus using multiplier to realize complex multiplication, for solving the low defect of the multiplier utilization ratio that exists in prior art.
The invention provides a kind of method using a multiplier to realize complex multiplication, comprising:
Receive the first complex signal a+ci and the second complex signal b+di, described first complex signal and the second complex signal are all the digital signals that communicates;
Carry out shifting processing according to the first real part a of described first complex signal and the first imaginary part c and obtain the first transformed value s, and carry out shifting processing according to the second real part b of described second complex signal and the second imaginary part d and obtain the second transformed value t;
According to described first transformed value s and described second transformed value t, multiplier is utilized to carry out calculating acquisition first reference value w 1=st;
According to described first reference value w 1obtain the real part of the product of described first plural number and the second plural number, and the imaginary part of the product of described first plural number and the second plural number.
Present invention also offers the device that a kind of use multiplier realizes complex multiplication, comprising:
First receiver module, for receiving the first complex signal a+ci and the second complex signal b+di, described first complex signal and the second complex signal are all the digital signals that communicates;
First acquisition module, obtain the first transformed value s for carrying out shifting processing according to the first real part a of described first complex signal and the first imaginary part c, and carry out shifting processing according to the second real part b of described second complex signal and the second imaginary part d and obtain the second transformed value t;
First computing module, for according to described first transformed value s and described second transformed value t, utilizes multiplier to carry out calculating acquisition first reference value w 1=st;
Second acquisition module, for according to described first reference value w 1obtain the real part of the product of described first plural number and the second plural number, and the imaginary part of the product of described first plural number and the second plural number.
The use that the embodiment of the present invention provides multiplier realizes the method and apparatus of complex multiplication, by when carrying out complex multiplication, the first transformed value and the second transformed value is obtained according to complex signal, then multiplier is utilized to carry out calculating acquisition first reference value, and the real part ab-cd of the product of the first plural number and the second plural number further can be obtained according to the first reference value, and the first imaginary part ad+bc of product of plural number and the second plural number, only need in this technical scheme to use multiplier when calculating the first reference value, a multiplier is only needed to realize in whole complex multiplication computation process, therefore, technical scheme of the present invention can save multiplier resources effectively.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 uses a multiplier to realize the schematic flow sheet of the method for complex multiplication in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet one carrying out complex multiplication in the specific embodiment of the invention;
Fig. 3 is the schematic flow sheet two carrying out complex multiplication in the specific embodiment of the invention;
Fig. 4 is the schematic flow sheet three carrying out complex multiplication in the specific embodiment of the invention;
Fig. 5 is the schematic flow sheet of another implementation of complex multiplication calculation procedure shown in Fig. 3;
Fig. 6 is the data structure diagram of the first reference value w1 in another specific embodiment of the present invention;
Fig. 7 is w in another specific embodiment of the present invention 1+ (2 2k-1) data structure diagram;
Fig. 8 is the schematic flow sheet four carrying out complex multiplication in the specific embodiment of the invention;
Fig. 9 is the schematic flow sheet five carrying out complex multiplication in the specific embodiment of the invention;
Figure 10 is the schematic flow sheet six carrying out complex multiplication in the specific embodiment of the invention;
Figure 11 is the schematic flow sheet seven carrying out complex multiplication in the specific embodiment of the invention;
Figure 12 is the schematic flow sheet eight carrying out complex multiplication in the specific embodiment of the invention;
Figure 13 is the schematic flow sheet nine carrying out complex multiplication in the specific embodiment of the invention;
Figure 14 is the schematic flow sheet ten carrying out complex multiplication in the specific embodiment of the invention;
Figure 15 is the schematic flow sheet 11 carrying out complex multiplication in the specific embodiment of the invention;
Figure 16 is the schematic flow sheet 12 carrying out complex multiplication in the specific embodiment of the invention;
Figure 17 is the schematic flow sheet 13 carrying out complex multiplication in the specific embodiment of the invention;
Figure 18 is the schematic flow sheet 14 carrying out complex multiplication in the specific embodiment of the invention;
Figure 19 is the schematic flow sheet 15 carrying out complex multiplication in the specific embodiment of the invention;
Figure 20 is the schematic flow sheet 16 carrying out complex multiplication in the specific embodiment of the invention;
Figure 21 is the schematic flow sheet 17 carrying out complex multiplication in the specific embodiment of the invention;
Figure 22 is the schematic flow sheet 18 carrying out complex multiplication in the specific embodiment of the invention;
Figure 23 is the schematic flow sheet 19 carrying out complex multiplication in the specific embodiment of the invention;
Figure 24 is the schematic flow sheet 20 carrying out complex multiplication in the specific embodiment of the invention;
Figure 25 is the schematic flow sheet 21 carrying out complex multiplication in the specific embodiment of the invention;
Figure 26 is the schematic flow sheet 22 carrying out complex multiplication in the specific embodiment of the invention;
Figure 27 is the schematic flow sheet 23 carrying out complex multiplication in the specific embodiment of the invention;
Figure 28 uses a multiplier to realize the structural representation one of the device of complex multiplication in the embodiment of the present invention;
Figure 29 uses a multiplier to realize the structural representation two of the device of complex multiplication in the embodiment of the present invention;
Figure 30 uses a multiplier to realize the structural representation three of the device of complex multiplication in the embodiment of the present invention;
Figure 31 uses a multiplier to realize the structural representation four of the device of complex multiplication in the embodiment of the present invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
For in prior art, when carrying out multiplication calculating for complex signal, need to use a large amount of multipliers to cause the defect that multiplier utilization factor is low, the invention provides a kind of technical scheme, wherein only use a multiplier just can realize the multiplication of complex signal.
Fig. 1 uses a multiplier to realize the schematic flow sheet of the method for complex multiplication in the embodiment of the present invention, as shown in Figure 1, the method comprises following step:
Step 101, receive the first complex signal a+ci and the second complex signal b+di; Wherein the absolute value of the first real part a, the first imaginary part c, the second real part b and the second imaginary part d is all less than or equal to 2 k-1-1, wherein k is positive integer, and described first complex signal and the second complex signal are all the digital signals that communicates;
Step 102, carry out shifting processing according to the first real part a of described first complex signal and the first imaginary part c and obtain the first transformed value s, and carry out shifting processing according to the second real part b of described second complex signal and the second imaginary part d and obtain the second transformed value t;
Step 103, according to described first transformed value s and described second transformed value t, carry out calculating acquisition first by multiplier and examine value w 1=st;
Step 104, according to the first reference value w 1obtain the real part of the product of described first plural number and the second plural number, and the imaginary part of the product of described first plural number and the second plural number.
The technical scheme that the above embodiment of the present invention provides, wherein when carrying out complex multiplication, the first transformed value and the second transformed value is obtained according to complex signal, then multiplier is utilized to carry out calculating acquisition first reference value, and the real part of the product of the first plural number and the second plural number further can be obtained according to the first reference value, and first imaginary part of product of plural number and the second plural number, only need in this technical scheme to use multiplier when calculating the first reference value, a multiplier is only needed to realize in whole complex multiplication computation process, therefore, technical scheme of the present invention can save multiplier resources effectively.
In the above embodiment of the present invention, wherein for the first real part a, the first imaginary part c of the first complex signal, and the second real part b of described second complex signal and the absolute value of the second imaginary part d are all less than or equal to 2 k-1-1, wherein k is positive integer; And wherein according to the first transformed value s=a2 that the first complex signal obtains 2k+ c, described the second transformed value t=b2 obtained according to the second complex signal 2k+ d; And the first reference value w 1=st=ab2 4k+ (ab+bc) 2 2k+ cd.
In these cases, can needs as the case may be, further calculate the second reference value w 2 = ( w 1 - cd ) 2 2 k And/or the 3rd reference value w 3 = ( w 2 - ( ad + bc ) ) 2 2 k .
In the embodiment of the present invention, for the first complex signal a+ci and the second complex signal b+di, wherein the absolute value of the first real part a, the first imaginary part c, the second real part b and the second imaginary part d is all less than or equal to 2 k-1-1, namely | a|, | b|, | c|, | d|≤2 k-1-1, k is here positive integer.2 are less than or equal to by this absolute value k-1the constraint of-1, can for the first transformed value s=a2 2k+ c, the second transformed value t=b2 2k+ d, its absolute value is all less than 2 3k-1-1, namely | s|, | t|≤2 3k-1-2 2k+ 2 k-1-1 < 2 3k-1-1, therefore, s, t are the signed integer of 3k bit.
For the first reference value w 1, its value is taken as w 1=st=ab2 4k+ (ad+bc) 2 2k+ cd, and due to-2 k-1+ 1≤a, b, c, d≤2 k-1-1, therefore can draw:
-(2 k-1-1) 2≤ab,ad,bc,cd≤(2 k-1-1) 2
-2(2 k-1-1) 2≤ad+bc≤2(2 k-1-1) 2
Thus obtain first party formula:
0<-(2 k-1-1) 2+(2 2k-1-1)≤cd+(2 2k-1-1)≤(2 k-1-1) 2+(2 2k-1-1)<2 2k-1
0<-(2 k-1-1) 2+(2 2k-1-1)≤ab+(2 2k-1-1)≤(2 k-1-1) 2+(2 2k-1-1)<2 2k-1
0<-2(2 k-1-1) 2+(2 2k-1-1)≤ad+bc+(2 2k-1-1)≤2(2 k-1-1) 2+(2 2k-1-1)<2 2k-1
Second party formula:
0<-(2 k-1-1) 2+(2 2k-1+1)≤-cd+(2 2k-1+1)≤(2 k-1-1) 2+(2 2k-1+1)<2 2k-1
0<-(2 k-1-1) 2+(2 2k-1+1)≤-ab+(2 2k-1+1)≤(2 k-1-1) 2+(2 2k-1+1)<2 2k-1
0<-2(2 k-1-1) 2+(2 2k-1+1)≤-(ad+bc)+(2 2k-1+1)≤2(2 k-1-1) 2+(2 2k-1+1)≤2 2k-1
In above formula, the rightmost sign of inequality of last inequality is due to k >=1, and gets equal sign when k=1.
According to above-mentioned first party formula, and congruence property can obtain congruence expression below:
cd=mod(w 1+(2 2k-1-1),2 2k)-(2 2k-1-1)
Wherein mod (a, b) represents the remainder (for integer) that integer a obtains divided by integer b, and the scope of remainder is less than or equal to b-1 for being more than or equal to 0, and namely a has Unique Decomposition of Ring: a=qb+mod (a, b), and wherein q is integer.
In like manner, if the second reference value then can solve:
ad+bc=mod(w 2+(2 2k-1-1),2 2k)-(2 2k-1-1)
If the 3rd reference value w 3 = ( w 2 - ( ad + bc ) ) 2 2 k , Then can solve:
ab=mod(w 2+(2 2k-1-1),2 2k)-(2 2k-1-1)
Concrete, when the complement code of carrying out plural number calculates, first the second reference value and the 3rd reference value can be obtained, when further obtaining the product cd of the first imaginary part and the second imaginary part according to above-mentioned first reference value according to the first reference value, can be calculated by following mode, if w 1+ (2 2k-1-1), when>=0, w is obtained 1+ (2 2k-1-1) nonnegative number that the value of low 2k bit is formed deducts 2 2k-1the value of-1 is the value of cd.
And by w 1+ (2 2k-1-1) < 0, can obtain:
-[w 1+ (2 2k-1-1)]=[-ab2 2k-(ad+bc)] 2 2k+ [-cd-(2 2k-1-1)] > 0, that is:
-[w 1+(2 2k-1-1)]=[-ab·2 2k-(ad+bc)-1]·2 2k+[-cd+(2 2k-1+1)]>0
Second party formula is utilized to obtain:
0<-cd+(2 2k-1+1)<2 2k-1
Acquisition-[w 1+ (2 2k-1-1) nonnegative number that the value of low 2k bit] is formed deducts 2 2k-1the opposite number of the value of+1 is the value of cd.
In addition, for according to the second reference value w 2obtain the product of the first real part and the second imaginary part, and during the sum of products of the first imaginary part and the second real part, can be concrete comprise following content, one is at w 2+ (2 2k-1-1), when>=0, w is obtained 2+ (2 2k-1-1) nonnegative number that the value of low 2k bit is formed deducts 2 2k-1the value of-1 is the value of ad+bc.
And at w 2+ (2 2k-1-1) during < 0, according to second party formula and above-mentioned similar calculating, acquisition-[w 2+ (2 2k-1-1) nonnegative number that the value of low 2k bit] is formed deducts 2 2k-1the opposite number of the value of+1 is the value of ad+bc.
The product ab obtaining the first real part and the second real part according to described 3rd reference value can specifically comprise following content, and one is at w 3+ (2 2k-1-1), when>=0, w is obtained 3+ (2 2k-1-1) nonnegative number that the value of low 2k bit is formed deducts 2 2k-1the value of-1 is the value of ab, at w 3+ (2 2k-1-1), during < 0, according to second party formula and above-mentioned similar calculating ,-[w can be retrieved as 3+ (2 2k-1-1) nonnegative number that the value of low 2k bit] is formed deducts 2 2k-1the opposite number of the value of+1 is the value of ab.The value that can obtain ab-cd is subsequently as the real part of the product of described first plural number and the second plural number.
Concrete, the computation process of above-described embodiment can as shown in Figure 2, Figure 3 and Figure 4, namely first in a first step, by the value of a, c, b, d, be input in calculation element with the form of complement code, wherein by a, b to moving to left 2 2kposition, obtains a2 2kand b2 2k, and further carry out additive operation, obtain the first transformed value s=a2 2k+ c and the second transformed value t=b2 2k+ d, then utilizes multiplier to carry out calculating acquisition first reference value w 1=st=ab2 4k+ (ab+bc) 2 2k+ cd.
As shown in Figure 3, in second step, first input the above-mentioned w calculated 1, and calculating parameter z=w 1+ 2 2k-1-1, judge whether z < 0 sets up, as set up, then get parameter u=-z, and get parameter v=u [0:2k-1], parameter x=2 2k-1+ 1-v, when being false for above formula in addition, gets parameter v=z [0:2k-1], parameter x=v-2 2k-1the value of+1, output parameter x is as the value of cd.Further, w can be calculated 2=w 1-x, then carries out right shift process by w2, obtains w 2=w 2/ 2 k.Obtaining above-mentioned w 2after, again can utilize w 2perform above-mentioned steps, the value of the current parameter x obtained is the value of ad+bc, and also further can calculate w 3=w 2-x, then by w 3carry out right shift process, obtain w 3=w 3/ 2 k, and further, by w 3value substitute into above-mentioned steps, the value of the parameter x wherein obtained is the value of ab.
After the value of above-mentioned acquisition cd and ab, as shown in Figure 4 in the 3rd step, the real part r=ab-cd of the product of the first plural number and the second plural number can be obtained by subtraction, the imaginary part i=ad+bc of the product of other first plural number and the second plural number.
In above-mentioned plural computation process, only need use multiplier to realize, significantly can reduce the usage quantity of multiplier relative to prior art, avoid the wasting of resources.
In addition, there is w in above-described embodiment 1+ (2 2k-1-1) < 0, w 2+ (2 2k-1-1) < 0 and w 3+ (2 2k-1-1) situation of < 0, and consider the character of remainder, variously can add numerical value K respectively for above-mentioned i2 2k, wherein Ki is positive integer, and w 1+ (2 2k-1-1)+K i2 2k>=0, w 2+ (2 2k-1-1)+K i2 2k>=0, w 3+ (2 2k-1-1)+K i2 2k>=0.Now obtain the product cd of the first imaginary part and the second imaginary part according to described first reference value w1, be specially and obtain w 1+ (2 2k-1-1)+K i2 2klow 2k bit value form nonnegative number deduct 2 2k-1the value of-1 is the value of cd; According to described second reference value w 2obtain the product of the first real part and the second imaginary part, and the sum of products ad+bc of the first imaginary part and the second real part, be specially and obtain w 2+ (2 2k-1-1)+K i2 2klow 2k bit value form nonnegative number deduct 2 2k-1the value of-1 is the value of ad+bc; According to described 3rd reference value w 3obtain the product ab of the first real part and the second real part, be specially and obtain w 3+ (2 2k-1-1)+K i2 2klow 2k bit value form nonnegative number deduct 2 2k-1the value of-1 is the value of ab.
For above-mentioned K i, a kind of simple obtaining value method equals 2 for making this value 6k(other obtaining value method can be had, only need meet w 1+ (2 2k-1-1)+K i2 2k>=0, w 2+ (2 2k-1-1)+K i2 2k>=0, w 3+ (2 2k-1-1)+K i2 2k>=0), modify to the computation process shown in above-mentioned Fig. 3, concrete can be shown in Figure 5, first inputs above-mentioned w 1, and further calculating parameter z=w 1+ (2 2k-1-1)+2 6k, the v=z that gets parms [0:2k-1], and parameter x=v-2 2k-1the value of-1, output parameter x, as the value of cd, further, can calculate w 2=w 1-x, then by w 2carry out right shift process, obtain w 2=w 2/ 2 k.Obtaining above-mentioned w 2after, again can utilize w 2perform above-mentioned steps, the value of the current parameter x obtained is the value of ad+bc, and also further can calculate w 3=w 2-x, then by w 3carry out right shift process, obtain w 3=w 3/ 2 k, and further, by w 3value substitute into perform above-mentioned steps, the value of the parameter x wherein obtained is the value of ab.
The embodiment of the present invention additionally provides another embodiment, namely from the above embodiments:
-(2 k-1-1) 2≤ab,ad,bc,cd≤(2 k-1-1) 2
-2(2 k-1-1) 2≤ad+bc≤2(2 k-1-1) 2
Can be obtained by above-mentioned two formulas:
0<-(2 k-1-1) 2+(2 2k-1)≤cd+(2 2k-1)≤(2 k-1-1) 2+(2 2k-1)≤2 2k-1
0<-(2 k-1-1) 2+(2 2k-1)≤ab+(2 2k-1)≤(2 k-1-1) 2+(2 2k-1)≤2 2k-1
0<-2(2 k-1-1) 2+(2 2k-1)≤ad+bc+(2 2k-1)≤2(2 k-1-1) 2+(2 2k-1)<2 2k-1
Following congruence expression can be obtained by congruence property:
cd=mod(w 1+(2 2k-1),2 2k)-(2 2k-1)
In addition, if w 2 = ( w 1 - cd ) 2 2 k , Can obtain thus:
ad+bc=mod(w 2+(2 2k-1),2 2k)-(2 2k-1)
If w 3 = ( w 2 - ( ad + bc ) ) 2 2 k , Can obtain thus:
ab=mod(w 2+(2 2k-1),2 2k)-(2 2k-1)
First the calculating of the product cd of the first imaginary part and the second imaginary part is considered, w 1value can represent as Fig. 6, it comprises from 0 to 6k-1, altogether 6k bit, w in Fig. 6 hfor signed integer, w lfor signless integer, w 1+ (2 2k-1) can represent as Fig. 7, wherein w ' hfor signed integer, w ' lfor signless integer.In addition, for w ' lthe bit of 0 to 2k-2 and w lthe bit identical (be numbered from low level to high bit number, and lowest order being numbered 0) of 0 to 2k-2, and w ' l2k-1 bit and w 1the value of 2k-1 bit contrary.Due to w 1for signless integer, therefore can obtain:
Mod (w 1+ (2 2k-1), 2 2k)=w ' l, i.e. cd=w ' l-(2 2k-1).
Wherein, cd is signed integer, and w ' lthe the 0th to 2k-2 bit identical to the bit of 2k-2 with the 0th of cd, and w ' l2k-1 bit contrary with the 2k-1 bit of cd, thus cd is and w lthere is the signed integer that same bits represents.
In addition, w is considered 2calculating, due to carry out conversion to it to obtain:
w 2 = ( w 1 + 2 2 k - 1 ) - ( dc + 2 2 k - 1 ) 2 2 k = ( w 1 + 2 2 k - 1 ) - w &prime; L 2 2 k = w &prime; H &CenterDot; 2 2 k + w &prime; L - w &prime; L 2 2 k = w &prime; H
Based on the additive operation of complement code, can obtain:
If w 12k-1 bit be 0, then w ' h=w h;
If w 12k-1 bit be 1, then w ' h=w h+ 1.
Namely w 2 = w H , w 1 [ 2 k - 1 ] = 0 w H + 1 , w 1 [ 2 k - 1 ] = 1 , Wherein w 1[2k-1] represents w 12k-1 bit (lowest bit position is from 0 open numbering).
Wherein w h=w 1[6k-1:2k], w 1[6k-1:2k] represents w 1from 2k to the value of 6k-1 bit.In this embodiment, only need according to the first reference value w 1obtain the second reference value and according to described first reference value w 1obtain the product cd of the first imaginary part and the second imaginary part:
Obtain w 1the signed integer (being likely negative here, lower same) of the value formation of a low 2k bit is the value of cd;
Then the product of the first real part and the second imaginary part is obtained according to described second reference value, and the sum of products ad+bc of the first imaginary part and the second real part:
Obtain w 2the signed integer that the value of a low 2k bit is formed is the value of ad+bc, i.e. cd=w 2[2k-1:0]; And wherein at w 1the value of 2k-1 bit when being 0, w 2value be w 12k to the value of 6k-1 bit; At w 1the value of 2k-1 bit be 1, w 2value be w 12k add 1 to the value of 6k-1 bit.
The product of the first real part and the second real part is obtained according to described second reference value:
At w 2the value of 2k-1 bit when being 0, obtain w 2the signed integer that forms to the value of 4k-1 bit of 2k be the value of ab, at w 2the value of 2k-1 bit when being 0, obtain w 2the signed integer that forms to the value of 4k-1 bit of 2k add that 1 signed integer obtained is the value of ab, namely
ab = w 2 [ 4 k - 1 : 2 k ] , w 2 [ 2 k - 1 ] = 0 w 2 [ 4 k - 1 : 2 k ] + 1 , w 2 [ 2 k - 1 ] = 1 .
Wherein, at w 1the value of 2k-1 bit when being 0, above-mentioned w 2value be w 12k to the value of 6k-1 bit, at w 1the value of 2k-1 bit be 1, w 2value be w 12k add 1 to the value of 6k-1 bit.On the basis of above-described embodiment, the value that can obtain ab-cd is as the real part of the product of described first plural number and the second plural number.
In the present embodiment, its concrete computation process can as shown in Figure 8, the w first will calculated 1be input in calculation element, obtain w 1the the 0 to the 2k-1 bit value as cd complement code and export, judge w simultaneously 1the value of 2k-1 bit whether be 0, if so, getting the second reference value is w 2=w 1[6k-1:2k], otherwise getting the second reference value is w 2=w 1[6k-1:2k]+1.
After obtaining the second above-mentioned reference value, judge the second reference value w 2the value of 2k-1 bit whether be 0, if so, then ab=w 2[4k-1:2k]; Otherwise, ab=w 2[4k-1:2k]+1.For ad+bc, its value gets cd=w 2[2k-1:0].
In concrete computation process, also can carry out suitable adjustment, namely as shown in Figure 9, no longer judge w 1the value of 2k-1 bit whether be 0, but directly make w 2=w 1[6k-1:2k]+w 1[2k-1], like this at w 12k-1 bit when being 0, be equivalent to w 2=w 1[6k-1:2k], and at w 12k-1 bit when being 1, be equivalent to w 2=w 1the value of [6k-1:2k] increases by 1.Further, do not need to judge w yet 2the value of 2k-1 bit whether be 0, but directly make ab=w 2[4k-1:2k]+w 2[2k-1], like this at w 22k-1 bit when being 0, be equivalent to ab=w 2[4k-1:2k], and at w 22k-1 bit when being 1, be equivalent to ab=w 2[4k-1:2k] value increases by 1.
In the above embodiment of the present invention, value for the first real part a, the first imaginary part c, the second real part b and the second imaginary part d is all more than or equal to the situation of 0, due to the singularity of nonnegative integer, it will be more simple that computing machine realizes, and digital scope can have larger span.
This scope is because above-mentioned each value is integer, then can obtain:
0≤a,b,c,d≤2 k-1
Now the first transformed value s=a2 2k+ c, the second transformed value t=b2 2k+ d, can obtain:
0≤s,t≤(2 k-1)·2 2k+2 k-1<2 3k-1
And above-mentioned s and t is the signless integer of 3k bit.
Calculate the first reference value to obtain: w 1=st=ab2 4k+ (ad+bc) 2 2k+ cd
Due to 0 &le; a , b , c , d &le; 2 2 k - 1 2 , Therefore can obtain:
0 &le; ab , ad , bc , cd &le; 2 2 k - 1 2 < 2 2 k - 1
0 &le; ad + bc &le; 2 &CenterDot; 2 2 k - 1 2 = 2 2 k - 1 .
Congruence property is utilized to obtain congruence expression:
Cd=mod (w 1, 2 2k), in like manner establish the second reference value can obtain:
ad+bc=mod(w 2,2 2k)
If the 3rd reference value w 3 = ( w 2 - ( ad + bc ) ) 2 2 k , Then can obtain:
ab=mod(w 3,2 2k)
Because above-mentioned computation process and result of calculation are nonnegative integer, subtraction above, remainder, divided by 2 2koperation all can simplify, wherein the value of cd can be taken as w 1the 0th nonnegative integer formed to the value of 2k-1 bit; The value of ad+bc is w 1the nonnegative integer that forms of the value of 2k to 4k-1 bit, the nonnegative integer that namely, the value of 2k bit is formed, it can be used as the imaginary part of the product of the first plural number and the second plural number; The value of ab is w 1the nonnegative integer that forms of the value of 4k to 6k-1 bit, i.e. the nonnegative integer that forms of the value of last 2k bit, the value that can obtain ab-cd is subsequently as the real part of the product of described first plural number and the second plural number.
The computation process of the present embodiment can be as shown in Figure 10, first above-mentioned the first real part a, the first imaginary part c, the second real part b and the second imaginary part d is inputted, and further the first real part a is carried out shifting processing, move to right 2k bit, and low k bit is wherein filled to the first imaginary part c, namely obtain the first transformed value s=a2 2k+ c, separately carries out shifting processing by the second real part b, and move to right 2k bit, and a low k bit is filled to the second imaginary part d, namely obtains the second transformed value t=b2 2k+ d.Then utilize multiplier that the first above-mentioned transformed value and the second transformed value are carried out multiplication process and obtain w 1=st=ab2 4k+ (ad+bc) 2 2k+ cd, on this basis, the value can getting cd is w 1the 0th nonnegative integer formed to the value of 2k-1 bit, the value of ad+bc is w 12k to 4k-1 bit value form nonnegative integer, the value of ab is w 14k to 6k-1 bit value form nonnegative integer.The definition of recycling complex multiplication obtains real part ab-cd and the imaginary part ad+bc of complex multiplication result respectively.
In the above embodiment of the present invention, the value for the first real part a, the first imaginary part c, the second real part b and the second imaginary part d is all more than or equal to 0, and during the larger situation of span, i.e. 0≤a, b, c, d≤2 k-1, wherein k is positive integer, and namely a, b, c, d are the signless integer of k bit, uses following transformed value.First transformed value s=a2 2k+1+ c, the second transformed value t=b2 2k+1+ d, can obtain:
0≤s,t≤(2 k-1)·2 2k+1+2 k-1<2 3k+1-1
And above-mentioned s and t is the signless integer of 3k+1 bit.
Calculate the first reference value to obtain: w 1=st=ab2 4k+2+ (ad+bc) 2 2k+1+ cd
Due to 0≤a, c, b, d≤2 k-1, therefore can obtain:
0≤ab,ad,bc,cd≤(2 k-1) 2=2 2k+1-2 k+1<2 2k-1
0≤ad+bc<2·(2 2k-1)<2 2k+1-1
Congruence property is utilized to obtain congruence expression:
Cd=mod (w 1, 2 2k), in like manner establish the second reference value can obtain:
ad+bc=mod(w 2,2 2k+1)
If the 3rd reference value w 3 = ( w 2 - ( ad + bc ) ) 2 2 k + 1 , Then can obtain:
ab=mod(w 3,2 2k)
Because above-mentioned computation process and result of calculation are nonnegative integer, subtraction above, remainder, divided by 2 2koperation all can simplify, concrete, can w be obtained 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of cd; Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit as the imaginary part of product of described first plural number and the second plural number, namely obtain ad+bc; Obtain w 1the nonnegative integer that forms of the value of 4k+2 to 6k+1 bit as the imaginary part ab of product of described first plural number and the second plural number; Further, the value that can obtain ab-cd is as the real part of the product of described first plural number and the second plural number;
The computation process of the present embodiment can be as shown in figure 11, first above-mentioned the first real part a, the first imaginary part c, the second real part b and the second imaginary part d is inputted, and by further just the first real part a carry out shifting processing, move to left 2k+1 bit, and low k bit is wherein filled to the first imaginary part c, namely obtain the first transformed value s=a2 2k+1+ c, separately carries out shifting processing by the second real part b, and move to left 2k+1 bit, and a low k bit is filled to the second imaginary part d, namely obtains the second transformed value t=b2 2k+1+ d.Then utilize multiplier that the first above-mentioned transformed value and the second transformed value are carried out multiplication process and obtain w 1=st=ab2 2k+2+ (ad+bc) 2 2k+1+ cd, on this basis, the value can getting cd is w 1the 0th nonnegative integer formed to the value of 2k-1 bit, the value of ad+bc is w 12k+1 to 4k+1 bit value form nonnegative integer, the value of ab is w 1the nonnegative integer that forms of the value of 4k+2 to 6k+1 bit, then the value obtaining ab-cd is as the real part of the product of described first plural number and the second plural number.
Utilize the above-mentioned real part for two complex signals and imaginary part to be the embodiment of signless integer, can construct and use the less multiplier of bit to complete a complex multiplication.In embodiments of the present invention, for the first complex signal a+ci and the second complex signal b+di, wherein the first real part a, the first imaginary part c, the second complex signal the second real part b and the second imaginary part d is k+1 bit signed integer and their absolute value is all less than or equal to 2 k-1, namely | a|, | b|, | c|, | d|≤2 k-1, k>=0 here.
First calculate a '=-a, b '=-b, c '=-c, d '=-d, these numerical value can realize by calculating opposite number, for computing machine complement code, can add 1 realization by negate.
Divide 16 kinds of situations to calculate the product of the first complex signal a+ci and the second complex signal b+di below, use the multiplier in above-described embodiment method respectively.
A>=0 in a first scenario, c>=0, b>=0, d>=0, this situation can see the embodiment shown in above-mentioned Figure 11, concrete see Figure 12, according to the second real part b and the second imaginary part d of the first real part a, the first imaginary part c, the second complex signal, the method for displacement is utilized to obtain the first transformed value s=a2 2k+1+ c and the second transformed value t=b2 2k+1+ d, then uses multiplier to obtain the first reference value w 1=st=ab2 4k+2+ (ad+bc) 2 2k+1+ cd, and the product x+yi that can obtain the first complex signal a+ci and the second complex signal b+di according to method embodiment illustrated in fig. 11, x=ab-cd, y=ad+bc.
In the latter case, wherein all be less than 0 at the second real part b of the first real part a, the first imaginary part c, the second complex signal and the value of the second imaginary part d, i.e. a < 0, c < 0, b < 0, d < 0, and its absolute value is all less than 2 kwhen-1, wherein k is nonnegative integer; As shown in figure 13, first transformed value that can obtain obtaining according to the first complex signal by shifting processing is s=a ' 2 2k+1+ c ', described the second transformed value t=b ' 2 obtained according to the second complex signal 2k+1+ d ', the wherein a ' opposite number that is a, the opposite number that b ' is b, the opposite number that c ' is c, the opposite number that d ' is d, then uses multiplier to obtain the first reference value w 1=st=a ' b ' 2 4k+2+ (a ' d '+b ' c ') 2 2k+1+ c ' d ', further according to the first reference value w 1the product x+yi of described first plural number and the second plural number can be obtained, x=a ' b '-c ' d ', y=a ' d '+b ' c ':
Obtain w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of cd;
Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit as the imaginary part of product of described first plural number and the second plural number, i.e. y=ad+bc;
Obtain w 1the nonnegative integer that forms of the value of 4k+2 to 6k+1 bit as the value of ab;
The value obtaining ab-cd as the real part of product of described first plural number and the second plural number, i.e. x=ab-cd.
In a third case, wherein all 2 are less than at the second real part b of the first real part a, the first imaginary part c, the second complex signal and the second imaginary part d absolute value k-1, and a>=0, during c < 0, b>=0, d < 0, wherein k is nonnegative integer; As shown in figure 14, first transformed value that can obtain obtaining according to the first complex signal by shifting processing is s=a2 2k+1'+c ', described the second transformed value t=b2 obtained according to the second complex signal 2k+1+ d ', the wherein c ' opposite number that is c, the opposite number that d ' is d, then uses multiplier to obtain the first reference value w 1=st=ab2 4k+2+ (ad '+bc ') 2 2k+1+ c ' d ', further according to the first reference value w 1the product x-yi of described first plural number and the second plural number can be obtained, x=ab-c ' d ', y=ad '+bc ':
Obtain w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of cd;
Obtain w 12k+1 to 4k+1 bit value form nonnegative integer, the opposite number obtaining described nonnegative integer is as the imaginary part of the product of described first plural number and the second plural number, i.e. y=-(ad+bc), the opposite number calculating y is as the imaginary part of product of described first plural number and the second plural number.
Obtain w 14k+2 to 6k+1 bit value form nonnegative integer as value ab;
The value obtaining ab-cd as the real part of product of described first plural number and the second plural number, i.e. x=ab-cd.
In the fourth case, wherein all 2 are less than at the second real part b of the first real part a, the first imaginary part c, the second complex signal and the absolute value of the second imaginary part d k-1, and when a < 0, c>=0, b < 0, d>=0, wherein k is nonnegative integer; As shown in figure 15, first transformed value that can obtain obtaining according to the first complex signal by shifting processing is s=a ' 2 2k+1+ c, described the second transformed value t=b ' 2 obtained according to the second complex signal 2k+1+ d, the wherein c ' opposite number that is c, the opposite number that d ' is d, then uses multiplier to obtain the first reference value w 1=st=a ' b ' 2 4k+2+ (a ' d+b ' c) 2 2k+1+ cd, further according to the first reference value w 1the product x-yi of described first plural number and the second plural number can be obtained, x=a ' b '-cd, y=a ' d+b ' c:
Obtain w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of cd;
Obtain w 12k+1 to 4k+1 bit value form nonnegative integer, the opposite number obtaining described nonnegative integer is as the imaginary part of the product of described first plural number and the second plural number, i.e. y=-(ad+bc), the opposite number calculating y is as the imaginary part of product of described first plural number and the second plural number.
Obtain w 1the nonnegative integer that forms of the value of 4k+2 to 6k+1 bit as the value of ab;
The value obtaining ab-cd as the real part of product of described first plural number and the second plural number, i.e. x=ab-cd.
In a fifth case, wherein all 2 are less than at the second real part b of the first real part a, the first imaginary part c, the second complex signal and the absolute value of the second imaginary part d k-1, and a>=0, c>=0, during b < 0, d < 0, wherein k is nonnegative integer; As shown in figure 16, first transformed value that can obtain obtaining according to the first complex signal by shifting processing is s=a2 2k+1+ c, described the second transformed value t=b ' 2 obtained according to the second complex signal 2k+1+ d ', the wherein b ' opposite number that is b, the opposite number that d ' is d, then uses multiplier to obtain the first reference value w 1=st=ab ' 2 4k+2+ (ad '+b ' c) 2 2k+1+ cd ', further according to the first reference value w 1product-the x-yi of described first plural number and the second plural number can be obtained, x=ab '-cd ', y=ad '+b ' c:
Obtain w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of-cd;
Obtain w 12k+1 to 4k+1 bit value form nonnegative integer, the opposite number obtaining described nonnegative integer is as the imaginary part of the product of described first plural number and the second plural number, i.e. y=-(ad+bc), the opposite number calculating y is as the imaginary part of product of described first plural number and the second plural number;
Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of-ab;
The opposite number obtaining the value of x=(-ab)-(-cd) is as the real part of the product of described first plural number and the second plural number.
In a sixth case, wherein all 2 are less than at the second real part b of the first real part a, the first imaginary part c, the second complex signal and the absolute value of the second imaginary part d k-1, and when a < 0, c < 0, b>=0, d>=0, wherein k is nonnegative integer; As shown in figure 17, first transformed value that can obtain obtaining according to the first complex signal by shifting processing is s=a ' 2 2k+1+ c ', described the second transformed value t=b2 obtained according to the second complex signal 2k+1+ d, the wherein a ' opposite number that is a, the opposite number that c ' is c, then uses multiplier to obtain the first reference value w 1=st=a ' b2 4k+2+ (a ' d+bc ') 2 2k+1+ c ' d, further according to the first reference value w 1product-the x-yi of described first plural number and the second plural number can be obtained, x=a ' b-c ' d, y=a ' d+bc ':
Obtain w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of-cd;
Obtain w 12k+1 to 4k+1 bit value form nonnegative integer, the opposite number obtaining described nonnegative integer is as the imaginary part of the product of described first plural number and the second plural number, i.e. y=-(ad+bc), the opposite number calculating y is as the imaginary part of product of described first plural number and the second plural number.
Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of-ab;
The opposite number obtaining the value of x=(-ab)-(-cd) is as the real part of the product of described first plural number and the second plural number.
In the 7th kind of situation, be wherein all less than 2 at the second real part b of the first real part a, the first imaginary part c, the second complex signal and the absolute value of the second imaginary part d k-1, and a>=0, when c < 0, b < 0, d>=0, wherein k is nonnegative integer; As shown in figure 18, first transformed value that can obtain obtaining according to the first complex signal by shifting processing is s=a2 2k+1+ c ', described the second transformed value t=b ' 2 obtained according to the second complex signal 2k+1+ d, the wherein c ' opposite number that is c, the opposite number that b ' is b, then uses multiplier to obtain the first reference value w 1=st=ab ' 2 4k+2+ (ad+b ' c ') 2 2k+1+ c ' d, further according to the first reference value w 1product-the x+yi of described first plural number and the second plural number can be obtained, x=ab '-c ' d, y=ad+b ' c ':
Obtain w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of-cd;
Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit as the imaginary part of product of described first plural number and the second plural number, i.e. y=ad+bc;
Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of-ab;
The opposite number obtaining the value of x=(-ab)-(-cd) is as the real part of the product of described first plural number and the second plural number.
In the 8th kind of situation, be wherein all less than 2 at the second real part b of the first real part a, the first imaginary part c, the second complex signal and the absolute value of the second imaginary part d k-1, and during a < 0, c>=0, b>=0, d < 0, wherein k is nonnegative integer; As shown in figure 19, first transformed value that can obtain obtaining according to the first complex signal by shifting processing is s=a ' 2 2k+1+ c, described the second transformed value t=b2 obtained according to the second complex signal 2k+1+ d ', the wherein a ' opposite number that is a, the opposite number that d ' is d, then uses multiplier to obtain the first reference value w 1=st=a ' b2 4k+2+ (a ' d '+bc) 2 2k+1+ cd ', further according to the first reference value w 1product-the x+yi of described first plural number and the second plural number can be obtained, x=a ' b-cd ', y=a ' d '+bc:
Obtain w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of-cd;
Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit as the imaginary part of product of described first plural number and the second plural number, i.e. y=ad+bc;
Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of-ab;
The opposite number obtaining the value of x=(-ab)-(-cd) is as the real part of the product of described first plural number and the second plural number.
In the 9th kind of situation, be wherein all less than 2 at the second real part b of the first real part a, the first imaginary part c, the second complex signal and the absolute value of the second imaginary part d k-1, and a>=0, c>=0, b>=0, during d < 0, wherein k is nonnegative integer; As shown in figure 20, first transformed value that can obtain obtaining according to the first complex signal by shifting processing is s=a2 2k+1+ c, described the second transformed value t=d ' 2 obtained according to the second complex signal 2k+1+ b, wherein d ' the opposite number that is d, then uses multiplier to obtain the first reference value w 1=st=ad ' 2 4k+2+ (ab+cd ') 2 2k+1+ bc, further according to the first reference value w 1the product y-xi of described first plural number and the second plural number can be obtained, y=ab+cd ', x=ad '-bc:
Obtain w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of bc;
Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit as the real part of product of described first plural number and the second plural number, i.e. y=ab-cd;
Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of-ad;
The opposite number obtaining the value of x=(-ad)-(bc) is as the imaginary part of the product of described first plural number and the second plural number.
In the tenth kind of situation, be wherein all less than 2 at the second real part b of the first real part a, the first imaginary part c, the second complex signal and the absolute value of the second imaginary part d k-1, and a>=0, c>=0, b>=0, during d < 0, wherein k is nonnegative integer; As shown in figure 21, first transformed value that can obtain obtaining according to the first complex signal by shifting processing is s=c ' 2 2k+1+ a, described the second transformed value t=b2 obtained according to the second complex signal 2k+1+ d, wherein c ' the opposite number that is c, then uses multiplier to obtain the first reference value w 1=st=bc ' 2 4k+2+ (ab+c ' d) 2 2k+1+ ad, further according to the first reference value w 1the product y-xi of described first plural number and the second plural number can be obtained, y=ab+cd ', x=bc '-ad:
Obtain w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of ad;
Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit as the real part of product of described first plural number and the second plural number, i.e. y=ab-cd;
Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of-bc;
The opposite number obtaining the value of x=(-bc)-(ad) is as the imaginary part of the product of described first plural number and the second plural number.
In the 11 kind of situation, be wherein all less than 2 at the second real part b of the first real part a, the first imaginary part c, the second complex signal and the absolute value of the second imaginary part d k-1, and a>=0, c>=0, during b < 0, d>=0, wherein k is nonnegative integer; As shown in figure 22, first transformed value that can obtain obtaining according to the first complex signal by shifting processing is s=a2 2k+1+ c, described the second transformed value t=d2 obtained according to the second complex signal 2k+1+ b ', wherein b ' the opposite number that is b, then uses multiplier to obtain the first reference value w 1=st=ad2 4k+2+ (ab '+cd) 2 2k+1+ b ' c, further according to the first reference value w 1product-the y+xi of described first plural number and the second plural number can be obtained, y=ab '+cd, x=ad-b ' c:
Obtain w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of-bc;
Obtain w 12k+1 to 4k+1 bit value form nonnegative integer, the opposite number obtaining described nonnegative integer is as the real part of the product of described first plural number and the second plural number, i.e. y=-ab+cd, the opposite number calculating y is as the real part of product of described first plural number and the second plural number.
Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of ad;
The value obtaining x=(ad)-(-bc) is as the imaginary part of the product of described first plural number and the second plural number.
In the 12 kind of situation, be wherein all less than 2 at the second real part b of the first real part a, the first imaginary part c, the second complex signal and the absolute value of the second imaginary part d k-1, and during a < 0, c>=0, b>=0, d>=0, wherein k is nonnegative integer; As shown in figure 23, first transformed value that can obtain obtaining according to the first complex signal by shifting processing is s=c2 2k+1+ a ', described the second transformed value t=b2 obtained according to the second complex signal 2k+1+ d, wherein a ' the opposite number that is a, then uses multiplier to obtain the first reference value w 1=st=ad2 4k+2+ (ab '+cd) 2 2k+1+ b ' c, further according to the first reference value w 1product-the y+xi of described first plural number and the second plural number can be obtained, y=a ' b+cd, x=bc-a ' d:
Obtain w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of-ad;
Obtain w 12k+1 to 4k+1 bit value form nonnegative integer, the opposite number obtaining described nonnegative integer is as the real part of the product of described first plural number and the second plural number, i.e. y=-ab+cd, the opposite number calculating y is as the real part of product of described first plural number and the second plural number.
Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of bc;
The value obtaining x=(bc)-(-ad) is as the imaginary part of the product of described first plural number and the second plural number.
In the 13 kind of situation, be wherein all less than 2 at the second real part b of the first real part a, the first imaginary part c, the second complex signal and the absolute value of the second imaginary part d k-1, and during a < 0, c < 0, b>=0, d < 0, wherein k is nonnegative integer; As shown in figure 24, first transformed value that can obtain obtaining according to the first complex signal by shifting processing is s=a ' 2 2k+1+ c ', described the second transformed value t=d ' 2 obtained according to the second complex signal 2k+1+ b, a ' be the opposite number of a, the opposite number that c ' is c, the opposite number that d ' is d, then uses multiplier to obtain the first reference value w 1=st=a ' d ' 2 4k+2+ (a ' b+c ' d ') 2 2k+1+ bc ', further according to the first reference value w 1product-the y+xi of described first plural number and the second plural number can be obtained, y=a ' b+c ' d ', x=a ' d '-bc ':
Obtain w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of-bc;
Obtain w 12k+1 to 4k+1 bit value form nonnegative integer, the opposite number obtaining described nonnegative integer is as the real part of the product of described first plural number and the second plural number, i.e. y=-ab+cd, the opposite number calculating y is as the real part of product of described first plural number and the second plural number.
Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of ad;
The value obtaining x=(ad)-(-bc) is as the imaginary part of the product of described first plural number and the second plural number.
In the 14 kind of situation, be wherein all less than 2 at the second real part b of the first real part a, the first imaginary part c, the second complex signal and the absolute value of the second imaginary part d k-1, and a>=0, during c < 0, b < 0, d < 0, wherein k is nonnegative integer; As shown in figure 25, first transformed value that can obtain obtaining according to the first complex signal by shifting processing is s=c ' 2 2k+1+ a, described the second transformed value t=b ' 2 obtained according to the second complex signal 2k+1+ d ', the wherein b ' opposite number that is b, the opposite number that c ' is c, the opposite number that d ' is d, then uses multiplier to obtain the first reference value w 1=st=b ' c ' 2 4k+2+ (ab '+c ' d ') 2 2k+1+ ad ', further according to the first reference value w 1product-the y+xi of described first plural number and the second plural number can be obtained, y=ab '+c ' d ', x=b ' c '-ad ':
Obtain w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of-ad;
Obtain w 12k+1 to 4k+1 bit value form nonnegative integer, the opposite number obtaining described nonnegative integer is as the real part of the product of described first plural number and the second plural number, i.e. y=-ab+cd, the opposite number calculating y is as the real part of product of described first plural number and the second plural number.
Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of bc;
The value obtaining x=(bc)-(-ad) is as the imaginary part of the product of described first plural number and the second plural number.
In the 15 kind of situation, be wherein all less than 2 at the second real part b of the first real part a, the first imaginary part c, the second complex signal and the absolute value of the second imaginary part d k-1, and during a < 0, c < 0, b < 0, d>=0, wherein k is nonnegative integer; As shown in figure 26, first transformed value that can obtain obtaining according to the first complex signal by shifting processing is s=a ' 2 2k+1+ c ', described the second transformed value t=d2 obtained according to the second complex signal 2k+1+ b ', the wherein a ' opposite number that is a, the opposite number that b ' is b, the opposite number that c ' is c, then uses multiplier to obtain the first reference value w 1=st=a ' d2 4k+2+ (a ' b '+c ' d) 2 2k+1+ b ' c ', further according to the first reference value w 1the product y-xi of described first plural number and the second plural number can be obtained, y=a ' b '+c ' d, x=a ' d-b ' c ':
Obtain w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of bc;
Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit as the real part of product of described first plural number and the second plural number, i.e. y=ab-cd;
Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of-ad;
The opposite number obtaining the value of x=(-ad)-(bc) is as the imaginary part of the product of described first plural number and the second plural number.
In the 16 kind of situation, be wherein all less than 2 at the second real part b of the first real part a, the first imaginary part c, the second complex signal and the absolute value of the second imaginary part d k-1, and a>=0, during c < 0, b < 0, d < 0, wherein k is positive integer; As shown in figure 27, first transformed value that can obtain obtaining according to the first complex signal by shifting processing is s=c ' 2 2k+1+ a, described the second transformed value t=b ' 2 obtained according to the second complex signal 2k+1+ d ', the wherein b ' opposite number that is b, the opposite number that c ' is c, the opposite number that d ' is d, then uses multiplier to obtain the first reference value w 1=st=b ' c ' 2 4k+2+ (ab '+c ' d ') 2 2k+1+ ad ', further according to the first reference value w 1real part y=a ' b '+cd ' of the product-y+xi of described first plural number and the second plural number can be obtained, and the imaginary part x=b ' c-a ' d ' of the product of described first plural number and the second plural number:
Obtain w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of ad;
Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit as the real part of product of described first plural number and the second plural number, i.e. y=ab-cd;
Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of-bc;
The opposite number obtaining the value of x=(-bc)-(ad) is as the imaginary part of the product of described first plural number and the second plural number.
Different from following the example of of the first transformed value in the first embodiment and the second transformed value in the present embodiment, for identical scope | a|, | b|, | c|, | d|≤2 k-1, calculate the product of the first complex signal a+ci and the second complex signal b+di, first embodiment needs the multiplier using 3k+3 bit, the present embodiment needs the multiplier using 3k+1 bit, but need the judgement of extra different situations and calculate opposite number, namely negate carried out to complement code and add the operation of 1.
Present invention also offers a kind of device using multiplier to realize complex multiplication, Figure 28 uses a multiplier to realize the structural representation one of the device of complex multiplication in the embodiment of the present invention, as shown in figure 28, this device comprises the first receiver module 11, first acquisition module 12, first computing module 13 and the second acquisition module 14, the first receiver module 11 is wherein for receiving the first complex signal a+ci and the second complex signal b+di, and described first complex signal and the second complex signal are all the digital signals that communicates; First acquisition module 12 obtains the first transformed value s for carrying out shifting processing according to the first real part a of described first complex signal and the first imaginary part c, and carries out shifting processing according to the second real part b of described second complex signal and the second imaginary part d and obtain the second transformed value t; First computing module 13, for according to described first transformed value s and described second transformed value t, utilizes multiplier to carry out calculating acquisition first reference value w 1=st; Second acquisition module 14 is for according to described first reference value w 1obtain the real part of the product of described first plural number and the second plural number, and the imaginary part of the product of described first plural number and the second plural number.
The technical scheme that the above embodiment of the present invention provides, wherein when carrying out complex multiplication, first acquisition module obtains the first transformed value and the second transformed value according to complex signal, then the first computing module utilizes multiplier to carry out calculating acquisition first reference value, and the real part of the product of the first plural number and the second plural number further can be obtained according to the first reference value, and the first imaginary part ad+bc of product of plural number and the second plural number, the first computing module is only needed to use multiplier when calculating the first reference value in this technical scheme, a multiplier is only needed to realize in whole complex multiplication computation process, therefore, technical scheme of the present invention can save multiplier resources effectively.
In the above embodiment of the present invention, the first real part a of the first complex signal that the first receiver module 11 wherein receives and the first imaginary part c, and the second real part b of described second complex signal and the absolute value of the second imaginary part d are all less than or equal to 2 k-1-1, wherein k is positive integer; The first transformed value s=a2 that described first acquisition module 12 obtains according to the first complex signal 2k+ c, described the second transformed value t=b2 obtained according to the second complex signal 2k+ d; The first reference value w that described first computing module 13 calculates 1=st=ab2 4k+ (ad+bc) 2 2k+ cd.
Concrete, corresponding with said method embodiment, second acquisition module 14 above-mentioned according to different situations can comprise different functional modules, such as shown in Figure 29, first reference value acquiring unit 141 and the first coefficient acquiring unit 142, and the first reference value acquiring unit 141 is wherein for according to described first reference value w 1obtain the second reference value with the 3rd reference value first coefficient acquiring unit 142 is for according to described first reference value w 1obtain the product cd of the first imaginary part and the second imaginary part, namely at w 1+ (2 2k-1-1), when>=0, w is obtained 1+ (2 2k-1-1) nonnegative number that the value of low 2k bit is formed deducts 2 2k-1the value of-1 is the value of cd, at w 1+ (2 2k-1-1) during < 0, acquisition-[w 1+ (2 2k-1-1) nonnegative number that the value of low 2k bit] is formed deducts 2 2k-1the opposite number of the value of+1 is the value of cd; According to described second reference value w 2obtain the product of the first real part and the second imaginary part, and the sum of products ad+bc of the first imaginary part and the second real part is plural as described first and the imaginary part of the product of the second plural number, namely at w 2+ (2 2k-1-1), when>=0, w is obtained 2+ (2 2k-1-1) nonnegative number that the value of low 2k bit is formed deducts 2 2k-1the value of-1 as the imaginary part of the product of described first plural number and the second plural number, at w 2+ (2 2k-1-1) during < 0, acquisition-[w 2+ (2 2k-1-1) nonnegative number that the value of low 2k bit] is formed deducts 2 2k-1the opposite number of the value of+1 is as the imaginary part of the product of described first plural number and the second plural number; And according to described 3rd reference value w 3obtain the product ab of the first real part and the second real part, namely at w 3+ (2 2k-1-1), when>=0, w is obtained 3+ (2 2k-1-1) nonnegative number that the value of low 2k bit is formed deducts 2 2k-1the value of-1 is the value of ab, at w 3+ (2 2k-1-1) during < 0, acquisition-[w 3+ (2 2k-1-1) nonnegative number that the value of low 2k bit] is formed deducts 2 2k-1the opposite number of the value of+1 is the value of ab; The value obtaining ab-cd is as the real part of product of described first plural number and the second plural number.
Or as shown in figure 30, the second above-mentioned acquisition module 14 comprises the first reference value acquiring unit 141 and the second coefficient acquiring unit 143, wherein the first reference value acquiring unit 141 is for according to described first reference value w 1obtain the second reference value with the 3rd reference value second coefficient acquiring unit 143 is for according to described first reference value w 1obtain the product cd of the first imaginary part and the second imaginary part, namely obtain w 1+ (2 2k-1-1)+K i2 2klow 2k bit value form nonnegative number deduct 2 2k-1the value of-1 is the value of cd, wherein K ifor positive integer, and w 1+ (2 2k-1-1)+K i2 2k>=0; Obtain the product of the first real part and the second imaginary part according to described second reference value, and the sum of products ad+bc of the first imaginary part and the second real part is plural as described first and the imaginary part of the product of the second plural number, namely obtains w 2+ (2 2k-1-1)+K i2 2klow 2k bit value form nonnegative number deduct 2 2k-1the value of-1 as the imaginary part of the product of described first plural number and the second plural number, wherein K ifor positive integer, and w 2+ (2 2k-1-1)+K i2 2k>=0; And the product ab of the first real part and the second real part is obtained according to described 3rd reference value, namely obtain w 3+ (2 2k-1-1)+K i2 2klow 2k bit value form nonnegative number deduct 2 2k-1the value of-1 is the value of ab, wherein K ifor positive integer, and w 3+ (2 2k-1-1)+K i2 2k>=0; The value obtaining ab-cd is as the real part of product of described first plural number and the second plural number.
Or as shown in figure 31, the second acquisition module 14 comprises the second reference value acquiring unit 144 and the 3rd coefficient acquiring unit 145, wherein the second reference value acquiring unit 144 is for according to described first reference value w 1obtain the second reference value 3rd coefficient acquiring unit 145 is for according to described first reference value w 1obtain the product cd of the first imaginary part and the second imaginary part, namely obtain w 1the signed integer that the value of low 2k bit is formed is the value of cd; According to described second reference value w 2obtain the product of the first real part and the second imaginary part, and the sum of products ad+bc of the first imaginary part and the second real part is plural as described first and the imaginary part of the product of the second plural number, namely obtains w 2the signed integer that the value of low 2k bit is formed as the imaginary part of the product of described first plural number and the second plural number, and wherein at w 1the value of 2k-1 bit when being 0, w 2value equal w 12k to the value of 6k-1 bit; At w 1the value of 2k-1 bit be 1, w 2value equal w 12k add 1 to the value of 6k-1 bit; According to described second reference value w 2obtain the product ab of the first real part and the second real part, namely at w 2the value of 2k-1 bit when being 0, obtain w 22k to 4k-1 bit value form signed integer be the value of ab, at w 2the value of 2k-1 bit when being 0, obtain w 22k to 4k-1 bit value form signed integer add that 1 signed integer obtained is the value of ab; Wherein, described w 2value at w 1the value of 2k-1 bit equal w when being 0 12k to the value of 6k-1 bit, at w 1the value of 2k-1 bit be 1, w 2value equal w 12k add 1 to the value of 6k-1 bit; The value obtaining ab-cd is as the real part of product of described first plural number and the second plural number.
In other embodiment, first real part a, the first imaginary part c of the first complex signal that the first above-mentioned receiver module 11 receives, the second real part b of the second complex signal and the value of the second imaginary part d are the integer being more than or equal to 0, the first transformed value s=a2 that described first acquisition module 12 obtains according to the first complex signal 2k+ c, described the second transformed value t=b2 obtained according to the second complex signal 2k+ d, and the first reference value w that described first computing module 13 calculates 1=st=ab2 4k+ (ad+bc) 2 2k+ cd, wherein k is positive integer; And the second acquisition module 14 is specifically for obtaining w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of cd, obtain w 1the nonnegative integer that forms of the value of 2k to 4k-1 bit as the imaginary part of product of described first plural number and the second plural number, acquisition w 14k to 6k-1 bit value form nonnegative integer be the value of ab; The value obtaining ab-cd is as the real part of product of described first plural number and the second plural number.
The multiplier of use as shown in figure 28 realizes the device of complex multiplication, the first real part a, the first imaginary part c of the first complex signal that receive at described first receiver module 11, the value of the second real part b of the second complex signal and the second imaginary part d are the integer being more than or equal to 0, and are less than or equal to 2 kwhen-1, wherein k is nonnegative integer; The first transformed value s=a2 that described first acquisition module 12 obtains according to the first complex signal 2k+1+ c, according to the second transformed value t=b2 that the second complex signal obtains 2k+1+ d, the first reference value w that the first computing module 13 calculates 1=st=ab2 4k+2+ (ad+bc) 2 2k+1+ cd; Described second acquisition module 14 is specifically for obtaining w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of cd; Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit as the imaginary part of product of described first plural number and the second plural number; Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of ab; The value obtaining ab-cd is as the real part of product of described first plural number and the second plural number;
Or the first real part a, the first imaginary part c of the first complex signal that receive at described first receiver module 11, the value of the second real part b of the second complex signal and the second imaginary part d are all less than 0, and its absolute value is all less than 2 kwhen-1, wherein k is nonnegative integer; Described first acquisition module 12 is s=a ' 2 according to the first transformed value that the first complex signal obtains 2k+1+ c ', described the second transformed value t=b ' 2 obtained according to the second complex signal 2k+1+ d ', wherein a ' be a opposite number, the opposite number that b ' is b, the opposite number that c ' is c, the opposite number that d ' is d, the first reference value w that described first computing module 13 calculates 1=st=a ' b ' 2 4k+2+ (a ' d '+b ' c ') 2 2k+1+ c ' d '; Described second acquisition module 14 is specifically for obtaining w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of cd; Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit as the imaginary part of product of described first plural number and the second plural number; Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of ab; The value obtaining ab-cd is as the real part of product of described first plural number and the second plural number;
Or the first real part a, the first imaginary part c of the first complex signal that receive at described first receiver module 11, the absolute value of the second real part b of the second complex signal and the second imaginary part d are all less than 2 k-1, and a>=0, during c < 0, b>=0, d < 0, wherein k is nonnegative integer; Described first acquisition module 12 is s=a2 according to the first transformed value that the first complex signal obtains 2k+1+ c ', described the second transformed value t=b2 obtained according to the second complex signal 2k+1+ d ', wherein c ' be c opposite number, the opposite number that d ' is d, the described first reference value w that described first computing module 13 calculates 1=st=ab2 4k+2+ (ad '+bc ') 2 2k+1+ c ' d '; Described second acquisition module 14 is specifically for obtaining w 1the 0th be the value of cd to the nonnegative integer of the formation of the value of 2k-1 bit; Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit, the opposite number obtaining described nonnegative integer is as the imaginary part of the product of described first plural number and the second plural number; Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of ab; The value obtaining ab-cd is as the real part of product of described first plural number and the second plural number;
Or the first real part a, the first imaginary part c of the first complex signal that receive at described first receiver module 11, the absolute value of the second real part b of the second complex signal and the second imaginary part d are all less than 2 k-1, and when a < 0, c>=0, b < 0, d>=0, wherein k is nonnegative integer; Described first acquisition module 12 is s=a ' 2 according to the first transformed value that the first complex signal obtains 2k+1+ c, described the second transformed value t=b ' 2 obtained according to the second complex signal 2k+1+ d, wherein a ' be a opposite number, the opposite number that b ' is b, the described first reference value w that described first computing module 13 calculates 1=st=a ' b ' 2 4k+2+ (a ' d+b ' c) 2 2k+1+ cd; Described second acquisition module 14 is specifically for obtaining w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of cd; Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit, the opposite number obtaining described nonnegative integer is as the imaginary part of the product of described first plural number and the second plural number; Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of ab; The value obtaining ab-cd is as the real part of product of described first plural number and the second plural number;
Or the first real part a, the first imaginary part c of the first complex signal that receive at described first receiver module 11, the absolute value of the second real part b of the second complex signal and the second imaginary part d are all less than 2 k-1, and a>=0, c>=0, during b < 0, d < 0, wherein k is nonnegative integer; Described first acquisition module 12 is s=a2 according to the first transformed value that the first complex signal obtains 2k+1+ c, described the second transformed value t=b ' 2 obtained according to the second complex signal 2k+1+ d ', wherein b ' be b opposite number, the opposite number that d ' is d, the described first reference value w that described first computing module 13 calculates 1=st=ab ' 2 4k+2+ (ad '+b ' c) 2 2k+1+ cd '; Described second acquisition module 14 is specifically for obtaining w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of-cd; Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit, the opposite number obtaining described nonnegative integer is as the imaginary part of the product of described first plural number and the second plural number; Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of-ab; The opposite number obtaining the value of (-ab)-(-cd) is as the real part of product of described first plural number and the second plural number;
Or the first real part a, the first imaginary part c of the first complex signal that receive at described first receiver module 11, the absolute value of the second real part b of the second complex signal and the second imaginary part d are all less than 2 k-1, and when a < 0, c < 0, b>=0, d>=0, wherein k is nonnegative integer; Described first acquisition module 12 is s=a ' 2 according to the first transformed value that the first complex signal obtains 2k+1+ c ', described the second transformed value t=b2 obtained according to the second complex signal 2k+1+ d, wherein a ' be a opposite number, the opposite number that c ' is c, the first reference value w that described first computing module 13 calculates 1=st=a ' b2 4k+2+ (a ' d+bc ') 2 2k+1+ c ' d; Described second acquisition module 14 is specifically for obtaining w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of-cd; Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit, the opposite number obtaining described nonnegative integer is as the imaginary part of the product of described first plural number and the second plural number; Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of-ab; The opposite number obtaining the value of (-ab)-(-cd) is as the real part of product of described first plural number and the second plural number;
Or the first real part a, the first imaginary part c of the first complex signal that receive at described first receiver module 11, the absolute value of the second real part b of the second complex signal and the second imaginary part d are all less than 2 k-1, and a>=0, when c < 0, b < 0, d>=0, wherein k is nonnegative integer; Described first acquisition module 12 is s=a2 according to the first transformed value that the first complex signal obtains 2k+1+ c ', described the second transformed value t=b ' 2 obtained according to the second complex signal 2k+1+ d, wherein c ' be c opposite number, the opposite number that b ' is b, the first reference value w that described first computing module 13 calculates 1=st=ab ' 2 4k+2+ (ad+b ' c ') 2 2k+1+ c ' d; Described second acquisition module 14 is specifically for obtaining w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of-cd; Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit as the imaginary part of product of described first plural number and the second plural number; Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of-ab; The opposite number obtaining the value of x=(-ab)-(-cd) is as the real part of the product of described first plural number and the second plural number;
Or the first real part a, the first imaginary part c of the first complex signal that receive at described first receiver module 11, the absolute value of the second real part b of the second complex signal and the second imaginary part d are all less than 2 k-1, and during a < 0, c>=0, b>=0, d < 0, wherein k is nonnegative integer; Described first acquisition module 12 is s=a ' 2 according to the first transformed value that the first complex signal obtains 2k+1+ c, described the second transformed value t=b2 obtained according to the second complex signal 2k+1+ d ', wherein a ' be a opposite number, the opposite number that d ' is d, the first reference value w that described first computing module 13 calculates 1=st=a ' b2 4k+2+ (a ' d '+bc) 2 2k+1+ cd '; Described second acquisition module 14 is specifically for obtaining w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of-cd; Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit as the imaginary part of product of described first plural number and the second plural number; Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of-ab; The opposite number obtaining the value of (-ab)-(-cd) is as the real part of product of described first plural number and the second plural number;
Or the first real part a, the first imaginary part c of the first complex signal that receive at described first receiver module 11, the absolute value of the second real part b of the second complex signal and the second imaginary part d are all less than 2 k-1, and a>=0, c>=0, b>=0, during d < 0, wherein k is nonnegative integer; Described first acquisition module 12 is s=a2 according to the first transformed value that the first complex signal obtains 2k+1+ c, described the second transformed value t=d ' 2 obtained according to the second complex signal 2k+1+ b, wherein d ' be d opposite number, the first reference value w that described first computing module 13 calculates 1=st=ad ' 2 4k+2+ (ab+cd ') 2 2k+1+ bc; Described second acquisition module 14 is specifically for obtaining w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of bc; Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit as the real part of product of described first plural number and the second plural number; Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of-ad; The opposite number obtaining the value of (-ad)-(bc) is as the imaginary part of product of described first plural number and the second plural number;
Or the first real part a, the first imaginary part c of the first complex signal that receive at described first receiver module 11, the absolute value of the second real part b of the second complex signal and the second imaginary part d are all less than 2 k-1, and a>=0, during c < 0, b>=0, d>=0, wherein k is nonnegative integer; Described first acquisition module 12 is s=c ' 2 according to the first transformed value that the first complex signal obtains 2k+1+ a, described the second transformed value t=b2 obtained according to the second complex signal 2k+1+ d, wherein c ' be c opposite number, the first reference value w that described first computing module 13 calculates 1=st=bc ' 2 4k+2+ (ab+c ' d) 2 2k+1+ ad; Described second acquisition module 14 is specifically for obtaining w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of ad; Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit as the real part of product of described first plural number and the second plural number; Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of-bc; The opposite number obtaining the value of (-bc)-(ad) is as the imaginary part of product of described first plural number and the second plural number;
Or the first real part a, the first imaginary part c of the first complex signal that receive at described first receiver module 11, the absolute value of the second real part b of the second complex signal and the second imaginary part d are all less than 2 k-1, and a>=0, c>=0, during b < 0, d>=0, wherein k is nonnegative integer; Described first acquisition module 12 is s=a2 according to the first transformed value that the first complex signal obtains 2k+1+ c, described the second transformed value t=d2 obtained according to the second complex signal 2k+1+ b ', wherein b ' be b opposite number, the first reference value w that described first computing module 13 calculates 1=st=ad2 4k+2+ (ab '+cd) 2 2k+1+ b ' c; Described second acquisition module 14 is specifically for obtaining w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of-bc; Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit, the opposite number obtaining described nonnegative integer is as the real part of the product of described first plural number and the second plural number; Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of ad; The value obtaining (ad)-(-bc) is as the imaginary part of product of described first plural number and the second plural number;
Or the first real part a, the first imaginary part c of the first complex signal that receive at described first receiver module 11, the absolute value of the second real part b of the second complex signal and the second imaginary part d are all less than 2 k-1, and during a < 0, c>=0, b>=0, d>=0, wherein k is nonnegative integer; Described first acquisition module 12 is s=c2 according to the first transformed value that the first complex signal obtains 2k+1+ a ', described the second transformed value t=b2 obtained according to the second complex signal 2k+1+ d, wherein a ' be a opposite number, the first reference value w that described first computing module 13 calculates 1=st=ad2 4k+2+ (ab '+cd) 2 2k+1+ b ' c; Described second acquisition module 14 is specifically for obtaining w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of-ad; Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit, the opposite number obtaining described nonnegative integer is as the real part of the product of described first plural number and the second plural number; Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of bc; The value obtaining (bc)-(-ad) is as the imaginary part of product of described first plural number and the second plural number;
Or the first real part a, the first imaginary part c of the first complex signal that receive at described first receiver module 11, the absolute value of the second real part b of the second complex signal and the second imaginary part d are all less than 2 k-1, and during a < 0, c < 0, b>=0, d < 0, wherein k is nonnegative integer; Described first acquisition module 12 is s=a ' 2 according to the first transformed value that the first complex signal obtains 2k+1+ c ', described the second transformed value t=d ' 2 obtained according to the second complex signal 2k+1+ b, wherein a ' be a opposite number, the opposite number that c ' is c, the opposite number that d ' is d, the first reference value w that described first computing module 13 calculates 1=st=a ' d ' 2 4k+2+ (a ' b+c ' d ') 2 2k+1+ bc '; Described second acquisition module 14 is specifically for obtaining w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of-bc; Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit, the opposite number obtaining described nonnegative integer is as the real part of the product of described first plural number and the second plural number; Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of ad; The value obtaining (ad)-(-bc) is as the imaginary part of product of described first plural number and the second plural number;
Or the first real part a, the first imaginary part c of the first complex signal that receive at described first receiver module 11, the absolute value of the second real part b of the second complex signal and the second imaginary part d are all less than 2 k-1, and a>=0, during c < 0, b < 0, d < 0, wherein k is nonnegative integer; Described first acquisition module 12 is s=c ' 2 according to the first transformed value that the first complex signal obtains 2k+1+ a, described the second transformed value t=b ' 2 obtained according to the second complex signal 2k+1+ d ', wherein b ' be b opposite number, the opposite number that c ' is c, the opposite number that d ' is d, the first reference value w that described first computing module 13 calculates 1=st=b ' c ' 2 4k+2+ (ab '+c ' d ') 2 2k+1+ ad '; Described second acquisition module 14 is specifically for obtaining w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of-ad; Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit, the opposite number obtaining described nonnegative integer is as the real part of the product of described first plural number and the second plural number; Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of bc; The value obtaining (bc)-(-ad) is as the imaginary part of product of described first plural number and the second plural number;
Or the first real part a, the first imaginary part c of the first complex signal that receive at described first receiver module 11, the absolute value of the second real part b of the second complex signal and the second imaginary part d are all less than 2 k-1, and during a < 0, c < 0, b < 0, d>=0, wherein k is nonnegative integer; Described first acquisition module 12 is s=a ' 2 according to the first transformed value that the first complex signal obtains 2k+1+ c ', described the second transformed value t=d2 obtained according to the second complex signal 2k+1+ b ', wherein a ' be a opposite number, the opposite number that b ' is b, the opposite number that c ' is c, the first reference value w that described first computing module 13 calculates 1=st=a ' d2 4k+2+ (a ' b '+c ' d) 2 2k+1+ b ' c '; Described second acquisition module 14 is specifically for obtaining w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of bc; Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit as the real part of product of described first plural number and the second plural number; Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of-ad; The opposite number obtaining the value of (-ad)-(bc) is as the imaginary part of product of described first plural number and the second plural number;
Or the first real part a, the first imaginary part c of the first complex signal that receive at described first receiver module 11, the absolute value of the second real part b of the second complex signal and the second imaginary part d are all less than 2 k-1, and a>=0, during c < 0, b < 0, d < 0, wherein k is nonnegative integer; Described first acquisition module 12 is s=c ' 2 according to the first transformed value that the first complex signal obtains 2k+1+ a, described the second transformed value t=b ' 2 obtained according to the second complex signal 2k+1+ d ', wherein b ' be b opposite number, the opposite number that c ' is c, the opposite number that d ' is d, the first reference value w that described first computing module 13 calculates 1=st=b ' c ' 2 4k+2+ (ab '+c ' d ') 2 2k+1+ ad '; Described second acquisition module 14 is specifically for obtaining w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of ad; Obtain w 1the nonnegative integer that forms of the value of 2k+1 to 4k+1 bit as the real part of product of described first plural number and the second plural number; Obtain w 14k+2 to 6k+1 bit value form nonnegative integer be the value of-bc; The opposite number obtaining the value of (-bc)-(ad) is as the imaginary part of product of described first plural number and the second plural number.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that programmed instruction is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (12)

1. use a multiplier to realize a method for complex multiplication, it is characterized in that, comprising:
Receive the first complex signal a+ci and the second complex signal b+di, described first complex signal and the second complex signal are all the digital signals that communicates;
Carry out shifting processing according to the first real part a of described first complex signal and the first imaginary part c and obtain the first transformed value s, and carry out shifting processing according to the second real part b of described second complex signal and the second imaginary part d and obtain the second transformed value t;
According to described first transformed value s and described second transformed value t, multiplier is utilized to carry out calculating acquisition first reference value w 1=st;
According to described first reference value w 1obtain the real part of the product of described first plural number and the second plural number, and the imaginary part of the product of described first plural number and the second plural number.
2. use according to claim 1 multiplier realizes the method for complex multiplication, it is characterized in that, first real part a of described first complex signal and the first imaginary part c, and the second real part b of described second complex signal and the absolute value of the second imaginary part d are all less than or equal to 2 k-1-1, wherein k is positive integer; Described the first transformed value s=a2 obtained according to the first complex signal 2k+ c, described the second transformed value t=b2 obtained according to the second complex signal 2k+ d; And described first reference value w 1=st=ab2 4k+ (ad+bc) 2 2k+ cd.
3. use according to claim 2 multiplier realizes the method for complex multiplication, it is characterized in that, according to described first reference value w 1obtain the real part of the product of described first plural number and the second plural number, and the imaginary part of the product of described first plural number and the second plural number comprises:
According to described first reference value w 1obtain the second reference value with the 3rd reference value w 3 = ( w 2 - ( ad + bc ) ) 2 2 k ;
According to described first reference value w 1obtain the product cd of the first imaginary part and the second imaginary part:
At w 1+ (2 2k-1-1), when>=0, w is obtained 1+ (2 2k-1-1) nonnegative number that the value of low 2k bit is formed deducts 2 2k-1the value of-1 is the value of cd;
At w 1+ (2 2k-1-1) during < 0, acquisition-[w 1+ (2 2k-1-1) nonnegative number that the value of low 2k bit] is formed deducts 2 2k-1the opposite number of the value of+1 is the value of cd;
According to described second reference value w 2obtain the product of the first real part and the second imaginary part, and the sum of products ad+bc of the first imaginary part and the second real part is plural as described first and the imaginary part of the product of the second plural number:
At w 2+ (2 2k-1-1), when>=0, w is obtained 2+ (2 2k-1-1) nonnegative number that the value of low 2k bit is formed deducts 2 2k-1the value of-1 is the imaginary part of value as the product of described first plural number and the second plural number of ad+bc;
At w 2+ (2 2k-1-1) during < 0, acquisition-[w 2+ (2 2k-1-1) nonnegative number that the value of low 2k bit] is formed deducts 2 2k-1the opposite number of the value of+1 is the imaginary part of value as the product of described first plural number and the second plural number of ad+bc;
According to described 3rd reference value w 3obtain the product ab of the first real part and the second real part:
At w 3+ (2 2k-1-1), when>=0, w is obtained 3+ (2 2k-1-1) nonnegative number that the value of low 2k bit is formed deducts 2 2k-1the value of-1 is the value of ab;
At w 3+ (2 2k-1-1) during < 0, acquisition-[w 3+ (2 2k-1-1) nonnegative number that the value of low 2k bit] is formed deducts 2 2k-1the opposite number of the value of+1 is the value of ab;
The value obtaining ab-cd is as the real part of product of described first plural number and the second plural number.
4. use according to claim 2 multiplier realizes the method for complex multiplication, it is characterized in that, according to described first reference value w 1obtain the real part of the product of described first plural number and the second plural number, and the imaginary part of the product of the first plural number and the second plural number comprises:
The second reference value is obtained according to described first reference value w1 with the 3rd reference value w 3 = ( w 2 - ( ad + bc ) ) 2 2 k ;
According to described first reference value w 1obtain the product cd of the first imaginary part and the second imaginary part:
Obtain w 1+ (2 2k-1-1)+K i2 2klow 2k bit value form nonnegative number deduct 2 2k-1the value of-1 is the value of cd, wherein K ifor positive integer, and w1+ (2 2k-1-1)+K i2 2k>=0;
According to described second reference value w 2obtain the product of the first real part and the second imaginary part, and the sum of products ad+bc of the first imaginary part and the second real part is plural as described first and the imaginary part of the product of the second plural number:
Obtain w 2+ (2 2k-1-1)+K i2 2klow 2k bit value form nonnegative number deduct 2 2k-1the value of-1 as the imaginary part of the product of described first plural number and the second plural number, wherein K ifor positive integer, and w 2+ (2 2k-1-1)+K i2 2k>=0;
According to described 3rd reference value w 3obtain the product ab of the first real part and the second real part:
Obtain w 3+ (2 2k-1-1)+K i2 2klow 2k bit value form nonnegative number deduct 2 2k-1the value of-1 is the value of ab, wherein K ifor positive integer, and w 3+ (2 2k-1-1)+K i2 2k>=0;
The value obtaining ab-cd is as the real part of product of described first plural number and the second plural number.
5. use according to claim 2 multiplier realizes the method for complex multiplication, it is characterized in that, according to described first reference value w 1obtain the real part of the product of described first plural number and the second plural number, and the imaginary part of the product of described first plural number and the second plural number comprises:
According to described first reference value w 1obtain the second reference value
According to described first reference value w 1obtain the product cd of the first imaginary part and the second imaginary part:
Obtain w 1the signed integer that the value of low 2k bit is formed is the value of cd;
According to described second reference value w 2obtain the product of the first real part and the second imaginary part, and the sum of products ad+bc of the first imaginary part and the second real part is plural as described first and the imaginary part of the product of the second plural number:
Obtain w 2the signed integer that the value of low 2k bit is formed as the imaginary part of the product of described first plural number and the second plural number, and wherein at w 1the value of 2k-1 bit when being 0, w 2value equal w 12k to the value of 6k-1 bit; At w 1the value of 2k-1 bit be 1, w 2value equal w 12k add 1 to the value of 6k-1 bit;
According to described second reference value w 2obtain the product ab of the first real part and the second real part:
At w 2the value of 2k-1 bit when being 0, obtain w 22k to 4k-1 bit value form signed integer be the value of ab, at w 2the value of 2k-1 bit when being 0, obtain w 22k to 4k-1 bit value form signed integer add that 1 signed integer obtained is the value of ab; Wherein, described w 2value equal w when the value of the 2k-1 bit of w1 is 0 12k to the value of 6k-1 bit, at w 1the value of 2k-1 bit be 1, w 2value equal w 12k add 1 to the value of 6k-1 bit;
The value obtaining ab-cd is as the real part of product of described first plural number and the second plural number.
6. use according to claim 1 multiplier realizes the method for complex multiplication, it is characterized in that, is is more than or equal to 0 and is less than or equal in the value of the first real part a, the first imaginary part c, the second real part b and the second imaginary part d integer time, described according to first complex signal obtain the first transformed value s=a2 2k+ c, described the second transformed value t=b2 obtained according to the second complex signal 2k+ d; And described first reference value w 1=st=ab2 4k+ (ad+bc) 2 2k+ cd, wherein k is positive integer;
According to described first reference value w 1obtain the real part of the product of described first plural number and the second plural number, and the imaginary part of the product of described first plural number and the second plural number comprises:
Obtain w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of cd;
Obtain w 1the nonnegative integer that forms of the value of 2k to 4k-1 bit as the imaginary part of product of described first plural number and the second plural number;
Obtain w 14k to 6k-1 bit value form nonnegative integer be the value of ab;
The value obtaining ab-cd is as the real part of product of described first plural number and the second plural number.
7. use a multiplier to realize a device for complex multiplication, it is characterized in that, comprising:
First receiver module, for receiving the first complex signal a+ci and the second complex signal b+di, described first complex signal and the second complex signal are all the digital signals that communicates;
First acquisition module, obtain the first transformed value s for carrying out shifting processing according to the first real part a of described first complex signal and the first imaginary part c, and carry out shifting processing according to the second real part b of described second complex signal and the second imaginary part d and obtain the second transformed value t;
First computing module, for according to described first transformed value s and described second transformed value t, utilizes multiplier to carry out calculating acquisition first reference value w 1=st;
Second acquisition module, for according to described first reference value w 1obtain the real part of the product of described first plural number and the second plural number, and the imaginary part of the product of described first plural number and the second plural number.
8. use according to claim 7 multiplier realizes the device of complex multiplication, it is characterized in that, first real part a and the first imaginary part c of the first complex signal that described first receiver module receives, and the second real part b of described second complex signal and the absolute value of the second imaginary part d are all less than or equal to 2 k-1-1, wherein k is positive integer; The first transformed value s=a2 that described first acquisition module obtains according to the first complex signal 2k+ c, described the second transformed value t=b2 obtained according to the second complex signal 2k+ d; The first reference value w that described first computing module calculates 1=st=ab2 4k+ (ad+bc) 2 2k+ cd.
9. use according to claim 8 multiplier realizes the device of complex multiplication, it is characterized in that, described second acquisition module comprises:
First reference value acquiring unit, for according to described first reference value w 1obtain the second reference value w 2 = ( w 1 - cd ) 2 2 k With the 3rd reference value w 3 = ( w 2 - ( ad + bc ) ) 2 2 k ;
First coefficient acquiring unit, for according to described first reference value w 1obtain the product cd of the first imaginary part and the second imaginary part, namely at w 1+ (2 2k-1-1), when>=0, w is obtained 1+ (2 2k-1-1) nonnegative number that the value of low 2k bit is formed deducts 2 2k-1the value of-1 is the value of cd, at w 1+ (2 2k-1-1) during < 0, acquisition-[w 1+ (2 2k-1-1) nonnegative number that the value of low 2k bit] is formed deducts 2 2k-1the opposite number of the value of+1 is the value of cd; According to described second reference value w 2obtain the product of the first real part and the second imaginary part, and the sum of products ad+bc of the first imaginary part and the second real part is plural as described first and the imaginary part of the product of the second plural number, namely at w 2+ (2 2k-1-1), when>=0, w is obtained 2+ (2 2k-1-1) nonnegative number that the value of low 2k bit is formed deducts 2 2k-1the value of-1 as the imaginary part of the product of described first plural number and the second plural number, at w 2+ (2 2k-1-1) during < 0, acquisition-[w 2+ (2 2k-1-1) nonnegative number that the value of low 2k bit] is formed deducts 2 2k-1the opposite number of the value of+1 is as the imaginary part of the product of described first plural number and the second plural number; According to described 3rd reference value w 3obtain the product ab of the first real part and the second real part, namely at w 3+ (2 2k-1-1), when>=0, w is obtained 3+ (2 2k-1-1) nonnegative number that the value of low 2k bit is formed deducts 2 2k-1the value of-1 is the value of ab, at w 3+ (2 2k-1-1) during < 0, acquisition-[w 3+ (2 2k-1-1) nonnegative number that the value of low 2k bit] is formed deducts 2 2k-1the opposite number of the value of+1 is the value of ab; The value obtaining ab-cd is as the real part of product of described first plural number and the second plural number.
10. use according to claim 8 multiplier realizes the device of complex multiplication, it is characterized in that, described second acquisition module comprises:
First reference value acquiring unit, for according to described first reference value w 1obtain the second reference value w 2 = ( w 1 - cd ) 2 2 k With the 3rd reference value w 3 = ( w 2 - ( ad + bc ) ) 2 2 k ;
Second coefficient acquiring unit, for according to described first reference value w 1obtain the product cd of the first imaginary part and the second imaginary part, namely obtain w 1+ (2 2k-1-1)+K i2 2klow 2k bit value form nonnegative number deduct 2 2k-1the value of-1 is the value of cd, wherein K ifor positive integer, and w 1+ (2 2k-1-1)+K i2 2k>=0; Obtain the product of the first real part and the second imaginary part according to described second reference value, and the sum of products ad+bc of the first imaginary part and the second real part is plural as described first and the imaginary part of the product of the second plural number, namely obtains w 2+ (2 2k-1-1)+K i2 2klow 2k bit value form nonnegative number deduct 2 2k-1the value of-1 as the imaginary part of the product of described first plural number and the second plural number, wherein K ifor positive integer, and w 2+ (2 2k-1-1)+K i2 2k>=0; And the product ab of the first real part and the second real part is obtained according to described 3rd reference value, namely obtain w 3+ (2 2k-1-1)+K i2 2klow 2k bit value form nonnegative number deduct 2 2k-1the value of-1 is the value of ab, wherein K ifor positive integer, and w 3+ (2 2k-1-1)+K i2 2k>=0; The value obtaining ab-cd is as the real part of product of described first plural number and the second plural number.
11. uses according to claim 8 multiplier realizes the device of complex multiplication, and it is characterized in that, described second acquisition module comprises:
Second reference value acquiring unit, for according to described first reference value w 1obtain the second reference value w 2 = ( w 1 - cd ) 2 2 k ;
3rd coefficient acquiring unit, for according to described first reference value w 1obtain the product cd of the first imaginary part and the second imaginary part, namely obtain w 1the signed integer that the value of low 2k bit is formed is the value of cd; According to described second reference value w 2obtain the product of the first real part and the second imaginary part, and the sum of products ad+bc of the first imaginary part and the second real part is plural as described first and the imaginary part of the product of the second plural number, namely obtains w 2the signed integer that the value of low 2k bit is formed as the imaginary part of the product of described first plural number and the second plural number, and wherein at w 1the value of 2k-1 bit when being 0, w 2value equal w 12k to the value of 6k-1 bit; At w 1the value of 2k-1 bit be 1, w 2value equal w 12k add 1 to the value of 6k-1 bit; According to described second reference value w 2obtain the product ab of the first real part and the second real part, namely at w 2the value of 2k-1 bit when being 0, obtain w 22k to 4k-1 bit value form signed integer be the value of ab, at w 2the value of 2k-1 bit when being 0, obtain w 22k to 4k-1 bit value form signed integer add that 1 signed integer obtained is the value of ab; Wherein, described w 2value at w 1the value of 2k-1 bit equal w when being 0 12k to the value of 6k-1 bit, at w 1the value of 2k-1 bit be 1, w 2value equal w 12k add 1 to the value of 6k-1 bit; The value obtaining ab-cd is as the real part of product of described first plural number and the second plural number.
12. uses according to claim 7 multiplier realizes the device of complex multiplication, it is characterized in that, first real part a, the first imaginary part c of the first complex signal that described first receiver module receives, the second real part b of the second complex signal and the value of the second imaginary part d are the integer being more than or equal to 0, the first transformed value s=a2 that described first acquisition module obtains according to the first complex signal 2k+ c, described the second transformed value t=b2 obtained according to the second complex signal 2k+ d, and the first reference value w that described first computing module calculates 1=st=ab2 4k+ (ab+bc) 2 2k+ cd, wherein k is positive integer;
Described second acquisition module is specifically for obtaining w 1the 0th nonnegative integer formed to the value of 2k-1 bit be the value of cd, obtain w 1the nonnegative integer that forms of the value of 2k to 4k-1 bit as the imaginary part of product of described first plural number and the second plural number, acquisition w 14k to 6k-1 bit value form nonnegative integer be the value of ab; The value obtaining ab-cd is as the real part of product of described first plural number and the second plural number.
CN201280000316.XA 2012-03-30 2012-03-30 Method and device for using one multiplier to implement multiplication of complex numbers Active CN102741805B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/073320 WO2012103843A2 (en) 2012-03-30 2012-03-30 Method and device for using one multiplier to implement multiplication of complex numbers

Publications (2)

Publication Number Publication Date
CN102741805A CN102741805A (en) 2012-10-17
CN102741805B true CN102741805B (en) 2015-04-08

Family

ID=46603143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201280000316.XA Active CN102741805B (en) 2012-03-30 2012-03-30 Method and device for using one multiplier to implement multiplication of complex numbers

Country Status (2)

Country Link
CN (1) CN102741805B (en)
WO (1) WO2012103843A2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107615389B (en) * 2016-02-25 2021-04-13 慧与发展有限责任合伙企业 Memristive multiplication device, method for complex multiplication accumulation operation and memristive array

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19844139C2 (en) * 1998-09-25 2003-12-04 Siemens Ag Device and method for performing complex multiplication for specific sets of values
CN101685385A (en) * 2008-09-28 2010-03-31 北京大学深圳研究生院 Complex multiplier

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7072929B2 (en) * 2000-11-01 2006-07-04 Pts Corporation Methods and apparatus for efficient complex long multiplication and covariance matrix implementation
US7174356B2 (en) * 2003-06-24 2007-02-06 Motorola, Inc. Complex multiplication method and apparatus with phase rotation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19844139C2 (en) * 1998-09-25 2003-12-04 Siemens Ag Device and method for performing complex multiplication for specific sets of values
CN101685385A (en) * 2008-09-28 2010-03-31 北京大学深圳研究生院 Complex multiplier

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Man Yan Kong et.al.Efficient FPGA implementation of complex multipliers using the logarithmic number system.《Circuits and Systems,2008.ISCAS 2008》.2008,第2008年卷3154-3157. *

Also Published As

Publication number Publication date
WO2012103843A3 (en) 2013-02-21
CN102741805A (en) 2012-10-17
WO2012103843A2 (en) 2012-08-09

Similar Documents

Publication Publication Date Title
CN109062610A (en) Processing with Neural Network device and its method for executing Givens rotation instruction
CN102681815B (en) By the method having symbol multiply accumulating algorithm of totalizer tree structure
CN106445471A (en) Processor and method for executing matrix multiplication on processor
CN106951211B (en) A kind of restructural fixed and floating general purpose multipliers
CN108021537A (en) A kind of softmax implementations based on hardware platform
CN105528191A (en) Data accumulation apparatus and method, and digital signal processing device
CN103294445B (en) Produce the apparatus and method of the partial product for multinomial operation
CN102298570A (en) Hybrid-radix fast Fourier transform (FFT)/inverse fast Fourier transform (IFFT) implementation device with variable counts and method thereof
CN102087740A (en) Texture unit for general purpose computing
Pilipchuk Sparse Linear Systems and Their Applications
CN102043760A (en) Data processing method and system
Park Guaranteed-stable sliding DFT algorithm with minimal computational requirements
CN109284083A (en) A kind of multiplier unit and method
CN105913118A (en) Artificial neural network hardware implementation device based on probability calculation
CN110688817A (en) Five-dimensional four-wing memristor hyperchaotic system and design, analysis and implementation method thereof
CN102025676A (en) Method and device for realizing 1536-point FFT/IFFT
CN100383781C (en) Cholesky decomposition algorithm device
CN101848319B (en) Fractional calculus filter of digital images of high-precision computation
CN107992284A (en) A kind of division function implementation method of programming device
CN102741805B (en) Method and device for using one multiplier to implement multiplication of complex numbers
CN105099467A (en) QC-LDPC code coding method and device
CN109740740A (en) The fixed point accelerating method and device of convolutional calculation
Benioff New gauge field from extension of space time parallel transport of vector spaces to the underlying number systems
CN104731551B (en) The method and device of divide operations is carried out based on FPGA
CN101840322B (en) The arithmetic system of the method that filter arithmetic element is multiplexing and wave filter

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant