JP3250143B2 - Simulated fault generation circuit - Google Patents

Simulated fault generation circuit

Info

Publication number
JP3250143B2
JP3250143B2 JP02910697A JP2910697A JP3250143B2 JP 3250143 B2 JP3250143 B2 JP 3250143B2 JP 02910697 A JP02910697 A JP 02910697A JP 2910697 A JP2910697 A JP 2910697A JP 3250143 B2 JP3250143 B2 JP 3250143B2
Authority
JP
Japan
Prior art keywords
fault
line data
failure
pseudo
circuit
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 - Fee Related
Application number
JP02910697A
Other languages
Japanese (ja)
Other versions
JPH10228392A (en
Inventor
広樹 高橋
Original Assignee
日本電気エンジニアリング株式会社
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 日本電気エンジニアリング株式会社 filed Critical 日本電気エンジニアリング株式会社
Priority to JP02910697A priority Critical patent/JP3250143B2/en
Publication of JPH10228392A publication Critical patent/JPH10228392A/en
Application granted granted Critical
Publication of JP3250143B2 publication Critical patent/JP3250143B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は擬似障害発生回路に
関し、特にデータ伝送路上を転送されるブロックデータ
中の指定したデータラインに保守者や開発者等が擬似的
に障害を発生させる回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a simulated fault generating circuit, and more particularly to a circuit in which a maintenance person or a developer causes a simulated fault in a designated data line in block data transferred on a data transmission line.

【0002】[0002]

【従来の技術】従来、この種のデータ伝送路において
は、一つのブロックデータを一定の単位で分割したライ
ンデータ各々を連続して転送しており、このデータ伝送
路において障害を擬似的に発生させて保守処理等が正常
に動作するかどうかをチェックする方法がある。
2. Description of the Related Art Conventionally, in a data transmission line of this type, line data obtained by dividing one block data in a fixed unit is continuously transferred, and a failure occurs in this data transmission line in a pseudo manner. Then, there is a method of checking whether the maintenance processing or the like operates normally.

【0003】上記の擬似障害を発生させる方式として
は、データ伝送路の途中に分割されたラインデータを記
憶して出力する出力側レジスタ及び入力側レジスタを配
置し、これら出力側レジスタ及び入力側レジスタの間
に、出力側レジスタから出力されるラインデータを編集
して障害が起きるようなラインデータに変換して入力側
レジスタへ転送する障害発生回路を配置したものがあ
る。
As a method for generating the above-mentioned pseudo failure, an output register and an input register for storing and outputting divided line data in the middle of a data transmission line are arranged, and the output register and the input register are arranged. In some cases, a failure generating circuit is provided which edits line data output from the output-side register, converts the line data into line data which causes a failure, and transfers the line data to the input-side register.

【0004】この障害発生回路は擬似障害指示(以下、
擬障指示とする)保持ビットから擬障指示を受取った時
に変換動作を行うようになっている。また、擬障指示保
持ビットは保守者及び開発者等が障害解析を行うため、
意図的に障害を発生させる擬障指示を記憶して出力し、
外部からの入力によって擬障指示を無効にする。
[0004] This fault generating circuit is provided with a pseudo fault instruction (hereinafter, referred to as a pseudo fault instruction).
The conversion operation is performed when a false indication is received from the holding bit (which is referred to as a false indication). In addition, the false failure indication holding bit is used by maintenance personnel and developers for failure analysis,
Store and output a false fault instruction that intentionally causes a fault,
Invalidate false indication by external input.

【0005】障害検出回路は入力側レジスタから出力さ
れたラインデータをチェックし、ラインデータ上に障害
が存在した場合に擬障指示保持ビットにリセット信号を
出力する。
The fault detecting circuit checks the line data output from the input register, and outputs a reset signal to a false fault indication holding bit when a fault exists on the line data.

【0006】保守者及び開発者等が意図的に障害を発生
させる場合、擬障指示保持ビットには外部から擬障指示
が記憶されるので、その擬障指示を障害発生回路に出力
し続ける。障害発生回路は出力側レジスタからラインデ
ータが出力されると、障害が起きるようなラインデータ
に変換して入力側レジスタへ出力する。
When a maintenance person or a developer intentionally causes a fault, a false fault instruction is stored in the false fault instruction holding bit from the outside, so that the false fault instruction is continuously output to the fault generating circuit. When the line data is output from the output-side register, the failure generating circuit converts the line data into line data that causes a failure and outputs the line data to the input-side register.

【0007】障害検出回路は障害が発生するようなライ
ンデータを入力した入力側レジスタの出力をチェック
し、障害を検出すると障害発生をリセット信号にて擬障
指示保持ビットへ通知する。擬障指示保持ビットは障害
検出回路からのリセット信号が入力されると、記憶した
擬障指示を無効とするので、ブロックデータに対して意
図的に一つの障害のみを与えることができる。
[0007] The fault detection circuit checks the output of the input register to which the line data causing the fault is input, and when the fault is detected, notifies the fault occurrence to the pseudo fault indication holding bit by a reset signal. When the reset signal from the fault detection circuit is input to the false fault indication holding bit, the stored false fault indication is invalidated, so that only one fault can be intentionally given to the block data.

【0008】一方、データに予め手を加えなくても、2
ワード以上のデータ転送時において任意のワードについ
て擬似障害を発生させる方法が特開昭63−19324
8号公報に開示されている。
On the other hand, without modifying the data in advance,
Japanese Patent Application Laid-Open No. 63-19324 discloses a method of causing a pseudo failure for an arbitrary word during data transfer of words or more.
No. 8 discloses this.

【0009】この方法を用いた回路は、図2に示すよう
に、擬似障害レジスタ21と、ワード設定レジスタ22
と、擬似障害発生回路23と、ワード別擬似障害タイミ
ング発生回路24と、エラー検出回路25,26と、エ
ラーレジスタ27とから構成されており、一度のメモリ
アクセスで2ワード以上のデータ転送が可能な記憶装置
における各種エラー検出回路に擬似障害を与えるように
なっている。
As shown in FIG. 2, a circuit using this method includes a pseudo failure register 21 and a word setting register 22.
, A pseudo-failure generating circuit 23, a word-specific pseudo-failure timing generating circuit 24, error detecting circuits 25 and 26, and an error register 27. Data transfer of two or more words is possible by one memory access. The pseudo-failure is given to various error detection circuits in a simple storage device.

【0010】擬似障害レジスタ21には発生させたい擬
似障害が設定され、ワード設定レジスタ22には何ワー
ド目のデータの擬似障害かが設定される。ワード別擬似
障害タイミング発生回路24は擬似障害レジスタ21及
びワード設定レジスタ22の値によって擬似障害のタイ
ミングを発生させる。
The pseudo fault register 21 is set with the pseudo fault to be generated, and the word setting register 22 is set with the word of the pseudo fault of the data. The word-based pseudo-failure timing generation circuit 24 generates a pseudo-failure timing based on the values of the pseudo-failure register 21 and the word setting register 22.

【0011】擬似障害発生回路23は擬似障害レジスタ
21及びワード別擬似障害タイミング発生回路24の出
力から擬似障害を発生させ、エラー検出回路25,26
は擬似障害発生回路23の出力から各種障害を検出す
る。エラーレジスタ27はエラー検出回路25,26で
検出されたエラー情報を保持する。
The simulated fault generating circuit 23 generates a simulated fault from the output of the simulated fault register 21 and the word-based simulated fault timing generating circuit 24, and generates error detecting circuits 25 and 26.
Detects various faults from the output of the pseudo fault generating circuit 23. The error register 27 holds error information detected by the error detection circuits 25 and 26.

【0012】上記の回路においては擬似障害発生前に、
まず擬似障害レジスタ21に発生させたいエラーデータ
をセットし、ワード設定レジスタ22に擬似障害を発生
させたいワードの順番をセットする。
In the above circuit, before the occurrence of the pseudo failure,
First, error data to be generated is set in the pseudo failure register 21, and the order of words in which a pseudo failure is to be generated is set in the word setting register 22.

【0013】処理装置からアクセスがきてデータ転送が
実行されると、ワード別擬似障害タイミング発生回路2
4は擬似障害レジスタ21に設定されたエラーデータと
ワード設定レジスタ4に設定されたワードの順番とに応
じて擬似障害発生の為のタイミング信号を出力する。擬
似障害発生回路23は擬似障害レジスタ21の値及びワ
ード別擬似障害タイミング発生回路24の出力によって
擬似障害を発生し、これがエラー検出回路25,26で
検出されるとエラーレジスタ27にエラー情報がセット
される。
When an access is made from the processing unit and data transfer is executed, a pseudo-failure timing generation circuit 2 for each word
Reference numeral 4 outputs a timing signal for generating a pseudo fault according to the error data set in the pseudo fault register 21 and the order of the words set in the word setting register 4. The simulated fault generating circuit 23 generates a simulated fault based on the value of the simulated fault register 21 and the output of the word-based simulated fault timing generating circuit 24. When this is detected by the error detecting circuits 25 and 26, error information is set in the error register 27. Is done.

【0014】[0014]

【発明が解決しようとする課題】上述した従来の擬似障
害発生方式では、一つのブロックデータに対して一つの
障害を擬似的に与えることができるが、ブロックデータ
中の任意の位置のラインデータに対して擬似的に障害を
発生させることができない。
In the above-described conventional pseudo failure generation method, one failure can be artificially given to one block data. However, line data at an arbitrary position in the block data can be added to the block data. On the other hand, a failure cannot be simulated.

【0015】一方、データに予め手を加えなくても、2
ワード以上のデータ転送時において任意のワードについ
て擬似障害を発生させる方法の場合には、擬似障害を発
生させたいワード以外のワードで本当の障害が発生する
と、擬似障害を発生させた時のエラー情報ではなく、本
当の障害のエラー情報がエラーレジスタにセットされる
ので、意図した結果を得ることができない。
On the other hand, without modifying the data in advance,
In the case of a method in which a pseudo-failure is generated for an arbitrary word during data transfer of more than words, if a real failure occurs in a word other than the word in which a pseudo-failure is to be generated, error information when the pseudo-failure occurs is generated. Instead, the error information of the real failure is set in the error register, so that the intended result cannot be obtained.

【0016】そこで、本発明の目的は上記の問題点を解
消し、ブロックデータ中の任意の位置のラインデータに
対して擬似的に障害を発生させることができ、正確なエ
ラー情報を得ることができる擬似障害発生回路を提供す
ることにある。
Accordingly, an object of the present invention is to solve the above-mentioned problems, to make it possible to simulate a fault in line data at an arbitrary position in block data, and to obtain accurate error information. It is an object of the present invention to provide a simulated fault occurrence circuit that can perform the above-described steps.

【0017】[0017]

【課題を解決するための手段】本発明による擬似障害発
生回路は、一つのブロックデータを一定の単位で分割し
たラインデータ各々を連続して転送するデータ伝送路に
おいて前記ラインデータに擬似障害を発生させる擬似障
害発生回路であって、前記データ伝送路を介して転送さ
れる前記ラインデータの数を計数する計数手段と、予め
設定されかつ前記擬似障害を発生させる前記ラインデー
タの位置を保持する保持手段と、前記計数手段の計数値
と前記保持手段の保持内容とを比較する比較手段と、前
記比較手段で一致が検出された前記ラインデータを前記
擬似障害が生じるようなラインデータに変換する障害発
生手段と、前記ラインデータの障害を検出する障害検出
手段と、前記障害検出手段の検出結果を前記比較手段の
比較結果に対応させて格納する格納手段とを備えてい
る。
A simulated fault occurrence circuit according to the present invention generates a simulated fault in line data in a data transmission line for continuously transferring each line data obtained by dividing one block data into fixed units. A false failure generating circuit that counts the number of the line data transferred through the data transmission path, and that holds a position of the line data that is set in advance and that causes the false failure. Means, comparing means for comparing the count value of the counting means with the content held in the holding means, and a fault for converting the line data detected as coincident by the comparing means into line data causing the pseudo fault Generating means, a fault detecting means for detecting a fault in the line data, and a detection result of the fault detecting means corresponding to a comparison result of the comparing means. And a storage means for storing Te.

【0018】すなわち、本発明の擬似障害発生回路は、
上記の問題点を解決するために、何番目のラインデータ
が転送されているかをカウントするラインカウンタ回路
と、ラインカウンタ回路のカウント値と擬似障害を発生
させるラインデータの位置を保持するライン指示レジス
タの値とを比較して同じライン数であるか否かを報告す
る比較回路と、エラー情報を比較回路の結果に応じて別
々に格納する回路とを備えている。
That is, the simulated fault generating circuit of the present invention comprises:
In order to solve the above problem, a line counter circuit that counts the number of line data being transferred, and a line instruction register that holds the count value of the line counter circuit and the position of line data that causes a pseudo failure And a circuit for separately storing error information in accordance with the result of the comparison circuit.

【0019】これによって、ブロックデータ中の任意の
位置のラインデータに対して擬似的に障害を発生させる
ことが可能となり、正確なエラー情報を得ることが可能
となる。
This makes it possible to cause a pseudo failure in line data at an arbitrary position in the block data, and to obtain accurate error information.

【0020】[0020]

【発明の実施の形態】次に、本発明の一実施例について
図面を参照して説明する。図1は本発明の一実施例によ
る擬似障害発生回路の構成を示すブロック図である。図
において、本発明の一実施例による擬似障害発生回路は
出力側レジスタ1と、入力側レジスタ2と、出力側有効
フラグ3と、入力側有効フラグ4と、ライン指示レジス
タ5と、擬似障害指示ビット(以下、擬障指示ビットと
する)6と、ラインカウンタ回路7と、比較回路8と、
AND回路9,12,14と、障害発生回路10と、障
害検出回路11と、NOT回路13と、エラーレジスタ
15とから構成されている。
Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a pseudo failure generating circuit according to one embodiment of the present invention. In the figure, a pseudo failure generating circuit according to one embodiment of the present invention includes an output register 1, an input register 2, an output valid flag 3, an input valid flag 4, a line instruction register 5, a pseudo failure instruction, A bit (hereinafter referred to as false indication bit) 6, a line counter circuit 7, a comparison circuit 8,
The circuit includes AND circuits 9, 12, and 14, a failure generation circuit 10, a failure detection circuit 11, a NOT circuit 13, and an error register 15.

【0021】本発明の一実施例による擬似障害発生回路
は上記の構成とすることで、一つのブロックデータを一
定の単位で分割したラインデータ各々を連続して転送す
るデータ伝送路(図示せず)において擬似障害を発生し
ている。
The simulated fault occurrence circuit according to one embodiment of the present invention has the above-described configuration, and thus a data transmission path (not shown) for continuously transferring each line data obtained by dividing one block data in a predetermined unit. ), A pseudo failure has occurred.

【0022】出力側レジスタ1はデータ伝送路の途中に
存在し、分割されたラインデータを記憶して出力する。
入力側レジスタ2もデータ伝送路の途中に存在し、出力
側レジスタ1から出力されるラインデータを記憶して出
力する。
The output side register 1 exists in the middle of the data transmission path, and stores and outputs divided line data.
The input register 2 also exists in the middle of the data transmission path, and stores and outputs the line data output from the output register 1.

【0023】擬障指示ビット6は保守者及び開発者等が
障害解析を行うために設定しかつ意図的に障害を発生さ
せる擬似障害指示(以下、擬障指示とする)を記憶して
出力する。ライン指示レジスタ5は保守者及び開発者等
が設定しかつ擬似的に障害を起こしたいブロックデータ
中のラインデータの位置を記憶して出力する。
The false failure instruction bit 6 is set by a maintenance person and a developer to perform failure analysis, and stores and outputs a false failure instruction (hereinafter, referred to as a false failure instruction) for intentionally causing a failure. . The line instruction register 5 stores and outputs the position of the line data in the block data which is set by the maintainer, the developer, and the like, and which causes a pseudo failure.

【0024】出力側有効フラグ3は出力側レジスタ1に
入力されるラインデータと同期しており、フラグがたっ
ている場合に出力側レジスタ1の中のラインデータが有
効であることを示す。また、出力側有効フラグ3にフラ
グがたっていない場合には、出力側レジスタ1の中のラ
インデータが無効(データ転送が行われていないこと)
であることを示す。
The output side valid flag 3 is synchronized with the line data input to the output side register 1, and indicates that the line data in the output side register 1 is valid when the flag is set. If the output side valid flag 3 is not set, the line data in the output side register 1 is invalid (data transfer is not performed).
It is shown that.

【0025】ラインカウンタ回路7は出力側有効フラグ
3でフラグがたった場合のみカウントアップし、フラグ
がたっていない場合にはカウント値をクリアする。比較
回路8はラインカウンタ回路7のカウント値とライン指
示レジスタ5の値とを比較し、同じラインデータの位置
を示した場合に論理信号“1”(一致信号)をNOT回
路13及びAND回路9に出力する。
The line counter circuit 7 counts up only when the output side valid flag 3 is set, and clears the count value when the flag is not set. The comparison circuit 8 compares the count value of the line counter circuit 7 with the value of the line instruction register 5 and, when indicating the same line data position, outputs the logical signal “1” (coincidence signal) to the NOT circuit 13 and the AND circuit 9. Output to

【0026】NOT回路13は比較回路8からの論理値
を反転する。AND回路9は比較回路8からの一致信号
を受取ると、擬障指示ビット6の擬障指示を障害発生回
路10及びAND回路12に出力する。
The NOT circuit 13 inverts the logical value from the comparison circuit 8. When receiving the coincidence signal from the comparison circuit 8, the AND circuit 9 outputs a false fault indication of the false fault indication bit 6 to the fault generating circuit 10 and the AND circuit 12.

【0027】障害発生回路10は出力側レジスタ1と入
力側レジスタ2との間に存在し、通常、出力側レジスタ
1から出力されたラインデータをそのまま入力側レジス
タ2へ転送する。しかしながら、障害発生回路10は擬
障指示ビット6からの擬障指示がAND回路9を介して
入力されると、出力側レジスタ1から出力されるライン
データを編集して障害が起きるようなラインデータに変
換し、そのラインデータを入力側レジスタ2へ転送す
る。
The fault generating circuit 10 exists between the output side register 1 and the input side register 2 and usually transfers the line data output from the output side register 1 to the input side register 2 as it is. However, when the false fault instruction from the false fault instruction bit 6 is input via the AND circuit 9, the fault generating circuit 10 edits the line data output from the output side register 1 so that the fault data can be generated. And the line data is transferred to the input side register 2.

【0028】障害検出回路11は入力側レジスタ2から
出力されるラインデータをチェックし、そのラインデー
タ上に障害が存在すると、障害発生信号をAND回路1
4及びAND回路12へ出力する。AND回路14はN
OT回路13を介して入力される比較回路8の比較結果
を基に、エラーレジスタ15に障害検出回路11からの
障害発生信号をセットする。AND回路12はAND回
路9を介して入力される比較回路8の比較結果を基に、
エラーレジスタ15に障害検出回路11からの障害発生
信号をセットする。
The fault detection circuit 11 checks the line data output from the input register 2 and, if a fault exists on the line data, outputs a fault occurrence signal to the AND circuit 1.
4 and to the AND circuit 12. AND circuit 14 is N
Based on the comparison result of the comparison circuit 8 input via the OT circuit 13, a failure occurrence signal from the failure detection circuit 11 is set in the error register 15. The AND circuit 12 generates a signal based on the comparison result of the comparison circuit 8 input via the AND circuit 9.
The fault occurrence signal from the fault detection circuit 11 is set in the error register 15.

【0029】エラーレジスタ15はAND回路14もし
くはAND回路12を介して入力する障害発生信号を夫
々固別に保持する。尚、図示していないが、このエラー
レジスタ15は障害処理を行う装置等からリード可能で
ある。
The error register 15 individually holds a failure occurrence signal input via the AND circuit 14 or the AND circuit 12. Although not shown, the error register 15 can be read from a device that performs a failure process.

【0030】この図1を用いて本発明の一実施例による
擬似障害発生回路の動作について説明する。保守者及び
開発者等は意図的に障害を発生させる場合、まず、障害
を発生させたいラインデータの位置(転送される複数の
ラインデータの先頭からの位置)をライン指示レジスタ
5に設定する。同時に、保守者及び開発者等が擬障指示
ビット6に擬障指示を設定すると、擬障指示ビット6は
擬障指示を記憶するとともに、その擬障指示をAND回
路9へ出力し続ける。
The operation of the pseudo failure generating circuit according to one embodiment of the present invention will be described with reference to FIG. When a maintenance person and a developer intentionally cause a failure, first, the position of the line data at which the failure is to be caused (the position from the beginning of a plurality of line data to be transferred) is set in the line instruction register 5. At the same time, when the maintenance person or the developer sets a false fault instruction in the false fault instruction bit 6, the false fault instruction bit 6 stores the false fault instruction and keeps outputting the false fault instruction to the AND circuit 9.

【0031】以上の設定を予め行った後に、データ伝送
路(出力側レジスタ1→障害発生回路10→入力側レジ
スタ2)にラインデータを連続して転送すると、出力側
有効フラグ3のフラグがラインデータを連続して転送す
る分だけたつので、ラインカウンタ回路7は出力側レジ
スタ1を通過したラインデータの数だけカウントアップ
し、複数のラインデータの先頭からの位置を示す。
After the above settings are made in advance, if the line data is successively transferred to the data transmission path (output side register 1 → failure occurrence circuit 10 → input side register 2), the output valid flag 3 is set to the line Since the data is transferred continuously, the line counter circuit 7 counts up the number of line data that has passed through the output side register 1 and indicates the position from the head of the plurality of line data.

【0032】比較回路8はラインカウンタ回路7のカウ
ント値とライン指示レジスタ5の値とを比較する。比較
回路8の比較結果が一致を示す場合には、擬障指示ビッ
ト6から出力され続けている擬障指示がAND回路9を
介して障害発生回路10とAND回路12とに出力され
る。このとき、NOT回路13は比較回路8からの論理
信号“1”(一致を示している)を反転して論理信号
“0”をAND回路14へ出力する。
The comparison circuit 8 compares the count value of the line counter circuit 7 with the value of the line instruction register 5. When the comparison result of the comparing circuit 8 indicates a match, the false fault instruction continuously output from the false fault instruction bit 6 is output to the fault generating circuit 10 and the AND circuit 12 via the AND circuit 9. At this time, the NOT circuit 13 inverts the logic signal “1” (indicating a match) from the comparison circuit 8 and outputs a logic signal “0” to the AND circuit 14.

【0033】障害発生回路10は擬障指示が入力される
と、出力側レジスタ1からのラインデータに障害を埋め
込み、その障害付きラインデータを入力側レジスタ2に
出力する。
When the false fault instruction is input, the fault generating circuit 10 embeds a fault in the line data from the output register 1 and outputs the faulted line data to the input register 2.

【0034】この場合、障害検出回路11は入力側レジ
スタ2を通過したラインデータから障害を検出するの
で、障害発生信号(論理信号“1”)をAND回路12
及びAND回路14に出力する。
In this case, since the fault detecting circuit 11 detects a fault from the line data passing through the input side register 2, the fault detecting circuit 11 outputs a fault occurrence signal (logical signal “1”) to the AND circuit 12.
And an AND circuit 14.

【0035】AND回路14はNOT回路13から論理
信号“0”を受取るので、エラーレジスタ15に障害発
生信号を出力することはないが、AND回路12はAN
D回路9から擬障信号(論理信号“1”)を受取るの
で、エラーレジスタ15に障害発生信号を出力する。エ
ラーレジスタ15はAND回路12から障害発生信号が
出力されると、擬似的に障害が発生したことを示す情報
を保持する。
Since the AND circuit 14 receives the logic signal "0" from the NOT circuit 13, it does not output a fault occurrence signal to the error register 15, but the AND circuit 12 outputs
Since a false fault signal (logic signal “1”) is received from the D circuit 9, a fault occurrence signal is output to the error register 15. When a failure occurrence signal is output from the AND circuit 12, the error register 15 holds information indicating that a failure has occurred in a pseudo manner.

【0036】一方、比較回路8の比較結果が不一致を示
す場合、すなわち意図的に擬似障害を発生させたくない
データラインの時には比較回路8から不一致を示す論理
信号“0”が出力されるので、擬障害指示ビット6から
出力され続けている擬障指示はAND回路9から障害発
生回路10に出力されることはない。よって、障害発生
回路10はライン指示レジスタ5で示される位置以外の
ラインデータに障害を埋め込むことはない。
On the other hand, when the comparison result of the comparison circuit 8 indicates a mismatch, that is, when the data line does not intentionally cause a pseudo fault, a logic signal "0" indicating the mismatch is output from the comparison circuit 8. The false fault instruction continuously output from the false fault instruction bit 6 is not output from the AND circuit 9 to the fault generating circuit 10. Therefore, the fault occurrence circuit 10 does not embed a fault in line data other than the position indicated by the line instruction register 5.

【0037】ここで、本当の障害が転送中のデータライ
ン上に発生した場合、障害検出回路11は障害を検出
し、AND回路12及びAND回路14に障害発生信号
を出力する。
Here, when a real fault occurs on the data line being transferred, the fault detecting circuit 11 detects the fault and outputs a fault occurrence signal to the AND circuit 12 and the AND circuit 14.

【0038】この場合、AND回路12は比較回路8の
比較結果が不一致のためにAND回路9からの擬障信号
(論理信号“1”)を受取っていないので、エラーレジ
スタ15に障害発生信号を出力しないが、AND回路1
4はNOT回路13によって論理信号“1”を受取るの
で、エラーレジスタ15に障害発生信号を出力する。エ
ラーレジスタ15はAND回路14から障害発生信号を
出力されると、本当に障害が発生したことを示す情報を
保持する。
In this case, the AND circuit 12 does not receive the false fault signal (logic signal "1") from the AND circuit 9 because the comparison result of the comparison circuit 8 does not match. No output, but AND circuit 1
4 receives the logic signal “1” by the NOT circuit 13, and outputs a fault occurrence signal to the error register 15. When a failure occurrence signal is output from the AND circuit 14, the error register 15 holds information indicating that a failure has actually occurred.

【0039】このように、データ伝送路を介して転送さ
れるラインデータの数をラインカウンタ回路7でカウン
トし、そのカウント値とライン指示レジスタ5に予め設
定された位置とを比較回路8で比較し、それらの一致が
検出されたラインデータを障害発生回路10で擬似障害
が生じるようなラインデータに変換するとともに、ライ
ンデータの障害を検出する障害検出回路11の検出結果
を比較回路8の比較結果に対応させてエラーレジスタ1
5に格納することによって、ブロックデータの任意のラ
インデータ上の障害に対する障害処理を保守者及び開発
者が意図的に発生させることができるので、評価の網羅
率を向上させることができる。
As described above, the number of line data transferred via the data transmission path is counted by the line counter circuit 7, and the count value is compared with the position preset in the line instruction register 5 by the comparison circuit 8. Then, the line data for which the coincidence is detected is converted into line data in which a simulated fault occurs in the fault generating circuit 10, and the detection result of the fault detecting circuit 11 for detecting a fault in the line data is compared by the comparing circuit 8 Error register 1 corresponding to the result
5, the maintenance process and the developer can intentionally cause a failure process for a failure on any line data of the block data, so that the coverage of evaluation can be improved.

【0040】また、2ワード以上のデータ転送時におい
て、任意のワードについて擬似障害を発生させようとし
た時、擬似障害を発生させたいワード以外のワードで本
当の障害が発生した場合でも、擬似障害を発生させた時
のエラー情報とは別に、本当の障害のエラー情報がエラ
ーレジスタ15にセットされるので、意図した擬似障害
と意図しない実際のエラーとを区別することができる。
When a pseudo failure is to be generated for an arbitrary word at the time of data transfer of two or more words, even if a real failure occurs in a word other than the word for which the pseudo failure is to be generated, the pseudo failure may occur. Is set in the error register 15 in addition to the error information at the time of the occurrence of the error, it is possible to distinguish the intended pseudo failure from the unintended actual error.

【0041】したがって、意図しない本当の障害のエラ
ー情報と意図して擬似的に発生させた障害のエラー情報
とを区別することができ、擬似的に発生させた障害なの
かどうかが判別可能となるので、正確なエラー情報を得
ることができる。
Therefore, it is possible to discriminate the error information of the unintended real failure from the error information of the failure which is artificially generated intentionally, and it is possible to determine whether or not the error is the artificially generated failure. Therefore, accurate error information can be obtained.

【0042】よって、ブロックデータ中の任意の位置の
ラインデータに対して擬似的に障害を発生させることが
できるとともに、正確なエラー情報を得ることができる
擬似障害発生回路を実現することができる。
Accordingly, it is possible to realize a pseudo-failure generating circuit capable of generating a pseudo-failure for line data at an arbitrary position in block data and obtaining accurate error information.

【0043】[0043]

【発明の効果】以上説明したように本発明によれば、一
つのブロックデータを一定の単位で分割したラインデー
タ各々を連続して転送するデータ伝送路上でラインデー
タに擬似障害を発生させる擬似障害発生回路において、
データ伝送路を介して転送されるラインデータの数を計
数し、その計数値を予め設定されかつ擬似障害を発生さ
せるラインデータの位置と比較した結果が一致を示すラ
インデータを擬似障害が生じるようなラインデータに変
換し、上記の比較結果に対応させてラインデータの障害
検出結果を格納することによって、ブロックデータ中の
任意の位置のラインデータに対して擬似的に障害を発生
させることができ、正確なエラー情報を得ることができ
るという効果がある。
As described above, according to the present invention, a pseudo-failure that causes a pseudo-failure in line data on a data transmission path for continuously transferring each line data obtained by dividing one block data in a predetermined unit. In the generation circuit,
The number of line data transferred via the data transmission path is counted, and the counted value is compared with a preset position of the line data that causes a pseudo-failure, and the line data indicating a match indicates that a pseudo-failure occurs. By converting the line data to the appropriate line data and storing the line data failure detection result in correspondence with the comparison result, it is possible to cause a pseudo failure in the line data at an arbitrary position in the block data. There is an effect that accurate error information can be obtained.

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

【図1】本発明の一実施例による擬似障害発生回路の構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a pseudo failure generating circuit according to one embodiment of the present invention.

【図2】従来例による擬似障害発生回路の構成を示すブ
ロック図である。
FIG. 2 is a block diagram showing a configuration of a pseudo failure generating circuit according to a conventional example.

【符号の説明】[Explanation of symbols]

1 出力側レジスタ 2 入力側レジスタ 3 出力側有効フラグ 4 入力側有効フラグ 5 ライン指示レジスタ 6 擬似障害指示ビット 7 ラインカウンタ回路 8 比較回路 9,12,14 AND回路 10 障害発生回路 11 障害検出回路 13 NOT回路 15 エラーレジスタ Reference Signs List 1 output-side register 2 input-side register 3 output-side valid flag 4 input-side valid flag 5 line instruction register 6 pseudo failure instruction bit 7 line counter circuit 8 comparison circuit 9, 12, 14 AND circuit 10 failure generation circuit 11 failure detection circuit 13 NOT circuit 15 Error register

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 11/22 360 G06F 13/00 310 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 11/22 360 G06F 13/00 310

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 一つのブロックデータを一定の単位で分
割したラインデータ各々を連続して転送するデータ伝送
路において前記ラインデータに擬似障害を発生させる擬
似障害発生回路であって、前記データ伝送路を介して転
送される前記ラインデータの数を計数する計数手段と、
予め設定されかつ前記擬似障害を発生させる前記ライン
データの位置を保持する保持手段と、前記計数手段の計
数値と前記保持手段の保持内容とを比較する比較手段
と、前記比較手段で一致が検出された前記ラインデータ
を前記擬似障害が生じるようなラインデータに変換する
障害発生手段と、前記ラインデータの障害を検出する障
害検出手段と、前記障害検出手段の検出結果を前記比較
手段の比較結果に対応させて格納する格納手段とを有す
ることを特徴とする擬似障害発生回路。
1. A pseudo-failure generating circuit for generating a pseudo-failure in line data in a data transmission path for continuously transferring line data obtained by dividing one block data in a predetermined unit, wherein the data transmission path Counting means for counting the number of the line data transferred via
A holding unit that holds a position of the line data that is set in advance and causes the pseudo failure; a comparing unit that compares a count value of the counting unit with a held content of the holding unit; and a match is detected by the comparing unit. Fault generating means for converting the obtained line data into line data causing the pseudo fault, fault detecting means for detecting a fault in the line data, and comparing the detection result of the fault detecting means with the comparing means. And a storage means for storing the pseudo-failure in accordance with (1).
【請求項2】 前記格納手段は、前記障害検出手段で前
記ラインデータの障害が検出されたことを前記比較手段
で一致が検出された時と前記比較手段で一致が検出され
なかった時とに別けて格納するよう構成したことを特徴
とする請求項1記載の擬似障害発生回路。
2. The storage means according to claim 1, wherein said fault detecting means detects a fault in said line data when said comparing means detects a match and when said comparing means does not detect a match. 2. The simulated fault occurrence circuit according to claim 1, wherein the simulated fault occurrence circuit is configured to be stored separately.
【請求項3】 前記計数手段は、前記データ伝送路を介
して転送される前記ラインデータのうち外部から有効と
されたラインデータの数を計数するよう構成したことを
特徴とする請求項1または請求項2記載の擬似障害発生
回路。
3. The apparatus according to claim 1, wherein said counting means is configured to count the number of line data validated from outside of said line data transferred via said data transmission path. 3. The pseudo failure generating circuit according to claim 2.
【請求項4】 前記障害発生手段は、前記擬似障害の発
生が外部から指示されかつ前記比較手段で一致が検出さ
れた前記ラインデータを前記擬似障害が生じるようなラ
インデータに変換するよう構成したことを特徴とする請
求項1から請求項3のいずれか記載の擬似障害発生回
路。
4. The fault occurrence means is configured to convert the line data, for which the occurrence of the pseudo fault is instructed from the outside and a match is detected by the comparing means, into line data that causes the pseudo fault. 4. The simulated fault occurrence circuit according to claim 1, wherein:
JP02910697A 1997-02-13 1997-02-13 Simulated fault generation circuit Expired - Fee Related JP3250143B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02910697A JP3250143B2 (en) 1997-02-13 1997-02-13 Simulated fault generation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02910697A JP3250143B2 (en) 1997-02-13 1997-02-13 Simulated fault generation circuit

Publications (2)

Publication Number Publication Date
JPH10228392A JPH10228392A (en) 1998-08-25
JP3250143B2 true JP3250143B2 (en) 2002-01-28

Family

ID=12267094

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02910697A Expired - Fee Related JP3250143B2 (en) 1997-02-13 1997-02-13 Simulated fault generation circuit

Country Status (1)

Country Link
JP (1) JP3250143B2 (en)

Also Published As

Publication number Publication date
JPH10228392A (en) 1998-08-25

Similar Documents

Publication Publication Date Title
CN1018097B (en) Memory emulation method and system that test and trouble shooting are used
KR940018944A (en) Redundancy Analyzer for Auto Memory Tester
US5930270A (en) Logic built in self-test diagnostic method
JP3250143B2 (en) Simulated fault generation circuit
US6701472B2 (en) Methods for tracing faults in memory components
KR0183196B1 (en) Td bus testing method of electronic switching system
JPS63200250A (en) Pseudo fault generating system for cache memory device
JPS5983250A (en) Information processing device
JPH04289474A (en) Semiconductor integrated circuit
JPH02239356A (en) Pseudo fault occurrence system
JP2584654B2 (en) Data processing device
JPS63193248A (en) Pseudo fault generating circuit
JPH03162042A (en) Self-diagnostic device for digital signal processing circuit
JPS6161427B2 (en)
JPH04321140A (en) Method and device for pointing error occurring part
KR0182686B1 (en) Method for testing speech path performance measurement apparatus in switching system
JPH0750675A (en) Monitor circuit for internal part of device
JPH01311332A (en) Error check system
KR19980015128A (en) The on-line test equipment of the electronic exchanger (APPARATUS FOR ON LINE TEST IN SWITCH)
JPH0495884A (en) Semiconductor test device
JPH077986B2 (en) Switch monitoring equipment
JPS63136141A (en) Fault processing system
JPS60173647A (en) Detecting system of error generating part of information processing unit
JPH03147438A (en) Pattern detection circuit
JPS6035695B2 (en) Memory test method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20011009

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071116

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081116

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081116

Year of fee payment: 7

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081116

Year of fee payment: 7

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees