JPS5911452A - Test system of parity check circuit - Google Patents

Test system of parity check circuit

Info

Publication number
JPS5911452A
JPS5911452A JP57121637A JP12163782A JPS5911452A JP S5911452 A JPS5911452 A JP S5911452A JP 57121637 A JP57121637 A JP 57121637A JP 12163782 A JP12163782 A JP 12163782A JP S5911452 A JPS5911452 A JP S5911452A
Authority
JP
Japan
Prior art keywords
parity check
check circuit
data
parity
test
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
JP57121637A
Other languages
Japanese (ja)
Inventor
Takaaki Hatano
波多野 隆明
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP57121637A priority Critical patent/JPS5911452A/en
Publication of JPS5911452A publication Critical patent/JPS5911452A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2215Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test error correction or detection circuits
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's

Abstract

PURPOSE:To conduct the test on a parity check circuit, by checking the presence of an error detecting signal from the parity check circuit when a CPU accesses a parity error data stored in advance. CONSTITUTION:The CPU2 accesses a parity error data stored in an address A of a memory 3 and the result is transmitted to the CPU2 via a common bus 4. Then, the parity check circuit 1 performs the parity check on the bus 4. As a result, when the circuit 1 is normal, an interruption signal MI is inputted to a parity check test section 2a of the CPU2. The test section 2a discriminates whether or not the signal MI is inputted to a preset point of time. When the result of test is correct, it is discriminated that the circuit 1 is normal and the CPU2 starts normal processing. Further, if the result of test is nor normal, the CPU2 informs it to the operator by means of alarm or the like.

Description

【発明の詳細な説明】 0 発明の技術分野 本発明はデータのハリティチェックを行なうデータ処理
装置におけるパリティチェック回路の試験方式に関する
DETAILED DESCRIPTION OF THE INVENTION 0 Technical Field of the Invention The present invention relates to a test method for a parity check circuit in a data processing device that performs a data harness check.

技術の背景 共通バス形式のデータ処理装置においては、一般に処理
装置(以下CPUと称す)、入出力装置およびメモリの
各々の間で送受されるデータのチェックを行なっている
。これは共通バスζこ接続され、バスlこ出力されるデ
ータをチェックするパリティチェック回路によって行な
われている。
Background of the Technology In a common bus type data processing device, data sent and received between a processing device (hereinafter referred to as a CPU), an input/output device, and a memory is generally checked. This is done by a parity check circuit connected to the common bus ζ and checking data output from the bus l.

0 従来技術と問題点 即ち、第1図に示すように、パリティチェック回路1に
は共通バス(図示せず)の中のデータバス及びデータパ
リティ・ビット線が接峻される。
0 Prior Art and Problems As shown in FIG. 1, a parity check circuit 1 is connected to a data bus and a data parity bit line in a common bus (not shown).

またCPU等より与えられるデータ・バス有効信号線が
入力されている。つまり、このデーターバス有効信号線
lこより、データバス上の情報が有効であることを通知
されている期間、パリティチェック回路1はデータバス
上のデータとパリティビット線のデータとが所定の関係
にあるか否かをチェックするO しかしながら、パリティチェック回路IIこ不良があり
データのパリティエラーを正しく検出できない場合は、
穆々の障害の原因となる。例えばCPUがメモリより読
出したデータのエラー検出が成されない場合、CPUが
暴走する事が生じる。
A data bus valid signal line provided from the CPU or the like is also input. In other words, during the period when it is notified from this data bus valid signal line that the information on the data bus is valid, the parity check circuit 1 ensures that the data on the data bus and the data on the parity bit line are in a predetermined relationship. However, if the parity check circuit II is defective and a data parity error cannot be detected correctly,
It causes the disorder of Mumu. For example, if error detection is not performed on data read by the CPU from memory, the CPU may run out of control.

従来においては、このパリティチェック回路の自己機能
試験を行うことはなかった。即ち、装置製造時に外部試
験器等lこよりバス上にデータを与え、パリティチェッ
ク回路の試験を行なうのみであった。
Conventionally, this parity check circuit has not been subjected to a self-function test. That is, at the time of manufacturing the device, the parity check circuit was only tested by supplying data onto the bus from an external tester or the like.

0 発明の目的 本発明の目的は、上述した従来の欠点を取除くべく、デ
ータ処理装置の自己試験機能としてパリティチェック回
路も積極的に試験する対象とし、且つ装置自身で簡単に
実行することのできるパリティチェyり回路の試験方法
を提供するにある。
0 OBJECTS OF THE INVENTION In order to eliminate the above-mentioned conventional drawbacks, an object of the present invention is to actively test the parity check circuit as a self-test function of data processing equipment, and to provide a system that can be easily executed by the equipment itself. The purpose of the present invention is to provide a test method for a parity check circuit that can be performed.

0 発明の構成 上記目的を達成するため本発明のパリティチェック回路
の試験方式は、メモリのデータ領域lこパリティエラー
のデータを予め格納すると共に、処理装置が該パリティ
エラーのデータをアクセスしアクセスしたデータに対す
るパリティチェック回路からのパリティエラー検出信号
の有無を調べることを特徴とするものである。
0 Structure of the Invention In order to achieve the above object, the testing method of the parity check circuit of the present invention is such that parity error data is stored in advance in a data area of a memory, and a processing device accesses and accesses the parity error data. This method is characterized by checking the presence or absence of a parity error detection signal from a parity check circuit for data.

0 発明の実施例 以下実施例を用いて本発明を詳述する。0 Examples of the invention The present invention will be explained in detail below using Examples.

第1図は本発明の一実施例を示すブロック図、第2図は
第1図に示す実施例装置の動作を示すフローチャートで
ある。第1図中、1はパリティチェック回路、2はCP
U、3はメモリ、4は共通バスである。
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a flowchart showing the operation of the embodiment device shown in FIG. In Figure 1, 1 is a parity check circuit, 2 is a CP
U, 3 is a memory, and 4 is a common bus.

CPU2、メモリ3、パリティ・チェック回路1は各々
共通バス4を介して接続されている。パリティ・チェッ
ク回路1への接続バスは第1図1こ示すデータ・バス、
データ・パリティ・ビット線、データ・バス有効信号線
が含まれている。
The CPU 2, memory 3, and parity check circuit 1 are each connected via a common bus 4. The connection buses to the parity check circuit 1 are the data bus shown in FIG.
Contains data parity bit lines and data bus valid signal lines.

以下実施例装置の動作を第3図フローチャートを基tこ
説明する、まず、装置電源投入時或いはリセット信号l
こよる再稼動再始時に、CPU2は装置各部の初期化(
イニシャライズ)を行なう。例えばCPU2の内部レジ
スタ、共通バス4に接続される入出力装置(図示せず)
の谷部の初期状態設定等が該当する。
The operation of the device according to the embodiment will be explained below based on the flowchart in FIG.
When restarting the system, the CPU 2 initializes each part of the device (
initialize). For example, an internal register of the CPU 2, an input/output device (not shown) connected to the common bus 4
This applies to the initial state settings in the valleys, etc.

CPU2は、さらにメモリ31こ格納される初期プログ
ラムに従ってパリティチェック回路lの試験を行なう。
The CPU 2 further tests the parity check circuit 1 according to the initial program stored in the memory 31.

メモリ3は、CPU2の稼動開始動作プログラム全格納
する不揮発性メモリ(ROM)であって、装置に不可欠
なノ・−ド部分である0本実施例では、CPUZ内に設
けられるパリティ・チェック試験部2a’r稼動するこ
とにより試験を行なう。
The memory 3 is a non-volatile memory (ROM) that stores all the operation start-up programs for the CPU 2, and is an essential node part of the device. Test by running 2a'r.

一方、メモリ3の所定領域(図ではA番地から始まる一
定領域)には、パリティエラーとなるデータを予め格納
しておく。尚、メモリ31こは第1図(こ示すデータ・
パリティ・ビット情報も各データ毎に対応して格納され
ヱいる。CPU2は、初期プログラムに従い、メモリ3
のパリティエラーデータ全アクセスする。つまり共通バ
ス4のアドレスバス上にA番地金示すアドレス情報を出
力すると共に、メモリ3に対して読出しモードを指定す
る。CPU2のアクセスにより、メモリ3はA番地に格
納されるデータを共通バス4のデータバスを介してCP
U2へ送出する。これによりパリティチェック回路1は
、データバス上のデータに対して′ゝリテイチェツクを
行なう。尚、第1図に示したデータバス有効信号線には
、CPU2の初期動作と共に有効を意味する信号が与え
られていると考えてよい。
On the other hand, data that will cause a parity error is stored in advance in a predetermined area of the memory 3 (a certain area starting from address A in the figure). The memory 31 is shown in FIG.
Parity bit information is also stored corresponding to each piece of data. CPU2 reads memory 3 according to the initial program.
Access all parity error data. That is, it outputs address information indicating address A onto the address bus of the common bus 4, and also specifies the read mode for the memory 3. Upon access from the CPU 2, the memory 3 transfers the data stored at address A to the CPU via the data bus of the common bus 4.
Send to U2. As a result, the parity check circuit 1 performs a parity check on the data on the data bus. Incidentally, it can be considered that the data bus valid signal line shown in FIG. 1 is given a signal indicating validity at the same time as the initial operation of the CPU 2.

この結果、A番地のデータはパリティエラーのデータで
あるため、パリティ・チェック回路1が正常であればC
PU2に対してパリティエラー発生金示す割込み信号M
it−出力する。この割込み信号M1はパリティチェッ
ク試験部2aへ入力される。通常の場合、この割込み信
号MiによりCPU2が割込み処理を行なうが、パリテ
ィ・チェック試験部2aの稼動lこより、正規の割込み
信号としては扱われない。
As a result, since the data at address A is parity error data, if parity check circuit 1 is normal, C
Interrupt signal M indicating parity error occurrence to PU2
it-output. This interrupt signal M1 is input to the parity check test section 2a. Normally, this interrupt signal Mi causes the CPU 2 to perform interrupt processing, but due to the operation of the parity check test section 2a, it is not treated as a regular interrupt signal.

パリティ・チェック試験部2aは、パリティエラーの割
込み信号Miが予め設定した時点に入力されたか否かを
判別する。パリティ・チェック試験部2aには、CPU
2がメモリ3に対してアクセスするメモリアドレスが入
力されている。従って、このアドレスIこより、パリテ
ィ・チェック回路工がパリティエラーを検出すべき時点
が判る。
The parity check test section 2a determines whether or not the parity error interrupt signal Mi is input at a preset time. The parity check test section 2a includes a CPU
The memory address at which 2 accesses memory 3 is input. Therefore, from this address I, it is known when the parity check circuitry should detect a parity error.

本実施例では、このハIJティエラーデータを格納する
領域ヲ複数アドレス領域分設ける。即ちこの領域内のい
くつかのアドレスにパリティエラーデータを格納してお
く。このようにパリティチェック回路工が、パリティエ
ラーを検出すべきデータを複数箇所に且つ単発的に設け
ることにより、より正確なパリティチェック回路の試験
が可能となる。この試験領域のデータアクセスζこよる
パリティチェック回路1の試験が終了し、且つ試験結果
が正しい場合、CPU2は通常の処理を開始することに
なる。
In this embodiment, a plurality of address areas are provided to store this high IJ error data. That is, parity error data is stored in several addresses within this area. In this way, the parity check circuit engineer can test the parity check circuit more accurately by providing data for which parity errors should be detected in a plurality of locations and on a single occasion. When the test of the parity check circuit 1 based on the data access ζ in the test area is completed and the test result is correct, the CPU 2 starts normal processing.

また、パリティチェック回路1の試験結果が良好でない
場合、CPU’2はアラーム等によりオペレータに通知
することは云うまでもない。
Further, it goes without saying that if the test result of the parity check circuit 1 is not good, the CPU'2 notifies the operator by means of an alarm or the like.

O発明の効果 以上詳述したように本発明によれば、CPU2による装
置稼動時の初期動作中に、パリティチェック回路1の機
能試験を行なう事ができ、パリティチェック回路障害に
よる装置の誤動作全未然−こ防止することができる。
Effects of the Invention As detailed above, according to the present invention, the function test of the parity check circuit 1 can be performed during the initial operation of the device by the CPU 2, and malfunction of the device due to parity check circuit failure can be completely prevented. - This can be prevented.

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

第、1図はパリティチェック回路1の動作全説明する図
、第2図は本発明の一実施例を示すブロック図、第3図
は実施例の動作を示すフローチャートである。1はパリ
ティチェック回路、2はCPU、3はメモリ、4は共通
パスである。 第Z 図 第 5 図
1 is a diagram explaining the entire operation of the parity check circuit 1, FIG. 2 is a block diagram showing an embodiment of the present invention, and FIG. 3 is a flowchart showing the operation of the embodiment. 1 is a parity check circuit, 2 is a CPU, 3 is a memory, and 4 is a common path. Figure Z Figure 5

Claims (1)

【特許請求の範囲】[Claims] 処理装置とメモリとパリティチェック回路とが各々共通
バスに接続され、該パリティチェック回路により共通パ
ン上のデータのパリティチェックを行なうデータ処理装
置において、前記メモリの所定領斌にパリティエラーの
データを予め格納すると共に、前記処理装置が該パリテ
ィエラーのデータをアクセスし、アクセスしたデータに
対する前記パリティチェック回路からのパリティエラー
検出信号の有無によって該パリティチェック回路の機能
試験を行にうこと全特徴とするパリティチェック回路の
試験方式。
In a data processing device in which a processing device, a memory, and a parity check circuit are each connected to a common bus, and the parity check circuit performs a parity check on data on a common pan, data with a parity error is stored in a predetermined area of the memory in advance. At the same time, the processing device accesses the parity error data and performs a functional test of the parity check circuit depending on the presence or absence of a parity error detection signal from the parity check circuit for the accessed data. Test method for parity check circuit.
JP57121637A 1982-07-13 1982-07-13 Test system of parity check circuit Pending JPS5911452A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57121637A JPS5911452A (en) 1982-07-13 1982-07-13 Test system of parity check circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57121637A JPS5911452A (en) 1982-07-13 1982-07-13 Test system of parity check circuit

Publications (1)

Publication Number Publication Date
JPS5911452A true JPS5911452A (en) 1984-01-21

Family

ID=14816186

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57121637A Pending JPS5911452A (en) 1982-07-13 1982-07-13 Test system of parity check circuit

Country Status (1)

Country Link
JP (1) JPS5911452A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63123149A (en) * 1986-11-12 1988-05-26 Nec Corp Method for transferring data
JPS63110944U (en) * 1987-01-08 1988-07-16
JPH01211038A (en) * 1988-02-18 1989-08-24 Fujitsu Ltd Automatic diagnostic system for parity circuit
JPH0546426A (en) * 1991-08-07 1993-02-26 Toshiba Corp Self-diagnostic circuit

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63123149A (en) * 1986-11-12 1988-05-26 Nec Corp Method for transferring data
JPH0535899B2 (en) * 1986-11-12 1993-05-27 Nippon Electric Co
JPS63110944U (en) * 1987-01-08 1988-07-16
JPH01211038A (en) * 1988-02-18 1989-08-24 Fujitsu Ltd Automatic diagnostic system for parity circuit
JPH0546426A (en) * 1991-08-07 1993-02-26 Toshiba Corp Self-diagnostic circuit

Similar Documents

Publication Publication Date Title
JPS6134639A (en) Electronic circuit tester
JPH0314033A (en) Inspection system for microprocessor comparison checking function
JPS5911452A (en) Test system of parity check circuit
JPS6210833Y2 (en)
JP3173648B2 (en) Failure detection method
JPH06110721A (en) Memory controller
JP3326546B2 (en) Computer system failure detection method
JPS60173647A (en) Detecting system of error generating part of information processing unit
JPS63140342A (en) Test system for error detecting circuit
JPS6035695B2 (en) Memory test method
JPS6244664B2 (en)
JPS63753A (en) Test system for memory error checking and correcting circuit
JPS61131128A (en) Self-diagnosis system
JPS5917465B2 (en) Check device
JPS63174141A (en) Diagnosing system for test of information processor
JPS6019806B2 (en) Error detection method
JPS58128100A (en) Error processing system for main storage device
JPH04101253A (en) Operation testing system for ecc circuit of memory
JPS6123263A (en) Test system
JPH0498555A (en) Bus interface check system
JP2002340994A (en) Pattern data checking method and pattern data checking circuit
JPS5877674A (en) Test pattern generating device
KR19990048292A (en) How to detect faults on the data bus
JPH0434180B2 (en)
JPH0310347A (en) Trouble detecting circuit