JPH02143351A - Parity inspection circuit - Google Patents
Parity inspection circuitInfo
- Publication number
- JPH02143351A JPH02143351A JP63297308A JP29730888A JPH02143351A JP H02143351 A JPH02143351 A JP H02143351A JP 63297308 A JP63297308 A JP 63297308A JP 29730888 A JP29730888 A JP 29730888A JP H02143351 A JPH02143351 A JP H02143351A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- parity
- data
- error detection
- detection 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
Links
- 238000007689 inspection Methods 0.000 title abstract description 5
- 238000001514 detection method Methods 0.000 claims abstract description 26
- 238000012360 testing method Methods 0.000 claims abstract description 23
- 238000000034 method Methods 0.000 abstract description 5
- 230000002159 abnormal effect Effects 0.000 abstract description 2
- 238000007796 conventional method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000002347 injection Methods 0.000 description 1
- 239000007924 injection Substances 0.000 description 1
Landscapes
- For Increasing The Reliability Of Semiconductor Memories (AREA)
- Tests Of Electronic Circuits (AREA)
- Detection And Correction Of Errors (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、ランダムアクセスメモリ回路(以下、rRA
M回路」という。)に対するアクセスの信頼性を要求さ
れるシステム等において、当該RAM回路から読み出さ
れたデータに誤りが有るか否かを検出するパリティ検査
回路に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a random access memory circuit (hereinafter referred to as rRA).
It is called "M circuit". The present invention relates to a parity check circuit that detects whether or not there is an error in data read from a RAM circuit in a system that requires reliable access to a RAM circuit.
〔従来の技術]
一般に、RAM回路に対するアクセスの信頼性を要求さ
れるシステム等においては、n−1ビツトの書き込みデ
ータに対して1ビツトの冗長ビットを付加した符号を構
成し、nビット中の“I”の総数が偶数、(または奇数
)になるように冗長ビット(パリティビット)を与え、
RAM回路から読み出されたデータに含まれる″ビの数
が偶数、(または奇数)であることをチエツクすること
により当該読み出しデータの誤りを検出するパリティ検
査が行われている。このRAM回路から読み出されたデ
ータのチエツクは、RAM回路の出力段に設けられたパ
リティエラー検出回路で行われている。[Prior Art] Generally, in systems that require reliable access to a RAM circuit, a code is constructed by adding 1 redundant bit to n-1 bits of write data, and Give redundant bits (parity bits) so that the total number of “I” is even (or odd),
A parity check is performed to detect errors in the read data by checking whether the number of bits included in the data read from the RAM circuit is even (or odd). Checking of the read data is performed by a parity error detection circuit provided at the output stage of the RAM circuit.
従来、このパリティエラー検出回路の機能動作の試験を
行う場合には、あるシステム動作の途中で、当該パリテ
ィエラー検出回路部分に対するノイズの注入を行ってエ
ラー状態を発生させ、当該パリティエラー検出回路が、
エラー検出することをIl″&認するという手法が採ら
れている。この他に、ハードウェア設定によるテストモ
ード設定時に、ある種のパターンデータに対してエラー
状態となる誤パリティビット発生回路を用いてエラー状
態を発生させる手法も比較的多く採用されている。Conventionally, when testing the functional operation of this parity error detection circuit, noise is injected into the parity error detection circuit part during a certain system operation to generate an error state, and the parity error detection circuit is tested. ,
In addition, when setting the test mode by hardware settings, an error parity bit generation circuit that generates an error state for certain pattern data is used. Relatively many methods are also used to generate error conditions.
しかしなから、上記従来例のノイズ注入による手法にあ
っては、エラー状態の発生のタイミングの取り方が難し
く、試験の都度状態が異なるため、シンクロスコープ等
による波形観測が必要で手間が掛かるという不都合を有
している。However, with the conventional noise injection method described above, it is difficult to determine the timing of the occurrence of an error state, and since the state differs each time a test is performed, it is necessary to observe waveforms using a synchroscope, which is time-consuming. It has some inconveniences.
また、上記従来例のハードウェア設定による手法にあっ
ては、テストモード設定時に、ある種のパターンデータ
に対してエラー状態となる誤パリティピット発生回路を
用いていることから、予めエラーを発生させるためのデ
ータを設定しなければならないという不都合を有してい
る。In addition, in the conventional method using hardware settings described above, when setting the test mode, an error parity pit generation circuit that causes an error state for certain pattern data is used, so it is necessary to generate an error in advance. This has the inconvenience of requiring data to be set.
本発明の目的は、かかる従来例の有する不都合を改善し
、とくに、パリティ検査工程における作業の簡単化およ
び能率の向上を図ることが出来るとともに、システム検
査の信頼性を向上せしめることが可能なパリティ検査回
路を提供することにある。An object of the present invention is to improve the inconveniences of the conventional example, and in particular, to simplify the work and improve efficiency in the parity inspection process, and to improve the reliability of system inspection. The purpose is to provide a test circuit.
本発明では、書き込みデータを入力する第1のRAM回
路と、書き込みデータを入力して当該書き込みデータの
誤り検出用のパリティビットデータを発生するパリティ
ピント発生回路と、このパリティビット発生回路から出
力されるパリティビットデータを入力する第2のRAM
回路とを有している。また、これら第1.第2のRAM
回路からメモリ読み出し時に出力される読み出しデータ
及びパリティビットデータを入力し、これに基づきパリ
ティエラーの有無を検出するパリティエラー検出回路を
備えている。そして、第2のRAM回路とパリティエラ
ー検出回路との間に、第2のRAM回路から読み出し時
に出力されるパリティビットデータをテストモード設定
時に反転させる反転回路を介装するとともに、この反転
回路の入力段にプログラム制御可能なテストモード設定
用のフリップ・フロンブ回路を設けるという構成をとっ
ている。これによって、前述した目的を達成しようとす
るものである。In the present invention, a first RAM circuit inputs write data, a parity pinto generation circuit inputs the write data and generates parity bit data for detecting errors in the write data, and outputs from the parity bit generation circuit. A second RAM that inputs parity bit data.
It has a circuit. Also, these first. 2nd RAM
A parity error detection circuit is provided which inputs read data and parity bit data output from the circuit when reading the memory, and detects the presence or absence of a parity error based on the input read data and parity bit data. An inverting circuit is interposed between the second RAM circuit and the parity error detection circuit to invert the parity bit data output from the second RAM circuit when reading out when the test mode is set. The input stage is equipped with a programmable flip-flop circuit for setting test modes. This aims to achieve the above-mentioned objective.
以下、本発明の一実施例を第1図に基づいて説明する。 An embodiment of the present invention will be described below with reference to FIG.
この第1図に示す実施例は、書き込みデータを入力する
第1のRAM回路としてのデータピント用RAM回路1
と、書き込みデータを入力して当該書き込みデータの誤
り検出用のパリティビットデータを発生するパリティビ
ット発生回路2と、このパリティビット発生回路2から
出力されるパリティビットデータを入力する第2のRA
M回路としてのパリティビット用RAM回路3とを備え
ている。The embodiment shown in FIG. 1 is a data focusing RAM circuit 1 serving as a first RAM circuit into which write data is input.
a parity bit generation circuit 2 which inputs write data and generates parity bit data for detecting errors in the write data; and a second RA which inputs parity bit data output from the parity bit generation circuit 2.
A parity bit RAM circuit 3 is provided as an M circuit.
この内、パリティピット発生回路2は、n−1ビツトの
書き込みデータに対して1ビツトのパリティビットを付
加した符号を構成し、nビット中の“1”の総数が偶数
になるように、各入力データに対応して0°°又は°゛
1′”のパリティビットを発生する。Of these, the parity pit generation circuit 2 constructs a code in which 1 bit of parity bit is added to the write data of n-1 bits, and each code is generated so that the total number of "1"s among the n bits is an even number. A parity bit of 0°° or °゛1' is generated in accordance with the input data.
データビット用RAM回路1の出力段には、バリティエ
ラー検出回路4が併設されている。このパリティエラー
検出回路4とパリティビット用RAM回路3との間には
、Ex、OR回路(Exclusi−veOR回路)か
ら成る反転回路5が介装されている。このため、メモリ
読み出し時に、データビット用RAM回路1から出力さ
れる読み出しデータがパリティエラー検出回路4に入力
すると同時に、パリティビット用RAM回路3から出力
されるパリティビットデータが反転回路5を介してパリ
ティエラー検出回路4に入力するようになっている。A parity error detection circuit 4 is also provided at the output stage of the data bit RAM circuit 1. Between the parity error detection circuit 4 and the parity bit RAM circuit 3, an inversion circuit 5 consisting of an Ex and OR circuit (Exclusi-veOR circuit) is interposed. Therefore, at the time of memory reading, the read data output from the data bit RAM circuit 1 is input to the parity error detection circuit 4, and at the same time, the parity bit data output from the parity bit RAM circuit 3 is input to the parity error detection circuit 4. The signal is input to a parity error detection circuit 4.
更に、反転回路5の入力段には、テストモード設定用の
フリップ・フロップ回路(F/F回路)6が設けられて
いる。このF/F回路6は、■10ボートを介して外部
からのコマンド(作業指令)により実行されるテストモ
ード設定F/F回路制御用プログラム7によりセット、
リセット状態が制御される。このF/F回路6はセット
状態の時には、反転回路5の一方の入力端子にrH。Further, at the input stage of the inverting circuit 5, a flip-flop circuit (F/F circuit) 6 for setting a test mode is provided. This F/F circuit 6 is set by a test mode setting F/F circuit control program 7 executed by an external command (work command) via a 10 board.
The reset state is controlled. When this F/F circuit 6 is in the set state, rH is applied to one input terminal of the inverting circuit 5.
レベル(ハイレベル)の出力信号“°1′°を送出し、
リセット状態の時には「L」レベル(ローレベル)の出
力信号II O11を出力するようになっている。Sends a level (high level) output signal “°1’°,
In the reset state, an output signal IIO11 of "L" level (low level) is output.
次に、上記実施例の動作を説明する。Next, the operation of the above embodiment will be explained.
書き込み時には、外部から書き込みデータがデータビッ
ト用RAM回路工に入力され、格納される。この書き込
みデータは、同時に、パリティビット発生回路2にも人
力する。この書き込みデータの入力により、パリティピ
ット発生回路2では、当該書き込みデータに偶数パリテ
ィを与えるようなパリティビットデータを発生し、次段
のパリティビット用RAM回路3に出力する。そして、
このパリティビットデータは、パリティビット用RAM
回路3に格納される。During writing, write data is externally input to the data bit RAM circuitry and stored. This write data is also input to the parity bit generation circuit 2 at the same time. Upon input of this write data, the parity pit generation circuit 2 generates parity bit data that gives even parity to the write data, and outputs it to the next stage parity bit RAM circuit 3. and,
This parity bit data is stored in the parity bit RAM.
It is stored in circuit 3.
一方、読み出し時に、パリティエラー検出回路4の機能
動作試験を行う場合には、外部からのコマンド(作業指
令)によりテストモード設定F/F回路制御用プログラ
ム7を実行し、テストモード設定用のF/F回路6をセ
ット状態にする。このため、F/F回路6から反転回路
の一方の入力端子に1′”が出力され、これにより他方
の入力端子に入力されるパリティビットデータが反転さ
れてパリティエラー検出回路4に出力される。この結果
、パリティエラー検出回路4では、“1”の数が奇数と
なっているので、エラーデータとしてエラー検出(1ビ
ツトが誤ったものと判定)する。この場合において、エ
ラー検出がなされなければ、パリティエラー検出回路4
が異常ということになる。On the other hand, when performing a functional operation test of the parity error detection circuit 4 during reading, the test mode setting F/F circuit control program 7 is executed by an external command (work command), and the test mode setting F/F circuit control program 7 is executed. /F circuit 6 is set. Therefore, 1''' is output from the F/F circuit 6 to one input terminal of the inversion circuit, and thereby the parity bit data input to the other input terminal is inverted and output to the parity error detection circuit 4. As a result, the parity error detection circuit 4 detects an error as error data (determines that one bit is incorrect) since the number of "1"s is an odd number.In this case, error detection must be performed. For example, parity error detection circuit 4
is considered abnormal.
他方、パリティエラー検出回路4の機能動作試験が終了
した場合には、外部からのコマンド(作業指令)により
テストモード設定F/F回路制御用プログラム7を実行
し、F/F回路6をリセット状態にする。この場合、F
/F回路6の出力信号が“0”であるため、パリティビ
ットデータは反転されないので、読み出しデータに誤り
がない限り、通常動作としてエラー検出はされることは
ない。On the other hand, when the functional operation test of the parity error detection circuit 4 is completed, the test mode setting F/F circuit control program 7 is executed by an external command (work command) to reset the F/F circuit 6. Make it. In this case, F
Since the output signal of the /F circuit 6 is "0", the parity bit data is not inverted, so as long as there is no error in the read data, no error is detected in normal operation.
尚、上記実施例においては、反転回路として、Ex、O
R回路を用いる場合を例示したが、これに換えてEx、
NOR回路を用い、F/F回路の出力が「L」レベルの
時に、テストモードの設定が行われるようにしても良い
。In the above embodiment, as the inverting circuit, Ex, O
Although the case where the R circuit is used is illustrated, instead of this, Ex,
A NOR circuit may be used to set the test mode when the output of the F/F circuit is at the "L" level.
以上説明したように本発明によると、パリティピット発
生回路からのパリティビットを入力する第2のRAM回
路とパリティエラー検出回路との間に、第2のRAM回
路から読み出し時に出力されるパリティビットデータを
所定の場合に反転させる反転回路を介装するとともに、
この反転回路の入力段にプログラム制御可能なテストモ
ード設定用のF/F回路を設けたことから、F/F出力
の状態に応じてパリティビットデータを反転制御してパ
リティエラーを発生させることが出来る。As described above, according to the present invention, the parity bit data output from the second RAM circuit when read is placed between the second RAM circuit that inputs the parity bit from the parity pit generation circuit and the parity error detection circuit. In addition to interposing an inverting circuit that inverts in a predetermined case,
Since a program-controllable test mode setting F/F circuit is provided at the input stage of this inverting circuit, it is possible to invert the parity bit data according to the F/F output state to generate a parity error. I can do it.
これがため、テスト時のハードウェアの設定が不要とな
り、任意のアドレスにおいて確実にエラー発生を行える
ので検査工程における作業の簡単化、能率の向上を図る
ことが出来、エラー発生時の動作シミュレーション等の
システム検査の信頼性を向上せしめることが出来るとい
う従来にない優れたパリティ検査回路を提供することが
出来る。This eliminates the need for hardware settings during testing and allows errors to occur reliably at any address, simplifying work in the inspection process and improving efficiency. It is possible to provide an unprecedented parity check circuit that can improve the reliability of system checks.
第1図は本発明の一実施例の構成を示すブロック図であ
る。
1・・・・・・第1のRAM回路としてのデータビット
用RAM回路、2・・・・・・パリティピット発生回路
、3・・・・・・第2のRAM回路としてのパリティビ
ット用RAM回路、4・・・・・・パリティエラー検出
回路、5・・・・・・反転回路、6・・・・・・F/F
回路。
特許出願人 日本電気株式会社
代理人 弁理士 高 橋 勇FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. 1... RAM circuit for data bits as a first RAM circuit, 2... Parity pit generation circuit, 3... RAM for parity bits as a second RAM circuit. Circuit, 4... Parity error detection circuit, 5... Inversion circuit, 6... F/F
circuit. Patent applicant: NEC Corporation Representative, Patent attorney: Isamu Takahashi
Claims (1)
セスメモリ回路と、前記書き込みデータを入力して当該
書き込みデータの誤り検出用のパリテイビットデータを
発生するパリテイビット発生回路と、このパリテイビッ
ト発生回路から出力されるパリテイビットデータを入力
する第2のランダムアクセスメモリ回路とを有し、 これら第1、第2のランダムアクセスメモリ回路からメ
モリ読み出し時に出力される読み出しデータ及びパリテ
イビットデータを入力し、これに基づきパリテイエラー
の有無を検出するパリテイエラー検出回路を備え、 前記第2のランダムアクセスメモリ回路とパリテイエラ
ー検出回路との間に、前記第2のランダムアクセスメモ
リ回路から読み出し時に出力されるパリテイビットデー
タをテストモード設定時に反転させる反転回路を介装す
るとともに、この反転回路の入力段にプログラム制御可
能なテストモード設定用のフリップ・フロップ回路を設
けたことを特徴とするパリテイ検査回路。(1) a first random access memory circuit that inputs write data; a parity bit generation circuit that inputs the write data and generates parity bit data for detecting errors in the write data; a second random access memory circuit that receives parity bit data output from the bit generation circuit; and read data and parity bits that are output from the first and second random access memory circuits when reading the memory. a parity error detection circuit that inputs data and detects the presence or absence of a parity error based on the input data; the second random access memory circuit is provided between the second random access memory circuit and the parity error detection circuit; An inverting circuit is provided to invert the parity bit data output from the circuit when the test mode is set, and a programmable flip-flop circuit for setting the test mode is provided at the input stage of this inverting circuit. A parity check circuit featuring:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63297308A JPH02143351A (en) | 1988-11-25 | 1988-11-25 | Parity inspection circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63297308A JPH02143351A (en) | 1988-11-25 | 1988-11-25 | Parity inspection circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02143351A true JPH02143351A (en) | 1990-06-01 |
Family
ID=17844829
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63297308A Pending JPH02143351A (en) | 1988-11-25 | 1988-11-25 | Parity inspection circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02143351A (en) |
-
1988
- 1988-11-25 JP JP63297308A patent/JPH02143351A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7506226B2 (en) | System and method for more efficiently using error correction codes to facilitate memory device testing | |
US4926426A (en) | Error correction check during write cycles | |
US7526688B2 (en) | Parallel bit testing device and method | |
US5271015A (en) | Self-diagnostic system for semiconductor memory | |
KR940001146B1 (en) | System for checking comparision check function of information processing apparatus | |
JPH02143351A (en) | Parity inspection circuit | |
JP2806856B2 (en) | Diagnostic device for error detection and correction circuit | |
JP3512442B2 (en) | Error generation control device for storage device test | |
JP2910692B2 (en) | Testing method of random access memory | |
JPH05165734A (en) | Fixed fault diagnostic device for main storage device | |
KR950006214B1 (en) | Pattern memory circuit with self-checking circuit | |
JPH04119434A (en) | Parity error detector | |
JPS61226853A (en) | Test circuit for error detection correcting function semiconductor memory | |
JPS63111477A (en) | Parity error detector with testing circuit | |
JPS6284342A (en) | Computer | |
SU1249590A1 (en) | Storage with self-checking | |
JP3045532B2 (en) | Memory device | |
JPH0216658A (en) | Memory device | |
JPH0528056A (en) | Memory device | |
JPH07130195A (en) | Storage device | |
JPS59230342A (en) | Device for testing operation of failure detector | |
JPS6261974B2 (en) | ||
JPS634500A (en) | Ram device with test circuit | |
JPH10149318A (en) | Memory monitoring device | |
JPS62221756A (en) | Storage device |