JPH03142537A - Pseudo fault generating circuit - Google Patents

Pseudo fault generating circuit

Info

Publication number
JPH03142537A
JPH03142537A JP1281012A JP28101289A JPH03142537A JP H03142537 A JPH03142537 A JP H03142537A JP 1281012 A JP1281012 A JP 1281012A JP 28101289 A JP28101289 A JP 28101289A JP H03142537 A JPH03142537 A JP H03142537A
Authority
JP
Japan
Prior art keywords
pseudo
circuit
random number
fault
signal
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
JP1281012A
Other languages
Japanese (ja)
Inventor
Osamu Mitsui
三井 修
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 JP1281012A priority Critical patent/JPH03142537A/en
Publication of JPH03142537A publication Critical patent/JPH03142537A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To detect a fault and to check whether the correct fault processing is possible or not by generating the production timing and the production code of a pseudo fault with use of the random numbers and producing the pseudo fault. CONSTITUTION:A random number generating circuit 1 sends the 1st random number data 101 to a production timing deciding circuit 2 and the 2nd random number data 105 to a code designating register 4 respectively. The circuit 2 holds the F-rank data obtained by dividing the data 101 into two parts when a pseudo fault instruction mode signal 103 is equal to logic 1. This held value is compared with the higher ranks of the data 101 divided into two. When the coincidence is obtained with the comparison, a production timing signal 102 is sent to an AND circuit 5. A pseudo fault generation instruction mode register 3 is set at 1 when a pseudo fault instruction signal 100 is equal to logic 1 and sends the signal 103 to the circuit 5. The circuit 5 sends a pseudo fault generation instruction signal 104 to the register 4 and a pseudo fault generation instruction register 6 when both signals 102 and 103 are equal to logic 1. Then the register 4 holds the value of the data 105 and then sends it as a pseudo fault code 106 when the signal 104 is equal to logic 1.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、情報処理装置に関し、特に障害検出処理回路
の試験を行うための擬似障害発生回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an information processing device, and particularly to a pseudo-failure generating circuit for testing a fault detection processing circuit.

〔従来の技術〕[Conventional technology]

従来、擬似障害発生回路は、ファームウェア等により、
発生した擬似障害発生コードや発生タイミングコードに
より、擬似障害を発生している。
Conventionally, pseudo-failure generation circuits were configured using firmware, etc.
A pseudo-fault is occurring due to the pseudo-fault generation code or occurrence timing code.

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

上述した従来の擬似障害発生回路はファームウェア等に
より、あるきまったタイミングで発生させたコマンドの
後に擬似障害を発生するようになっている為、擬似障害
を本当にランダムに発生させることができない、その為
、処理装置の動作中にランダムに発生する障害に対して
、障害を検出して正しい障害処理ができるかどうかとい
うような試験ができないという欠点がある。
The above-mentioned conventional pseudo-fault generation circuit uses firmware etc. to generate a pseudo-fault after a command is generated at a certain timing, so pseudo-faults cannot be generated truly randomly. However, there is a drawback in that it is not possible to detect failures and test whether or not correct failure handling can be performed for failures that occur randomly during the operation of the processing device.

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

本発明の擬似障害発生回路は、乱数発生回路と、擬似障
害の発生モードを示す擬似障害発生モードフラグを備え
、擬似障害発生モードフラグが立っているときに前記乱
数発生回路で発生される第1の乱数データにより擬似障
害の発生タイミングを決定する発生タイミング決定回路
と、前記乱数発生回路で発生される第2の乱数データを
格納して擬似障害の発生個所を指定するコードとするコ
ード指定レジスタとを有している。
The pseudo-fault generation circuit of the present invention includes a random number generation circuit and a pseudo-fault occurrence mode flag indicating a pseudo-fault generation mode, and includes a first one generated by the random number generation circuit when the pseudo-fault occurrence mode flag is set. an occurrence timing determination circuit that determines the timing of occurrence of a pseudo failure based on random number data; and a code designation register that stores second random number data generated by the random number generation circuit as a code for specifying the location where the pseudo failure occurs. have.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

第1図において、本発明の一実施例は乱数発生回1i1
81と、乱数発生回路1で発生される第1の乱数データ
101を使い擬似障害の発生タイミングを決定する発生
タイミング決定回路2と、擬似障害指示信号100を保
持する擬障発生指示モードレジスタ3と、乱数発生回路
1で発生される第2の乱数データ105を発生タイミン
グ決定回路2の出力信号102と擬障発生指示モードレ
ジスタ3の出力信号103とを論理積した出力信号10
4で擬似障害のコードとして格納するコード指定レジス
タ4と、擬似障害発生指示信号104の値を1タロツク
サイクル間保持し論理回路のデコーダのイネーブル信号
107を出力する擬障発生指示レジスタ6とにより構成
されている。
In FIG. 1, one embodiment of the present invention shows random number generation times 1i1
81, an occurrence timing determining circuit 2 that determines the timing of occurrence of a pseudo fault using first random number data 101 generated by the random number generation circuit 1, and a pseudo fault occurrence instruction mode register 3 that holds a pseudo fault instruction signal 100. , an output signal 10 obtained by ANDing the second random number data 105 generated by the random number generation circuit 1, the output signal 102 of the generation timing determination circuit 2, and the output signal 103 of the pseudo fault occurrence instruction mode register 3.
4, a code designation register 4 stores the pseudo fault code as a pseudo fault code, and a pseudo fault occurrence instruction register 6 holds the value of the pseudo fault occurrence instruction signal 104 for one tarlock cycle and outputs an enable signal 107 for the decoder of the logic circuit. It is configured.

乱数発生回路1は、第1の乱数データ101を発生タイ
ミング決定回路2へ送出し、第2の乱数データ105を
コード指示レジスタ4へ送出する。
Random number generation circuit 1 sends first random number data 101 to generation timing determination circuit 2 and second random number data 105 to code instruction register 4.

発生タイミング決定回路2は、擬似障害指示モード信号
103が論理1の時、第1の乱数データ101を2分割
した下位のデータを保持し、保持された値と2分割した
時の第1の乱数データ101の上位とを比較して一致し
た場合、発生タイミング信号102を論理積回路5へ送
出する。
When the pseudo-failure instruction mode signal 103 is logic 1, the occurrence timing determining circuit 2 holds lower data obtained by dividing the first random number data 101 into two, and divides the held value and the first random number obtained by dividing into two. If the data 101 is compared with the upper order of the data 101 and they match, the generation timing signal 102 is sent to the AND circuit 5.

擬障発生指示モードレジスタ3は、擬似障害指示信号1
00が論理lの時、” 1 ”にセットされ、擬似障害
指示モード信号103を論理積回路5へ送出する。論理
積回路5は、発生タイミング信号102と擬似障害指示
モード信号103の双方が論理1の時、擬似障害発生指
示信号104をコード指定レジスタ4と擬障発生指示レ
ジスタ6へ送出する。コード指定レジスタ4は、擬似障
害発生指示信号104が論理1の時、第2の乱数データ
105の値を保持する。保持された値は、擬似障害コー
ド106として論理回路7へ送出する。擬障発生指示レ
ジスタ6は、擬似障害発生指示信号104を1クロック
サイクル間保持し、イネーブル信号107を、論理回路
7と擬障発生指示モードレジスタ3へ送出する。擬障発
生指示モードレジスタ3はリセット信号107が論理1
の時、O”にリセットされる。論理回路7は、イネーブ
ル信号107が論理1の時、擬似障害コード106をデ
コードして通常障害信号108と論理和をとり、障害表
示レジスタをセットする。
The pseudo fault occurrence instruction mode register 3 receives the pseudo fault instruction signal 1.
When 00 is logic 1, it is set to "1" and sends the pseudo fault indication mode signal 103 to the AND circuit 5. The AND circuit 5 sends a pseudo fault occurrence instruction signal 104 to the code designation register 4 and the pseudo fault occurrence instruction register 6 when both the occurrence timing signal 102 and the pseudo fault instruction mode signal 103 are logic 1. The code designation register 4 holds the value of the second random number data 105 when the pseudo fault occurrence instruction signal 104 is logic 1. The held value is sent to the logic circuit 7 as a pseudo fault code 106. The pseudo fault occurrence instruction register 6 holds the pseudo fault occurrence instruction signal 104 for one clock cycle and sends an enable signal 107 to the logic circuit 7 and the pseudo fault occurrence instruction mode register 3. In the false fault occurrence instruction mode register 3, the reset signal 107 is set to logic 1.
When the enable signal 107 is logic 1, the logic circuit 7 decodes the pseudo fault code 106, performs an OR with the normal fault signal 108, and sets the fault indication register.

第2図は第1図の発生タイミング決定回路2の回路構成
図である。第2図において、第1の乱数データ101は
、上位と下位とに2分割する。下位格納レジスタ8は2
分割された第1の乱数データを下位を擬似障害指示モー
ド信号10Bが論理1の時保持する。比較回路10は、
第1の乱数データの下位データ109と第1の乱数デー
タの上位データ110とが一致した時、発生タイミング
信号102を論理積回路5と上位格納レジスタ9へ送出
する。上位格納レジスタ9は、発生タイミング信号10
2が論理1の時、2分割された第1の乱数データ101
の上位の値を保持する。
FIG. 2 is a circuit diagram of the generation timing determining circuit 2 of FIG. 1. In FIG. 2, the first random number data 101 is divided into upper and lower parts. Lower storage register 8 is 2
The lower part of the divided first random number data is held when the pseudo fault indication mode signal 10B is logic 1. The comparison circuit 10 is
When the lower data 109 of the first random number data and the upper data 110 of the first random number data match, a generation timing signal 102 is sent to the AND circuit 5 and the upper storage register 9. The upper storage register 9 receives the generation timing signal 10
When 2 is logical 1, the first random number data 101 divided into two
Keep the upper value of .

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

以上説明したように本発明は、乱数で擬似障害の発生タ
イミングや発生コードを生威し、擬似障害を発生するこ
とにより、擬似障害をランダムに発生することができ、
処理装置の動作中にランダムに発生する障害に対して、
障害を検出して、正しい障害処理ができるかどうかを試
験できる効果がある。
As explained above, the present invention can generate pseudo failures at random by determining the occurrence timing and generation code of pseudo failures using random numbers, and generating pseudo failures.
For failures that randomly occur during the operation of processing equipment,
This has the effect of detecting failures and testing whether correct failure handling is possible.

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

第1図は本発明の一実施例である擬似障害発生回路を示
す図、第2図は第工図の発生タイミング決定回路2を示
す回路構成図である。 ■・・・乱数発生回路、2・・・発生タイミング決定回
路、3・・・擬障発生指示モードレジスタ、4・・・コ
ード指定レジスタ、5・・・論理積回路、6・・・擬障
発生指示レジスタ、7・・・論理回路、8・・・下位格
納レジスタ、9・・・上位格納レジスタ、10・・・比
較回路、100・・・擬似障害指示信号、101・・・
第1の乱数データ、103・・・発生タイミング信号、
103・・・擬似障害指示モード信号、104・・・擬
似障害発生指示信号、105・・・第2の乱数データ、
106・・・擬似障害コード、107・・・イネーブル
信号、リセット信号、108・・・通常障害表示信号、
109・・・第1の乱数データの下位データ、110・
・・第1の乱数データの上位データ。
FIG. 1 is a diagram showing a pseudo fault generation circuit according to an embodiment of the present invention, and FIG. 2 is a circuit configuration diagram showing the generation timing determination circuit 2 of the second construction drawing. ■... Random number generation circuit, 2... Occurrence timing determining circuit, 3... False fault occurrence instruction mode register, 4... Code designation register, 5... AND circuit, 6... False fault Occurrence instruction register, 7...Logic circuit, 8...Lower storage register, 9...Upper storage register, 10...Comparison circuit, 100...Pseudo fault instruction signal, 101...
First random number data, 103... generation timing signal,
103...Pseudo fault instruction mode signal, 104...Pseudo fault occurrence instruction signal, 105...Second random number data,
106... Pseudo fault code, 107... Enable signal, reset signal, 108... Normal fault display signal,
109...Lower data of the first random number data, 110...
... Upper data of the first random number data.

Claims (1)

【特許請求の範囲】[Claims] 乱数発生回路と擬似障害の発生モードを示す擬似障害発
生モードフラグを備え、擬似障害発生モードフラグが立
っているときに前記乱数発生回路で発生される第1の乱
数データにより擬似障害の発生タイミングを決定する発
生タイミング決定回路と、前記乱数発生回路で発生され
る第2の乱数データを格納して擬似障害の発生個所を指
定するコードとするコード指定レジスタを含むことを特
徴とする擬似障害発生回路。
A random number generation circuit and a pseudo failure occurrence mode flag indicating a pseudo failure occurrence mode are provided, and when the pseudo failure occurrence mode flag is set, the timing of occurrence of a pseudo failure is determined by first random number data generated by the random number generation circuit. A pseudo-failure generation circuit comprising: a generation timing determination circuit for determining the occurrence timing; and a code designation register for storing second random number data generated by the random number generation circuit as a code for specifying the location where the pseudo-fault has occurred. .
JP1281012A 1989-10-27 1989-10-27 Pseudo fault generating circuit Pending JPH03142537A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1281012A JPH03142537A (en) 1989-10-27 1989-10-27 Pseudo fault generating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1281012A JPH03142537A (en) 1989-10-27 1989-10-27 Pseudo fault generating circuit

Publications (1)

Publication Number Publication Date
JPH03142537A true JPH03142537A (en) 1991-06-18

Family

ID=17633052

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1281012A Pending JPH03142537A (en) 1989-10-27 1989-10-27 Pseudo fault generating circuit

Country Status (1)

Country Link
JP (1) JPH03142537A (en)

Similar Documents

Publication Publication Date Title
JPH04228199A (en) Self-inspection method and device for content referable memory
US5717851A (en) Breakpoint detection circuit in a data processor and method therefor
CN103197996B (en) Startup detection circuit, computer system and startup detection method thereof
JPH03142537A (en) Pseudo fault generating circuit
JP4939746B2 (en) Memory test circuit and test system
JPH1196792A (en) Semiconductor test device
CN113253796B (en) Asynchronous input signal synchronization method and device, central processing unit and chip
JPH0486932A (en) Memory fault detecting system
JPH04127343A (en) Error detecting circuit
KR850001569A (en) Method and apparatus for testing and verifying timing logic of cathode ray tube display
JPH03113644A (en) Detection circuit for majority decision error
JPS61846A (en) Test method for normalness of memory contents
JPH03177937A (en) Fault testing method and apparatus for address bus, data bus and control bus of microprocessor
JPH03162042A (en) Self-diagnostic device for digital signal processing circuit
JPH02208742A (en) Fault processor
JPH0792230A (en) Integrated circuit and circuit for detecting trouble of integrated circuit
JPH02190943A (en) Pseudo fault generator
JPH02234240A (en) Information processor
JPH0336634A (en) Fault detecting system for circuit including register file
JPH01292444A (en) Pseudo fault generating system
JPH04330700A (en) Designated fail number address search circuit of memory tester
JPS629937B2 (en)
JPH0290240A (en) Microcomputer
JPH0271334A (en) Measurement system for comprehension rate of microprogram
JPS59200353A (en) Gate circuit diagnosis system