JPH04123439U - Parity debug circuit - Google Patents

Parity debug circuit

Info

Publication number
JPH04123439U
JPH04123439U JP3603191U JP3603191U JPH04123439U JP H04123439 U JPH04123439 U JP H04123439U JP 3603191 U JP3603191 U JP 3603191U JP 3603191 U JP3603191 U JP 3603191U JP H04123439 U JPH04123439 U JP H04123439U
Authority
JP
Japan
Prior art keywords
address
parity
data
bit
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.)
Pending
Application number
JP3603191U
Other languages
Japanese (ja)
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 JP3603191U priority Critical patent/JPH04123439U/en
Publication of JPH04123439U publication Critical patent/JPH04123439U/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)

Abstract

(57)【要約】 【目的】 パリティ回路において、特定のアドレスの特
定のデータビットを指定してエラー発生を可能にするこ
とにより何れのアドレスおよびデータビットに対しても
自由にパリティデバッグを可能にする。 【構成】 パリティ発生アドレスレジスタ2およびビッ
ト反転指定データレジスタ4にそれぞれエラーを発生さ
せたいアドレスおよびそのデータビットを指定する。ア
ドレス比較回路3によって一致アドレスが検出されデー
タ反転イネーブル回路5に設定されたデータが送出され
る。これによりデータ論理反転回路6では指定されたデ
ータビットのみが反転してパリティ検出回路1において
エラーが検出される。
(57) [Summary] [Purpose] In the parity circuit, by specifying a specific data bit of a specific address and making it possible to generate an error, it is possible to freely perform parity debugging on any address and data bit. do. [Structure] An address at which an error is to be caused and its data bit are specified in the parity generation address register 2 and the bit inversion specification data register 4, respectively. A matching address is detected by the address comparison circuit 3, and the data set in the data inversion enable circuit 5 is sent out. As a result, the data logic inversion circuit 6 inverts only the designated data bit, and the parity detection circuit 1 detects an error.

Description

【考案の詳細な説明】[Detailed explanation of the idea]

【0001】0001

【産業上の利用分野】[Industrial application field]

本考案はパリティチェック機能を有する回路、さらに詳しくいえば、パリティ チェックの正常性をデバッグできるパリティデバッグ回路に関する。 The present invention is a circuit with a parity check function, more specifically, a circuit with a parity check function. This invention relates to a parity debug circuit that can debug the normality of a check.

【0002】0002

【従来の技術】[Conventional technology]

従来はデータのうち1ビットを固定することによりパリティ検出回路がパリテ ィエラーを検出できるか否か確認をしていた。 Conventionally, a parity detection circuit detects parity by fixing one bit of data. I was checking to see if I could detect errors.

【0003】0003

【考案が解決しようとする課題】[Problem that the idea aims to solve]

そのため、特定の状況下でエラーを発生させることは困難であった。 例えば、プロセッサが指揮権を持たないDMA(ダイレクトメモリアクセス)動 作の中間および最後のアクセスでエラーを発生させて評価を行いたい場合など、 プロセッサが関与できないため特定のアドレスのエラー発生は不可能であった。 本考案の目的は特定のアドレスの特定のデータビットを指定してエラー発生を 可能にすることにより何れのアドレスおよびデータビットに対しても自由にパリ ティエラーを発生させることができるパリティデバッグ回路を提供することにあ る。 Therefore, it was difficult to generate an error under certain circumstances. For example, DMA (direct memory access) operations over which the processor does not have control For example, when you want to evaluate by generating an error in the middle or final access of the work. It was impossible for an error to occur at a specific address because the processor could not be involved. The purpose of this invention is to specify specific data bits at specific addresses to prevent errors from occurring. You can freely parse any address and data bits by The aim is to provide a parity debug circuit that can generate parity errors. Ru.

【0004】0004

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

前記目的を達成するために本考案によるパリティデバッグ回路はパリティエラ ーを発生させるアドレスを設定するためのパリティ発生アドレス設定手段と、反 転させるデータビットを指定するための反転ビット指定手段と、アドレスと前記 パリティ発生アドレス設定手段に設定したアドレスとが一致したとき、前記反転 ビット指定手段で指定したビットに相当するビットを反転させる手段を設け、特 定アドレスの特定ビットに対しパリティエラーを発生させることを可能に構成し てある。 In order to achieve the above object, the parity debug circuit according to the present invention has a parity error. A parity generation address setting means for setting an address that generates a parity, and a counter an inversion bit designation means for designating data bits to be inverted; When the address set in the parity generation address setting means matches, the above-mentioned inversion A means for inverting the bit corresponding to the bit specified by the bit specifying means is provided, and a special It is configured so that a parity error can be generated for a specific bit of a fixed address. There is.

【0005】[0005]

【実施例】【Example】

以下、図面等を参照して本考案をさらに詳しく説明する。 図1は本考案によるパリティデバッグ回路の実施例を示す回路ブロック図であ る。 nビットのアドレスバス7と,mビットのデータに任意のパリティビットpが 付加されたデータバス8とが本回路に接続されている。 パリティエラーを発生させるアドレスを指定するためにパリティ発生アドレス レジスタ2が設けられている。 また、データの何れのビットを反転させるかを指定するためにビット反転指定 データレジスタ4が設けられている。 所望のアドレスおよび反転データビットは上記パリティ発生アドレスレジスタ2 およびビット反転指定データレジスタ4にデータバス8を通してそれぞれ設定さ れる。 Hereinafter, the present invention will be explained in more detail with reference to the drawings and the like. FIG. 1 is a circuit block diagram showing an embodiment of the parity debug circuit according to the present invention. Ru. An arbitrary parity bit p is added to the n-bit address bus 7 and the m-bit data. An additional data bus 8 is connected to this circuit. Parity generation address to specify the address that generates a parity error. A register 2 is provided. In addition, bit inversion specification is used to specify which bit of data is to be inverted. A data register 4 is provided. The desired address and inverted data bit are stored in the parity generation address register 2. and bit inversion designation data register 4 through data bus 8. It will be done.

【0006】 パリティ発生アドレスレジスタ2の出力とアドレスバス7のアドレスとはアド レス比較回路8に入力され、アドレスが一致するか否か検出される。 アドレス比較回路8はn個のイクスクルーシブオア回路および1個のアンド回路 より構成され、アドレスバス7の各ビットとパリティ発生アドレスレジスタ2に 設定されているアドレス各ビットのすべてが一致する場合は一致信号(ハイレベ ル)を出力する。 アドレス比較回路3とビット反転指定データレジスタ4の出力はデータ反転イ ネーブル回路5に入力される。 データ反転イネーブル回路5はm個のアンド回路5により構成され、一致信号が 入力されると、反転を指定されたビット(ハイレベル)を含むm個のビットより なる信号を出力する。[0006] The output of parity generation address register 2 and the address of address bus 7 are The address is input to the address comparison circuit 8, and it is detected whether or not the addresses match. The address comparison circuit 8 includes n exclusive OR circuits and one AND circuit. Each bit of the address bus 7 and the parity generation address register 2 are If all of the set address bits match, a match signal (high level) is output. output). The outputs of the address comparison circuit 3 and the bit inversion specification data register 4 are data inversion signals. The signal is input to the enable circuit 5. The data inversion enable circuit 5 is composed of m AND circuits 5, and the match signal is When input, m bits including the bit specified to be inverted (high level) Outputs a signal.

【0007】 このm個のビットよりなる信号とデータバス8上のデータはデータ論理反転回 路6に入力される。 データ論理反転回路6はm個のイクスクルーシブオア回路より構成され、データ 反転イネーブル回路5から送られてくるm個のデータビットのうちハイレベルの データビットが入力するイクスクルーシブオア回路を通るデータバス8のデータ ビットのみが反転させられる。 データ論理反転回路6を通ったデータバス8のデータはこの後パリティ検出回路 1に入力されてパリティ検出が行われる。 ここで例えば、アドレスAのデータ2ビット目にエラーを発生させる場合を考 えると、パリティ発生アドレスレジスタ2にはアドレスAが、ビット反転指定デ ータレジスタ4のデータ2ビット目にはハイレベルが設定される。これによりデ ータ論理反転回路6のデータの2ビット目の出力のみ反転するので、パリティ検 出回路1はアドレスAのデータ2ビット目の異常に対してパリティエラーを検出 できる。[0007] This signal consisting of m bits and the data on the data bus 8 are processed by a data logic inversion circuit. 6. The data logic inversion circuit 6 is composed of m exclusive OR circuits, and Of the m data bits sent from the inversion enable circuit 5, the high level Data on data bus 8 passes through exclusive OR circuit where data bits are input Only bits are inverted. The data on the data bus 8 that has passed through the data logic inversion circuit 6 is then sent to a parity detection circuit. 1 and parity detection is performed. For example, consider the case where an error occurs in the second bit of data at address A. In other words, address A is in parity generation address register 2, and bit inversion designation data is stored in parity generation address register 2. The second data bit of data register 4 is set to a high level. This allows the Since only the output of the second bit of data from the data logic inversion circuit 6 is inverted, parity detection is possible. Output circuit 1 detects a parity error for an abnormality in the second bit of data at address A. can.

【0008】[0008]

【考案の効果】[Effect of the idea]

以上、説明したように本考案によるパリティデバッグ回路はパリティエラーを 発生させるアドレスおよびそのデータのビットを指定し、指定したアドレスの指 定データビットを反転させることにより、指定アドレスの指定データビットに対 しパリティエラーデバッグを行うことができるように構成されている。 したがって、エラーを発生させたいアドレスに対し容易にエラーを発生させるこ とができパリティ検出回路の評価が容易となる。 また、ビット反転指定手段に設定したビットを反転する構成であるので、元の データをデバッグする者が認識することなくエラーを発生させることができる。 As explained above, the parity debug circuit according to the present invention can detect parity errors. Specify the address to be generated and the bits of its data, and By inverting the specified data bit, the specified data bit of the specified address is and parity error debugging. Therefore, it is easy to cause an error to occur at an address where you want an error to occur. This makes it easy to evaluate the parity detection circuit. In addition, since the configuration is to invert the bits set in the bit inversion specification means, the original Errors can occur without the person debugging the data being aware of them.

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

【図1】本考案によるパリティデバッグ回路の実施例を
示す回路ブロック図である。
FIG. 1 is a circuit block diagram showing an embodiment of a parity debug circuit according to the present invention.

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

1…パリティ検出回路 2…パリティ発生アドレスレジスタ 3…アドレス比較回路 4…ビット反転指定データレジスタ 5…データ反転イネーブル回路 6…データ論理反転回路 7…アドレスバス 8…データバス 1...Parity detection circuit 2...Parity generation address register 3...Address comparison circuit 4...Bit inversion specification data register 5...Data inversion enable circuit 6...Data logic inversion circuit 7…Address bus 8...Data bus

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】 パリティエラーを発生させるアドレスを
設定するためのパリティ発生アドレス設定手段と、反転
させるデータビットを指定するための反転ビット指定手
段と、アドレスと前記パリティ発生アドレス設定手段に
設定したアドレスとが一致したとき、前記反転ビット指
定手段で指定したビットに相当するビットを反転させる
手段を設け、特定アドレスの特定ビットに対しパリティ
エラーを発生させることを可能にしたを特徴とするパリ
ティデバッグ回路。
1. A parity generation address setting means for setting an address that causes a parity error, an inversion bit specification means for specifying a data bit to be inverted, and an address and an address set in the parity generation address setting means. A parity debugging circuit characterized in that the parity debugging circuit is provided with means for inverting a bit corresponding to the bit specified by the inversion bit specifying means when the above bits match, thereby making it possible to generate a parity error for a specific bit of a specific address. .
JP3603191U 1991-04-22 1991-04-22 Parity debug circuit Pending JPH04123439U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3603191U JPH04123439U (en) 1991-04-22 1991-04-22 Parity debug circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3603191U JPH04123439U (en) 1991-04-22 1991-04-22 Parity debug circuit

Publications (1)

Publication Number Publication Date
JPH04123439U true JPH04123439U (en) 1992-11-09

Family

ID=31918068

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3603191U Pending JPH04123439U (en) 1991-04-22 1991-04-22 Parity debug circuit

Country Status (1)

Country Link
JP (1) JPH04123439U (en)

Similar Documents

Publication Publication Date Title
ATE72066T1 (en) SELF-TESTING COMPUTING CIRCUIT ARRANGEMENT.
JPH04123439U (en) Parity debug circuit
JP2567986B2 (en) Data processing system
JP2704062B2 (en) Information processing device
JPS62226353A (en) Storage device with ras circuit
JP2576715Y2 (en) Output buffer failure detection circuit for application specific IC
JPS60101649A (en) Diagnosis device of electronic computer
JPS60239840A (en) False fault generator
JPS6093508A (en) Inputting and outputting method of process signal
JPS5856042A (en) Pseudo parity error genearating circuit system
JPS61292756A (en) Program debug auxiliary circuit
JPS6385832A (en) Parity checking system
JPS59211149A (en) Comparison stopping system
JPS63208953A (en) Microcomputer
JPH02278342A (en) Microcomputer
JPH0253169A (en) Trouble detecting device for multi-microprocessor system
JPH0748192B2 (en) Storage device
JPS61228534A (en) Action control system for parity check circuit
JPH01197860A (en) Memory fault detecting circuit
JPS60239838A (en) False fault generator
JPH08221282A (en) Parity generation and check circuit
JPS6039249A (en) Operation device
JPS60245013A (en) Memory initializing circuit
JPH05204775A (en) Local memory diagnostic device
JPS61294556A (en) Detection system for program malfunction