JPS642973B2 - - Google Patents
Info
- Publication number
- JPS642973B2 JPS642973B2 JP59135430A JP13543084A JPS642973B2 JP S642973 B2 JPS642973 B2 JP S642973B2 JP 59135430 A JP59135430 A JP 59135430A JP 13543084 A JP13543084 A JP 13543084A JP S642973 B2 JPS642973 B2 JP S642973B2
- Authority
- JP
- Japan
- Prior art keywords
- recipe
- circuit
- res
- addition
- circuits
- 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.)
- Expired
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1008—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
- G06F11/1012—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices using codes or arrangements adapted for a specific type of error
- G06F11/104—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices using codes or arrangements adapted for a specific type of error using arithmetic codes, i.e. codes which are preserved during operation, e.g. modulo 9 or 11 check
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Detection And Correction Of Errors (AREA)
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、論理回路の高集積化に伴うレピータ
ビリテイを利用した、多重レシデユチエツク回路
に関する。DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a multiple reciprocating circuit that takes advantage of the repeatability that accompanies high integration of logic circuits.
従来から、乗算回路、除算回路等、複雑な演算
回路の動作をチエツクするのに、パリテイチエツ
ク回路を用いることは、その回路構成が大規模と
なる為、レシデユチエツクで行う方法が知られて
いる。 Conventionally, using a parity check circuit to check the operation of complex arithmetic circuits such as multiplication circuits and division circuits requires a large-scale circuit configuration, so a method using a recipe check has been known. .
レシデユチエツクの原理的な事項に関しては、
例えば、「ERROR DETECTION LOGIC FOR
DIGITAL COMPUTERS」FREDERICK F
SELLERS JR、MU−YUE HS IAO、LEROY
W BEARNSON著、McGRAW HILL BOOK
COMP ANY 1968刊に開示されているので、こ
こで説明することは省略するが、例えば乗算を例
にして、レシデユチエツクの要点を述べると、以
下の通りとなる。即ち、
被乗数と乗数とについて、それぞれレシデユ
(3で割つた剰余)を演算し、得られた各レシデ
ユを乗算した値と、前記被乗数、乗数を乗算器に
より乗算した値から求めたレシデユとは一致する
と云う原理に基づいて、該2つのレシデユを比較
して該乗算器の動作をチエツクしようとするもの
である。 Regarding the principle of residue checks,
For example, "ERROR DETECTION LOGIC FOR
DIGITAL COMPUTERS”FREDERICK F
SELLERS JR, MU−YUE HS IAO, LEROY
Written by W BEARNSON, McGRAW HILL BOOK
Since it is disclosed in COMP ANY, published in 1968, it will not be explained here, but the main points of recipe check, using multiplication as an example, are as follows. In other words, the value obtained by calculating the residue (remainder after dividing by 3) for each of the multiplicand and the multiplier, and multiplying the obtained residue by the multiplier, is the same as the residue calculated from the value obtained by multiplying the multiplicand and the multiplier by the multiplier. Based on this principle, the two recipes are compared to check the operation of the multiplier.
従つて、一般には、演算器に対する入力データ
についてのレシデユを生成し、該生成されたレシ
デユの演算結果を求める手段と、上記入力データ
の演算結果に対するレシデユの生成手段と、該2
つの手段で得られたレシデユを比較する手段とが
必要となる。 Therefore, in general, there is provided a means for generating a recipe for input data to an arithmetic unit and obtaining an operation result for the generated recipe; a means for generating a recipe for the operation result for the input data;
A means for comparing the recipes obtained by the two methods is required.
そして、上記入力データを2n分割(但し、nは
正の整数)して演算する場合には、2n個の部分演
算結果が得られるので、それぞれの部分演算結果
について、レシデユを生成し、その結果を用いて
最終レシデユを求める為には、結局n段〔2n(但
し、n=1、2、3、……、n)〕のレシデユ演
算回路が必要となる。 When the above input data is divided into 2n parts (where n is a positive integer) and operated, 2n partial operation results are obtained, so a recipe is generated for each partial operation result, In order to obtain the final recipe using the result, an n-stage [2 n (where n=1, 2, 3, . . . , n)] recipe calculation circuit is required.
一方、最近の論理装置の高集積化に伴つて、該
論理装置を回路分割する時のレピータビリテイが
重要視されている。 On the other hand, with the recent increase in the degree of integration of logic devices, importance has been placed on repeatability when circuits of the logic device are divided.
このレピータビリテイは、論理装置を集積回路
の単位に回路分割する場合、該分割された論理回
路に、例えば特定の回路を追加することにより、
該追加回路を論理装置のある論理ブロツクでは使
用しなくても、複数の論理ブロツクで共用化で
き、結果として集積回路の種類を少なくでき、使
用量を増加させ、該集積回路の経済化や図れると
云う原理に基づいて行われるものであり、回路の
共通化が必須条件となる。 This repeatability can be achieved by, for example, adding a specific circuit to the divided logic circuit when the logic device is divided into integrated circuit units.
Even if the additional circuit is not used in a logic block with a logic device, it can be shared by multiple logic blocks, and as a result, the types of integrated circuits can be reduced, the amount used can be increased, and the integrated circuit can be made more economical. It is based on this principle, and commonization of circuits is an essential condition.
そこで、このレピータビリテイの観点から、前
記レシデユチエツク回路を考察すると、特に入力
データを2n分割して演算する場合には、該演算結
果のレシデユ生成結果について最終演算する回路
と、入力データのレシデユを生成して、演算した
結果との照合回路が、2n分割された演算回路に共
通な回路となる為、上記レピータビリテイを妨げ
る要因となる。 Therefore, when considering the recipe check circuit from the viewpoint of repeatability, especially when input data is divided into 2n pieces for calculation, there is a circuit that performs the final calculation on the recipe generation result of the calculation result, and a circuit that performs the final calculation on the recipe generation result of the calculation result, and a circuit that performs the final calculation on the recipe generation result of the calculation result. The circuit that generates and checks the calculated results is a common circuit for the 2 n divided calculation circuits, which becomes a factor that hinders the repeatability described above.
こうした事情から、2n分割された演算回路に適
し、レピータビリテイーを向上させるレシデユチ
エツク回路の構成法が待たれていた。 Under these circumstances, a method of configuring a reciprocating circuit that is suitable for a 2n - divided arithmetic circuit and improves repeatability has been awaited.
第2図は2分割(2n分割でn=1相当)した加
算回路に対して、レシデユチエツクを行う場合の
一例を示したもので、1は入力データレジスタ
A、2は入力データレジスタBで、それぞれ2分
割されており、その下位部分をそれぞれAa,
Ba、上位部分をAb,Bbで示す。31,32は
部分加算器(+)、41,42は部分加算結果に
対するレシデユ生成回路(RES GEN)、5はレ
シデユ生成回路(RES GEN)41,42で生成
されたレシデユを最終加算するレシデユ加算回路
(RES ADD)、6は比較回路(COMP)、71,
72は入力データに対するレシデユ生成回路
(RES GEN)、8はレシデユ加算器(RES
ADD)で、入力データの最終レシデユIN RES
を出力する。そして、9は最終出力レジスタであ
る。
Figure 2 shows an example of a case where a recipe check is performed on an adder circuit that is divided into two (2 n divisions correspond to n = 1), where 1 is input data register A, 2 is input data register B, Each is divided into two parts, and the lower parts are respectively Aa and
Ba, the upper part is shown as Ab, Bb. 31 and 32 are partial adders (+), 41 and 42 are recipe generation circuits (RES GEN) for the partial addition results, and 5 is a recipe addition for final addition of the residues generated by the recipe generation circuits (RES GEN) 41 and 42. circuit (RES ADD), 6 is a comparison circuit (COMP), 71,
72 is a recipe generation circuit (RES GEN) for input data, and 8 is a recipe adder (RES GEN).
ADD), the final recipe of the input data IN RES
Output. And 9 is a final output register.
今、入力データレジスタA1、及び入力データ
レジスタB2に入力データが設定されると、該デ
ータの下位部分Aa,Baが部分加算器(+)31
で部分加算され、キヤリー(C)を部分加算器
(+)32に送出すると共に、下位の部分和SAを
出力する。同時に該データの上位部分Ab,Bbが
部分加算器(+)32で、上記キヤリー(C)と
共に部分加算され、上位の部分和SBを出力する。
そして、上記部分和SA,SBを最終出力レジスタ
9の、それぞれの分割位置に挿入することによ
り、最終加算結果を得ることができる。 Now, when input data is set in the input data register A1 and the input data register B2, the lower parts Aa and Ba of the data are sent to the partial adder (+) 31.
, and sends the carry (C) to the partial adder (+) 32 and outputs the lower partial sum SA. At the same time, the upper portions Ab and Bb of the data are partially added together with the carry (C) by a partial adder (+) 32, and an upper partial sum SB is output.
Then, by inserting the partial sums SA and SB into the respective division positions of the final output register 9, the final addition result can be obtained.
上記部分和SAは、レシデユ生成回路(RES
GEN)41に入力され、下位の部分加算結果に
対するレシデユを生成し、部分和SBは、レシデ
ユ生成回路(RES GEN)42に入力され、上位
の部分加算結果に対するレシデユを生成し、上記
2分割加算結果に対する最終レシデユを得る為に
レシデユ加算回路(RES ADD)5に入力され
る。 The above partial sum SA is calculated by the recipe generation circuit (RES).
The partial sum SB is input to the residue generation circuit (RES GEN) 42 to generate a residue for the upper partial addition result, and the partial sum SB is input to the residue generation circuit (RES GEN) 42 to generate a residue for the upper partial addition result. The result is input to a recipe adder circuit (RES ADD) 5 to obtain the final recipe.
一方、入力データに対するレシデユ〔BES(A)、
RES(B)〕が、下位部分、上位部分のそれぞれに
ついて、レシデユ生成回路(RES GEN)71,
72によつて生成され、レシデユ加算回路
(RES ADD)8で加算され、入力データに対す
る最終レシデユIN RES〔RES(A+B)〕が当該
加算に対する期待値として出力される。 On the other hand, the recipe for input data [BES(A),
RES(B)] is generated by a recipe generation circuit (RES GEN) 71,
72 and added by a recipe addition circuit (RES ADD) 8, and the final recipe IN RES [RES (A+B)] for the input data is output as the expected value for the addition.
この入力データに対する最終レシデユIN RES
と、上記2分割加算結果に対するレシデユの加算
結果とが比較回路(COMP)6で比較され、不
一致であると、部分加算器(+)31、或いは3
2を含めた演算部のエラーと云うことで、エラー
信号ERRを出力するように動作する。 Final receipt IN RES for this input data
The comparison circuit (COMP) 6 compares the addition result of the recipe with respect to the above-mentioned two-division addition result, and if they do not match, the partial adder (+) 31 or 3
2, it operates to output an error signal ERR.
本例は、入力データを2分割して演算する場合
のレシデユチエツク回路であるが、該2分割され
た演算回路#1,#2とは独立したレシデユ生成
回路(RES GEN)5、及び比較回路(COMP)
6が設けられている所に特徴がある。 This example is a recipe check circuit that divides input data into two and performs calculations; however, it includes a recipe generation circuit (RES GEN) 5 that is independent of the two divided calculation circuits #1 and #2, and a comparison circuit ( COMP)
It is distinctive in that it has a number 6.
第2図から明らかなように、従来の2分割演算
方式において、例えば2つの加算回路#1,#2
は同じ論理構成で実現でき、所謂レピータビリテ
イが得られているが、加算結果の最終レシデユを
求める為に、レシデユ加算回路(RES ADD)
5、及び比較回路(COMP)6で示した、上記
加算回路とは別個の回路ブロツクが必要であり、
高集積化を図る場合、集積回路の種類が増え、高
集積化の為のレピータビリテイを損なうと云う問
題があつた。
As is clear from FIG. 2, in the conventional two-division calculation method, for example, two adder circuits #1 and #2
can be realized with the same logic configuration, achieving so-called repeatability, but in order to obtain the final recipe of the addition result, a recipe addition circuit (RES ADD) is required.
5 and comparator circuit (COMP) 6, which are separate circuit blocks from the above adder circuit, are required.
When attempting to achieve high integration, the number of types of integrated circuits increases, which poses the problem of impairing repeatability due to high integration.
本発明は上記従来の欠点に鑑み、分割された演
算回路内に、該演算結果に対する最終レシデユ迄
求められるレシデユ演算回路を含め、各演算回路
内において、個々にレシデユチエツクを行うよう
にして、レピータビリテイを向上させる方法を提
供することを目的とするものである。 In view of the above-mentioned drawbacks of the conventional art, the present invention includes a recipe calculation circuit that is required to obtain the final recipe for the calculation result in the divided calculation circuits, and performs the recipe check individually in each calculation circuit, thereby achieving repeatability. The purpose is to provide a method to improve the quality of the product.
そしてこの目的は、入力データを2n(nは1よ
り大きい整数)分割して、2n個の演算回路で部分
演算を行い、それぞれの演算回路の出力を、当該
分割位置に挿入することにより、最終演算結果を
得る2n分割演算回路のレシデユチエツク方式にお
いて、該分割された各演算回路内に、最終レシデ
ユ迄求められるレシデユ交換回路を含める本発明
のレシデユチエツク回路によつて達成される。
The purpose of this is to divide the input data into 2 n (n is an integer greater than 1), perform partial operations using 2 n arithmetic circuits, and insert the output of each arithmetic circuit into the corresponding division position. This is achieved by the recipe check circuit of the present invention, which includes a recipe exchange circuit required up to the final recipe in each divided arithmetic circuit in a recipe check system of a 2n- divided arithmetic circuit that obtains a final arithmetic result.
即ち、本発明によれば、入力データを2n(nは
1より大きい整数)分割して、2n個の演算回路で
部分演算を行う方式において、該演算に対するレ
シデユチエツクを行うのに、分割された各回路内
に最終レシデユ迄求められるレシデユ交換回路を
含めるようにしたものであるので、各分割された
回路内で、個々に2n多重によるレシデユチエツク
ができると共に、2n分割に伴うレピータビリテイ
の向上が図れる効果がある
〔実施例〕
以下本発明の実施例を図面によつて詳述する。
第1図イは2分割(2n分割でn=1の場合に相
当)された加算回路の一例をブロツク図で示した
図であり、ロは4分割(2n分割でn=2の場合に
相当)された演算回路におけるレシデユ交換回路
の例を模式的に示した図である。
That is, according to the present invention, in a method in which input data is divided into 2 n (n is an integer greater than 1) and partial operations are performed using 2 n arithmetic circuits, when performing a recipe check for the operation, the divided data is Since each divided circuit includes a recipe exchange circuit required up to the final recipe, it is possible to individually check the recipe by 2n multiplexing in each divided circuit, and the repeatability due to 2n division is improved. [Example] Examples of the present invention will be described in detail with reference to the drawings.
Figure 1A is a block diagram of an example of an adder circuit that is divided into two (2 n divisions and n = 1), and B is a block diagram of an example of an adder circuit that is divided into 4 divisions (2 n divisions and n = 2). FIG. 2 is a diagram schematically showing an example of a recipe exchange circuit in an arithmetic circuit (corresponding to the above).
第1図イにおいて、第2図と同じ符号は同じ機
能ブロツクを示し、51,52は第2図における
レシデユ加算回路(RES ADD)5と同じもので
あるが、互いに他の分割回路から、自分割回路の
レシデユに対して加算すべきレシデユを取り込ん
でいる所が異なる。又、61,62は第2図にお
ける比較回路(COMP)6と同じもので、それ
ぞれの分割された加算回路#1,#2に設けられ
ている所に特徴がある。 In Fig. 1A, the same reference numerals as in Fig. 2 indicate the same functional blocks, and 51 and 52 are the same as the recipe adder circuit (RES ADD) 5 in Fig. 2. The difference is that the residue to be added to the residue of the dividing circuit is taken in. Further, 61 and 62 are the same as the comparator circuit (COMP) 6 in FIG. 2, and are distinctive in that they are provided in the respective divided adder circuits #1 and #2.
本発明を実施した場合の加算処理については、
第2図で説明した従来方式と全く同じであるの
で、ここでは本発明の主眼となるレシデユチエツ
ク回路に限定して説明する。 Regarding addition processing when implementing the present invention,
Since this is exactly the same as the conventional system explained in FIG. 2, the explanation will be limited to the reciprocating circuit which is the main focus of the present invention.
本発明においては、それぞれの2分割された加
算回路#1,#2における部分加算結果に対する
レシデユを、レシデユ生成回路(RES GEN)4
1,42で生成し、その結果を互いに他の加算回
路#2,#1に送出し(即ち、交換させて)、そ
れぞれのレシデユ加算回路(RES ADD)51,
52によつて、レシデユの最終加算を行つている
所にポイントがある。 In the present invention, the residues for the partial addition results in the respective two-divided adder circuits #1 and #2 are stored in a recipe generation circuit (RES GEN) 4.
1 and 42, and send the results to the other adder circuits #2 and #1 (that is, exchange them), and the respective recipe adder circuits (RES ADD) 51,
52, there is a point where the final addition of the recipe is performed.
即ち、従来方式においては、部分加算結果SA,
SBに対するレシデユをレシデユ生成回路(RES
GEN)41,42で生成し、レシデユ加算回路
(RES ADD)5で最終加算を行つていたのに対
して、本発明においては、それぞれの加算回路
#1,#2内において、2n多重(本実施例におい
ては、2多重)のレシデユ最終加算を行うように
している。 That is, in the conventional method, the partial addition result SA,
The residue generation circuit (RES) generates the residue for SB.
GEN) 41, 42 and the final addition is performed in the recipe adder circuit (RES ADD) 5. However, in the present invention, 2 n multiplexing is performed in each adder circuit #1, #2. (In this embodiment, two-multiplex) final addition of the residues is performed.
そして、上記レシデユ最終加算結果を、入力デ
ータに対する最終レシデユ(即ち、本加算に対す
る最終レシデユの期待値)である、レシデユ加算
回路(RES ADD)8の出力値と、それぞれの加
算回路#1,#2に設けられている比較回路
(COMP)61,62で2多重の比較を行うので
ある。 Then, the result of the final addition of the residues is added to the output value of the residue addition circuit (RES ADD) 8, which is the final residue for the input data (that is, the expected value of the final residue for the main addition), and the output value of the residue addition circuit (RES ADD) 8, and the respective addition circuits #1 and #. Comparing circuits (COMP) 61 and 62 provided in the second section perform two multiple comparisons.
従つて、若し該比較回路(COMP)61,6
2の何れかで、不一致が出力されると、その不一
致信号ERR#1,#2の相み合わせによつて、
以下の障害解析が可能となる。即ち、
ERR#1,ERRR#2=0、0の場合:障
害個所なし。 Therefore, if the comparison circuit (COMP) 61, 6
2, if a mismatch is output, the combination of the mismatch signals ERR#1 and #2 will result in
The following failure analysis is possible. That is, if ERR#1, ERRR#2 = 0, 0: No failure location.
ERR#1,ERR#2=1、0の場合:
レシデユ加算回路(RES ADD)51、又は
比較回路(CCMP)61の障害。 When ERR#1, ERR#2 = 1, 0: Failure of the recipe addition circuit (RES ADD) 51 or comparison circuit (CCMP) 61.
ERR#1,ERR#2=0、1の場合:
レシデユ加算回路(RES ADD)52、又は
比較回路(CMP)62の障害。 When ERR#1, ERR#2 = 0, 1: Failure of the recipe addition circuit (RES ADD) 52 or comparison circuit (CMP) 62.
ERR#1,FRR#2=1、1の場合:
部分加算器(+)31、又は32、或いは両
方の障害か、或いはレシデユ生成回路(RES
GEN)41、又は42、或いは両方の障害、
或いはレシデユ加算回路(RES ADD)51,
52の障害。 When ERR#1, FRR#2 = 1, 1: There is a failure in the partial adder (+) 31 or 32, or both, or the recipe generation circuit (RES
GEN) 41 or 42, or both disorders;
Or recipe addition circuit (RES ADD) 51,
52 disabilities.
即ち、本発明においては、従来方式で判別不可
能であつた、
レシデユ加算回路(RES ADD)51,52
〔従来方式のレーシデユ加算回路(RES ADD)
5対応〕、或いは比較回路(COMP)61,62
〔従来方式の比較回路(COM6対応〕の障害判別
が可能となる。 That is, in the present invention, the recipe addition circuits (RES ADD) 51 and 52, which could not be distinguished in the conventional method,
[Conventional rate adder circuit (RES ADD)]
5 compatible] or comparison circuit (COMP) 61, 62
It becomes possible to determine the failure of the conventional comparison circuit (compatible with COM6).
次に、第1図ロにおいて、4分割の例を説明す
る。 Next, in FIG. 1B, an example of four divisions will be explained.
この場合も、加算過程については、2分割の場
合と同じように行われるので、レシデユチエツク
回路に限定して説明する。 In this case as well, the addition process is performed in the same way as in the two-division case, so the explanation will be limited to the reception check circuit.
本図において、41〜44は、イ図におけるレ
シデユ生成回路(RES GEN)41,42に対応
し、51〜54はイ図におけるレシデユ加算回路
(RES ADD)51,52に対応している。そし
て、本4分割の場合には51′〜54′で示したレ
シデユ加算回路(RES ADD)が必要となる。比
較回路(COMP)61〜64は、イ図における
比較回路(COMP)61,62と同じもので、
単に4多重されているに過ぎない。 In this figure, 41 to 44 correspond to recipe generation circuits (RES GEN) 41 and 42 in figure A, and 51 to 54 correspond to recipe addition circuits (RES ADD) 51 and 52 in figure A. In the case of this four-part division, recipe adder circuits (RES ADD) indicated by 51' to 54' are required. The comparison circuits (COMP) 61 to 64 are the same as the comparison circuits (COMP) 61 and 62 in Fig.
It is simply 4 times multiplexed.
即ち、入力データ(図示せず)を4分割し、そ
れぞれをa、b、c、dとすると、2つの入力デ
ータA,Bに対応して、Aa、Ab、Ac、Ad、及
びBa、Bb、Bc、Bdが、本4分割加算回路に対
する入力データとなる。そして、Aa+Baに対す
るレシデユの生成がレシデユ生成回路(RES
GEN)41で行われ、レシデユを出力する。以
下同じようにして、それぞれレシデユb、c、d
が生成される。 That is, if input data (not shown) is divided into four parts and each part is a, b, c, and d, then Aa, Ab, Ac, Ad, and Ba, Bb correspond to the two input data A and B. , Bc, and Bd become input data to this four-division adder circuit. Then, the residue generation circuit (RES) generates the residue for Aa+Ba.
GEN) 41 and outputs the recipe. In the same way, create recipe b, c, d respectively.
is generated.
上記部分加算結果に対するレシデユa〜dにつ
いて、レシデユ加算回路(RES ADD51〜54
において、レシデユの部分加算a+b、又はc+
dが2多重で実行される。そして、この時上記の
レシデユa,b又はc,dの交換が必要となる。 Regarding the recipes a to d for the above partial addition results, the recipe addition circuit (RES ADD51 to 54)
, the partial addition of the recipe a+b, or c+
d is executed in two multiplexes. At this time, it is necessary to replace the recipes a, b or c, d.
そして、該演算結果に対する最終レシデユを求
める加算a+b+c+dが、それぞれ分割された
加算回路内のレシデユ加算回路(RES ADD)5
1′〜54′において、4多重で実行される。この
時はレシデユの部分加算値a+b、又はc+dの
交換が必要となる。 Then, the addition a+b+c+d for obtaining the final recipe for the operation result is added to the recipe addition circuit (RES ADD) 5 in each divided addition circuit.
1' to 54' are executed in four multiplexes. In this case, it is necessary to exchange the partial addition values a+b or c+d of the recipe.
該4多重で加算された最終レシデユa+b+c
+dが、それぞれの分割された加算回路内に設け
られている比較回路(COMP)61〜64にお
いて、入力データA,Bから求められた、本加算
結果に対するレシデユの期待値IN RESと、4多
重で比較される。 The final recipe a+b+c added in the four multiplexes
+d is the expected value IN RES of the recipe for the main addition result obtained from the input data A and B in the comparison circuits (COMP) 61 to 64 provided in each of the divided adder circuits, and the 4-multiplex are compared.
上記説明から明らかなように、4分割加算回路
において、部分加算結果に対するレシデユa〜d
に対して、a+b、又はc+dを行う所で、レシ
デユa,b、又はレシデユc,dの交換が実行さ
れ、a+b+c+dを行う所で、該レシデユの部
分加算値a+b、又はc+dの交換が実行され
る。 As is clear from the above explanation, in the 4-division addition circuit, the recipes a to d for the partial addition results are
, where a + b or c + d is performed, the exchange of recipes a, b or recipes c, d is performed, and where a + b + c + d is performed, the exchange of the partial addition value a + b or c + d of the recipe is performed. Ru.
一般に、入力データを2n(但し、nは1より大
きい整数)分割して、演算を行う方式においてレ
シデユチエツクを行う場合、n回のレシデユの部
分加算結果の交換が必要となる。 Generally, when performing a recipe check in a system in which input data is divided into 2 n (where n is an integer greater than 1) and calculations are performed, it is necessary to exchange the partial addition results of n recipes.
尚、本実施例においては、入力データを2分
割、4分割、一般には2n(但し、nは1より大き
い整数)分割して演算を行う演算(ここでは、加
算)方式を例にして説明したが、本発明の主旨か
ら考えて、上記指数分割に限定されるものではな
く、n分割(但し、nは1より大きい整数)とし
て演算を行う演算方式にも適用できることは云う
迄もないことである。 In this example, an operation (here, addition) method in which input data is divided into two, four, generally 2 n (where n is an integer greater than 1) and the operation is performed will be explained as an example. However, in view of the gist of the present invention, it goes without saying that it is not limited to the above-mentioned exponential division, but can also be applied to an arithmetic method that performs an operation as n-division (where n is an integer greater than 1). It is.
以上、詳細に説明したように、本発明のレシデ
ユチエツク回路は、入力データを2n(nは1より
大きい整数)分割して、2n個の演算回路で部分演
算を行う方式において、該演算に対するレシデユ
テエツクを行うのに、分割された各回路内に最終
レシデユ迄求められるレシデユ交換回路を含める
ようにしたものであるので、各分割された回路内
で、個々に2n多重によるレシデユチエツクができ
ると共に、2n分割に伴うレピータビリテイの向上
が図れる効果がある。
As described above in detail, the residu check circuit of the present invention divides input data into 2 n (n is an integer greater than 1) and performs partial operations using 2 n arithmetic circuits. In order to perform the recipe check, each divided circuit includes a recipe exchange circuit required up to the final recipe. Therefore, each divided circuit can perform the recipe check individually by 2n multiplexing, and This has the effect of improving repeatability due to 2n division.
第1図は2分割した加算回路に対する本発明の
一実施例をブロツク図で、又4分割した加算回路
におけるレシデユチエツク回路を模式的に示した
図、第2図は2分割した加算回路に対して、従来
方式でレシデユチエツクを行う場合の1例を示し
た図、である。
図面において、1は入力データレジスタA、2
は入力データレジスタB、31,32は部分加算
器(+)、41〜44はレシデユ生成回路(RES
GEN)、5,51〜54はレシデユ加算回路
(RES ADD)、51′〜54′はレシデユ加算回路
(RES ADD)、6,61〜64は比較回路
(COMP)、71,72はレシデユ生成回路
(RES GEN)、8はレシデユ加算回路(RES
ADD)、9は最終出力レジスタ、Aa〜Ad,Ba〜
Bdは分割された入力データ、SA,SBは部分加
算和、a,b,c,dはレシデユ生成値、IN
RESは入力データに対する最終レシデユ、ERR,
ERR#1〜ERR#4はレシデユチエツクのエラ
ー信号、をそれぞれ示す。
Figure 1 is a block diagram of an embodiment of the present invention for an adder circuit divided into two parts, and a diagram schematically showing a recipe check circuit in an adder circuit divided into four parts. , is a diagram showing an example of a case where a recipe check is performed using a conventional method. In the drawing, 1 indicates input data register A, 2
is input data register B, 31 and 32 are partial adders (+), and 41 to 44 are recipe generation circuits (RES).
GEN), 5, 51 to 54 are recipe addition circuits (RES ADD), 51' to 54' are recipe addition circuits (RES ADD), 6, 61 to 64 are comparison circuits (COMP), and 71 and 72 are recipe generation circuits. (RES GEN), 8 is the recipe addition circuit (RES
ADD), 9 is the final output register, Aa~Ad, Ba~
Bd is divided input data, SA, SB are partial addition sums, a, b, c, d are recipe generation values, IN
RES is the final recipe for input data, ERR,
ERR#1 to ERR#4 indicate recipe check error signals, respectively.
Claims (1)
割して、2n個の演算回路で部分演算を行い、それ
ぞれの演算回路の出力を、当該分割位置に挿入す
ることにより、最終演算結果を得る2n分割演算回
路のレシデユチエツク方式において、該分割され
た各演算回路内に、最終レシデユ迄求められるレ
シデユ交換回路を含めたことを特徴とするレシデ
ユチエツク回路。 2 上記レシデユ交換回路において、n段目(n
は正の整数)のレシデユ交換回路で、2n個のレシ
デユ部分演算結果を交換するように構成したこと
を特徴とする特許請求の範囲第1項に記載のレシ
デユチエツク回路。[Claims] 1. Divide input data into 2 n (n is an integer greater than 1), perform partial calculations using 2 n arithmetic circuits, and insert the output of each arithmetic circuit into the corresponding division position. According to a recipe check method of a 2n- divided arithmetic circuit for obtaining a final arithmetic result, each of the divided arithmetic circuits includes a recipe exchange circuit required up to the final recipe. 2 In the above recipe exchange circuit, the nth stage (n
2. The recipe check circuit according to claim 1, wherein the recipe exchange circuit is configured to exchange 2 n recipe partial operation results.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59135430A JPS6121534A (en) | 1984-06-29 | 1984-06-29 | Residue check circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59135430A JPS6121534A (en) | 1984-06-29 | 1984-06-29 | Residue check circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6121534A JPS6121534A (en) | 1986-01-30 |
| JPS642973B2 true JPS642973B2 (en) | 1989-01-19 |
Family
ID=15151539
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59135430A Granted JPS6121534A (en) | 1984-06-29 | 1984-06-29 | Residue check circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6121534A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4944314B2 (en) * | 2001-07-10 | 2012-05-30 | 龍江精工株式会社 | Liquid storage bag |
-
1984
- 1984-06-29 JP JP59135430A patent/JPS6121534A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6121534A (en) | 1986-01-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4556948A (en) | Multiplier speed improvement by skipping carry save adders | |
| JPS60164837A (en) | Divider | |
| US4224680A (en) | Parity prediction circuit for adder/counter | |
| CA1232072A (en) | Multiplication circuit using a multiplier and a carry propagating adder | |
| JPH10505929A (en) | Digital arithmetic circuit | |
| JPS642973B2 (en) | ||
| US5677863A (en) | Method of performing operand increment in a booth recoded multiply array | |
| US3287546A (en) | Parity prediction apparatus for use with a binary adder | |
| JPS5856033A (en) | Multiplying circuit | |
| US6272513B1 (en) | Multiplying device | |
| EP0326414A2 (en) | High speed multiplier | |
| JP2991788B2 (en) | Decoder | |
| JP3137131B2 (en) | Floating point multiplier and multiplication method | |
| JPH087670B2 (en) | Adder circuit | |
| JP2606339B2 (en) | Multiplier | |
| JPH0214727B2 (en) | ||
| KR100420410B1 (en) | Real-complex multiplier using redudant binary operation | |
| EP1739547A1 (en) | Performing rounding in an arithmetic operation | |
| JP3198795B2 (en) | Adder and addition method | |
| JPH10149277A (en) | Multiplier | |
| JPH0527948A (en) | Arithmetic unit | |
| CA2018271C (en) | Digital arrangement for error checking in binary adder including block carry look-ahead units | |
| JPH1115641A (en) | Multiplication device using redundant binary adder | |
| JP2551037B2 (en) | Inverse arithmetic circuit | |
| JPH0440521A (en) | Multiplier |