JPH03256134A - Checking circuit for vector computing element - Google Patents

Checking circuit for vector computing element

Info

Publication number
JPH03256134A
JPH03256134A JP2055504A JP5550490A JPH03256134A JP H03256134 A JPH03256134 A JP H03256134A JP 2055504 A JP2055504 A JP 2055504A JP 5550490 A JP5550490 A JP 5550490A JP H03256134 A JPH03256134 A JP H03256134A
Authority
JP
Japan
Prior art keywords
vector
signal
check
register
vector data
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
JP2055504A
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 JP2055504A priority Critical patent/JPH03256134A/en
Publication of JPH03256134A publication Critical patent/JPH03256134A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the capacity of hardwares and to improve the integration property of an arithmetic circuit due to the reduction of the hardwares by checking the coincidence of only operation results. CONSTITUTION:A checking vector data setting signal 113 is outputted based upon a vector operation starting signal 115. Checking vector data 111, 112 are respectively inputted to registers 103, 104 including selectors based upon the signal 113. Since the signal 113 is invalidated at the succeeding timing, normal vector data 109, 110 are inputted to the registers 103, 104. After the lapse of a prescribed operation time, a vector operation result is inputted to a register 106, a comparison executing signal 114 is sent and the coincidence between the vector operation result and a correct answer value is checked by a comparator 108. A signal is invalidated at the succeeding timing to end the operation of the comparator 108. On the other hand, the signal 113 is outputted based upon a vector operation end signal 116 so that the data 111, 112 are inputted to the registers 103, 104 at the succeeding timing of the input of (n+1) the vector data.

Description

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

〔従来の技術〕[Conventional technology]

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

第3図はパリティチェック回路を示すブロック図である
FIG. 3 is a block diagram showing a parity check circuit.

人力ベクトルデータ夕が人力ベクトルデータレジスタ2
01,202にセットされ、ベクトル演算器105でベ
クトル演算されベクトル演算結果がベクトル演算結果レ
ジスタ106に格納されるのと並行して、パリティ予測
回路205,206で生成されたパリティがデータレジ
スタ207゜208に各々人力され、レジスタ201゜
202.207,208から送出されるデータにより、
パリティ演算回路209てパリティ演算され、演算結果
がデータレジスタ210に人力される。続いて、データ
レジスタ210の演算結果が、ベクトル演算結果レジス
タ106のベクトルデータによりパリティ生成回路21
1で生成されたパリティのデータと、比較回路212で
一致チェックが行なわれる。
Human vector data register 2
01 and 202, the vector calculation unit 105 performs a vector calculation, and the vector calculation result is stored in the vector calculation result register 106. In parallel, the parity generated by the parity prediction circuits 205 and 206 is stored in the data register 207. 208 and sent from registers 201, 202, 207, and 208,
A parity calculation circuit 209 performs a parity calculation, and the calculation result is manually input to a data register 210. Subsequently, the calculation result of the data register 210 is sent to the parity generation circuit 21 by the vector data of the vector calculation result register 106.
A comparison circuit 212 performs a match check with the parity data generated in step 1.

第4図はモジエロー3チェック回路を示すブロック図で
ある。
FIG. 4 is a block diagram showing the Mozierlow 3 check circuit.

入力ベクトルデータが人力ベクトルデータレジスタ20
1,202に人力され、ベクトル演算器105でベクト
ル演算されたベクトル演算結果がベクトル演算結果レジ
スタ106に格納されるのと並行して、人力データより
モジュロ−3値生成回路305,306で生成されたモ
ジュロ−3値がデータレジスタ307,308に各々人
力され、データレジスタ307,308から送出される
データによりモジュロ−3演算回路309でモジュロ−
3演算され、演算結果がデータレジスタ310に人力さ
れる。続いてデータレジスタ310の演算結果がデータ
レジスタ106のベクトルデータより、モジュロ−3値
生成回路311で生成されたモジュロ−3値と比較回路
312で一致チェックが行なわれる。
The input vector data is input to the human vector data register 20.
1,202 and is vector-operated by the vector arithmetic unit 105 is stored in the vector arithmetic result register 106. In parallel, the vector arithmetic result is generated from the human data by the modulo-ternary value generation circuits 305, 306. The resulting modulo-3 values are manually entered into the data registers 307 and 308, respectively, and the modulo-3 values are inputted into the data registers 307 and 308, and the modulo-3 arithmetic circuit 309 uses the data sent from the data registers 307 and 308.
3 calculations are performed, and the calculation results are manually entered into the data register 310. Subsequently, a comparison circuit 312 performs a match check between the calculation result of the data register 310 and the modulo-ternary value generated by the modulo-ternary value generating circuit 311 based on the vector data of the data register 106 .

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

上述した従来のチェック回路は、人力から出力に至るま
でチェック用ビットを持ち回らなければならず必要に応
じては途中に一致チェック回路も挿入するようになって
いるので、多大なハードウェア年をもつという欠点があ
る。
In the conventional check circuit described above, the check bits have to be carried around from the manual input to the output, and if necessary, a match check circuit is inserted in the middle, which requires a large amount of hardware. It has the disadvantage of having.

本発明の目的は、ハードウェア量の少ない、ベクトル演
算器のチェック回路を提供することである。
An object of the present invention is to provide a check circuit for a vector arithmetic unit with a small amount of hardware.

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

本発明のベクトル演算器のチェック回路は、チェック用
データを保持するレジスタと、正解値を保持するレジス
タと、ベクトル演算開始信号とベクトル演算終了信号を
もとにチェック用ベクトルデータセット信号と比較実行
信号を出力する制御回路と、チェック用ベクトルデータ
セット信号が出力された場合前記チェック用ベクトルデ
ータを選択してベクトル演算器に出力し、チェック用ベ
クトルデータセット信号が出力されなくなると通常のベ
クトルデータを選択してベクトル演算器に出力するセレ
クタ付レジスタと、比較実行信号が出力されると、ベク
トル演算器のベクトル演算結果と前記正解値を比較する
比較回路とを有している。
The check circuit of the vector arithmetic unit of the present invention executes a comparison with a check vector data set signal based on a register holding check data, a register holding a correct value, a vector calculation start signal, and a vector calculation end signal. A control circuit that outputs a signal, and when a check vector data set signal is output, selects the check vector data and outputs it to a vector calculator, and when the check vector data set signal is no longer output, normal vector data is output. It has a register with a selector that selects and outputs it to the vector calculator, and a comparison circuit that compares the vector calculation result of the vector calculator and the correct value when a comparison execution signal is output.

〔作   用〕[For production]

演算結果についてのみ一致チェックを行なうので、ハー
ドウェア量を大幅に削減できる。
Since a match check is performed only on the calculation results, the amount of hardware can be significantly reduced.

〔実 施 例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例のベクトル演算器のチェック
回路のブロック図である。
FIG. 1 is a block diagram of a check circuit of a vector arithmetic unit according to an embodiment of the present invention.

レジスタ101はチェック用ベクトルデータ111.1
12を保持する。制御回路102は、ベクトル演算開始
信号115とベクトル演算終了信号116によりチェッ
ク用ベクトルデータセット信号113と比較実行信号1
14を送出する。
Register 101 contains check vector data 111.1
Hold 12. The control circuit 102 outputs a check vector data set signal 113 and a comparison execution signal 1 using a vector calculation start signal 115 and a vector calculation end signal 116.
14 is sent.

セレクタ付レジスタ103,104は制御回路102か
らチェック用ベクトルデータセット信号113が送出さ
れると、チェック用ベクトルデータ111,112を選
択保持し、チェック用ベクトルデータセット信号113
が送出されない場合、通常のベクトルデータ109,1
10を選択保持する。ベクトル演算器105はセレクタ
付レジスタ103.104のベクトルデータを演算する
。レジスタ106にはベクトル演算器105の演算結果
が格納される。レジスタ107は正解値を保持する。比
較回路108は制御回路102から送出される比較実行
信号114により、レジスタ107の正解値とレジスタ
106の演算結果を比較する。
When the check vector data set signal 113 is sent from the control circuit 102, the selector registers 103 and 104 select and hold the check vector data 111 and 112, and transmit the check vector data set signal 113.
is not sent, normal vector data 109,1
Select and hold 10. A vector calculator 105 calculates vector data in selector registers 103 and 104. The register 106 stores the calculation result of the vector calculation unit 105. Register 107 holds the correct value. The comparison circuit 108 compares the correct value in the register 107 and the calculation result in the register 106 in response to a comparison execution signal 114 sent from the control circuit 102 .

第2図は本実施例のタイミングチャートである。FIG. 2 is a timing chart of this embodiment.

1、ベクトル演算開始信号115をもとに、チェック用
ベクトルデータセット信号113が送出される。
1. Based on the vector calculation start signal 115, a check vector data set signal 113 is sent out.

2、チェック用ベクトルデータセット信号113により
、セレクタ付レジスタ103゜104にチェック用ベク
トルデータ111゜112がそれぞれ入力される。
2. Check vector data 111° and 112 are input to the selector registers 103 and 104, respectively, by the check vector data set signal 113.

33次のタイミングでは、チェック用ベクトルデータセ
ット信号113が無効となるので、セレクタ付レジスタ
103,104には通常のベクトルデータ109,11
0が人力される。
At the 33rd timing, the check vector data set signal 113 becomes invalid, so the registers with selectors 103 and 104 are filled with normal vector data 109 and 11.
0 is done manually.

4、所定の演算時間が経過した後にベクトル演算結果が
レジスタ106に入力され、比較実行信号114が送出
されて、比較回路108でベクトル演算結果正解値の一
致チェックが行なわれる。
4. After a predetermined computation time has elapsed, the vector computation result is input to the register 106, a comparison execution signal 114 is sent out, and the comparator circuit 108 checks whether the correct value of the vector computation result matches.

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

6、また、(n+1)個目のベクトルデータが人力され
る次のタイミングで、チェック用ベクトルデータ111
,112がセレクタ付レジスタ103.104に人力さ
れるように、ベクトル演算終了信号116をもとにチェ
ック用ベクトルデータセット信号113が送出される。
6. Also, at the next timing when the (n+1)th vector data is manually input, the check vector data 111
, 112 are manually input to the selector registers 103 and 104, a check vector data set signal 113 is sent out based on the vector operation completion signal 116.

7、以下2〜5の動作が繰返される。7. The following operations 2 to 5 are repeated.

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

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

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

第1図は本発明の一実施例のベクトル演算器のチェック
回路のブロック図、第2図は第1図の実施例のタイミン
グチャート、第3図はパリティチェック回路のブロック
図、第4図はモジュロ−3チ工ツク回路のブロック図で
ある。 101・・・チェック用ベクトルデータを保持するレジ
スタ、 ・・制御回路、 104・・・セレクタ付レジスタ、 ・・ベクトル演算器、 ・・演算結果が格納されるレジスタ、 ・・正解値を保持するレジスタ、 ・・比較回路、 102 ・ 103゜ 105 ・ 106 ・ 107 ・ 108  ・ 109.110・・・通常のベクトルデータ、111.
112・・・チェック用ベクトルデ′−タ、 113・・・チェック用ベクトルデータセット信号、 114・・・比較実行信号、 115・・・ベクトル演算開始信号、 116・・・ベクトル演算終了信号。
FIG. 1 is a block diagram of a check circuit of a vector arithmetic unit according to an embodiment of the present invention, FIG. 2 is a timing chart of the embodiment of FIG. 1, FIG. 3 is a block diagram of a parity check circuit, and FIG. FIG. 2 is a block diagram of a modulo three-chip circuit. 101...Register that holds check vector data,...Control circuit, 104...Register with selector,...Vector arithmetic unit,...Register that stores calculation results,...Register that holds correct value. , . . . Comparison circuit, 102 ・ 103 ゜ 105 ・ 106 ・ 107 ・ 108 ・ 109. 110 . . . Ordinary vector data, 111.
112... Vector data for check, 113... Vector data set signal for check, 114... Comparison execution signal, 115... Vector calculation start signal, 116... Vector calculation end signal.

Claims (1)

【特許請求の範囲】 1、チェック用データを保持するレジスタと、正解値を
保持するレジスタと、 ベクトル演算開始信号とベクトル演算終了信号をもとに
チェック用ベクトルデータセット信号と比較実行信号を
出力する制御回路と、 チェック用ベクトルデータセット信号が出力された場合
前記チェック用ベクトルデータを選択してベクトル演算
器に出力し、チェック用ベクトルデータセット信号が出
力されなくなると通常のベクトルデータを選択してベク
トル演算器に出力するセレクタ付レジスタと、 比較実行信号が出力されると、ベクトル演算器のベクト
ル演算結果と前記正解値を比較する比較回路とを有する
、ベクトル演算器のチェック回路。
[Claims] 1. A register that holds check data, a register that holds correct values, and outputs a check vector data set signal and a comparison execution signal based on a vector calculation start signal and a vector calculation end signal. a control circuit that selects the check vector data and outputs it to a vector arithmetic unit when the check vector data set signal is output, and selects normal vector data when the check vector data set signal is no longer output. A check circuit for a vector arithmetic unit, comprising: a register with a selector that outputs the vector arithmetic unit to the vector arithmetic unit; and a comparison circuit that compares the vector arithmetic result of the vector arithmetic unit and the correct value when a comparison execution signal is output.
JP2055504A 1990-03-06 1990-03-06 Checking circuit for vector computing element Pending JPH03256134A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2055504A JPH03256134A (en) 1990-03-06 1990-03-06 Checking circuit for vector computing element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2055504A JPH03256134A (en) 1990-03-06 1990-03-06 Checking circuit for vector computing element

Publications (1)

Publication Number Publication Date
JPH03256134A true JPH03256134A (en) 1991-11-14

Family

ID=13000499

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2055504A Pending JPH03256134A (en) 1990-03-06 1990-03-06 Checking circuit for vector computing element

Country Status (1)

Country Link
JP (1) JPH03256134A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005050329A (en) * 2003-07-11 2005-02-24 Yogitech Spa Dependable microcontroller, method for detecting fault in microcontroller, method for designing fault permission system for dependable microcontroller, and computer program product therefor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6227831A (en) * 1985-07-29 1987-02-05 Nec Corp Checking circuit for computing element
JPH0248770A (en) * 1988-08-10 1990-02-19 Hitachi Ltd Information processing device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6227831A (en) * 1985-07-29 1987-02-05 Nec Corp Checking circuit for computing element
JPH0248770A (en) * 1988-08-10 1990-02-19 Hitachi Ltd Information processing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005050329A (en) * 2003-07-11 2005-02-24 Yogitech Spa Dependable microcontroller, method for detecting fault in microcontroller, method for designing fault permission system for dependable microcontroller, and computer program product therefor

Similar Documents

Publication Publication Date Title
JPH0228830A (en) Integer number dividing circuit
JP2001203587A (en) Chain search unit
JPH03256134A (en) Checking circuit for vector computing element
JPH02148145A (en) Check circuit for vector arithmetic unit
JPH02266438A (en) Checking circuit for vector arithmetic unit
JP3131969B2 (en) Arithmetic unit
JPH04248629A (en) Arithmetic processing system
JP3693873B2 (en) Mask bit number arithmetic unit, vector processing unit, information processing unit
JPH05119811A (en) Programmable controller
JP2989829B2 (en) Vector processing method
JPH0946240A (en) Data processor provided with viterbi decoding function
JPH02101824A (en) Cyclic redundancy inspection code generator
JPH01184548A (en) Central arithmetic processing unit
SU744583A1 (en) Device for detecting and correcting errors of arithmeric operations
JPS63150748A (en) Data processor
JPH0756758A (en) Data processor
JP2908117B2 (en) Vector arithmetic processing unit
JPH0398163A (en) Vector data processor
JPH035881A (en) Vector arithmetic unit
JPH0519745B2 (en)
JPH02141825A (en) Arithmetic unit
JPH04299742A (en) Interruption controller
JP2000283750A (en) Method for correcting detected-angle data
JPH0628422A (en) Delay time calculating system for sequence circuit
JPS6136250B2 (en)