JPS60254373A - Arithmetic unit for sum of product - Google Patents

Arithmetic unit for sum of product

Info

Publication number
JPS60254373A
JPS60254373A JP59111499A JP11149984A JPS60254373A JP S60254373 A JPS60254373 A JP S60254373A JP 59111499 A JP59111499 A JP 59111499A JP 11149984 A JP11149984 A JP 11149984A JP S60254373 A JPS60254373 A JP S60254373A
Authority
JP
Japan
Prior art keywords
adder
data
accumulator
sum
output
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.)
Pending
Application number
JP59111499A
Other languages
Japanese (ja)
Inventor
Minoru Takeda
稔 竹田
Masayuki Takahashi
正行 高橋
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.)
NIPPON PRECISION SAAKITSUTSU KK
Nippon Precision Circuits Inc
Original Assignee
NIPPON PRECISION SAAKITSUTSU KK
Nippon Precision Circuits Inc
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 NIPPON PRECISION SAAKITSUTSU KK, Nippon Precision Circuits Inc filed Critical NIPPON PRECISION SAAKITSUTSU KK
Priority to JP59111499A priority Critical patent/JPS60254373A/en
Publication of JPS60254373A publication Critical patent/JPS60254373A/en
Pending legal-status Critical Current

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/544Methods 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 for evaluating functions by calculation
    • G06F7/5443Sum of products
    • 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/52Multiplying; Dividing
    • G06F7/523Multiplying only
    • G06F7/533Reduction of the number of iteration steps or stages, e.g. using the Booth algorithm, log-sum, odd-even
    • G06F7/5334Reduction of the number of iteration steps or stages, e.g. using the Booth algorithm, log-sum, odd-even by using multiple bit scanning, i.e. by decoding groups of successive multiplier bits in order to select an appropriate precalculated multiple of the multiplicand as a partial product
    • G06F7/5336Reduction of the number of iteration steps or stages, e.g. using the Booth algorithm, log-sum, odd-even by using multiple bit scanning, i.e. by decoding groups of successive multiplier bits in order to select an appropriate precalculated multiple of the multiplicand as a partial product overlapped, i.e. with successive bitgroups sharing one or more bits being recoded into signed digit representation, e.g. using the Modified Booth Algorithm
    • G06F7/5338Reduction of the number of iteration steps or stages, e.g. using the Booth algorithm, log-sum, odd-even by using multiple bit scanning, i.e. by decoding groups of successive multiplier bits in order to select an appropriate precalculated multiple of the multiplicand as a partial product overlapped, i.e. with successive bitgroups sharing one or more bits being recoded into signed digit representation, e.g. using the Modified Booth Algorithm each bitgroup having two new bits, e.g. 2nd order MBA

Landscapes

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

Abstract

PURPOSE:To reduce only one adder as compared to an ordinary unit and to shorten an arithmetic processing time by adding the outputs of an accumulator by a Wallace tree adder together with the addition of partial products. CONSTITUTION:Input data to be the 1st data and factor data to be the 2nd data are supplied to terminals 1a, 1b respectively. A partial product formation circuit 2 forms the partial products of respective data on the basis of the Booth's method of 2 bits and the Wallace tree adder 7 adds the outputs of the accumulator 6 simultaneously with the addition of the partial products. The output of the Wallace tree adder 7 is supplied to a carry foreseeing adder 4 and its outputs are accumulated and outputted in/from the accumulator 6 as the calculated result for the sum of products. Said operation is sequentially repeated and the calculated result for the sum of products of all data is outputted.

Description

【発明の詳細な説明】 〔技術分野〕 本発明はディジタルフィルタなどに使われる高速の積和
演算装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a high-speed product-sum operation device used in digital filters and the like.

〔従来技術およびその問題点〕[Prior art and its problems]

例えばディジタルフィルタにおいては、20M変調され
た2進入カデータとフィルタ係数とt[数回乗算し、そ
の全結果を加算した積和演算結果を出力するものである
が、標本化周波数が高い応用分野では演算処理の高速化
がディジタルフィルタの性能を左右するものとなってお
り、演算処理時間の短縮が望まれている。
For example, in a digital filter, the 20M modulated binary input data is multiplied by the filter coefficient t [several times, and the product-sum operation result is output by adding all the results. However, in application fields where the sampling frequency is high, The performance of digital filters is influenced by the speed of arithmetic processing, and there is a desire to shorten the arithmetic processing time.

上記ディジタルフィルタ等に一般に用いられている積和
演算装置の一例を第2図に示す。同図において、乗算器
1は、部分積生成回路2、ワレストリー(Wallac
e tree )加算器3および桁上げ先見加算器4か
らなり、その入山端子1a。
FIG. 2 shows an example of a product-sum calculation device generally used in the above-mentioned digital filters and the like. In the same figure, a multiplier 1 includes a partial product generation circuit 2, a Wallac
e tree) consists of an adder 3 and a carry look-ahead adder 4, and its entry terminal 1a.

1bにはそれぞれ大刀データおよび係数データが順次供
給される。この両データから2ビツトのブース(Boo
th )の方法によって部分積が生成され、各部分積が
ワレストリー加算器5で加算される。ワレストリー加算
器5の出方は桁上げ先見加算器4に供給され、この出力
がら入力データと係数データの乗算結果が得られ、加算
器5に供給される。加算器5では新たな乗算結果と累算
器6とが加算され、これが積和演算結果となって累算器
6から出力される。
The long sword data and coefficient data are sequentially supplied to 1b. From both data, 2-bit Boo
Partial products are generated by the method of (th), and each partial product is added by the Wallace tree adder 5. The output of the Wallace tree adder 5 is supplied to a carry look-ahead adder 4, from which the result of multiplication of the input data and coefficient data is obtained and supplied to the adder 5. The adder 5 adds the new multiplication result to the accumulator 6, and this becomes the product-sum operation result and is output from the accumulator 6.

以上の構成では演算処理として、部分積生成、ワレス)
 IJ−加算、桁上げ先見加算に加えて加算器5による
加算が行なわれ、演算時間がかかるとともに構成的にも
煩雑なものであった。
In the above configuration, the calculation processing involves partial product generation (Wallace)
In addition to IJ-addition and carry look-ahead addition, addition by the adder 5 is performed, which requires a long calculation time and is complicated in structure.

〔目 的〕〔the purpose〕

本発明は、ワレストリー加算器において累算器出力と部
分積の加算を同時に行なってしまうことによシ演算処理
時間の短縮および構成の簡素化を図ったものである。
The present invention aims at shortening the calculation processing time and simplifying the configuration by simultaneously adding the accumulator output and the partial product in the Wallace tree adder.

〔実施例〕〔Example〕

第1図において、端子1 a 、 1 bKはそれぞれ
第1のデータである入力データおよび第2のデータであ
る係数データが供給され、部分積生成回路2によって2
ビツトのブースの方法に従って各データの部分積が生成
される。そして、ここが本発明の特徴となるところであ
るが、ワレストリー加算器7において上記部分積ととも
に累算器6の出力も同時に加算してしまうのである。こ
れによって第2図の加算器5が不要となり、構成的に簡
素化できるとともに演算処理時間を短縮することができ
る。
In FIG. 1, terminals 1 a and 1 bK are supplied with input data, which is first data, and coefficient data, which is second data, respectively.
Partial products of each data are generated according to Bitt's Booth method. This is a feature of the present invention, in which the output of the accumulator 6 is simultaneously added together with the above partial products in the Wallace tree adder 7. This eliminates the need for the adder 5 shown in FIG. 2, making it possible to simplify the configuration and shorten the arithmetic processing time.

上記ワレストリー加算器7の出力は桁上げ先見加算器4
に供給され、その出力が積和演算結果となって累算器6
に蓄えられ出力される。上記動作が逐次繰り返され、全
データの積和演算結果が出力される。
The output of the Wallace tree adder 7 is the carry look-ahead adder 4.
is supplied to the accumulator 6, and its output becomes the product-sum operation result.
is stored and output. The above operation is repeated one after another, and the product-sum operation results for all data are output.

ところでワレストリー加算器7では累算器6の出力をも
加算するため、入力数がビットによっては1人力増加す
るが、全加算器の段数は入力数が1人力増加しただけで
は大幅に増加はしない。
By the way, since the Wallace tree adder 7 also adds the output of the accumulator 6, the number of inputs increases by one person depending on the bit, but the number of stages of the full adder does not increase significantly just by increasing the number of inputs by one person. .

因みにワレストリー加算器の入力数nとこれに必要な全
加算器の段数は第3図のようになってお9、これかられ
かる通り累算器から供給される入力の増加に伴って増加
する全加算器の段数は高々1段である。
Incidentally, the number of inputs n of the Wallace tree adder and the number of stages of full adders required for this are as shown in Figure 39. The number of stages of the adder is at most one stage.

゛なお本発明はディジタルフィルタに限られるものでは
なく、種々のディジタル信号処理に用いられる積和演算
装置に適用することができる。
Note that the present invention is not limited to digital filters, but can be applied to product-sum calculation devices used in various digital signal processing.

また上記の例では2ビツトのブースの方法で部分積を生
成する場合について述べたが、5ビツト以上のブースの
方法を用いても同様に適用できる。
Further, in the above example, a case was described in which partial products are generated using a 2-bit Booth method, but the same applies to a case where a 5-bit or more Booth method is used.

〔効 果〕〔effect〕

本発明によれば、ワレストリー加算器によって部分積の
加算とともに累算器の出力も加算するようにしたので、
従来に比べて加算器を1つ削減でき、構成的に簡素化さ
れるとともに演算処理時間を短、縮することができる。
According to the present invention, since the output of the accumulator is also added together with the addition of partial products by the Wallace tree adder,
Compared to the conventional method, the number of adders can be reduced by one, the configuration is simplified, and the calculation processing time can be shortened.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の一実施例を示したブロック図、第2図
は従来の積和演算装置の一例を示したブロック図、第3
図はワレストリー加算器の入力数と必要とする全加算器
の段数を示した説明図である。 2・・・部分積生成回路 4・・・桁上げキ、見加算器
6・・・累算器 7・・・ワレストリー加算暮第1図 第2図 第3図
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a block diagram showing an example of a conventional product-sum calculation device, and FIG.
The figure is an explanatory diagram showing the number of inputs of a Wallace tree adder and the number of stages of required full adders. 2...Partial product generation circuit 4...Carry key, adder 6...Accumulator 7...Wallet tree adder Figure 1 Figure 2 Figure 3

Claims (1)

【特許請求の範囲】[Claims] ブース(Booth )の方法によって第1のデータと
、第2のデータとの部分積を生成する部分積生成回路と
、累算器と、この累算器の出力と上記部分積生成回路の
出力とを受けて加算を行なうワレストリ−(Ill’a
llace tree )加算器と、このワレストリー
加算器の出力を受ける桁上げ先見加算器とからなり、こ
の桁上げ先見加算器の出力を上記累算器(で供給して積
和演算結果を得ることを特徴とする積和演算装置。
a partial product generation circuit that generates a partial product of first data and second data according to Booth's method; an accumulator; an output of the accumulator; and an output of the partial product generation circuit; Ill'a
llace tree) adder, and a carry look-ahead adder that receives the output of this Wallace tree adder. Features a product-sum calculation device.
JP59111499A 1984-05-31 1984-05-31 Arithmetic unit for sum of product Pending JPS60254373A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59111499A JPS60254373A (en) 1984-05-31 1984-05-31 Arithmetic unit for sum of product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59111499A JPS60254373A (en) 1984-05-31 1984-05-31 Arithmetic unit for sum of product

Publications (1)

Publication Number Publication Date
JPS60254373A true JPS60254373A (en) 1985-12-16

Family

ID=14562840

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59111499A Pending JPS60254373A (en) 1984-05-31 1984-05-31 Arithmetic unit for sum of product

Country Status (1)

Country Link
JP (1) JPS60254373A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63225864A (en) * 1987-03-13 1988-09-20 Fujitsu Ltd Cumulative computing element
US4852037A (en) * 1986-08-16 1989-07-25 Nec Corporation Arithmetic unit for carrying out both multiplication and addition in an interval for the multiplication
JP2009266239A (en) * 2001-02-21 2009-11-12 Mips Technologies Inc Extended precision accumulator

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5856033A (en) * 1981-09-29 1983-04-02 Fujitsu Ltd Multiplying circuit
JPS5938849A (en) * 1982-08-27 1984-03-02 Fujitsu Ltd Arithmetic circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5856033A (en) * 1981-09-29 1983-04-02 Fujitsu Ltd Multiplying circuit
JPS5938849A (en) * 1982-08-27 1984-03-02 Fujitsu Ltd Arithmetic circuit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4852037A (en) * 1986-08-16 1989-07-25 Nec Corporation Arithmetic unit for carrying out both multiplication and addition in an interval for the multiplication
JPS63225864A (en) * 1987-03-13 1988-09-20 Fujitsu Ltd Cumulative computing element
JP2009266239A (en) * 2001-02-21 2009-11-12 Mips Technologies Inc Extended precision accumulator
JP2013080487A (en) * 2001-02-21 2013-05-02 Mips Technologies Inc Extension accuracy accumulator

Similar Documents

Publication Publication Date Title
EP0146963A2 (en) Iir digital filter
JP3345894B2 (en) Floating point multiplier
JPS60254373A (en) Arithmetic unit for sum of product
US6415311B1 (en) Sign extension circuit and method for unsigned multiplication and accumulation
JP3041563B2 (en) Finite impulse response filter
JP3221076B2 (en) Digital filter design method
JPS60254372A (en) Arithmetic unit for sum of products
JPH0635673A (en) Multiplying method and circuit
US6004022A (en) Product sum operation apparatus
JP2629731B2 (en) Product-sum operation circuit
JPH06223097A (en) Circuit description generating method for multiplier and product sum computing unit
JP2629736B2 (en) Product-sum operation circuit
EP0561411A2 (en) Adding multiplier
JP3261742B2 (en) Redundant binary / binary conversion circuit including rounding processing
KR890004649Y1 (en) Digital filter
JPS62297934A (en) Digital signal processor
JP3213957B2 (en) Image signal processing circuit
JPS63164640A (en) Cosine transformation device
JPH0451857B2 (en)
KR950010451B1 (en) A flight speed multiplier using group tree structure algorithm
KR19990001957U (en) Binary Convolution Adder Circuit of Multipliers
JPH03263910A (en) Iir filter
JPH06103299A (en) Computing element for sum of products
JP2003243989A (en) Noise shaper and digital/digital converter
JPS615345A (en) Serial multiplication method