JPH03214233A - Multiplier - Google Patents

Multiplier

Info

Publication number
JPH03214233A
JPH03214233A JP2010385A JP1038590A JPH03214233A JP H03214233 A JPH03214233 A JP H03214233A JP 2010385 A JP2010385 A JP 2010385A JP 1038590 A JP1038590 A JP 1038590A JP H03214233 A JPH03214233 A JP H03214233A
Authority
JP
Japan
Prior art keywords
partial product
input
conversion
adders
conversion unit
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
JP2010385A
Other languages
Japanese (ja)
Inventor
Shiro Sakiyama
史朗 崎山
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2010385A priority Critical patent/JPH03214233A/en
Publication of JPH03214233A publication Critical patent/JPH03214233A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain (8 X n) types of sets of input vectors for detection of the faults of a Wallace tree conversion part consisting of the 1st - n-th conversion parts by using a test mechanism which applies an optional input pattern at every full adder or half adder of each conversion part in accordane with the types of input vectors. CONSTITUTION:In a test mode, the input vectors A and B are secured to equalize the inputs of all full adders of an m-th conversion part (1<=m<=n) 3m with a test mechanism. Then the input patterns are inputted to all full adders of the part 3m with the change of both vectors A and B. These input patterns of all full adders are available in eight ways and therefore eight types of sets of vectors A and B are obtained for the detection of the faults of all full adders of the part 3m. Thus, (8 X n) types of sets of vectors A and B are obtained for the detection of faults of the Wallace tree conversion part 3 consisting of the 1st - n-th conversion parts 31-3n.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、デインタル信Sy処理LSI中で用いられる
乗算器、特に故障検査ベクターの簡易化を図ったウォー
レスツリー(Wal 1ace−tree)方式の乗算
器に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a multiplier used in a digital signal Sy processing LSI, particularly a Wallace tree (Wallace-tree) system which is designed to simplify fault test vectors. It concerns multipliers.

〔従来の技術〕[Conventional technology]

一般に、ディジタル並列型乗算器の構成は、大要、部分
積生成部と、この部分積生成部によって生成した多段部
分積群を2段部分積群に変換する部分積変換部と、この
部分積変換部によって生成した2段部分積Rrを加算す
る2人力加算部に分かれている。
In general, the configuration of a digital parallel multiplier consists of a partial product generator, a partial product converter that converts a multistage partial product group generated by the partial product generator into a two-stage partial product group, and a partial product converter that converts the multistage partial product group generated by the partial product generator into a two-stage partial product group. It is divided into two manual addition sections that add the two-stage partial products Rr generated by the conversion section.

このうち、前記部分積変換部の構成としては、一般にキ
ャリーセーブ(carry−save)方式や、ウメ−
レスツリ一方式のものが知られている。
Among these, the configuration of the partial product converter is generally a carry-save method or a Ume-save method.
One type of Resturi type is known.

キャリーセーブ方式の部分積変換部は全加算器が3人力
2出力であり、全加算器で演算を行うと、部分積が1つ
減ることを利用し、多段部分積を1−段から順次全加算
器を用いて足し込んで行き、最終的に2段部分積に変換
するものである。このキャリーセーブ方式はアレイ杖で
あるため組み易く、また、故障検査ベクター(回路の全
てのゲートのスイッチングを検査する入力ベクター)が
作成し易い反面、桁1−げ信づ゛や和信号の伝搬ゲート
数が最初の部分積生成部によって生じた多段部分積段数
に比例して多くなるという不都合があり、l:’;J、
i!性についてはつ噌−レスツリ一方式よりも劣ってい
る。
The carry-save type partial product converter has three full adders with two outputs, and when the full adder performs an operation, the number of partial products decreases by one. The values are added using an adder and finally converted into a two-stage partial product. This carry-save method is easy to assemble because it uses an array, and while it is easy to create a fault test vector (an input vector that tests the switching of all gates in the circuit), There is an inconvenience that the number of gates increases in proportion to the number of multistage partial product stages generated by the first partial product generation section, and l:';J,
i! In terms of performance, it is inferior to the Tsuso-Retsuli method.

これに対して、ウォーレスツリ一方式の部分積変換部は
キャリーセーブ方式の多段部分積の足し込みを順次的に
行うものではなく、1)f;、列して行うものであり、
多段部分積の同し位の部分積どうしを複数個の全加算器
を用いて同時に足し込み、それによって生じた桁1−げ
信号や和信号の多段部分積の同じ位どうしを、史に同時
に複数個の全加算器を用いて足し込むという操作を最終
的に2段の部分積になるまで行うように構成されている
On the other hand, the Wallace Tree one-way type partial product conversion unit does not perform the carry-save type multi-stage partial product addition sequentially, but in a row such as 1)f;
Partial products of the same order of multi-stage partial products are added simultaneously using multiple full adders, and the resultant digit 1-off signals and multi-stage partial products of the sum signal are simultaneously added to history. The structure is such that a plurality of full adders are used to perform the addition operation until a two-stage partial product is finally obtained.

このウォーレスソリ一方式もキャリーセーブ方式と同様
に、全加算器が3人力2出力であり、全加算器を1段通
す毎に部分積が1つ減ることを利用し、最終2段の部分
積に変換する方式であるが、桁1・げ信シシ−や和4;
;シ;、の伝搬がキャリーセーブ方式のように順次的に
J−+うものではなく、並列にイ1゛われるから高速I
’lの面では打利である。
Similar to the carry-save method, this Wallace Sori one-sided method also uses the fact that the full adder has three inputs and two outputs, and that the partial product decreases by one each time it passes through the full adder. It is a method to convert to digit 1, digit number 1, sum 4;
The propagation of ;shi;, is not carried out sequentially as in the carry-save method, but is carried out in parallel, resulting in high-speed I
In terms of 'l, it's a good hit.

第2図に8ビツト×8ビツトの乗算をウォ、−レスツリ
一方式により、2段部分積に変換する方法の一例を示す
。この図において、(I1)は8ビツト×8ビツトの乗
算を行うとき部分積生成部により牛成される標準部分積
群のウォーレスツリ一方式の第1変換部であり、図にお
いて○印で示す(n1−1)〜(++−5−8)はそれ
ぞれ部分積群の要素、図において短冊状長方形で囲む部
分で示す(If−l−a)〜(II−2−e)はそれぞ
れ加算器であって、この内、斜線部分は゛1′4加算器
を、白抜き部分は全加算器を小している。
FIG. 2 shows an example of a method for converting an 8-bit x 8-bit multiplication into a two-stage partial product using the Wo-Restry method. In this figure, (I1) is the first converter of the Wallace tree one-way system of the standard partial product group that is generated by the partial product generator when performing 8-bit x 8-bit multiplication, and is indicated by a circle in the figure. (n1-1) to (++-5-8) are each an element of a partial product group, and (If-l-a) to (II-2-e) are each an adder, shown as a rectangular part in the figure. Of these, the shaded area represents a 1'4 adder, and the white area represents a full adder.

(12)は部分積群の第1変換部(n)による演pを行
った結束、新たに生成された部分積群の変換部(第2変
換部)である。この部分積群の第2変換部(12)にお
いて、0印で示すものは第1変換部(1りの加算″3(
II−l−a) 〜(II−2−e)による演算を行っ
た結果新たに生成された和信−ハ・印で示すものは桁−
Ltげ信号、O印で示すものは標準部分積群(l1)で
演算されなかった部分積群の要素信号がそのまま部分積
群(12)の要素として与えられたものである。
(12) is a conversion unit (second conversion unit) for a newly generated partial product group, which is a combination that performs operation p by the first conversion unit (n) for the partial product group. In the second conversion section (12) of this partial product group, those indicated by 0 are the first conversion section (addition of 1 "3 (
II-l-a) Newly generated summation as a result of the calculations by (II-2-e) - Those indicated by C are digits.
The Lt signal, indicated by O mark, is the element signal of the partial product group that was not calculated in the standard partial product group (l1) and is given as an element of the partial product group (12).

また、(+2−1−1)〜(+2−6−1)は部分積群
(12)の各要素、(+2−1−a)〜(+2−2−b
)はそれぞれ加算器であって、nη記部分積群(n)の
場合と同様に短冊状長方形で示すと共に、斜線部分は半
加算器を、白抜き部分は全加算器を示している。
Also, (+2-1-1) to (+2-6-1) are each element of partial product group (12), (+2-1-a) to (+2-2-b
) are adders, and are shown as strip-shaped rectangles as in the case of the nη partial product group (n), and the hatched areas indicate half adders and the white areas indicate full adders.

(13)は部分積群(12)と同様に同部分積群の第2
変換部による演算を行った結果、新たに生成された部分
積#L (+4)は前記各部分積J!1 (I 1 )
(+2)と同様に部分積群の変換部(第3変換部’) 
(+3)による演算を行った結果、新たに牛成された部
分積群である。
(13) is the second of the same partial product group, similar to the partial product group (12).
As a result of the calculation performed by the conversion unit, the newly generated partial product #L (+4) is the respective partial product J! 1 (I 1 )
Similar to (+2), the transformation part of the partial product group (third transformation part')
As a result of the calculation using (+3), this is a new group of partial products.

(15)はつt−レスツリ一方式の部分積変換部によっ
て、第1変換部(n)の多段部分積ljrが2段の部分
積群に変換された最終結果の部分積群である。
(15) This is a group of partial products that is the final result of converting the multi-stage partial product ljr of the first converter (n) into a group of two-stage partial products by the t-Restorian partial product converter.

ウォーレスツリ一方式では例えば第1変換部(n)の多
段部分積群のドから8の位の部分積では、全加算器(I
I−1−gHIl−2−c)によって同時に全加算され
、同し位の今加3?器(12−14)の(+2i−8)
(12−3−5)に和信−シ・とじて、また1つIxの
位の全加算器(12−1−g)の(12−2−7)(1
2−2−b)の(12−4−4)に桁1−げ信号として
ず云搬される。
In the Wallace tree one-sided system, for example, for the partial products in the 8th place from d of the multistage partial product group of the first conversion unit (n), the full adder (I
I-1-gHIl-2-c) are added simultaneously, and the same rank Imaka 3? (+2i-8) of vessel (12-14)
(12-3-5) is combined with Washin-shi, and (12-2-7) (1
2-2-b) (12-4-4) without being carried as a digit 1-off signal.

第2変換部(12)の部分積群の全加算器(+2−1−
f)(+2−1−g)や)1′:加算器(+2−2−b
)でも同様に同じ位の第1変換部(n)の演算部の和信
シフ、桁1−げ信シンまたは演算されなかった標準部分
積群の部分積信−じて、全加算や゛1′加算の演pがな
される。このような1ゲ作か全ての位で、lrT列に実
行され、最終2段の部分積J!f (15)に変換され
るまで同様の操作が繰り返される。
Full adder (+2-1-
f) (+2-1-g) or)1': Adder (+2-2-b
), but in the same way, the calculation part of the first conversion part (n) of the same digit, the calculation part of the first conversion part (n), or the partial product calculation of the standard partial product group that is not calculated, is used for full addition or ゛1' An operation p of addition is performed. In such a single game operation, all orders are executed in the lrT sequence, and the final two-stage partial product J! Similar operations are repeated until it is converted to f (15).

8ビット×8ビ、トの乗pては、4段の全加算ムの遅延
時間(部分積群(n)〜(14)の変換部の遅延n.’
1間)で最終2段の部分積群(15)に変換される。
8 bits x 8 bits, p is the delay time of the four-stage full adder (delay n.' of the conversion section of the partial product group (n) to (14)).
1) into the final two-stage partial product group (15).

これはキャリーセーブ方式では7段必要であったのに比
べて高速性が大幅に向−1−シている。
This is a significant improvement in speed compared to the carry-save method, which required seven stages.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

」−述のように、ウォーレスツリ一方式はキャリーセー
ブ方式と比較して高速性の而からは相当自利であるが、
故障検査ベクターがノ1常に作成しにくいという問題点
がある。
” - As mentioned above, the Wallace tree one-way system is considerably advantageous in terms of speed compared to the carry-save system, but
There is a problem in that it is difficult to always create failure test vectors.

しかし、ウォーレスツリーカ式の乗算器のテスト方式や
テスト回路等のテスト1段は現在のところ、充分な実用
性を備えた提案がなされておらす、このため、現状では
乱数的な大i諺の故障検査ベクターにより故障検出率を
1−ぽたり、あるいは内部の故障検出の困難な加算器に
強制的に外部から信すを1−j、えるテスト機能を設け
たりするような方法しかなく、効率良く故障検出率を高
めるテスト方式は実現されていない。
However, as of now, no proposal has been made for a single test stage such as a test method for a Wallace Treeker multiplier or a test circuit that has sufficient practicality. The only methods available are to increase the fault detection rate by 1-j using the fault test vector, or to provide a test function that forces an external signal to the adder, which is difficult to detect internal faults, by 1-j. A test method that can increase the failure detection rate well has not been realized.

ウィ、−レスツリー力式でl 3 X 1.2のI 算
Z+を構成した場合、乱数により2000の検査ベクタ
ーをl−J、えたとしても、回路故障検出率は60%に
も満たないという結果も報告されている。
When constructing an I calculation Z+ of l 3 × 1.2 using the -Lestree force formula, even if 2000 test vectors are generated l-J by random numbers, the circuit fault detection rate is said to be less than 60%. Results are also reported.

・般に、全加算器や半加算器の故障検出ベクターを考え
るとき、 一つの今加T>” Jiへの入力として、(
ロウ、ロウ、ロウ)(ロウ、ロウ、ハイ)(ロウ、ハイ
、ロウ)(ロウ、ハイ、ハイ)(ハイ、ロウ、ロウ)(
ハイ、ロウ、ハイ)(ハイ、ハイ、ロウ)(ハイ、ハイ
、ハイ)の8通りの入力ベクターを′ノえることで、初
めて100%の故障検出か達せられ、゛1′加p器では
(ロウ、ロウ)(ロウ、ハイ)(ハイ、ロウ)(ハイ、
ハイ)の4通りのベクターをIJ、え、初めて100%
の故障検出が達せられる。
・Generally, when considering a fault detection vector for a full adder or a half adder, one Imaka T>” As an input to Ji, (
Low, low, low) (low, low, high) (low, high, low) (low, high, high) (high, low, low) (
100% fault detection was achieved for the first time by detecting eight input vectors: high, low, high) (high, high, low) (high, high, high). (low, low) (low, high) (high, low) (high,
IJ the four types of vectors (high), 100% for the first time.
failure detection is achieved.

いま、前述のウォーレスツリ一方式を用いた8ビツト×
8ビツトの乗算器の故障検出ベクターとして、例えば全
てのベクター(2の16乗、つまり65536通り)を
lj、えたとしても、全ての今加31器や゛+’加算器
に全ての入力パターンが与えることかできるとは限らな
いため、故障検出ネ(は100%になるとは限らない。
Now, 8 bits × using the Wallace tree method described above
For example, even if all vectors (2 to the 16th power, that is, 65,536 vectors) are obtained as fault detection vectors for an 8-bit multiplier, all input patterns will be input to all 31 adders and ゛+' adders. Since it is not always possible to give the same amount of data, the failure detection rate may not be 100%.

尤も、実際問題としては、全てのベクターをり、えれば
、故障検出率は100%にならすとも良品選出検査とし
ては完全にはなる。
However, as a practical matter, if all the vectors are counted, even if the failure detection rate becomes 100%, it will still be perfect as a non-defective product selection inspection.

しかしながら、全てのベクターを実際に′〕、えること
は不可能で、現実には故障検出率が90%程度のベクタ
ーにとどめ、それで良品選出検査を行っているのが実情
である。
However, it is impossible to actually obtain all vectors, and in reality, only vectors with a failure detection rate of about 90% are used for inspection to select non-defective products.

本発明は、つi、−レスツリ一方式を用いた乗算部にお
ける部分積変換部の故障検出率を簡単なテスト機構を付
加することにより、数少ない故障検出ベクターで故障検
出ネ(を100%達成することがlj能な乗算器の提供
を[1的とするものである。
The present invention achieves 100% fault detection with a small number of fault detection vectors by adding a simple test mechanism to the fault coverage of the partial product conversion section in the multiplication section using the i, -Restreet equation. [1] The purpose is to provide a multiplier capable of lj.

〔課題を解決するための手段〕[Means to solve the problem]

1−記]l的を達成するために本発明の乗算器は、ウォ
ーレスツリ一方式の部分積変換を有する乗37器におい
て、多段部分積を2段部分積に変換するまでのウォーレ
スンリー変換部を、部分積生成部によって生成された第
1の多段部分積に複数個の加L”器による演pを行って
第2の多段部分積に変換する第1変換部と、この第1変
換部により生成した第2の多段部分積に複数個の加算器
による演算を行って第3の多段部分積に変換する第2変
換部と、以下同様にして、第(n−1)変換部により生
成した第nの多段部分積に複数個の加算器による演県を
行って最終2段部分積に変換する第r1変換都との、1
;l’r+個の変換部に分けたとき、乗算器本体の入力
ベクターから前記各変換部毎の全ての全加算器または゛
I′、加算器nfに同・の人力バター/を′ノえ、かつ
、前記人力ベクターの種類によりnn記各変換部毎の全
ての全加算器または半加算器毎に任意の入力パターンを
(jえるテスト機構を設けたことを特徴とするものであ
る。
1-Note] In order to achieve the objective, the multiplier of the present invention has a Wallace-Tree one-way partial product conversion in the multiplier 37, and a Wallace-Tree conversion unit that converts a multi-stage partial product into a two-stage partial product. a first converting unit that converts the first multi-stage partial product generated by the partial product generating unit into a second multi-stage partial product by performing an operation p using a plurality of adders; a second conversion unit that performs arithmetic operations on the second multistage partial product generated by a plurality of adders to convert it into a third multistage partial product; 1 with the r1th conversion capital which performs a prefecture on the nth multistage partial product obtained by using a plurality of adders and converts it into a final two-stage partial product.
; When divided into l'r+ conversion units, the same amount of human power butter is added to all the full adders or ゛I' and adder nf for each conversion unit from the input vector of the multiplier main body. , and a test mechanism is provided for testing an arbitrary input pattern for each of the full adders or half adders of each of the conversion units according to the type of the human vector.

〔作   用〕[For production]

本発明は−1−記構成により、テストモードにおいては
、テスト機構によって第m変換部(1≦m≦n)の全て
の全加算器の入力を同一とする入力ベクターを′ノえて
、同人カベフタ−を変化させることにより、第m変換部
の全ての全加算器に全ての人カバターンを入力する。こ
の全加算器の全ての入力パターンは前述したように8通
りであるから、前記テスト機構により、第m変換部の全
ての全加算器を故障検出するための入力ベクターの組は
8種類で実現でき、これにより第1〜第n変換部からな
るつA−レスツリー変換部の故障検出するための入力ベ
クターの組は(8Xn)種類で実現できることになる。
According to the configuration described in -1-, in the test mode, the present invention calculates the input vector that makes the inputs of all the full adders of the m-th conversion section (1≦m≦n) the same, and converts the doujin vector By changing -, all the human cover turns are input to all the full adders of the m-th conversion section. Since there are eight types of input patterns for this full adder as described above, the test mechanism realizes eight types of input vector sets for detecting failures in all full adders of the m-th conversion section. As a result, the set of input vectors for detecting a failure in the A-less tree transformer consisting of the first to nth transformers can be realized in (8×n) types.

したがって、ウォーレスツリー変換方式を用いた乗p部
の部分積変換部の故障検出率を、数少ない故障検出ベク
ターで100%達成することが1−1工能になるもので
ある。
Therefore, it takes 1-1 effort to achieve 100% fault detection rate of the partial product transform section of the multiplier p section using the Wallace tree transform method with a small number of fault detection vectors.

〔実 施 例〕〔Example〕

以下、本発明の実施例について図面を参jgi Lなが
らliT細に説明する。第1図(A)は−・般的なつA
−レスツリー変換方式を用いた東31器の構成図である
。この図において、(1)は乗3’>器本体、(2)は
乗’3?器本体(1)の819分積牛成部、(3)はウ
ォーレス/リーカ式の変換部、(4)は2人力加算器で
ある。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. Figure 1 (A) is - General A
- It is a block diagram of the To 31 device using the Les tree conversion method. In this figure, (1) is multiplied by 3'> the vessel body, and (2) is multiplied by '3? The main body (1) is an 819-minute integral part, (3) is a Wallace/Rieker converter, and (4) is a two-man power adder.

ウォーレスンリー変換部(3)はN数の変換部(31)
〜(3n)により構成される。(31)は部分積生成部
によって牛成された第1の多段部分積に複数個の加32
器による演算を91って第2の多段部分積に変換する第
1変換部、(32)は第1変換部(31)によりノ1成
した第2の多段部分積に複数個の加算器による演pを行
って第3の多段部分積に変換する第2変換部である。以
下同様にして、(3m)は第(m−1)変換部(3m−
1)により生成した第nの多段部分積に複数個の加算器
による演′S1を行い第(mal)の多段部分積に変換
する第m変換部(m:整数) 、(3n)は第(n−1
)変換部(3n−1)により生成した第nの多段部分積
に複数個の加算器による演算を行い最終2段1部分積に
変換する第n変換部(n:整数)である。
The Wallace-Lee transformation unit (3) has N number of transformation units (31).
~(3n). (31) is a combination of multiple additions 32 to the first multi-stage partial product generated by the partial product generator.
(32) converts the calculation by the device into a second multi-stage partial product by 91; This is a second conversion unit that performs operation p and converts it into a third multistage partial product. Similarly, (3m) is the (m-1)th converting section (3m-1).
(3n) is an m-th conversion unit (m: integer) that performs operation S1 using a plurality of adders on the n-th multi-stage partial product generated by 1) and converts it into a (mal)-th multi-stage partial product; n-1
) An n-th conversion unit (n: integer) performs calculations using a plurality of adders on the n-th multi-stage partial product generated by the conversion unit (3n-1) to convert it into a final two-stage one-part product.

(A)(B)は乗算器(1)への入力ベクター、(C)
は出力ベクターである。
(A) (B) is the input vector to multiplier (1), (C)
is the output vector.

(D)は通常の演算モードである実行モードと、故障検
出のための演算モードであるテストモードの切換え4n
吋である。
(D) is a switching mode between the execution mode, which is a normal calculation mode, and the test mode, which is a calculation mode for failure detection.
It is 吋.

本発明は、ウォーレスツリー変換方式の乗算器における
つA−レスツリー変換部の故障検出ネ(を数少ない入力
ベクター(A)([1)で実現するものであり、次のよ
うなテスト方法をきる。
The present invention realizes failure detection of the A-less tree transform unit in a Wallace tree transform multiplier using a small number of input vectors (A) ([1]), and the following test method can be used. .

テストモードにおいては、第m変換部(1≦In≦n)
の全ての全加算器の入力を同一とする人力ベクター(A
)(B)を5え、前記入力ベクター(^)(B)を変化
させることにより、第rn変換部の全ての全加算器に全
ての入力パターンを人力する。
In the test mode, the m-th conversion unit (1≦In≦n)
A human vector (A
)(B) by 5 and changing the input vector (^)(B), all input patterns are manually input to all full adders of the rn-th conversion section.

全加算器の全ての入力パターンは前述したように8通り
であるから、もしl−記方法を実現するテスト機構をも
てば、第m変換部の全ての全加算器を故障検出するため
の入力ベクター(A)(B)の組は8種類で実現できる
。つまり、第1〜第n変換部からなるウォーレスツリー
変換部の故障検出するための入力ベクター(A)(B)
の組は(8Xn)種類で実現できることになる。
As mentioned above, there are eight input patterns for the full adders, so if we have a test mechanism that implements the l-notation method, it will be possible to detect faults in all the full adders in the m-th conversion section. The set of input vectors (A) and (B) can be realized in eight types. In other words, the input vectors (A) and (B) for detecting a failure in the Wallace tree conversion unit consisting of the first to nth conversion units
This means that the set can be realized in (8Xn) types.

第1図(B)は−に記テスト機構を有する乗算器の具体
的構成の一例を示し、この実施例では8ビット×8ビ、
トのつJ−−レスツリー変換方式の乗算器に、本発明の
テスト機構を付加した構成を備え′Cいる。
FIG. 1(B) shows an example of a specific configuration of a multiplier having the test mechanism described in -.
The present invention has a configuration in which the test mechanism of the present invention is added to a J-Less tree transform type multiplier.

第1図(B)において、(31)は8ビツト×8ピント
の乗算を行うとき、部分積生成部により牛成される標準
部分積群のウォーレスツリ一方式による第1変換部であ
り、(+−1−1)〜(1−8−8)の内の○印とX印
は第1変換部(31)の部分積群の認素である。第1変
換部(31)において(1−1−a) −(1−2−j
)で小される短冊状長力形で囲む部分はそれぞれ全加算
器である。(1−^)〜(1−D)はテストモードと実
行モードの切換え制御を兼ねた第1変換部(31)の部
分積制御回路であって、これらの回路のうち、(+−A
)(1−C)は全加算器で構成され1.各部分積制御回
路(LA)〜(1−D)への入力は以下に述べるように
制御する。
In FIG. 1(B), (31) is the first conversion unit using the Wallace tree equation of the standard partial product group generated by the partial product generation unit when performing 8-bit x 8-pinto multiplication; The O and X marks in +-1-1) to (1-8-8) are recognitions of the partial product group of the first conversion unit (31). In the first conversion unit (31), (1-1-a) −(1-2-j
) is a full adder. (1-^) to (1-D) are partial product control circuits of the first converter (31) that also control switching between the test mode and the execution mode, and among these circuits, (+-A
)(1-C) is composed of a full adder and 1. Inputs to each partial product control circuit (LA) to (1-D) are controlled as described below.

すなわち、実行モード時には、部分積制御回路(+−A
)〜(1−D)の部分積認素はロウレベルの信−;・が
強制的にljえられる。
That is, in the execution mode, the partial product control circuit (+-A
) to (1-D) are forcibly set to low-level signals lj.

テストモード時には第1変換部(31)の多段部分積J
iTの同じ行にあるいずれか・つが入力される。
In the test mode, the multistage partial product J of the first conversion section (31)
Any one on the same line of iT is input.

ここでは、<1−1−1>が(1−1)に、(+−2−
1)が(1−2)に、(1−3−2)が(1−3>に、
(1−4−1)が(1−4)に、(1−5−nが(1−
5)に、(1−6−2)が(+−G)に、(■−73)
か(1−7)に、(1−8−1)が(+−8)にそれぞ
れ入力されるものとする。
Here, <1-1-1> becomes (1-1), (+-2-
1) becomes (1-2), (1-3-2) becomes (1-3>,
(1-4-1) becomes (1-4), (1-5-n becomes (1-
5), (1-6-2) becomes (+-G), (■-73)
(1-7) and (1-8-1) are input to (+-8), respectively.

第1変換部(31)の多段部分積中のX印には、それぞ
れ同じ行の部分積制御回路の入力“畏素((I■)〜(
18)の殻素)が入力されている。−・例を挙げれば、
(1−1−9)と(1−1−10)には(1−1)が入
力しており、(+−6−1)と(+−6−10)には(
+−6)が入力している。
The X marks in the multi-stage partial products of the first conversion unit (31) indicate the inputs of the partial product control circuits in the same row ((I■) to (
18) is input. −・For example,
(1-1) is input to (1-1-9) and (1-1-10), and (+-6-1) and (+-6-10) are input (
+-6) is input.

(32)は第1変換部(31)による演pを行った結果
、新たに生成された部分積群のウォーレスツリ一方式第
2変換部である。第2変換部(32)において、0印は
加p本(1−1−a)〜(+−2−j)による演算を行
った結果、新たに/l、成された和(+rSJ’である
。○印は標専部分積77r(31)で演算されなかった
部分積群の・冴素信ジノ・がそのまま部分積群(32)
の要素としてIjえられるこきを意味するものとする。
(32) is a Wallace tree one-way second transform unit for a group of partial products newly generated as a result of the operation p performed by the first transform unit (31). In the second converter (32), the 0 mark is calculated by adding p pieces (1-1-a) to (+-2-j), and the result is a new /l, the sum (+rSJ') Yes.The circle mark indicates that the partial product group that was not calculated in the standard partial product 77r (31) is the partial product group (32) as it is.
It is assumed that Ij means "Kiki" which can be seen as an element of "Ij".

(2−1〜1)〜(2−G−n)は部分積/Fl:(3
2)の各要素を示し、(2−Ia)−(2−2−k)と
(2−^)(2−B)で小される短冊状」イ方形で囲ま
れた部分はそれぞれ今加′S94器を/J<シている。
(2-1~1)~(2-G-n) are partial products/Fl:(3
2), and the parts surrounded by rectangles are shown as rectangles that are reduced by (2-Ia) - (2-2-k) and (2-^) (2-B). 'I am using the S94 device.

このうち、(2−A ) (2−8)は第2変換部(3
2)の部分積制御回路であって、部分積制御回路(2−
A)の人力には(+−A)の和イ1.Sノと桁1−げ(
5吋と(+−4)ノ(、i S、’カッhソh(2−I
O2−202−3) トL テ’jエラれる。また、部
分積制御回路(2−B)の入力には部分積制御回路(+
−C)の和信号と桁1−げ信号と(1−8)のイ9;ぢ
かそれぞれ(2−4)(2−5)(2−G)として!J
、えられる。
Of these, (2-A) (2-8) is the second converter (3
2), the partial product control circuit (2-
A) Human power is the sum of (+-A) 1. S no and digit 1-ge (
5 inches and (+-4)ノ(,i S,'cah soh(2-I
O2-202-3) To L Te'j Erareru. In addition, the input of the partial product control circuit (2-B) is connected to the partial product control circuit (+
The sum signal of -C), the digit 1 signal, and the a9 of (1-8); respectively, as (2-4), (2-5), and (2-G)! J
,available.

(2−ha)〜(2−1−i)の入力にはそれぞれ桁が
対応する(lI−a) 〜(1−1−i)の和イIr5
3″と桁」二げイ、iシじ、(+−4−1)〜(+−4
−8)の信号が入力される。−例を挙げると、全加算J
T(2−1−c)への入力は全加算器(1−1−d)の
和信シじ゛と全加算器(1−1−c)の桁1−げ信づと
(1−4−23の信ジノである。同様に、全加算器(2
2−a)〜(2−2−k)の入力にもそれぞれ桁が対応
する全加算器(1−2−a)〜(L−2−j)の和信づ
・と桁上げイ3−:弓および(1−8−1)〜(1,9
−8)の信号が人力される。第2変換部(32)の多段
部分積中の×印にはそれぞれ同じ1Jの(2−1)〜(
2−G)の要素が入力される。 ・例を挙げると、(2
−n1)には(2−1)が入力しており、(2−6−1
)(2−6−2)(2−G−3)には(2−6)が入力
している。
The inputs of (2-ha) to (2-1-i) have corresponding digits, respectively (lI-a) to the sum of (1-1-i) Ir5
3" and digit" 2, i, (+-4-1) ~ (+-4
-8) signal is input. -For example, full addition J
The inputs to T(2-1-c) are the sum signal of the full adder (1-1-d) and the digit 1-digit of the full adder (1-1-c) (1-4). -23 Shinjino.Similarly, the full adder (2
The sum and carry of full adders (1-2-a) to (L-2-j) whose digits also correspond to the inputs of 2-a) to (2-2-k) 3-: Bow and (1-8-1) ~ (1,9
-8) The signal is manually generated. The × marks in the multi-stage partial products of the second converting unit (32) are the same 1J (2-1) to (
2-G) elements are input.・For example, (2
-n1) has (2-1) input, and (2-6-1
) (2-6-2) (2-6) is input to (2-G-3).

(33)も第2変換部(32)と同様に、同変換部(3
2)による演算を行った結果、新たに生成された部分積
RrのつA−レスツリ一方式第3変換部で、内部構成や
記す(0印や・印、○印、短冊状長方形にIJFJまれ
た品分など)の意味も第2変換部(32)と全く同様で
ある。
(33) is also the same as the second converter (32).
As a result of the calculation in 2), the internal structure and the IJFJ are shown in the A-Restreet one-way third conversion section with the newly generated partial product Rr. The meaning of the second converter (32) is exactly the same as that of the second converter (32).

部分積制御回路(3−A)の入力には部分積制御回路(
2−A)の桁−1−げ仁吋と(2−B)の和信号と桁上
げ借りがそれぞれ(3−2H3−3)(3−4)として
Ijえられる。全加算器(:l−1−a)〜(3−1−
m)の入力にはそれぞれ桁が対応する全加算器(2−1
−a)〜(2−1−+)の桁1−げ信号と、全加算器(
2−2−a) 〜(2−2−k)の和信りと桁」−げ信
号が入力される。−例を挙げると、今加n’、Z4(3
−I−c)への入力は全加算器(2−1−c)の桁1.
げイ1ニーすと、全ノル3’>器(2−2−b)の和イ
1−号と、全加算器(2−2−a)の桁1.げ信シ3で
ある。
The input of the partial product control circuit (3-A) is the partial product control circuit (3-A).
The sum signal and carry borrow of the digit-1-digit of 2-A) and (2-B) are obtained as (3-2H3-3) and (3-4), respectively. Full adder (:l-1-a) ~ (3-1-
Full adders (2-1
-a) to (2-1-+) digit 1-off signals and the full adder (
2-2-a) to (2-2-k) are input. - For example, Imaka n', Z4 (3
-I-c) is input to digit 1. of the full adder (2-1-c).
When the number 1 is set, the total number 3' is the sum of the unit (2-2-b), and the digit 1 of the full adder (2-2-a). This is Geshinshi 3.

第3変換部(33)の多段部分積中のX印は第1、第2
変換部(31)(32)と同様にそれぞれ同じ行の(3
1)〜(3−4の“〃素が人力される。−例を挙げれば
、(3−3−nと(3−1−13)には(3−3)が入
力しており、(3−4−1と(3−4−2)には(3−
4)が入力している。(3−1)は部分積制御回路(2
−A)の和信XJ・が入力されているたけで、この実施
例の場合、特に意味かない。しかしく3−n)〜(31
−n)の行の部分h″lがこの第3変換部(33)て加
p、器による変換が行われる場合には、(3−1)がX
印への入力さして便用される。
The X mark in the multi-stage partial product of the third converter (33) is the first and second
Similarly to the conversion parts (31) and (32), (3
1) ~ (3-4 "〃Elements are manually input. - To give an example, (3-3) is input to (3-3-n and (3-1-13), and (3-3) is input manually. 3-4-1 and (3-4-2) have (3-
4) is being input. (3-1) is the partial product control circuit (2
-A) is only entered as Washin XJ. In this embodiment, it has no particular meaning. However, 3-n) ~ (31
-n) row h″l is added by this third converter (33), and when conversion is performed by a transformer, (3-1) becomes
It is conveniently used for inputting information into the mark.

(34)も第2変換部(32)や第3変換部(33)と
同様に、第3変換部(33)による演算を行った結果、
新たに生成された部分積群のウォーレスッリ一方式第4
変換部で、内部構成や記−3・(0印や・印、○印、短
冊状長方形で囲まれた部分なと)の意味も第2、第3変
換部(32H33)と全く同様である。
Similarly to the second conversion unit (32) and the third conversion unit (33), (34) is also the result of the calculation performed by the third conversion unit (33).
The fourth Wallacellian equation of the newly generated partial product group
In the conversion section, the internal structure and the meaning of notes 3 (0 marks, ・marks, ○ marks, and areas surrounded by rectangular strips) are exactly the same as the second and third conversion sections (32H33). .

部分積制御回路(4−A)の入力には(3−1)の信S
す乏部分積制御回路(3−^)の和4:’;”Jと桁]
−げイ、−:弓゛がそれぞれ(4−1)(4−2)(4
−3)としてIj、えられる。全加算器(4−1−a)
〜(4−1−m)の入力にはそれぞれ桁が対応する(3
−1−1)〜(3−nりのイ、1Sすと、全加算器(3
−l−a)〜(3−1−m)の和イ、ζシラと桁1−げ
信すが人力される。 例を挙げれば、全加算r(4−1
−c)への入力は(:l−1−G)の(,1号と、今加
37E:+(3−1−c) ノ和信弓と、全加算器(3
−1−b)の桁l−げ(+4号である第4変換部(34
)の多段部分積中のX印も第2、第3変換部(32H3
3)と同様にそれぞれ同じ行の(n)〜(4〜3)の要
素が人力される。
The input of the partial product control circuit (4-A) is the signal S of (3-1).
Sum of depletion partial product control circuit (3-^) 4:';”J and digit]
-Gei, -: Bows are (4-1) (4-2) (4) respectively.
-3) Ij can be obtained. Full adder (4-1-a)
Each digit corresponds to the input of ~(4-1-m) (3
-1-1) to (3-n, 1S, full adder (3
-l-a) to (3-1-m), the sum A, ζ silla and digit 1 are input manually. For example, the full addition r(4-1
-c) input is (,1 of (:l-1-G), Imaka 37E:+(3-1-c) Nowa Shinyumi, and full adder (3
-1-b) digit l-ge (+4), the fourth conversion part (34
The X mark in the multi-stage partial product of ) also corresponds to the second and third conversion parts (32H3
Similarly to 3), elements (n) to (4 to 3) in the same row are entered manually.

(35)はウォーレスノリー力式によって、多段部分積
#Y(31)が2段の部分積群に変換された最終結果の
部分積群であって、第1図(A)の2人力加算器(4)
に対応するものである。
(35) is the final partial product group obtained by converting the multistage partial product #Y(31) into a two-stage partial product group using the Wallace-Nolly force equation, and is the final result of the partial product group that is used by the two-man power adder in FIG. 1(A). (4)
This corresponds to

次に、この実施例の各動伯モード(実行モードアストモ
ード)について説明する。
Next, each mobile mode (execution mode AST mode) of this embodiment will be explained.

実行モード時は、第1変換ff1s(31)の部分積制
御回路(1−^)〜(1−D)の入力°〃素((+−1
)〜(1−8))をロウレベル6するため、(2−n〜
(2−6) 、(31)〜(3−4) 、 (4−1)
〜(4−:1)の部分積制御回路の入力全てかロウレベ
ルとなり、したがって、X印は全てロウレベルLなり、
第1〜第4変換部(31)〜(34)で余分に付加した
部分積要素は全て加すされなかったことになる。つまり
、初めの標準部分積のみが最終結果の2段部分積#T(
35)に変換されたことになり、+ELい演算結果を出
力する。
In the execution mode, the input ° element ((+-1
)~(1-8)) to low level 6, (2-n~
(2-6), (31) to (3-4), (4-1)
All the inputs of the partial product control circuit of ~(4-:1) are at low level, so all the X marks are at low level L,
This means that all the partial product elements added in excess by the first to fourth conversion units (31) to (34) are not added. In other words, only the first standard partial product is the final result of the two-stage partial product #T(
35), and a +EL calculation result is output.

次に、テストモード時の動作を説明する。テストモード
では前述のように、第1変換部(31)の部分積制御回
路(+−A)〜(+−D)の入力要素((1−1)〜(
+−8) )には、(1−nHl−2−n(1−3−2
)(l−4−1)(1−5−1)(1−G−2>(+−
7−3)(1−8−1)か入力される。ここて、第1変
換部(31)の部分積群の各行1t1に等しくする乗3
7器の入力ベクターを4えてみる。このベクターは、 (オールハイ) X (X)・・・・・・・・・・■式
を行えばよい。Xはとのようなベクターでもよいこ古を
表す。例えば8ビツト×8ビツトの乗pで、(nnnn
)X(旧旧010nというベクターで演算を行うき、第
1変換部(31)の部分積群の1.3.5.7のnがオ
ールハイで、2,4.G、8の行がオールロウとなる。
Next, the operation in test mode will be explained. In the test mode, as described above, the input elements ((1-1) to (
+-8) ) contains (1-nHl-2-n(1-3-2
)(l-4-1)(1-5-1)(1-G-2>(+-
7-3) (1-8-1) is input. Here, the power 3 to make each row 1t1 of the partial product group of the first conversion unit (31) equal to
Let's calculate the input vector of 7 devices. This vector can be calculated using the formula (all high) X (X)...■. X can also be a vector like . For example, the power p of 8 bits x 8 bits is (nnnn
) becomes.

■式のようなベクターを与えると、全ての9加Si器(
1−I −a ) 〜(1−1−i )の人力に同しパ
ターンか1」えられ、したがって、それらの出力も同し
パターンきなる。今加)’>、Z+(1−2−a)−(
1−2−k)も同様である。
■Given a vector like the formula, all 9-added Si devices (
1-I-a) to (1-1-i) have the same pattern, and therefore their outputs also have the same pattern. Imaka)'>, Z+(1-2-a)-(
The same applies to 1-2-k).

また、第2変換部(32)でも、全加算器(1−1−a
)〜(+−1−1)が同じパターンを出力するため、全
ての全加算器(2−1−a)〜(21−i)の入力に同
じパターンがljえられ、したがって、それらの出力も
同じパターンとなる。
Also, in the second conversion section (32), the full adder (1-1-a
) to (+-1-1) output the same pattern, the same pattern is applied to the inputs of all full adders (2-1-a) to (21-i), and therefore their outputs will follow the same pattern.

同様のことが第4変換部(34)でも行われる。The same thing is done in the fourth converter (34).

以1−のように乗算器の入力ベクターに■式のようなベ
クターをljえると、テストモードでは各変換部毎の全
ての全加算器毎に同一の入力パターンをljえることが
でき、かつ、■式の入力ベクターの種類により前記各変
換部毎の全ての全加算器毎に任αの入力パターンをlj
えることかできる。
As shown in 1- below, if the input vector of the multiplier is set to a vector such as the formula , ■ Depending on the type of input vector in equation
I can do it.

次に、ウォーレスツリー変換方式を用いた8ビツト×8
ビア)の乗算部の部分積変換部の故障法りのベクター数
を求めてみる。
Next, 8 bits x 8 using the Wallace tree conversion method
Let's find the number of vectors that are faulty in the partial product conversion section of the multiplication section of Via.

まず、全加算器の故障検査をするための検査ベクター数
は、発明が解決しようとする課題の項で述へたように8
通りである。よって、第1変換部(31)では8通り(
全加算器(+ −1−a ) 〜(1−1−+ )と全
加算器(+−2−a)〜(1−2−J)の検査は同時に
行える)、第2変換部(32)でも8通り(今加31器
(2−1a) 〜(2川川)と全加算Z4(2−2−a
)−(2−2−k)の検査は同時に?1える)、第3変
換部(33)でも8通り、第4変換部(34)でも8通
り、つまり合、1t32通りの乗算ベクターをl−r、
えるだけで全ての全加算器の検査かできる。
First, the number of test vectors for fault testing the full adder is 8, as mentioned in the section on the problem to be solved by the invention.
That's right. Therefore, the first converter (31) converts eight ways (
Full adders (+-1-a) to (1-1-+) and full adders (+-2-a) to (1-2-J) can be tested simultaneously), second converter (32 ) but 8 ways (Imaka 31 (2-1a) ~ (2 Kawagawa) and full addition Z4 (2-2-a
)-(2-2-k) are tested at the same time? 1), the third converter (33) has 8 ways, and the fourth converter (34) has 8 ways, that is, in total, 1t32 ways of multiplication vectors are l−r,
You can test all full adders just by

但し、これらの中には全加算器の入力パターンに市なり
があるため(例えば第1変換部(31)の全JJII 
算Z4の入力に(ロウ、ロウ、ロウ)や(ハイ、ハイ、
ハイ)のパターンを加えると、第2変換部(32)〜第
4変換部(34)の全ての全加算器の入力も(ロウ、ロ
ウ、ロウ)や(ハイ、ハイ、ハイ)のパターンとなる)
、実際は32ベクターよりも1−可成り少なくなる。
However, since there are variations in the input pattern of the full adder (for example, all JJII of the first converter (31)
In the input of calculation Z4, (low, low, low) or (high, high,
When the pattern of (high) is added, the inputs of all the full adders of the second converter (32) to the fourth converter (34) also become the pattern of (low, low, low) or (high, high, high). Become)
, which is actually 1-considerably less than 32 vectors.

〔発明の効果〕〔Effect of the invention〕

以)二説明したように、本発明の乗算器によるときは、
ウォーレスツリ一方式を用いた乗算部の多段部分積を2
段部分積に変換するまでの部分積変換部に、’J T>
器本体の入力ベクターから前記各変換?J’s mの全
ての全加算器または゛14加算器毎に同の入力パターン
をI+え、かつ、前記入カベクターの種類により前記各
変換部毎の全ての全加算器または半加算器毎に任意の入
力パターンを与えるテスト機構を用いているので、テス
トモードにおいて、各変換部の全ての全加算器を故障検
出するための入力ベクターの組は8種類で実現でき、こ
れにより第1〜第n変換部からなるウォーレスツリー変
換部の故障検出するための入力ベクターの組は(8Xn
)種類で実現できる。
2) As explained above, when using the multiplier of the present invention,
The multistage partial product of the multiplication part using the Wallace tree one-way system is 2
'J T>
Each of the above conversions from the input vector of the device body? The same input pattern is applied to all the full adders or every 14 adders of J's m, and the same input pattern is applied to every full adder or half adder of each conversion unit depending on the type of input vector. Since a test mechanism that provides an arbitrary input pattern is used, in the test mode, eight types of input vector sets can be used to detect failures in all full adders in each converter. The set of input vectors for fault detection of the Wallace tree transformer consisting of n transformers is (8Xn
) can be realized by types.

したがって、従来、乗数や被乗数のビット幅に対し、指
数関数的に増加していた故障検出ベクターが数十のオー
ダーの故障検出ベクターで、しかも100%の故障検出
ができるという優れた効果を発揮するものとなった。
Therefore, the fault detection vector, which conventionally increases exponentially with respect to the bit width of the multiplier or multiplicand, is now on the order of several tens of fault detection vectors, and it has the excellent effect of achieving 100% fault detection. It became a thing.

また、このテスト機構を用いても、ゲート遅延段数は全
く変わらず、また、回路の速度を犠牲にすることなく、
テスト回路を実現することができるという、実用l−の
優れた効果を奏する。
In addition, even if this test mechanism is used, the number of gate delay stages does not change at all, and without sacrificing the speed of the circuit,
This has an excellent practical effect of being able to realize a test circuit.

なお、第1表にri x nビットの乗算を行ったとき
のウォーレスツリ一方式による全加算器の遅延段数と、
本発明のテスト機構を用いたときの部分積変換部の故障
検査ベクターの数とを示す。
Table 1 shows the number of delay stages of a full adder using the Wallace Tree one-way method when performing ri x n-bit multiplication, and
The number of failure test vectors of the partial product converter when using the test mechanism of the present invention is shown.

第1表Table 1

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

第1図(A)は本発明のつA−レスツリー変換力式を用
いた乗算器の構成図、第1図(B)は本発明を8ビツト
×8ビツトのウォーレスツリー変換す式乗3?器に適用
した実施例を4<す構成図、第2図は従来の8ビツト×
8ビツトのつl−レスツリー変換方式東39器である。 (1)・・・乗算器本体、(2)・・・部分積生成部、
(3)・・・ウォーレスツリー変換部、(4)・・・2
人力加算部、(31)〜(3n )’−変換部、(35
)・2段部分積群、(1−11)〜(1−8−81・・
・第1変換部分積変換部の部分積質素、(2−ト1)〜
(2−6−n)・・・第2変換部の部分積殻素、(+−
1−a) −(4−I−m)−9加37−4、(+−A
) 〜(4−D)・・・部分積制御回路、(1−1)〜
(4−3)・・・部分積制御回路の入力要素、 (A)
(B)・・・入力ベクター(C)・・・出力ベクター、
(D)・・・実行モードとテストモードの切換え信号。 第 ズ(,4)
FIG. 1(A) is a block diagram of a multiplier using the A-less tree conversion power formula of the present invention, and FIG. ? A configuration diagram showing an example applied to a device, Fig. 2 shows a conventional 8-bit x
This is an 8-bit L-less tree conversion system. (1) Multiplier main body, (2) Partial product generation section,
(3)...Wallace tree conversion unit, (4)...2
Manual addition section, (31) to (3n)'-conversion section, (35
)・Two-stage partial product group, (1-11) to (1-8-81...
・Partial product simple of the first conversion partial product conversion part, (2-t1) ~
(2-6-n)... Partial shell element of the second transformation part, (+-
1-a) -(4-I-m)-9+37-4, (+-A
) ~(4-D)... Partial product control circuit, (1-1) ~
(4-3)...Input element of partial product control circuit, (A)
(B)...Input vector (C)...Output vector,
(D)...Switching signal between execution mode and test mode. No. 3 (,4)

Claims (1)

【特許請求の範囲】[Claims]  ウォーレスツリー方式の部分積変換を有する乗算器に
おいて、多段部分積を2段部分積に変換するまでのウォ
ーレスツリー変換部を、部分積生成部によって生成され
た第1の多段部分積に複数個の加算器による演算を行っ
て第2の多段部分積に変換する第1変換部と、この第1
変換部により生成した第2の多段部分積に複数個の加算
器による演算を行って第3の多段部分積に変換する第2
変換部と、以下同様にして、第(n−1)変換部により
生成した第nの多段部分積に複数個の加算器による演算
を行って最終2段部分積に変換する第n変換部との、計
n個の変換部に分けたとき、乗算器本体の入力ベクター
から前記各変換部毎の全ての全加算器または半加算器毎
に同一の入力パターンを与え、かつ、前記入力ベクター
の種類により前記各変換部毎の全ての全加算器または半
加算器毎に任意の入力パターンを与えるテスト機構を設
けたことを特徴とする乗算器。
In a multiplier having Wallace tree type partial product conversion, the Wallace tree conversion unit converts a multi-stage partial product into a two-stage partial product, and converts the first multi-stage partial product generated by the partial product generation unit into a plurality of a first conversion section that performs an operation using an adder to convert it into a second multistage partial product;
a second multi-stage partial product generated by the converter, which is converted into a third multi-stage partial product by performing calculations using a plurality of adders;
a conversion unit; and an n-th conversion unit that similarly performs an operation using a plurality of adders on the n-th multi-stage partial product generated by the (n-1)th conversion unit to convert it into a final two-stage partial product; When divided into a total of n conversion units, the same input pattern is given to all the full adders or half adders of each conversion unit from the input vector of the multiplier main body, and the input vector of the input vector is A multiplier characterized in that a test mechanism is provided for applying an arbitrary input pattern to all the full adders or half adders of each conversion unit depending on the type.
JP2010385A 1990-01-18 1990-01-18 Multiplier Pending JPH03214233A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010385A JPH03214233A (en) 1990-01-18 1990-01-18 Multiplier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010385A JPH03214233A (en) 1990-01-18 1990-01-18 Multiplier

Publications (1)

Publication Number Publication Date
JPH03214233A true JPH03214233A (en) 1991-09-19

Family

ID=11748654

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010385A Pending JPH03214233A (en) 1990-01-18 1990-01-18 Multiplier

Country Status (1)

Country Link
JP (1) JPH03214233A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7313585B2 (en) 2003-08-30 2007-12-25 Hewlett-Packard Development Company, L.P. Multiplier circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7313585B2 (en) 2003-08-30 2007-12-25 Hewlett-Packard Development Company, L.P. Multiplier circuit

Similar Documents

Publication Publication Date Title
KR920007029B1 (en) AN X x Y BIT ARRAY MULTIPLIER/ACCUMULATOR CIRCUIT
US7308471B2 (en) Method and device for performing operations involving multiplication of selectively partitioned binary inputs using booth encoding
US6411979B1 (en) Complex number multiplier circuit
JP2007234004A (en) Device and method for booth multiplication
US4638449A (en) Multiplier architecture
EP0137386A2 (en) Digital multiplying circuit
JP3457612B2 (en) Digital channelizer with efficient architecture for discrete Fourier transform and its operation
JP2677969B2 (en) Orthogonal transformer
JPH03214233A (en) Multiplier
JPH07210534A (en) Neural network
Falkowski et al. Complex spectral decision diagrams
US5777915A (en) Multiplier apparatus and method for real or complex numbers
JP2556300B2 (en) Multiplier
JPH0645948A (en) Orthogonal converter and reverse orthogonal converter
RU2256226C2 (en) Neuron network for broadening tuple of numeric subtractions system
US20230206042A1 (en) Deep learning acceleration with mixed precision
US20230206061A1 (en) Deep learning acceleration with mixed precision
US6742011B1 (en) Apparatus and method for increasing performance of multipliers utilizing regular summation circuitry
US20230206044A1 (en) Deep learning acceleration with mixed precision
US20230206045A1 (en) Deep learning acceleration with mixed precision
US20230206043A1 (en) Deep learning acceleration with mixed precision
US20230206041A1 (en) Deep learning acceleration with mixed precision
US20230206046A1 (en) Deep learning acceleration with mixed precision
CN116991359B (en) Booth multiplier, hybrid Booth multiplier and operation method
Bochev Distributed arithmetic implementation of artificial neural networks