CN101320417A - Squarer circuit and implementing method thereof - Google Patents

Squarer circuit and implementing method thereof Download PDF

Info

Publication number
CN101320417A
CN101320417A CNA2008101344063A CN200810134406A CN101320417A CN 101320417 A CN101320417 A CN 101320417A CN A2008101344063 A CNA2008101344063 A CN A2008101344063A CN 200810134406 A CN200810134406 A CN 200810134406A CN 101320417 A CN101320417 A CN 101320417A
Authority
CN
China
Prior art keywords
item
result
mutually
add
involution
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.)
Granted
Application number
CNA2008101344063A
Other languages
Chinese (zh)
Other versions
CN100590636C (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 Device Co Ltd
Original Assignee
Shenzhen Huawei Communication 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 Shenzhen Huawei Communication Technologies Co Ltd filed Critical Shenzhen Huawei Communication Technologies Co Ltd
Priority to CN200810134406A priority Critical patent/CN100590636C/en
Publication of CN101320417A publication Critical patent/CN101320417A/en
Application granted granted Critical
Publication of CN100590636C publication Critical patent/CN100590636C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a realization circuit for a squarer, which comprises: an acquisition module that is used to acquire a mutual multiply item, square item and supplement item according to the input symbolic number during the squaring process; a first sum module that sums up the mutual multiply item attained by the acquisition module and generates a first sum result; a second sum module that sums up the first sum result attained by the first sum module and the square item attained by the acquisition module and generates a second sum result; a third sum module that sums up the second sum result attained by the second sum module and the supplement item attained by the acquisition module and generates a third sum result; a combination module that combines the third sum result attained by the third sum module and a lower 2bit digit and generates a square result for the symbolic number. Therefore, the invention simplifies the circuit structure for realizing the squarer and greatly saves the circuit resources.

Description

A kind of square circuit and implementation method
Technical field
The embodiment of the invention relates to circuit design field, particularly relates to a kind of square circuit and implementation method.
Background technology
Squarer is one of widely used typical circuit of science and technology field, in the side circuit design, can adopt multiplier to realize squarer or employing look-up table realization squarer.
Wherein, the implementation structure of employing multiplier comprises an absolute value realization circuit and a multiplier as shown in Figure 1, and the implementation procedure of squarer is as follows, describes as the input data instance with the 4bit signed number.
At first, the binary expression formula of the input data A of 4bit signed number is as follows:
A=a 3×2 3+a 2×2 2+a 1×2 1+a 0×2 0
A wherein i=0 or 1, i=0,1,2,3;
The first step: utilize absolute value realization circuit that input data A is asked for and export absolute value, promptly obtain importing the complement code of data according to sign bit, the complement code that obtains can be expressed as a 4bit unsigned number.The expression formula of this implementation procedure is as follows:
abs(A)=(a 2^a 3)×2 2+(a 1^a 3)×2 1+(a 0^a 3)×2 0+a 3
=b 3×2 3+b 2×2 2+b 1×2 1+b 0×2 0
Wherein ^ represents XOR gate, b i=0 or 1, i=0,1,2,3;
Second step: utilize multiplier absolute value is realized everybody of 4bit unsigned number of circuit output launch and add and, export final square result.The expression formula of this implementation procedure is as follows:
A 2=(b 3&b 3+b 2&b 3+b 1&b 3+b 0&b 3)×2 3+(b 3&b 2+b 2&b 2+b 1&b 2+b 0&b 2)×2 2+
(b 3&b 1+b 2&b 1+b 1&b 1+b 0&b 1)×2 1+(b 3&b 0+b 2&b 0+b 1&b 0+b 0&b 0)×2 0
Qi Zhong ﹠amp; Expression and door ,+expression or door.
In the scheme of above-mentioned employing multiplier, need 3 XOR gate and 1 4bit totalizer in the first step, wherein 1 XOR gate can equivalence be 3 not gates and 2 and door; Need 16 and door and 4 7bit totalizers in second step.Therefore, need 9 not gates, 22 and door, 1 4bit totalizer and 4 7bit totalizers altogether, the wasting of resources is more serious.
The implementation structure of employing look-up table as shown in Figure 2, squarer comprises an input port and an output port, also need to comprise storage unit, be used to store square result of corresponding input data, storage unit adopts ROM (Read-Only Memory usually, ROM (read-only memory)) or RAM (Random AccessMemory, random access memory).
For adopting look-up table to realize the method for squarer, when the input bit wide is 12bit, need 2 12Individual storage unit needs promptly that the degree of depth is 4096, bit wide is 23 ROM or RAM, and the resource that takies is very huge.
In realizing process of the present invention, the inventor finds that there is following shortcoming in above prior art: the method wasting of resources of the prior art is all compared seriously.
Summary of the invention
The embodiment of the invention provides a kind of square circuit and implementation method, to save the resource that realizes square circuit.
In order to reach above purpose, the embodiment of the invention provides a kind of realization circuit of squarer, comprising: acquisition module is used for signed number according to input and obtains the taking advantage of mutually of square process, involution item and addition item; First adds and module, is used for taking advantage of mutually of obtaining of described acquisition module summed up, and obtains first and adds and the result, and described first adds with the result and be adding and the result of taking advantage of mutually; Second adds and module, is used for adding and involution item that result and described acquisition module obtain sums up described first, obtains second and adds and the result, and described second adds with the result and add and the adding and the result of result and involution item for described first; The 3rd adds and module, is used for adding and addition item that result and described acquisition module obtain sums up described second, obtains the 3rd and adds and the result, and the described the 3rd adds with the result and add and the adding and the result of result and addition item for described second; Merge module, be used for adding with result and low 2bit position and merge, obtain square result of described signed number the described the 3rd.
The embodiment of the invention also provides a kind of implementation method of squarer, comprising: obtain according to the signed number of importing and take advantage of item, involution item, addition item in square process mutually; The described item of taking advantage of is mutually summed up, obtain first and add and the result; Add with result and described involution item described first and to sum up, obtain second and add and the result; Add with result and described addition item described second and to sum up, obtain the 3rd and add and the result; Add with result and low 2bit position the described the 3rd and to merge, obtain square result of described signed number.
In the embodiment of the invention,, compare and adopt multiplier and look-up table, saved the hardware circuit resource greatly by adopting the squarer universal circuit of this paper mode.
Description of drawings
Fig. 1 is the structural drawing that the available technology adopting multiplier is realized squarer;
Fig. 2 is the structural drawing that the available technology adopting look-up table is realized squarer;
Fig. 3 is the realization circuit structure diagram of the embodiment of the invention one 4bit signed number squarer;
Fig. 4 is the derivation figure of acquisition module in the embodiment of the invention one;
Fig. 5 is the realization circuit structure diagram of the embodiment of the invention two n bit signed number squarers;
Fig. 6 is the process flow diagram of the embodiment of the invention three squarer implementation methods.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail:
The embodiment of the invention one provides a kind of realization circuit of 4bit signed number squarer, and the binary expression formula of 4bit signed number is:
A=a 3×2 3+a 2×2 2+a 1×2 1+a 0×2 0
A wherein i=0 or 1, i=0,1,2,3;
As shown in Figure 3, this circuit comprises: acquisition module 310, the first adds to add with module 330, the three with module 320, the second and adds and module 340, merges module 350.
Wherein, acquisition module 310 is used for according to input data taking advantage of mutually of obtaining that square process occurs, involution item and addition item, and input end is the value of every numerical digit of 4bit signed number: a 3, a 2, a 1, a 0, output terminal is taking advantage of mutually of occurring in square process, involution item and addition item.
As shown in Figure 4, acquisition module 310 specifically comprises:
The submodule 410 that multiplies each other is used for described 4bit signed number A is carried out from multiplying each other, wherein with sign bit a according to the binary expansion mode 3Relevant item all needs negate, this result with earlier A is taken absolute value after the multiply each other result that obtains identical;
Addition submodule 420 is used for the rule according to binary addition, and promptly identical two additions be equivalent to move to left 1bit and involution item equals multiplier itself, and every data that the submodule 410 that multiplies each other obtains are sued for peace.A as shown in Figure 4 1﹠amp; a 0, a 2﹠amp; a 0, a 3﹠amp; a 0, a 3﹠amp; a 1, a 3﹠amp; a 2, a 2﹠amp; a 1Every 1bit that all is moved to the left, each involution item is a simultaneously 0﹠amp; a 0, a 1﹠amp; a 1, a 2﹠amp; a 2, a 3﹠amp; a 3Every a that is expressed as respectively 0, a 1, a 2, a 3
Combination submodule 430 is used for every data that addition submodule 420 obtains are made up according to data structure, and the data with same structure are formed a class, and preferentially the numerical digit of each addend in each class are filled up, to reach the unification of arithmetic element structure.Making up the data that 430 pairs of addition submodules 420 of submodule obtain as seen from Figure 4 makes up according to data structure, data with same structure are formed a class, be combined as the involution item, take advantage of and addition item three classes mutually, and preferentially the numerical digit of each addend in each class is filled up, to not exist involution item and the position of taking advantage of item mutually to fill out 0 in the merging process, and economize lower slightly 2bit position.
Acquisition module 310 is taken advantage of { an a mutually 3﹠amp; a 2, a 3﹠amp; a 1, a 3﹠amp; a 0, a 2﹠amp; a 0, a 1﹠amp; a 0With 0,0, a 2﹠amp; a 1, 0,0}, involution item { a 3, 0, a 2, 0, a 1, { 0,0,1,0,0} adds to add with module the 330, the 3rd with module 320, second as first respectively and adds input data with module 340 addition item.Output data expression formula by acquisition module 310 realizes that as can be seen the circuit of this module needs 6 and door and 3 not gates altogether.
First adds and module 320, be used for acquisition module 310 is obtained two take advantage of mutually to sum up, need 1 5bit totalizer, input end is that two of obtaining of acquisition module 310 take advantage of item mutually, output terminal is first to add and the result, and described first adds with the result and be adding and the result of taking advantage of mutually.
Second adds and module 330, is used for adding the involution item that obtains with result and acquisition module 310 to described first and sums up, and needs 1 5bit totalizer, and input end is described first to add the involution item { a that obtains with result and acquisition module 310 3, 0, a 2, 0, a 1, output terminal is second to add and the result, described second adds with the result and adds and the adding and the result of result and involution item for described first.
The 3rd adds and module 340, being used for adding the addition item that obtains with result and acquisition module 310 to described second sums up, need 1 5bit totalizer, input end is described second to add the addition item { 0,0,1 that obtains with result and acquisition module 310,0,0}, output terminal the 3rd add and the result, and the described the 3rd adds with the result and add and the adding and the result of result and addition item for described second.
Merge module 350, be used for adding and result and low 2bit{0, a the described the 3rd 0Merge, input end is the described the 3rd to add and result and low 2bit{0, a 0, output terminal is square result of this 4bit signed number.
As mentioned above, the circuit structure that this squarer is realized only needs 6 and door, 3 not gates and 3 5bit totalizers, has therefore compared with prior art saved the hardware circuit resource in a large number.
The embodiment of the invention two provides a kind of realization circuit of n bit signed number squarer, present embodiment is the popularization to the realization circuit of above-mentioned 4bit signed number squarer, as shown in Figure 5, comprising: acquisition module 510, first adds to add with module 520, second and adds with module the 530, the 3rd and module 540 and merge module 550.
Wherein, acquisition module 510 is used for obtaining that input data square process occurs takes advantage of mutually, involution item and addition item, and input end is the value of every numerical digit of n bit signed number, and output terminal is taking advantage of mutually in square process, involution item and addition item.
Acquisition module 510 specifically comprises:
The submodule that multiplies each other is used for the input data are carried out from multiplying each other, wherein with sign bit a according to the binary expansion mode nRelevant item all needs negate, this result with earlier described n bit signed number is taken absolute value after the multiply each other result that obtains identical.Input end is described n bit signed number, and output terminal is for importing data from multiplied result.
The addition submodule is used for the rule according to binary addition, and promptly identical two additions be equivalent to move to left 1bit and involution item equals multiplier itself, and the result that the described submodule that multiplies each other is obtained sues for peace.Input end is the result that the described submodule that multiplies each other obtains, and output terminal is the result's that obtains of the described submodule that multiplies each other a summed result.
The combination submodule, be used for the result that described addition submodule obtains is made up according to data structure, data with same structure are formed a class, and preferentially the numerical digit of each addend in each class is filled up, to reach the unification of arithmetic element structure, to not exist involution item and the position of taking advantage of item mutually to fill out 0 in the merging process, and economize lower slightly 2bit position.Input end is the result that described addition submodule obtains, and output terminal is the combined result of the data that obtain of described addition submodule.The data that described addition submodule obtains can be combined as the involution item, take advantage of and addition item three classes mutually.
The involution item that acquisition module 510 obtains is:
{a n-1,0,a n-2,0,a n-3,......,0,a 2,0,a 1},
Wherein ", " represents the position connector.
The item of taking advantage of mutually that obtains is:
When n was even number, taking advantage of an item number mutually was n/2, every as follows:
The 1st: { a N-1a N-2, a N-1a N-3, a N-1a N-4..., a N-1a 0, a N-2a 0, a N-3a 0, a N-4a 0..., a 1a 0;
The 2nd: { a N-2a N-3, a N-2a N-4, a N-2a N-5..., a N-2a 1, a N-3a 1, a N-4a 1, a N-5a 1..., a 2a 1, 0,0};
The 3rd: { a N-3a N-4, a N-3a N-5, a N-3a N-6..., a N-3a 2, a N-4a 2, a N-5a 2, a N-6a 2..., a 3a 2, 0,0,0,0};
N/2 item: { a N/2a N/2-1, 0,0,0 ..., 0} wherein has n-2 individual 0.
When n is odd number, take advantage of an item number to be (n-1)/2 mutually, every as follows:
The 1st: { a N-1a N-2, a N-1a N-3, a N-1a N-4..., a N-1a 0, a N-2a 0, a N-3a 0, a N-4a 0..., a 1a 0;
The 2nd: { a N-2a N-3, a N-2a N-4, a N-2a N-5..., a N-2a 1, a N-3a 1, a N-4a 1, a N-5a 1..., a 2a 1, 0,0};
The 3rd: { a N-3a N-4, a N-3a N-5, a N-3a N-6..., a N-3a 2, a N-4a 2, a N-5a 2, a N-6a 2..., a 3a 2, 0,0,0,0};
(n-1)/2: { a (n+1)/2a (n-1)/2, a (n+1)/2a (n-3)/2, a (n-1)/2a (n-3)/2, 0,0,0 ..., 0} wherein has (n-3) individual 0.
The addition item that obtains is:
{1,0,0,0,......,0},
N-2 individual 0 is wherein arranged.
First adds and module 520, be used for acquisition module 510 is obtained two takes advantage of mutually to sum up, and input end is that two of obtaining of acquisition module 510 take advantage of item mutually, and output terminal is first to add and the result, and described first adds with the result and be adding and the result of taking advantage of mutually.
Second adds and module 530, being used for adding the involution item that obtains with result and acquisition module 510 to described first sums up, input end is described first to add the involution item that obtains with result and acquisition module 510, output terminal is second to add and the result, and described second adds with the result and add and the adding and the result of result and involution item for described first.
The 3rd adds and module 540, being used for adding the addition item that obtains with result and acquisition module 510 to described second sums up, input end is second to add the addition item that obtains with result and acquisition module 510, output terminal is the 3rd to add and the result, and the described the 3rd adds with the result and add and the adding and the result of result and addition item for described second.
Merge module 550, be used for the described the 3rd in conjunction with result and low 2bit{0, a 0Merge, input end is the described the 3rd to add and result and low 2bit{0, a 0, output terminal is square result of described n bit signed number.
When n was even number, the realization circuit of the embodiment of the invention two needed (2n-3) bit totalizer n/2+1 altogether; When n was odd number, the realization circuit of the embodiment of the invention two needed (2n-3) bit totalizer (n+1)/2 altogether.
The embodiment of the invention three provides a kind of implementation method of squarer, as shown in Figure 6, comprising:
Step 601: obtain according to the signed number that receives and to take advantage of item, involution item, addition item mutually in square process;
Wherein, step 601 can also comprise following three steps:
Step 601A: the signed number that receives is carried out from multiplying each other according to the binary expansion mode, and the item relevant with sign bit all needs negate;
Step 601B: every data that step 601A is obtained sum up;
Step 601C: every data that step 601B is obtained make up according to data structure, data with same structure are formed a class, taken advantage of item, involution item and addition item three classes mutually, and preferentially the numerical digit of each addend in each class is filled up, to not exist involution item and the position of taking advantage of item mutually to fill out 0 in the merging process, and economize lower slightly 2bit position.
Step 602: taking advantage of mutually of obtaining of step 601C summed up, obtain first and add and the result, described first adds with the result and is adding and the result of taking advantage of mutually;
Step 603: first add the involution item that obtains with result and step 601C and sum up what step 602 obtained, obtain second and add and the result, this second adds with the result and adds and the adding and the result of result and involution item for described first;
Step 604: second add the addition item that obtains with result and step 601C and sum up what step 603 obtained, obtain the 3rd and add and the result, the described the 3rd adds with the result and adds and the adding and the result of result and addition item for described second;
Step 605: the 3rd add with result and low 2bit position and merge what step 604 obtained, obtain receiving square result of data.
The technical scheme of the embodiment of the invention adopts above-described squarer universal circuit design architecture, has reached the effect of saving the hardware circuit resource.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize based on such understanding by the mode that software adds necessary general hardware platform, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.

Claims (8)

1, a kind of realization circuit of squarer is characterized in that, comprising:
Acquisition module is used for signed number according to input and obtains the taking advantage of mutually of square process, involution item and addition item;
First adds and module, is used for taking advantage of mutually of obtaining of described acquisition module summed up, and obtains first and adds and the result, and described first adds with the result and be adding and the result of taking advantage of mutually;
Second adds and module, is used for adding and involution item that result and described acquisition module obtain sums up described first, obtains second and adds and the result, and described second adds with the result and add and the adding and the result of result and involution item for described first;
The 3rd adds and module, is used for adding and addition item that result and described acquisition module obtain sums up described second, obtains the 3rd and adds and the result, and the described the 3rd adds with the result and add and the adding and the result of result and addition item for described second;
Merge module, be used for adding with result and low 2bit position and merge, obtain square result of described signed number the described the 3rd.
2, the realization circuit of squarer according to claim 1 is characterized in that described acquisition module comprises:
The submodule that multiplies each other is used for described signed number is carried out from multiplying each other according to the binary expansion mode, and to the negate relevant with sign bit;
The addition submodule is used for every data that the described submodule that multiplies each other obtains are sued for peace;
The combination submodule is used for every data that described addition submodule obtains are made up.
3, as the realization circuit of squarer as described in the claim 2, it is characterized in that described combination submodule is the first combination submodule, is used for making up according to data structure, data with same structure are formed a class, and preferentially the numerical digit of each addend in each class are filled up; To not exist involution item and the position of taking advantage of item mutually to fill out 0, and economize lower slightly 2bit position.
4, the realization circuit of squarer according to claim 1 is characterized in that,
The described item of taking advantage of mutually is:
When n was even number, wherein n was the bit wide of the signed number of input, and taking advantage of an item number mutually is n/2, every as follows:
The 1st: { a N-1a N-2, a N-1a N-3, a N-1a N-4..., a N-1a 0, a N-2a 0, a N-3a 0, a N-4a 0..., a 1a 0;
The 2nd: { a N-2a N-3, a N-2a N-4, a N-2a N-5..., a N-2a 1, a N-3a 1, a N-4a 1, a N-5a 1... .., a 2a 1, 0,0};
The 3rd: { a N-3a N-4, a N-3a N-5, a N-3a N-6..., a N-3a 2, a N-4a 2, a N-5a 2, a N-6a 2..., a 3a 2, 0,0,0,0};
......
N/2 item: { a N/2a N/2-1, 0,0,0 ..., 0} wherein has n-2 individual 0;
When n is odd number, take advantage of an item number to be (n-1)/2 mutually, every as follows:
The 1st: { a N-1a N-2, a N-1a N-3, a N-1a N-4..., a N-1a 0, a N-2a 0, a N-3a 0, a N-4a 0..., a 1a 0;
The 2nd: { a N-2a N-3, a N-2a N-4, a N-2a N-5..., a N-2a 1, a N-3a 1, a N-4a 1, a N-5a 1..., a 2a 1, 0,0};
The 3rd: { a N-3a N-4, a N-3a N-5, a N-3a N-6..., a N-3a 2, a N-4a 2, a N-5a 2, a N-6a 2..., a 3a 2, 0,0,0,0};
......
(n-1)/2: { a (n+1)/2a (n-1)/2, a (n+1)/2a (n-3)/2, a (n-1)/2a (n-3)/2, 0,0,0 ..., 0} wherein has (n-3) individual 0;
Described involution item is:
{a n-1,0,a n-2,0,a n-3,......,0,a 2,0,a 1},
Wherein ", " represents the position connector;
Described addition item is:
{1,0,0,0,......,0},
N-2 individual 0 is wherein arranged.
5, a kind of implementation method of squarer is characterized in that, comprising:
Signed number according to input obtains and takes advantage of item, involution item, addition item in square process mutually;
The described item of taking advantage of is mutually summed up, obtain first and add and the result;
Add with result and described involution item described first and to sum up, obtain second and add and the result;
Add with result and described addition item described second and to sum up, obtain the 3rd and add and the result;
Add with result and low 2bit position the described the 3rd and to merge, obtain square result of described signed number.
As the implementation method of squarer as described in the claim 5, it is characterized in that 6, described signed number according to input obtains takes advantage of item, involution item, addition item to comprise mutually in square process:
Described signed number is carried out multiplying each other certainly according to the binary expansion mode, and to the item negate relevant with sign bit;
The every data that obtain multiplying each other certainly sum up;
The every data that add and obtain are made up.
7, as the implementation method of squarer as described in the claim 5, it is characterized in that, the described every data that add and obtain are made up comprises: make up according to data structure, the data with same structure are formed a class, and preferentially the numerical digit of each addend in each class are filled up; To not exist involution item and the position of taking advantage of item mutually to fill out 0, and economize lower slightly 2bit position.
8, as implementation method as described in the claim 5, it is characterized in that,
The described item of taking advantage of mutually is:
When n was even number, wherein n was the bit wide of the signed number of input, and taking advantage of an item number mutually is n/2, every as follows:
The 1st: { a N-1a N-2, a N-1a N-3, a N-1a N-4..., a N-1a 0, a N-2a 0, a N-3a 0, a N-4a 0..., a 1a 0;
The 2nd: { a N-2a N-3, a N-2a N-4, a N-2a N-5..., a N-2a 1, a N-3a 1, a N-4a 1, a N-5a 1..., a 2a 1, 0,0};
The 3rd: { a N-3a N-4, a N-3a N-5, a N-3a N-6..., a N-3a 2, a N-4a 2, a N-5a 2, a N-6a 2..., a 3a 2, 0,0,0,0};
......
N/2 item: { a N/2a N/2-1, 0,0,0 ..., 0} wherein has n-2 individual 0;
When n is odd number, take advantage of an item number to be (n-1)/2 mutually, every as follows:
The 1st: { a N-1a N-2, a N-1a N-3, a N-1a N-4..., a N-1a 0, a N-2a 0, a N-3a 0, a N-4a 0..., a 1a 0;
The 2nd: { a N-2a N-3, a N-2a N-4, a N-2a N-5..., a N-2a 1, a N-3a 1, a N-4a 1, a N-5a 1..., a 2a 1, 0,0};
The 3rd: { a N-3a N-4, a N-3a N-5, a N-3a N-6..., a N-3a 2, a N-4a 2, a N-5a 2, a N-6a 2..., a 3a 2, 0,0,0,0};
......
(n-1)/2: { a (n+1)/2a (n-1)/2, a (n+1)/2a (n-3)/2, a (n-1)/2a (n-3)/2, 0,0,0 ..., 0} wherein has (n-3) individual 0;
Described involution item is:
{a n-1,0,a n-2,0,a n-3,......,0,a 2,0,a 1},
Wherein ", " represents the position connector.
Described addition item is:
{1,0,0,0,......,0},
N-2 individual 0 is wherein arranged.
CN200810134406A 2008-07-22 2008-07-22 Squarer circuit and implementing method thereof Expired - Fee Related CN100590636C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810134406A CN100590636C (en) 2008-07-22 2008-07-22 Squarer circuit and implementing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810134406A CN100590636C (en) 2008-07-22 2008-07-22 Squarer circuit and implementing method thereof

Publications (2)

Publication Number Publication Date
CN101320417A true CN101320417A (en) 2008-12-10
CN100590636C CN100590636C (en) 2010-02-17

Family

ID=40180461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810134406A Expired - Fee Related CN100590636C (en) 2008-07-22 2008-07-22 Squarer circuit and implementing method thereof

Country Status (1)

Country Link
CN (1) CN100590636C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106569778A (en) * 2015-10-13 2017-04-19 华为技术有限公司 Data processing method and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IL133451A0 (en) * 1999-12-10 2001-04-30 Dspc Tech Ltd Programmable convolver
US7340019B2 (en) * 2003-04-02 2008-03-04 Intel Corporation Programmable filter

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106569778A (en) * 2015-10-13 2017-04-19 华为技术有限公司 Data processing method and electronic equipment
CN106569778B (en) * 2015-10-13 2019-06-07 华为技术有限公司 A kind of method and electronic equipment of data processing

Also Published As

Publication number Publication date
CN100590636C (en) 2010-02-17

Similar Documents

Publication Publication Date Title
Bansal et al. High speed vedic multiplier designs-A review
TWI783295B (en) Multiplier and multiplication method
TWI731543B (en) Computer data processing method and device
CN105426156A (en) High-performance imprecise multiplier and application method therefor
Prasad et al. Design of low power and high speed modified carry select adder for 16 bit Vedic Multiplier
US10140090B2 (en) Computing and summing up multiple products in a single multiplier
JP2006023648A (en) Multiplication residues calculating device and information processing device
CN101770409A (en) Method and device for data backup and recovery in redundant array of inexpensive disks
CN100590636C (en) Squarer circuit and implementing method thereof
RU2010109431A (en) DATA TRANSMISSION METHOD
CN107885486B (en) Composite finite field inversion device based on search tree
CN110825346B (en) Low logic complexity unsigned approximation multiplier
CN108897526B (en) Compound finite field inverter based on multiple square operations and inversion method thereof
Wang et al. Fully discrete Galerkin finite element method for the cubic nonlinear Schrödinger equation
Chowdhury et al. Design, simulation and testing of a high speed low power 15-4 compressor for high speed multiplication applications
CN102646033B (en) Provide implementation method and the device of the RSA Algorithm of encryption and signature function
CN111191779B (en) Data processing method, device, processor and computer readable storage medium
CN114594925A (en) Efficient modular multiplication circuit suitable for SM2 encryption operation and operation method thereof
CN108347250A (en) Fast encoding method and equipment suitable for a small amount of redundancy Reed Solomon code
CN108268243B (en) Composite domain multiplication device based on search
Sun et al. How to compute modular exponentiation with large operators based on the right-to-left binary algorithm
Daabo et al. An Overflow Detection Scheme with a Reverse Converter for the Moduli set ${{2^{n}}-1 {2^{n}}{2^{n}}+ 1} $
CN104750457B (en) A kind of data processing method and device based on Montgomery Algorithm
CN112286496B (en) Modular multiplier and electronic equipment of Montgomery algorithm
CN108390761B (en) Hardware implementation method of dual-domain modular inversion

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
C56 Change in the name or address of the patentee

Owner name: HUAWEI DEVICE CO., LTD.

Free format text: FORMER NAME: SHENZHEN HUAWEI TECHNOLOGY CO.

CP01 Change in the name or title of a patent holder

Address after: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee after: Huawei Device Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee before: Shenzhen Huawei Communication Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100217

Termination date: 20180722