CN103699729A - Modulus multiplier - Google Patents

Modulus multiplier Download PDF

Info

Publication number
CN103699729A
CN103699729A CN201310693559.2A CN201310693559A CN103699729A CN 103699729 A CN103699729 A CN 103699729A CN 201310693559 A CN201310693559 A CN 201310693559A CN 103699729 A CN103699729 A CN 103699729A
Authority
CN
China
Prior art keywords
multiplier
mould
output
input
modulus
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
CN201310693559.2A
Other languages
Chinese (zh)
Other versions
CN103699729B (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.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
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 University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN201310693559.2A priority Critical patent/CN103699729B/en
Publication of CN103699729A publication Critical patent/CN103699729A/en
Application granted granted Critical
Publication of CN103699729B publication Critical patent/CN103699729B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Complex Calculations (AREA)

Abstract

The invention discloses a modulus multiplier, in particular a modulus (2<n>+2<p>-1) multiplier. The modulus (2<n>+2<p>-1) multiplier comprises an (n+1)-digit binary adder, a CSA (carry save adder) tree compressor array, an (n+2)-digit binary adder and a modulus (2<n>+2<p>-1) adder. According to the modulus (2<n>+2<p>-1) multiplier, a binary multiplication result serves as an operation number P for reprocessing, so that repeated correction of the conventional modulus (2<n>+2<p>-1) multiplier is changed into primary correction, the resource consumption of the modulus (2<n>+2<p>-1) multiplier is reduced, required operation can be completed in a clock period, and the modulus (2<n>+2<p>-1) multiplier is simple, high in speed and high in efficiency.

Description

Mode multiplier
Technical field
The invention belongs to computing machine and integrated circuit fields, be specifically related to a kind of design of high-speed multiplier.
Background technology
Before introducing multiplier, first residue number system (RNS, Residue Number Systems) is done to an explanation.Residue number system RNS be a kind of by one group between two the remainder of relatively prime remainder base digital numerical representation method system is described, by { m 1, m 2..., m ll remainder base forming, integer X, 0≤X<M, wherein M=m 1* m 2* ... * m l, in RNS system, having unique expression mode is X={x 1, x 2..., x l,
Figure BDA0000439768220000013
wherein,
Figure BDA0000439768220000014
represent that X is for mould m iremainder.In residue number system, two operands operate, and operational character is Θ, can be defined as:
{ z 1, z 2..., z l}={ x 1, x 2..., x lΘ { y 1, y 2..., y l, wherein
Figure BDA0000439768220000015
here, Θ can be modulo addition, mould subtraction or mould multiplication.In residue number system, these arithmetical operations are all executed in parallel, and processing is all very little remainder rather than a very large number.Mould (2 n+ 2 p-1) for the dynamic range of expansion residue number system, and the balance between each arithmetic channel has very important meaning, and multiplier is as the main arithmetic element of arithmetic channel, therefore for mould (2 n+ 2 p-1) research of multiplier is very significant.
Existing mould (2 n+ 2 p-1) multiplier, generally still adopts traditional Booth coding+Wallace(to comprise correction circuit) structure of+mould adder (comprising correction circuit), this mould (2 n+ 2 p-1) multiplier is revised owing to having used repeatedly, especially correction repeatedly in Wallace.Be specially: existing mould (2 n+ 2 p-1) multiplier adopts Booth coding structure, can produce
Figure BDA0000439768220000011
individual partial product, and
Figure BDA0000439768220000012
individual partial product need to be carried out delivery (2 n+ 2 p-1) correcting process, thus the quantity of the partial product making further increases, at Wallace and mould (2 n+ 2 p-1) in totalizer same exist repeatedly to mould (2 n+ 2 p-1) processing.Thereby existing mould (2 n+ 2 p-1) multiplier consumes resources is very many, has also caused accordingly arithmetic speed very low.
Summary of the invention
The object of the invention is in order to solve existing towards mould (2 n+ 2 p-1) multiplier consumes resources, the problem that speed is lower, has proposed a kind of mould (2 n+ 2 p-1) multiplier.
Technical scheme of the present invention is: a kind of mould (2 n+ 2 p-1) multiplier, comprising: (n+1) position binary multiplier, CSA(Carry Save Adder) tree compressor reducer array, (n+2) position binary adder, mould (2 n+ 2 p-1) totalizer.
If A and B are described mould (2 n+ 2 p-1) input of multiplier, total (n+1) position, is respectively [n:0], and Y is described mould (2 n+ 2 p-1) output of multiplier, total (n+1) position, be [n:0], wherein, A[u:v], B[u:v] and Y[u:v] representing that respectively the v position of A, B and Y is to the number of u position correspondence, concrete annexation is as follows:
Two input ends of described (n+1) position binary multiplier are respectively used to input described mould (2 n+ 2 p-1) input A and B for two of multiplier, described n position binary multiplier is output as P, and wherein, P is 2n+2 position, is specially [2n+1:0];
Six input ends of described CSA tree compressor reducer array are respectively used to the combination P[n-1:0 of corresponding bit data of the output P of input described (n+1) position binary multiplier], P[2n-1:n],
Figure BDA0000439768220000021
Figure BDA0000439768220000022
Figure BDA0000439768220000023
(2 n-2 p+2-2 p+1-1), wherein, # is junction symbol,
Figure BDA0000439768220000024
represent the anti-of P, two output terminals of described CSA tree compressor reducer array are respectively: present bit output L[n+1:0], carry output H[n+1:0];
Two addend input ends of described (n+2) position binary adder are respectively used to input L[n+1:0] and H[n+1:0], described (n+2) position binary adder with carry input is output as T[n+2:0];
Described mould (2 n+ 2 p-1) two of totalizer input ports are respectively used to the output T[n+2:0 of input described (n+2) position binary adder] corresponding position T[n-1:0] and the combination of corresponding
Figure BDA0000439768220000025
described mould (2 n+ 2 p-1) the output of totalizer be described mould (2 n+ 2 p-1) the output Y of multiplier.
Beneficial effect of the present invention: mould (2 of the present invention n+ 2 p-1) multiplier adopts the result of binary multiplication to process as operand P again, thereby traditional mould (2 n+ 2 p-1) the repeatedly correction of multiplier changes into once and revising, and can within a clock period, complete required computing, has reduced mould (2 n+ 2 p-1) consumes resources of multiplier, has improved its arithmetic speed.
Accompanying drawing explanation
Fig. 1 is mould (2 of the present invention n+ 2 p-1) multiplier architecture schematic diagram.
Embodiment
Below in conjunction with accompanying drawing and specific embodiment, the invention will be further elaborated.
Mould (2 of the present invention n+ 2 p-1) as shown in Figure 1, wherein, 1 is (n+1) position binary multiplier to multiplier architecture, and 2 is CSA tree compressor reducer array, and 3 is (n+2) position binary adder, and 4 is mould (2 n+ 2 p-1) totalizer.
Concrete annexation can be with reference to summary of the invention part.It should be noted that:
Figure BDA0000439768220000031
represent the anti-of P, # is junction symbol, for example,
Figure BDA0000439768220000032
in,
Figure BDA0000439768220000033
this position is lowest order, at P[2n-1:n] in, P[2n-1] this is most significant digit.
Here, mould (2 n+ 2 p-1) multiplier adopts the result of binary multiplication to process as operand P again, thereby traditional mould (2 n+ 2 p-1) the repeatedly correction of multiplier changes into once and revising.
In enforcement of the present invention, can adopt hardware description language (VHDL or Verilog) according to mould proposed by the invention (2 n+ 2 p-1) structural design of multiplier goes out required mould (2 n+ 2 p-1) multiplier, just can carry out emulation and comprehensive.This multiplier can complete required computing within a clock period, simple high-speed and high-efficiency, and Computer Simulation shows that this multiplier is with respect to existing mould (2 n+ 2 p-1) multiplier all improves a lot aspect Area and Speed.
Those of ordinary skill in the art will appreciate that, embodiment described here is in order to help reader understanding's principle of the present invention, should be understood to that the protection domain of invention is not limited to such special statement and embodiment.Everyly according to foregoing description, make various possible being equal to and replace or change, be all considered to belong to the protection domain of claim of the present invention.

Claims (1)

1. a mould (2 n+ 2 p-1) multiplier, comprising: (n+1) position binary multiplier, CSA(Carry Save Adder) tree compressor reducer array, (n+2) position binary adder, mould (2 n+ 2 p-1) totalizer;
If A and B are described mould (2 n+ 2 p-1) input of multiplier, total (n+1) position, is respectively [n:0], and Y is described mould (2 n+ 2 p-1) output of multiplier, total (n+1) position, be [n:0], wherein, A[u:v], B[u:v] and Y[u:v] representing that respectively the v position of A, B and Y is to the number of u position correspondence, concrete annexation is as follows:
Two input ends of described (n+1) position binary multiplier are respectively used to input described mould (2 n+ 2 p-1) input A and B for two of multiplier, described n position binary multiplier is output as P, and wherein, P is 2n+2 position, is specially [2n+1:0];
Six input ends of described CSA tree compressor reducer array are respectively used to the combination P[n-1:0 of corresponding bit data of the output P of input described (n+1) position binary multiplier], P[2n-1:n],
Figure FDA0000439768210000011
Figure FDA0000439768210000015
Figure FDA0000439768210000013
(2 n-2 p+2-2 p+1-1), wherein, # is junction symbol, and two output terminals of described CSA tree compressor reducer array are respectively: present bit output L[n+1:0], carry output H[n+1:0];
Two addend input ends of described (n+2) position binary adder are respectively used to input L[n+1:0] and H[n+1:0], described (n+2) position binary adder with carry input is output as T[n+2:0];
Described mould (2 n+ 2 p-1) two of totalizer input ports are respectively used to the output T[n+2:0 of input described (n+2) position binary adder] corresponding position T[n-1:0] and the combination of corresponding
Figure FDA0000439768210000014
described mould (2 n+ 2 p-1) the output of totalizer be described mould (2 n+ 2 p-1) the output Y of multiplier.
CN201310693559.2A 2013-12-17 2013-12-17 Modulus multiplier Expired - Fee Related CN103699729B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310693559.2A CN103699729B (en) 2013-12-17 2013-12-17 Modulus multiplier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310693559.2A CN103699729B (en) 2013-12-17 2013-12-17 Modulus multiplier

Publications (2)

Publication Number Publication Date
CN103699729A true CN103699729A (en) 2014-04-02
CN103699729B CN103699729B (en) 2017-01-18

Family

ID=50361256

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310693559.2A Expired - Fee Related CN103699729B (en) 2013-12-17 2013-12-17 Modulus multiplier

Country Status (1)

Country Link
CN (1) CN103699729B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107066643A (en) * 2015-11-30 2017-08-18 想象技术有限公司 Mould hardware generator
CN110688094A (en) * 2019-09-12 2020-01-14 无锡江南计算技术研究所 Remainder operation circuit and method based on parallel cyclic compression

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102253822A (en) * 2011-08-17 2011-11-23 电子科技大学 Modular (2<n>-3) multiplier
CN102929575A (en) * 2012-10-29 2013-02-13 电子科技大学 Modular multiplier

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102253822A (en) * 2011-08-17 2011-11-23 电子科技大学 Modular (2<n>-3) multiplier
CN102929575A (en) * 2012-10-29 2013-02-13 电子科技大学 Modular multiplier

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
LEI LI: "An improved architecture for designing modulo (2n-2p+1) multipliers", 《IEICE ELECTRONICS EXPRESS》, vol. 9, no. 14, 17 July 2012 (2012-07-17) *
LEI LI: "An universal architecture for designing modulo (2n-2p-1)multipliers", 《IEICE ELECTRONICS EXPRESS》, vol. 9, no. 3, 10 February 2012 (2012-02-10) *
周璐: "一种高效模(2n-2p)乘法器的设计", 《微电子学与计算机》, vol. 30, no. 9, 30 September 2013 (2013-09-30) *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107066643A (en) * 2015-11-30 2017-08-18 想象技术有限公司 Mould hardware generator
CN107066643B (en) * 2015-11-30 2021-11-09 想象技术有限公司 Modular hardware generator
CN110688094A (en) * 2019-09-12 2020-01-14 无锡江南计算技术研究所 Remainder operation circuit and method based on parallel cyclic compression
CN110688094B (en) * 2019-09-12 2021-01-26 无锡江南计算技术研究所 Remainder operation circuit and method based on parallel cyclic compression

Also Published As

Publication number Publication date
CN103699729B (en) 2017-01-18

Similar Documents

Publication Publication Date Title
CN106951211B (en) A kind of restructural fixed and floating general purpose multipliers
CN106339202A (en) Temporally Split Fused Multiply-Accumulate Operation
CN105183425B (en) A kind of fixation bit wide multiplier with high-precision low complex degree characteristic
CN101986259B (en) Sign-free fixed point divider
CN102253822B (en) Modular (2&lt;n&gt;-3) multiplier
CN105045560A (en) Fixed-point multiply-add operation method and apparatus
CN102184086B (en) Booth encoder and multiplier
CN106940638A (en) A kind of quick, low-power consumption and the hardware structure for the binary system true add/subtraction unit for saving area
CN101295237B (en) High-speed divider for quotient and balance
CN109388373A (en) Multiplier-divider for low-power consumption kernel
CN101840324B (en) 64-bit fixed and floating point multiplier unit supporting complex operation and subword parallelism
CN103955585B (en) FIR (finite impulse response) filter structure for low-power fault-tolerant circuit
CN103699729A (en) Modulus multiplier
CN102929575B (en) Modular multiplier
CN102955682B (en) Modular(23n-2n)multiplier
CN116719499A (en) Self-adaptive pseudo-inverse calculation method applied to 5G least square positioning
Daud et al. Hybrid modified booth encoded algorithm-carry save adder fast multiplier
CN102073473A (en) Field programmable gata array (FPGA)-based metric floating-point multiplier design
Bokade et al. CLA based 32-bit signed pipelined multiplier
CN103577638B (en) A kind of mode multiplier
Beohar et al. VHDL implementation of self-timed 32-bit floating point multiplier with carry look ahead adder
CN103324785B (en) A kind of mould adder
CN102930097B (en) Residue number systems (RNS) comparator
CN205281474U (en) Quick adder of six operands on two -stage assembly line that can dispose
CN102880445B (en) Modulo subtracter

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170118

Termination date: 20171217

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