JPS6142183Y2 - - Google Patents

Info

Publication number
JPS6142183Y2
JPS6142183Y2 JP1985132203U JP13220385U JPS6142183Y2 JP S6142183 Y2 JPS6142183 Y2 JP S6142183Y2 JP 1985132203 U JP1985132203 U JP 1985132203U JP 13220385 U JP13220385 U JP 13220385U JP S6142183 Y2 JPS6142183 Y2 JP S6142183Y2
Authority
JP
Japan
Prior art keywords
recipe
register
circuit
data
cycle
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
Application number
JP1985132203U
Other languages
Japanese (ja)
Other versions
JPS6151541U (en
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 filed Critical
Priority to JP1985132203U priority Critical patent/JPS6142183Y2/ja
Publication of JPS6151541U publication Critical patent/JPS6151541U/ja
Application granted granted Critical
Publication of JPS6142183Y2 publication Critical patent/JPS6142183Y2/ja
Expired legal-status Critical Current

Links

Landscapes

  • Retry When Errors Occur (AREA)

Description

【考案の詳細な説明】 本考案は演算検査回路、特に、残余(以下レシ
ジユーと称す)による誤り検査を行なうとき、2
組のデータのレシジユーを1組のレシジユー発生
回路により作成してレシジユー・チエツクするよ
うにした演算検査回路に関する。
[Detailed description of the invention] The present invention is an arithmetic checking circuit, especially when performing error checking using a residual (hereinafter referred to as "residue").
The present invention relates to an arithmetic check circuit in which a recipe for a set of data is created by a set of recipe generating circuits and the recipe is checked.

演算検査回路としてレシジユーによる誤り検査
回路は公知である。第1図は乗算器の場合のレシ
ジユー検査回路の1従来例である。第1図におい
て、1は被乗数レジスタ、2は乗数レジスタ、3
は例えば56ビツトの乗数を8ビツトづつの7グル
ープに区分して供給する選択回路、4はレジス
タ、5は乗算器、6はサム・レジスタ、7はキヤ
リ・レジスタ、8と9はレシジユー発生回路、1
0と11はレジスタ、12はレシジユー加算回
路、13は比較回路、14と15はレシジユー発
生回路、16と17はレジスタ、18はレシジユ
ー加算回路、19はレジスタ、20と21はレシ
ジユー発生回路、22と23はレジスタ、24は
レシジユー乗算回路である。
As an arithmetic check circuit, an error check circuit using a recipe is well known. FIG. 1 shows a conventional example of a recipe check circuit for a multiplier. In Figure 1, 1 is the multiplicand register, 2 is the multiplier register, and 3 is the multiplicand register.
For example, is a selection circuit that divides and supplies a 56-bit multiplier into 7 groups of 8 bits each, 4 is a register, 5 is a multiplier, 6 is a sum register, 7 is a carry register, and 8 and 9 are recipe generation circuits. ,1
0 and 11 are registers, 12 is a recipe addition circuit, 13 is a comparison circuit, 14 and 15 are recipe generation circuits, 16 and 17 are registers, 18 is a recipe addition circuit, 19 is a register, 20 and 21 are recipe generation circuits, 22 and 23 are registers, and 24 is a recipe multiplication circuit.

乗算器5はキヤリーセーブアダーで構成され、
演算結果はキヤリーCとサムSの形でレジスタ7
(C−Reg)とレジスタ6(S−Reg)にセツト
される。
Multiplier 5 is composed of a carry save adder,
The calculation result is stored in register 7 in the form of carry C and sum S.
(C-Reg) and register 6 (S-Reg).

56ビツトの被乗数と56ビツトの乗数とを乗算す
るとき、乗数を8ビツトごとの7グループに分
け、第1のサイクルでその最下位グループを被乗
数に乗ずる。第2のサイクルのとき次の上位のグ
ループ8ビツトを被乗数に乗ずるとともに、第1
のサイクルで得られた結果を8ビツト分シフトし
た形で当該乗算結果に加算していく。このように
して7サイクル分の乗算が終了したとき乗算の結
果であるレジスタ(C−Reg)とレジスタ6(S
−Reg)の内容は、図示しないキヤリープロパゲ
ートアダーに供給されて加算され、最終的な乗算
結果が得られる。このような乗算器におけるレシ
ジユー・チエツク回路については、例えば、特公
昭53−5095に詳細に述べられているので、ここで
は動作原理等の説明を省略する。
When multiplying a 56-bit multiplicand by a 56-bit multiplier, the multiplier is divided into seven groups of 8 bits each, and the lowest group is multiplied by the multiplicand in the first cycle. In the second cycle, the next upper group 8 bits are multiplied by the multiplicand, and the first
The result obtained in the cycle is shifted by 8 bits and added to the multiplication result. In this way, when the multiplication for 7 cycles is completed, the register (C-Reg) and register 6 (S-Reg), which are the results of the multiplication, are
-Reg) is supplied to a carry propagation adder (not shown) and added to obtain the final multiplication result. The recipe check circuit in such a multiplier is described in detail in, for example, Japanese Patent Publication No. 53-5095, so a description of the operating principle etc. will be omitted here.

従来のレシジユー・チエツク回路は、第1図に
示すように当該サイクルにおいて乗算器5に入力
される被乗数(CAND)と乗数(IER)のレシジ
ユーを作るそれぞれのレシジユー発生回路20,
21と、1サイクル前までのサムとキヤリーのレ
シジユーを作るそれぞれのレシジユー発生回路1
4,15および当該サイクルまでの演算結果のサ
ムとキヤリーのレシジユーを作るそれぞれのレシ
ジユー発生回路8,9をそなえている。
As shown in FIG. 1, the conventional recipe check circuit includes recipe generation circuits 20 and 20, respectively, which generate recipes for the multiplicand (CAND) and multiplier (IER) that are input to the multiplier 5 in the relevant cycle.
21, and each recipe generation circuit 1 that generates Sam and Carrie's recipes up to one cycle before.
4 and 15, and recipe generation circuits 8 and 9 for generating sum and carry recipes of the calculation results up to the relevant cycle.

レジスタ22の出力RCANDとレジスタ23の
出力RIERは乗算され、その乗算結果にさらにレ
ジスタ16の出力RPPSとレジスタ17の出力
RPPCが加算され、一方のレシジユーRiが得られ
る。そして、レジスタ10の出力RSUMとレジス
タ11の出力RCRYを加算して他方のレシジユー
Roが得られ、RiとRoが比較され不一致があれば
エラー信号を発生する。
The output RCAND of register 22 and the output RIER of register 23 are multiplied, and the multiplication result is further multiplied by the output RPPS of register 16 and the output of register 17.
RPPC is added and one receipt Ri is obtained. Then, add the output RSUM of register 10 and the output RCRY of register 11 to obtain the other recipe.
Ro is obtained, Ri and Ro are compared, and if there is a mismatch, an error signal is generated.

上記のような構成によると、エラーチエツク回
路を含めた乗算装置のうちエラーチエツク回路が
30%程度となり、エラーチエツク回路のハード量
を多く必要とする問題を有していた。
According to the above configuration, of the multiplication device including the error check circuit, the error check circuit is
This amounted to about 30%, which posed the problem of requiring a large amount of hardware for the error check circuit.

本考案は上記問題点を解決し、エラーチエツク
回路のハード量を削減することを目的とし、その
ため本考案は、演算処理回路のレシジユー・チエ
ツクを行なう演算検査回路において、2組のデー
タのレシジユーを発生するとき、1組のレシジユ
ー発生回路と、上記2組のデータのいずれかを選
択的に該レシジユー発生回路へ入力するゲート手
段と、 上記レシジユー発生回路の出力を一時保持する
第1のレジスタと、上記2組のデータに対応して
もうけられ上記レシジユー発生回路により得られ
たレシジユーを保持する第2および第3のレジス
タをもうけ、1サイクルの前半で上記レシジユー
発生回路により上記2組のデータのうちの一方の
データのレシジユーを作り上記第1のレジスタへ
保持し、当該1サイクルの後半で上記レシジユー
発生回路により上記2組のデータのうちの他方の
データのレシジユーを作り当該レシジユーを上記
第2および第3のレジスタのうちの所定の一方の
レジスタへセツトするとともに、上記第1のレジ
スタの出力を上記第2および第3のレジスタのう
ちの所定の他方のレジスタへセツトすることを特
徴とする。
The purpose of the present invention is to solve the above problems and reduce the amount of hardware required for the error check circuit. Therefore, the present invention aims to solve the above-mentioned problems and reduce the amount of hardware required for the error check circuit. Therefore, the present invention aims to solve the above problems and reduce the amount of hardware required for the error check circuit. a first register for temporarily holding the output of the above-mentioned residue generation circuit; , second and third registers are provided corresponding to the two sets of data and hold the recipes obtained by the recipe generation circuit, and in the first half of one cycle, the two sets of data are stored by the recipe generation circuit. A recipe for one of the two sets of data is created and held in the first register, and in the second half of the cycle, the recipe generating circuit generates a recipe for the other data of the two sets of data and the recipe is stored in the second register. and a predetermined one of the third registers, and the output of the first register is set to a predetermined other register of the second and third registers. .

以下、図面により本考案を説明する。 The present invention will be explained below with reference to the drawings.

第2図aは本考案による実施例のレシジユー検
査回路の一部、第2図bは第2図aの回路のタイ
ムチヤートである。
FIG. 2a shows a part of a recipe test circuit according to an embodiment of the present invention, and FIG. 2b shows a time chart of the circuit shown in FIG. 2a.

第2図aにおいて、第1図と同一番号のものは
同一物、30はレシジユー発生回路、31と32
はレシジユー発生回路30への入力データの送出
を制御する入力ゲート回路、33はオア回路、3
4はレジスタ6(S−Reg)のデータのレシジユ
ーを作成したとき得られたレシジユーを一時保持
しておくレジスタである。
In Figure 2a, the same numbers as in Figure 1 are the same, 30 is a recipe generation circuit, 31 and 32
3 is an input gate circuit that controls the sending of input data to the recipe generation circuit 30; 33 is an OR circuit;
Reference numeral 4 denotes a register that temporarily holds the recipe obtained when the recipe of the data in register 6 (S-Reg) is created.

第2図bのタイムチヤートから明らかなよう
に、1サイクルの前半に入力ゲート31が開き、
レジスタ6(S−Reg)のデータがSINとしてオ
ア回路33を通つてレシジユー発生回路30に入
力される。そして、作成されたレシジユーは1/2
サイクルの時点でレジスタ34にセツトされる。
次に、1サイクルの後半では入力ゲート32が開
き、レジスタ7(C−Reg)のデータがCINとし
てアオ回路33を通つてレシジユー発生回路30
に入力される。作成されたレシジユーは1サイク
ルの終了時点にレジスタ11にセツトされる。な
お、1サイクルの終了時点では同時にレジスタ3
4の内容がレジスタ10にセツトされる。そし
て、次の1サイクルにおいて、レシジユー加算回
路12でレジスタ10とレジスタ11の内容が加
算され、加算結果Roと第1図図示のレジスタ1
9からのレシジユーRiとが比較回路13におい
て比較される。
As is clear from the time chart in FIG. 2b, the input gate 31 opens in the first half of one cycle.
The data in the register 6 (S-Reg) is input as SIN to the recipe generation circuit 30 through the OR circuit 33. And the created recipe is 1/2
It is set in register 34 at the time of the cycle.
Next, in the latter half of one cycle, the input gate 32 opens, and the data in the register 7 (C-Reg) passes through the blue circuit 33 as CIN to the recipe generation circuit 30.
is input. The created recipe is set in the register 11 at the end of one cycle. Note that at the end of one cycle, register 3 is
The contents of 4 are set in register 10. Then, in the next cycle, the contents of register 10 and register 11 are added in the recipe addition circuit 12, and the addition result Ro and register 1 shown in FIG.
9 is compared with the recipe Ri in the comparator circuit 13.

同様にして、第1図図示のレシジユー発生回路
14と15およびレシジユー発生回路20と21
をそれぞれ単一のレシジユー発生回路に置き換え
ることができる。
Similarly, the recipe generation circuits 14 and 15 and the recipe generation circuits 20 and 21 shown in FIG.
can each be replaced with a single recipe generation circuit.

上記したように本考案によれば、2組のデータ
のレシジユーを発生するとき1組のレシジユー発
生回路を共用して1サイクルの前半で一方のデー
タのレシジユーを作り、後半で他方のデータのレ
シジユーを作るようにしたので演算検査回路のハ
ードウエア量を大巾に削減することができ、経済
性の向上を計ることができるというすぐれた効果
を奏する。
As described above, according to the present invention, when generating a recipe for two sets of data, one set of recipe generation circuits is shared, the recipe for one data is generated in the first half of one cycle, and the recipe for the other data is generated in the second half. Since this method is made, the amount of hardware for the arithmetic and test circuit can be greatly reduced, resulting in an excellent effect of improving economic efficiency.

なお、上記実施例では乗算処理におけるレシジ
ユー・チエツク回路を示したが、本考案は乗算処
理に限定されるものでないことは明白である。
Although the above embodiment shows a recipe check circuit for multiplication processing, it is clear that the present invention is not limited to multiplication processing.

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

第1図は乗算器の場合のレシジユー検査回路の
一従来例、第2図aは本考案による実施例のレシ
ジユー検査回路の一部、第2図bは第2図aの回
路のタイムチヤートである。 図中、1は被乗数レジスタ、2は乗数レジス
タ、5は乗算器、6はサム・レジスタ、7はキヤ
リ・レジスタ、8,9,14,15,20,21
および30はレシジユー発生回路、12と18は
レシジユー加算回路、13は比較回路、24はレ
シジユー乗算回路、31と32は入力ゲート回
路、10,11および34はレジスタである。
FIG. 1 shows a conventional example of a recipe test circuit for a multiplier, FIG. 2 a shows a part of a recipe test circuit according to an embodiment of the present invention, and FIG. be. In the figure, 1 is the multiplicand register, 2 is the multiplier register, 5 is the multiplier, 6 is the sum register, 7 is the carry register, 8, 9, 14, 15, 20, 21
and 30 are recipe generation circuits, 12 and 18 are recipe addition circuits, 13 is a comparison circuit, 24 is a recipe multiplication circuit, 31 and 32 are input gate circuits, and 10, 11 and 34 are registers.

Claims (1)

【実用新案登録請求の範囲】 演算処理回路のレシジユー・チエツクを行なう
演算検査回路において、2組のデータのレシジユ
ーを発生するとき、1組のレシジユー発生回路
と、上記2組のデータのいずれかを選択的に該レ
シジユー発生回路へ入力するゲート手段と、 上記レシジユー発生回路の出力を一時保持する
タイミング待合せ用の第1のレジスタと、上記2
組のデータに対応してもうけられ上記レシジユー
発生回路により得られたレシジユーを保持する第
2および第3のレジスタをもうけ、1サイクルの
前半で上記レシジユー発生回路により上記2組の
データのうちの一方のデータのレシジユーを作り
上記第1のレジスタへ保持し、当該1サイクルの
後半で上記レシジユー発生回路により上記2組の
データのうちの他方のデータのレシジユーを作り
当該レシジユーを上記第2および第3のレジスタ
のうちの所定の一方のレジスタへセツトするとと
もに、同時に上記第1のレジスタの出力を上記第
2および第3のレジスタのうちの所定の他方のレ
ジスタへセツトすることを特徴とする演算検査回
路。
[Claims for Utility Model Registration] When generating two sets of data recipes in an arithmetic inspection circuit that performs a recipe check of an arithmetic processing circuit, one set of recipe generation circuits and one of the two sets of data a gate means for selectively inputting the input to the recipe generation circuit; a first register for timing waiting that temporarily holds the output of the recipe generation circuit;
A second and a third register are provided corresponding to the set of data and hold the recipe obtained by the recipe generation circuit, and one of the two sets of data is generated by the recipe generation circuit in the first half of one cycle. A recipe of data is generated and held in the first register, and in the second half of the cycle, a recipe of the other data of the two sets of data is generated by the recipe generating circuit and the recipe is transferred to the second and third registers. an arithmetic test characterized by setting the output of the first register to a predetermined one of the registers, and simultaneously setting the output of the first register to a predetermined other register of the second and third registers. circuit.
JP1985132203U 1985-08-29 1985-08-29 Expired JPS6142183Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1985132203U JPS6142183Y2 (en) 1985-08-29 1985-08-29

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1985132203U JPS6142183Y2 (en) 1985-08-29 1985-08-29

Publications (2)

Publication Number Publication Date
JPS6151541U JPS6151541U (en) 1986-04-07
JPS6142183Y2 true JPS6142183Y2 (en) 1986-12-01

Family

ID=30690766

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1985132203U Expired JPS6142183Y2 (en) 1985-08-29 1985-08-29

Country Status (1)

Country Link
JP (1) JPS6142183Y2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63145539A (en) * 1986-07-03 1988-06-17 Nec Corp Modulo-w circuit

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS535095A (en) * 1976-07-06 1978-01-18 Mitsubishi Electric Corp Ozonizer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS535095A (en) * 1976-07-06 1978-01-18 Mitsubishi Electric Corp Ozonizer

Also Published As

Publication number Publication date
JPS6151541U (en) 1986-04-07

Similar Documents

Publication Publication Date Title
JPH0375901B2 (en)
JPH0368416B2 (en)
CN103279323B (en) A kind of adder
JPS6142183Y2 (en)
JPH07107664B2 (en) Multiplication circuit
US4879675A (en) Parity generator circuit and method
JPS58129653A (en) Multiplication system
GB802656A (en) Electronic digital computer
JPS588353A (en) Multiplier
JPS6259828B2 (en)
JP2991788B2 (en) Decoder
JPH07141148A (en) Pipeline parallel multiplier
JPS6161138B2 (en)
KR19980084342A (en) Method and apparatus for multiplying floating point data in a two cycle pipeline
JPH0322023A (en) Digital multiplying/deviding circuit device
JPH0448252B2 (en)
JPS61153765A (en) Pipe line digital summer of digital correlator
JPH025128A (en) Dividing circuit
JPH02126322A (en) Information processor
JPH06201779A (en) Test circuit
JPH0439726A (en) Multiplier circuit
JPH07191830A (en) Arithmetic unit
JPS63159930A (en) Multiplier
JPH04286070A (en) Sum of products arithmetic unit
JPH0658671B2 (en) Vector processor