JPH02148145A - Check circuit for vector arithmetic unit - Google Patents

Check circuit for vector arithmetic unit

Info

Publication number
JPH02148145A
JPH02148145A JP63303154A JP30315488A JPH02148145A JP H02148145 A JPH02148145 A JP H02148145A JP 63303154 A JP63303154 A JP 63303154A JP 30315488 A JP30315488 A JP 30315488A JP H02148145 A JPH02148145 A JP H02148145A
Authority
JP
Japan
Prior art keywords
circuit
check
vector
vector data
register
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
JP63303154A
Other languages
Japanese (ja)
Inventor
Atsuo Mochizuki
望月 敦雄
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.)
NEC Computertechno Ltd
Original Assignee
NEC Computertechno 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 NEC Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP63303154A priority Critical patent/JPH02148145A/en
Publication of JPH02148145A publication Critical patent/JPH02148145A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the number of check circuits by calculating vector data for check as first vector data and checking the coincidence between the calculation result and a correct answer value. CONSTITUTION:When a vector calculation start signal is inputted, a set signal of vector data for check is sent to registers 103 and 104 with selectors, and vector data for check is stored in these registers 103 and 104, and vector data in registers 103 and 104 with selectors is calculated by a vector computing element 105, and the result is stored in a register 106. This vector calculation result is compared with the correct answer value sent from a register 107 in a comparing circuit 108 by the comparison execution signal sent from the circuit 102. Since the coincidence of only the calculation result is checked in this manner, the number of check circuits is reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はベクトル演算装置に関し、特にベクトル演算器
のチェック回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a vector arithmetic device, and more particularly to a check circuit for a vector arithmetic unit.

〔従来の技術〕[Conventional technology]

従来、この種のチェック回路は、パリティチェック回路
、モジュロ−3チ工ツク回路等となっていた。
Conventionally, this type of check circuit has been a parity check circuit, a modulo three-channel circuit, and the like.

第2図はパリティチェック回路を示すブロック図である
。パリティチェック回路とは、入力ベクトルデータが、
入力ベクトルデータを格納するレジスタ201,202
に入力され、ベクトル演算器105で演算されてベクト
ル演算結果を格納するレジスタ106に格納されるのと
並行して、入力ベクトルデータのパリティを予測する回
路205.206で生成されたパリティが、回路205
.206のデータを格納するレジスタ207.208に
各々入力され、データを格納するレジスタ201,20
2,207,208から送出されるデータにより、パリ
ティ演算を実行する回路209でパリティ演算され、回
路209のデータを格納するレジスタ210に入力され
る。
FIG. 2 is a block diagram showing a parity check circuit. A parity check circuit means that the input vector data is
Registers 201 and 202 that store input vector data
The parity data generated by the circuits 205 and 206 that predict the parity of the input vector data is input to the circuit 205 and 206 for predicting the parity of the input vector data. 205
.. Registers 201 and 20 that store data are input to registers 207 and 208 that store data of 206, respectively.
The data sent from the circuits 2, 207, and 208 are subjected to a parity operation in a circuit 209 that performs a parity operation, and are input to a register 210 that stores data in the circuit 209.

続いて、ベクトル演算結果を格納するレジスタ106の
ベクトルデータにより、パリティを生成する回路211
のデータと、比較回路212で一致チェックを行なうと
いうものである。
Next, a circuit 211 generates parity using the vector data in the register 106 that stores the vector operation result.
A comparison circuit 212 performs a match check with the data.

第3図は、モジュロ−3チ工ツク回路を示すブロック図
である。モジュロ−3チ工ツク回路とは、入力ベクトル
データが入力ベクトルデータを格納するレジスタ201
,202に入力され、ベクトル演算器105で演算され
てベクトル演算結果を格納するレジスタ106に格納さ
れるのと並行して、入力ベクトルデータよりモジュロ−
3値を生成する回路305,306で生成されたモジュ
ロ−3値が回路305.306のデータを格納するレジ
スタ307,308に各々入力され、データを格納する
レジスタ307,308から送出されるデータにより、
モジュロ−3演算をする回路30っでモジュロ−3演算
され、回路309のデータを格納するレジスタ310に
入力される。続いて、ベクトル演算結果を格納するレジ
スタ106のベクトルデータにより、モジュロ−3値を
生成する回路311のデータと比較回路312で一致チ
ェックを行なうというものである。
FIG. 3 is a block diagram showing a modulo three-channel circuit. A modulo three-chip circuit is a circuit in which input vector data is connected to a register 201 that stores the input vector data.
, 202, is computed by the vector arithmetic unit 105, and is stored in the register 106 that stores the vector computation result.
The modulo-ternary values generated by the circuits 305 and 306 that generate ternary values are input to the registers 307 and 308 that store data in the circuits 305 and 306, respectively, and the data sent out from the registers 307 and 308 that store the data ,
A modulo-3 operation is performed by a circuit 30 that performs a modulo-3 operation, and the result is input to a register 310 that stores data from the circuit 309. Subsequently, a comparison circuit 312 performs a match check with the data of the circuit 311 that generates a modulo-ternary value using the vector data of the register 106 that stores the vector operation result.

〔発明が解決しようとする課題〕 上述した従来のチェック回路は、入力から出力に至るま
でチェック用ビットを持ち回らなければならず、必要に
応じては、途中に一致チェック回路も挿入することにな
っていたので、演算回路の中で、多大なハードウェア量
のチェック回路をもつという欠点がある。
[Problem to be solved by the invention] In the conventional check circuit described above, the check bit must be carried around from the input to the output, and if necessary, a coincidence check circuit may be inserted in the middle. Therefore, it has the disadvantage of having a check circuit that requires a large amount of hardware in the arithmetic circuit.

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

本発明のチェック回路の構成は、ベクトル演算開始信号
をもとに、チェック用ベクトルデータセット信号と比較
実行信号を送出する回路と、1個のチェック用ベクトル
データ及び正解値を保持するレジスタと、該比較実行信
号を入力してベクトル演算器の演算結果を該正解値と比
較する比較回路とを含み、前記チェック用ベクトルデー
タを最初のベクトルデータとして演算し、演算結果を前
記正解値との一致チェックを行なうことを特徴とする。
The configuration of the check circuit of the present invention includes: a circuit that sends a check vector data set signal and a comparison execution signal based on a vector operation start signal; a register that holds one check vector data and a correct value; a comparison circuit that inputs the comparison execution signal and compares the calculation result of the vector calculation unit with the correct value, calculates the check vector data as initial vector data, and matches the calculation result with the correct value. It is characterized by checking.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例のブロック図である。1個の
チェック用ベクトルデータを保持するレジスタ101、
チェック用ベクトルデータセット信号と比較実行信号を
送出する回路102、回路102から送出されるチェッ
ク用ベクトルデータセット信号により、チェック用ベク
トルデータを入力出来るセレクタ付レジスタ103゜1
04、セレクタ付レジスタ103,104のベクトルデ
ータを演算するベクトル演算器105、ベクトル演算器
105の演算結果を格納するレジスタ106、正解値を
保持するレジスタ107、回路102から送出される比
較実行信号により、レジスタ107の正解値と、レジス
タ106の演算結果を比較する比較回路108を含み、
ベクトル演算開始信号を入力した場合、チェック用ベク
トルデータセット信号がセレクタ付レジスタ103,1
04に送出され、チェック用ベクトルデータがセレクタ
付レジスタ103.104のベクトルデータがセレクタ
付レジスタ103゜104に格納され、セレクタ付レジ
スタ103゜104のベクトルデータは、ベクトル演算
器105で演算されてレジスタ106に格納され、レジ
スタ107から送出される正解値と、回路102から送
出される比較実行信号により、比較回路108で比較さ
れる。
FIG. 1 is a block diagram of one embodiment of the present invention. a register 101 that holds one piece of check vector data;
A circuit 102 that sends out a check vector data set signal and a comparison execution signal, and a register 103 with a selector that can input check vector data using the check vector data set signal sent from the circuit 102.
04, a vector calculator 105 that calculates the vector data of registers with selectors 103 and 104, a register 106 that stores the calculation results of the vector calculator 105, a register 107 that holds the correct value, and a comparison execution signal sent from the circuit 102. , includes a comparison circuit 108 that compares the correct value of the register 107 and the calculation result of the register 106,
When the vector calculation start signal is input, the check vector data set signal is sent to the register with selector 103, 1.
04, vector data for check is stored in registers with selectors 103 and 104 in registers with selectors 103 and 104, vector data in registers with selectors 103 and 104 are calculated by vector calculator 105 and stored in registers. A comparison circuit 108 compares the correct value stored in 106 and sent out from register 107 with a comparison execution signal sent out from circuit 102 .

第4図は第1図のタイミングチャートである。FIG. 4 is a timing chart of FIG. 1.

1、時刻11で、ベクトル演算開始信号をもとに、チェ
ック用ベクトルデータセット信号を送出する。
1. At time 11, a check vector data set signal is sent out based on the vector calculation start signal.

2゜時刻t2で、チェック用ベクトルデータセット信号
により、セレクタ付レジスタ103゜104にチェック
用ベクトルデータが入力される。
At 2° time t2, check vector data is input to the selector registers 103 and 104 by the check vector data set signal.

3、次のタイミングでは、チェック用ベクトルデータセ
ット信号が無効となるので(時刻t3)、セレクタ付レ
ジスタ103,104には通常のベクトルデータが入力
される(時刻t 4! t5 ) −4、演算時間t、
が経過した後に、時刻上〇でベクトル演算結果がレジス
タ106に入力されて比較実行信号により、正解値との
間で比較回路106で一致チェックが行なわれる。
3. At the next timing, the check vector data set signal becomes invalid (time t3), so normal vector data is input to the selector registers 103 and 104 (time t4! t5) -4, calculation time t,
After the elapse of , the vector operation result is input to the register 106 at time 0, and a comparison execution signal causes the comparison circuit 106 to perform a match check with the correct value.

5、次のタイミングでは、比較実行信号は無効となり、
比較回路は動作終了となる。
5. At the next timing, the comparison execution signal becomes invalid,
The comparison circuit ends its operation.

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

以上説明したように本発明は、演算結果についてのみ一
致チェックを行なうことにより、チェック回路を大幅に
削減出来るので、そのハードウェア量削減に伴なう演算
回路の集積性の向上により、演算回路の高速化が期待出
来る効果がある。
As explained above, the present invention can significantly reduce the number of check circuits by performing a match check only on the calculation results. This has the effect of increasing speed.

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

第1図は本発明の一実施例のブロック図、第2図は第1
図のタイミングチャート、第3図は従来のパリティチェ
ック回路のブロック図、第4図はモジュロ−3チ工ツク
回路のブロック図である。 101・・・チェック用ベクトルデータセット信号を送
出する回路、102・・・比較実行信号を送出する回路
、103,104・・・チェック用ベクトルデータを入
力出来るセレクタ付レジスタ、105・・・ベクトル演
算器、106・・・演算結果を格納するレジスタ、10
7・・・正解値を保持するレジスタ、108・・・比較
回路、201.202・・・入力データを格納するレジ
スタ、205,206・・・入力データのパリティを予
測する回路、207.208・・・入力データのパリテ
ィを格納するレジスタ、209・・・入力データ及び同
パリティからパリティ演算をする回路、210・・・パ
リティ演算結果を格納するレジスタ、211・・・ベク
トル演算結果のパリティを生成する回路、212・・・
パリティの一致チェックを行なう比較回路、305.3
06・・・入力データのモジュロ−3演算をする回路、
307.308・・・入力データのモジュロ−3値を格
納するレジスタ、309・・・入力データのモジュロ−
3値からモジュロ−3演算をする回路、310・・・回
路309のモジュロ−3値を格納するレジスタ、311
・・・ベクトル演算結果からモジュロ−3演算をする回
路、312・・・モジュロ−3の一致チェックを行なう
比較回路。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
3 is a block diagram of a conventional parity check circuit, and FIG. 4 is a block diagram of a modulo-3 check circuit. 101... A circuit that sends out a check vector data set signal, 102... A circuit that sends out a comparison execution signal, 103, 104... A register with a selector that can input check vector data, 105... Vector calculation device, 106... register for storing calculation results, 10
7...Register for holding correct value, 108...Comparison circuit, 201.202...Register for storing input data, 205, 206...Circuit for predicting parity of input data, 207.208. ...Register for storing parity of input data, 209...Circuit for performing parity operation from input data and the same parity, 210...Register for storing parity operation result, 211...Generating parity for vector operation result circuit, 212...
Comparison circuit for checking parity consistency, 305.3
06...Circuit that performs modulo-3 calculation of input data,
307, 308...Register for storing the modulo 3 values of input data, 309...Modulo of input data.
A circuit that performs a modulo-3 operation from three values, 310...A register that stores the modulo-3 value of the circuit 309, 311
. . . A circuit that performs a modulo-3 operation from the vector operation result, 312 . . . A comparison circuit that performs a modulo-3 match check.

Claims (1)

【特許請求の範囲】[Claims] ベクトル演算開始信号をもとに、チェック用ベクトルデ
ータセット信号と比較実行信号を送出する回路と、1個
のチェック用ベクトルデータ及び正解値を保持するレジ
スタと、該比較実行信号を入力してベクトル演算器の演
算結果を該正解値と比較する比較回路とを含み、前記チ
ェック用ベクトルデータを最初のベクトルデータとして
演算し、演算結果を前記正解値との一致チェックを行な
うことを特徴とするベクトル演算装置のチェック回路。
Based on the vector operation start signal, there is a circuit that sends out a check vector data set signal and a comparison execution signal, a register that holds one check vector data and a correct value, and a circuit that inputs the comparison execution signal and outputs a vector data set signal and a comparison execution signal. A vector characterized in that it includes a comparison circuit that compares the calculation result of the arithmetic unit with the correct value, calculates the check vector data as initial vector data, and checks the calculation result for matching with the correct value. Check circuit for arithmetic unit.
JP63303154A 1988-11-29 1988-11-29 Check circuit for vector arithmetic unit Pending JPH02148145A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63303154A JPH02148145A (en) 1988-11-29 1988-11-29 Check circuit for vector arithmetic unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63303154A JPH02148145A (en) 1988-11-29 1988-11-29 Check circuit for vector arithmetic unit

Publications (1)

Publication Number Publication Date
JPH02148145A true JPH02148145A (en) 1990-06-07

Family

ID=17917530

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63303154A Pending JPH02148145A (en) 1988-11-29 1988-11-29 Check circuit for vector arithmetic unit

Country Status (1)

Country Link
JP (1) JPH02148145A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58109971A (en) * 1981-12-23 1983-06-30 Fujitsu Ltd Vector operation processing system
JPS6227831A (en) * 1985-07-29 1987-02-05 Nec Corp Checking circuit for computing element

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58109971A (en) * 1981-12-23 1983-06-30 Fujitsu Ltd Vector operation processing system
JPS6227831A (en) * 1985-07-29 1987-02-05 Nec Corp Checking circuit for computing element

Similar Documents

Publication Publication Date Title
JPH07210369A (en) Circuit and method for execution of parallel addition and average operation
JP2001203587A (en) Chain search unit
JPH02148145A (en) Check circuit for vector arithmetic unit
JPH03256134A (en) Checking circuit for vector computing element
JPS6227831A (en) Checking circuit for computing element
JPH02266438A (en) Checking circuit for vector arithmetic unit
JP3310316B2 (en) Arithmetic unit
JP2908117B2 (en) Vector arithmetic processing unit
JP3693873B2 (en) Mask bit number arithmetic unit, vector processing unit, information processing unit
JP2781081B2 (en) Logical operation method by parallel operation mechanism
JPS61255448A (en) Memory access control device
JP2806459B2 (en) A logic simulation device that can evaluate flip-flops
JPH0398163A (en) Vector data processor
JPH03218526A (en) Information processor
JPH0343865A (en) Vector data processor
JPH04288629A (en) Operation circuit for data with parity
JPH05204638A (en) Pipeline processor
JPS61269738A (en) Data processing circuit
JPH02141825A (en) Arithmetic unit
JPS63128477A (en) Checking system by conversion of circuit
JPS62100832A (en) Arithmetic checking circuit
JPH03263264A (en) Information processor
JPH02201644A (en) Pipe line computing element
JPH08139710A (en) Phase difference absorbing method and circuit for duplex transmission line
JPH052470A (en) Adder-subtractor device