Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3173461B2 - Pseudo-normal test circuit and pseudo-normal test method for memory patrol function - Google Patents
[go: Go Back, main page]

JP3173461B2 - Pseudo-normal test circuit and pseudo-normal test method for memory patrol function - Google Patents

Pseudo-normal test circuit and pseudo-normal test method for memory patrol function

Info

Publication number
JP3173461B2
JP3173461B2 JP14557198A JP14557198A JP3173461B2 JP 3173461 B2 JP3173461 B2 JP 3173461B2 JP 14557198 A JP14557198 A JP 14557198A JP 14557198 A JP14557198 A JP 14557198A JP 3173461 B2 JP3173461 B2 JP 3173461B2
Authority
JP
Japan
Prior art keywords
memory
patrol
normal
pseudo
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.)
Expired - Fee Related
Application number
JP14557198A
Other languages
Japanese (ja)
Other versions
JPH11338785A (en
Inventor
花江 澤
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 Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP14557198A priority Critical patent/JP3173461B2/en
Publication of JPH11338785A publication Critical patent/JPH11338785A/en
Application granted granted Critical
Publication of JP3173461B2 publication Critical patent/JP3173461B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、メモリパトロー
ルによるエラー検出機能の正常性を確認する擬正常試験
回路および擬正常試験方法に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a pseudo-normal test circuit and a pseudo-normal test method for checking the normality of an error detection function using a memory patrol.

【0002】[0002]

【従来の技術】メモリパトロール機能は、特にメモリ故
障の早期発見のために用いられている。このメモリパト
ロール機能は、一般的にハードウエアがパトロールアド
レスを変化させながらメモリ全域に渡って実施されるも
のである。メモリパトロールによるエラー検出機能の正
常性を確認しようとした場合、ある試験アドレスにメモ
リパトロールが回ってくるまで待つ必要があった。この
ため、試験実施タイミングにより、試験に要する時間が
一定でなく、またメモリ容量の大きな装置では非常に時
間がかかる場合がある。
2. Description of the Related Art A memory patrol function is used particularly for early detection of a memory failure. This memory patrol function is generally implemented over the entire memory while the hardware changes the patrol address. When trying to confirm the normality of the error detection function by the memory patrol, it was necessary to wait until the memory patrol came to a certain test address. For this reason, depending on the test execution timing, the time required for the test is not constant, and an apparatus having a large memory capacity may take a very long time.

【0003】[0003]

【発明が解決しようとする課題】特に近年は装置当りの
メモリ容量が増大しており、パトロールが一周するのに
要する時間も増大しているため、メモリパトロール機能
の擬正常試験の時間短縮が要求されている。
In particular, in recent years, the memory capacity per device has been increased, and the time required for one round of patrol has been increased. Therefore, it is required to shorten the time required for the pseudo normal test of the memory patrol function. Have been.

【0004】特開平5−233472号公報、特開平6
−67989号公報、特開平6−149685号公報、
特開平6−290114号公報、特開平9−44411
号公報、特開平9−91206号公報において、メモリ
パトロールによるエラー検出・訂正方法が記載されてい
るが、その動作の正常性を確認する試験方法については
記載されていない。特開平3−9801号公報には、メ
モリエラー検出・訂正回路の動作の正常性試験について
記載されているが、これは回路の簡素化を目的としてお
り、試験時間を短縮するものではない。
[0004] JP-A-5-233472, JP-A-6-233
-67989, JP-A-6-149685,
JP-A-6-290114, JP-A-9-44411
JP-A-9-91206 discloses an error detection / correction method using a memory patrol, but does not disclose a test method for confirming the normality of the operation. Japanese Unexamined Patent Publication No. Hei 3-9801 describes a test for the normality of the operation of a memory error detection / correction circuit. However, this test aims at simplification of the circuit and does not shorten the test time.

【0005】この発明の主な目的は、メモリパトロール
によるエラー検出機能の正常性試験における試験時間を
短縮するメモリパトロール機能の擬正常試験回路を提供
することにある。
A main object of the present invention is to provide a pseudo normal test circuit of a memory patrol function which shortens a test time in a normality test of an error detection function by a memory patrol.

【0006】[0006]

【課題を解決するための手段】この発明は、メモリパト
ロールによるエラー検出機能の正常性を確認する擬正常
試験回路において、通常のメモリアクセス動作かメモリ
制御レジスタアクセス動作かのモードを格納するメモリ
アクセスモード設定レジスタを備え、メモリアクセスモ
ード設定レジスタに格納されたモードに従って制御信号
を出力するメモリアクセスモード制御部と、パトロール
開始アドレス設定レジスタを備え、前記メモリアクセス
モード制御部から入力される制御信号により、メモリア
クセス動作か、メモリ制御レジスタアクセス動作かを識
別し、メモリアクセス動作時は、通常のメモリリードラ
イト動作を行い、メモリ制御レジスタアクセス動作時
は、メモリパトロール動作を停止させ、前記パトロール
開始アドレス設定レジスタに対しパトロール開始アドレ
スを設定し、メモリ内の試験アドレスに正常値を書き込
んだ後、エラーチェックビットロックを設定してメモリ
に正常値とは異なる障害値を書き込み、エラーチェック
ビットロック解除を設定してメモリパトロール動作を再
スタートさせ、前記パトロール開始アドレス設定レジス
タで指定されたアドレスからメモリパトロールによるエ
ラー検出機能の正常性試験を開始するメモリアクセス制
御部と、を備えることを特徴とする。
According to the present invention, there is provided a pseudo normal test circuit for confirming the normality of an error detection function by a memory patrol, wherein a memory access mode for storing a normal memory access operation or a memory control register access operation is stored. A memory access mode control unit that includes a mode setting register and outputs a control signal in accordance with a mode stored in the memory access mode setting register; and a patrol start address setting register, and includes a control signal input from the memory access mode control unit. Identify whether the operation is a memory access operation or a memory control register access operation, perform a normal memory read / write operation during the memory access operation, and stop the memory patrol operation during the memory control register access operation ,
Set the patrol start address to the start address setting register.
And write a normal value to the test address in the memory.
After setting the error check bit lock,
Write a fault value different from the normal value to the
Set bit unlock to restart the memory patrol operation.
Is started, characterized in that it comprises, a memory access controller to start the normality test error detection function according to the memory patrol from the specified address in the patrol start address setting register.

【0007】[0007]

【発明の実施の形態】次に、この発明の実施の形態につ
いて図面を参照して説明する。
Next, an embodiment of the present invention will be described with reference to the drawings.

【0008】図1は、この発明の実施の形態を示すメモ
リパトロール機能の擬正常試験回路の機能ブロック図で
ある。図1に示す擬正常試験回路は、ソフトウエアを格
納するROM3、MPU1、メモリアクセスモード制御
部4、メモリアクセス制御部5により構成され、メモリ
6に対するパトロール機能の正常性チェック、すなわち
擬正常試験を行う。
FIG. 1 is a functional block diagram of a pseudo normal test circuit having a memory patrol function according to an embodiment of the present invention. The pseudo normal test circuit shown in FIG. 1 includes a ROM 3 for storing software, an MPU 1, a memory access mode control unit 4, and a memory access control unit 5, and performs a normality check of the patrol function for the memory 6, that is, a pseudo normal test. Do.

【0009】メモリアクセスモード制御部4は、メモリ
アクセスモード設定レジスタ10を備え、メモリアクセ
スモード設定レジスタ10の値に従って、メモリアクセ
ス制御部5に対し、通常のメモリアクセスなのかメモリ
制御レジスタアクセスなのかを識別させるための制御信
号を出力する。
The memory access mode control unit 4 includes a memory access mode setting register 10 and, according to the value of the memory access mode setting register 10, requests the memory access control unit 5 to perform a normal memory access or a memory control register access. And outputs a control signal for identifying.

【0010】メモリアクセス制御部5は、メモリ制御レ
ジスタとして、パトロール開始アドレス設定レジスタ7
と、エラーチェックビットロック/ 解除設定レジスタ
8と、パトロール動作停止/開始指示レジスタ9とを備
え、メモリアクセスモード制御部4から入力される制御
信号に従ってメモリアクセス制御動作を行う。
The memory access control unit 5 includes a patrol start address setting register 7 as a memory control register.
And an error check bit lock / release setting register 8 and a patrol operation stop / start instruction register 9 for performing a memory access control operation in accordance with a control signal input from the memory access mode control unit 4.

【0011】メモリ6は、各ワード毎にエラーチェック
機能のためのエラーチェックビットのついたメモリであ
る。
The memory 6 is a memory having an error check bit for an error check function for each word.

【0012】ROM3内のソフトウエアにより、メモリ
アクセスモード制御部4内のメモリアクセスモード設定
レジスタ10およびメモリアクセス制御部5内のレジス
タ7〜9を制御可能な構成となっている。
The software in the ROM 3 controls the memory access mode setting register 10 in the memory access mode control unit 4 and the registers 7 to 9 in the memory access control unit 5.

【0013】このメモリパトロール機能の擬正常試験回
路は、ソフトウエアから指示されたメモリアドレスをパ
トロール開始アドレス設定レジスタ7内に保持し、次回
のパトロール動作をこのレジスタ内のアドレスから開始
する。
The pseudo normal test circuit of the memory patrol function holds the memory address specified by the software in the patrol start address setting register 7 and starts the next patrol operation from the address in this register.

【0014】次に、この実施の形態の動作について図1
および図2を参照して説明する。図2は、この実施の形
態の動作を説明するフローチャートである。
Next, the operation of this embodiment will be described with reference to FIG.
This will be described with reference to FIG. FIG. 2 is a flowchart for explaining the operation of this embodiment.

【0015】メモリアクセスモード制御部4は、ソフト
ウエアから設定されたメモリアクセスモードをレジスタ
10内に格納し、これに従いメモリアクセス制御部5へ
の制御信号を出力する。
The memory access mode control unit 4 stores the memory access mode set by software in the register 10 and outputs a control signal to the memory access control unit 5 according to the mode.

【0016】メモリアクセス制御部5は、メモリアクセ
スモード制御部4から入力される制御信号により、メモ
リアクセス動作か、メモリ制御レジスタアクセス動作か
を識別する。
The memory access control unit 5 identifies a memory access operation or a memory control register access operation based on a control signal input from the memory access mode control unit 4.

【0017】メモリアクセス動作時は、通常のメモリリ
ードライト動作を行い、メモリ制御レジスタアクセス動
作時は、指定のレジスタのリードもしくはライト動作を
行う。
In a memory access operation, a normal memory read / write operation is performed, and in a memory control register access operation, a specified register read or write operation is performed.

【0018】この実施の形態においては、メモリ制御レ
ジスタアクセス動作として、パトロール開始アドレス設
定と、エラーチェックビットロック/解除設定と、パト
ロール機能停止/開始指示とがある。
In this embodiment, the memory control register access operation includes patrol start address setting, error check bit lock / release setting, and patrol function stop / start instruction.

【0019】はじめに、ROM3内のソフトウエアがパ
トロール動作停止/開始指示レジスタ9に対してパトロ
ール動作の停止を指示し、パトロール動作が停止する
(ステップ100)。
First, software in the ROM 3 instructs the patrol operation stop / start instruction register 9 to stop the patrol operation, and the patrol operation stops (step 100).

【0020】次に、パトロール開始アドレス設定レジス
タ7に対しパトロール開始アドレスを設定する(ステッ
プ110)。この設定値が試験しようとしているメモリ
アドレスに近いほど擬正常試験に要する時間が短縮され
る。
Next, a patrol start address is set in the patrol start address setting register 7 (step 110). The closer the set value is to the memory address to be tested, the shorter the time required for the pseudo normal test.

【0021】そして、メモリ内の試験アドレスに正常値
たとえば“1”と書き込んだ後(ステップ120)、エ
ラーチェックビットロック/解除設定レジスタ8にエラ
ーチェックビットロックを設定し(ステップ130)、
メモリに正常値とは異なる障害値たとえば“0”と書き
込む(ステップ140)。こうすることでメモリ値とエ
ラーチェックビットとの間に不整合を疑似的に起こさせ
る。
After writing a normal value, for example, "1" to the test address in the memory (step 120), an error check bit lock is set in the error check bit lock / release setting register 8 (step 130).
A failure value different from the normal value, for example, "0" is written to the memory (step 140). This causes a mismatch between the memory value and the error check bit in a pseudo manner.

【0022】それからエラーチェックビットロック/解
除設定レジスタ8にエラーチェックビットロック解除を
設定し(ステップ150)、パトロール動作停止/開始
指示レジスタ9にパトロール動作の再スタートを指示す
る(ステップ160)。
Then, error check bit lock release is set in the error check bit lock / release setting register 8 (step 150), and the patrol operation stop / start instruction register 9 is instructed to restart the patrol operation (step 160).

【0023】この実施の形態では、パトロール開始アド
レスからメモリ試験アドレスまでのパトロール動作数が
決まっているため、一定時間後にパトロールチェックが
試験アドレスに達した時、メモリ擬正常エラーを正しく
検出するかどうかをチェックすればよい。
In this embodiment, the number of patrol operations from the patrol start address to the memory test address is determined. Therefore, when the patrol check reaches the test address after a predetermined time, whether the memory pseudo-normal error is correctly detected is determined. You can check

【0024】次に、この発明の他の実施の形態として、
その基本的構成は上記の通りであるが、複数回エラー通
知の擬正常試験について説明する。
Next, as another embodiment of the present invention,
Although the basic configuration is as described above, a pseudo-normal test of error notification a plurality of times will be described.

【0025】図2に示すフローチャートにおいて、パト
ロール開始アドレス設定後、メモリ正常値書き込みから
エラーチェックビットをロックしてメモリ障害値を書き
込むまでの部分を異なったメモリアドレスに対して複数
回繰り返すことにより、例えばメモリ上の5カ所で繰り
返せば、5回エラー検出時に障害処理報告する、という
ような仕様に対する擬正常試験として使用できる。
In the flowchart shown in FIG. 2, after the patrol start address is set, the process from writing the memory normal value to locking the error check bit and writing the memory fault value is repeated a plurality of times for different memory addresses. For example, if it is repeated at five locations on the memory, it can be used as a pseudo-normal test for specifications such as reporting a failure process five times when an error is detected.

【0026】[0026]

【発明の効果】以上説明したように、この発明のメモリ
パトロール機能の擬正常試験回路は、パトロール開始ア
ドレス設定レジスタを有し、ソフトウエアから指示され
たメモリアドレスをこのパトロール開始アドレス設定レ
ジスタ内に保持し、次回のパトロール動作をこのレジス
タ内のアドレスから開始するため、パトロール開始アド
レスを試験しようとするメモリアドレスからどのくらい
離れたアドレスに設定するかにより、擬正常エラー検出
に要する時間すなわち試験時間をメモリ容量に関係なく
一定かつ短くできるという効果を有する。
As described above, the pseudo-normal test circuit for the memory patrol function of the present invention has the patrol start address setting register, and stores the memory address specified by software in the patrol start address setting register. In order to start the next patrol operation from the address in this register, the time required for false normal error detection, that is, the test time, depends on how far the patrol start address is set from the memory address to be tested. This has the effect of being constant and short regardless of the memory capacity.

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

【図1】この発明の実施の形態を示すメモリパトロール
機能の擬正常試験回路の機能ブロック図である。
FIG. 1 is a functional block diagram of a pseudo normal test circuit having a memory patrol function according to an embodiment of the present invention.

【図2】この実施の形態の動作を説明するフローチャー
トである。
FIG. 2 is a flowchart illustrating the operation of this embodiment.

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

1 MPU 2 RAM 3 ROM 4 メモリアクセスモード制御部 5 メモリアクセス制御部 6 メモリ 7 パトロール開始アドレス設定レジスタ 8 エラーチェックビットロック/解除設定レジスタ 9 パトロール動作停止/開始指示レジスタ 10 メモリアクセスモード設定レジスタ 100〜170 処理ステップ 1 MPU 2 RAM 3 ROM 4 Memory access mode control unit 5 Memory access control unit 6 Memory 7 Patrol start address setting register 8 Error check bit lock / release setting register 9 Patrol operation stop / start instruction register 10 Memory access mode setting register 100 to 170 processing steps

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】メモリパトロールによるエラー検出機能の
正常性を確認する擬正常試験回路において、 通常のメモリアクセス動作かメモリ制御レジスタアクセ
ス動作かのモードを格納するメモリアクセスモード設定
レジスタを備え、メモリアクセスモード設定レジスタに
格納されたモードに従って制御信号を出力するメモリア
クセスモード制御部と、 パトロール開始アドレス設定レジスタを備え、前記メモ
リアクセスモード制御部から入力される制御信号によ
り、メモリアクセス動作か、メモリ制御レジスタアクセ
ス動作かを識別し、メモリアクセス動作時は、通常のメ
モリリードライト動作を行い、メモリ制御レジスタアク
セス動作時は、メモリパトロール動作を停止させ、前記
パトロール開始アドレス設定レジスタに対しパトロール
開始アドレスを設定し、メモリ内の試験アドレスに正常
値を書き込んだ後、エラーチェックビットロックを設定
してメモリに正常値とは異なる障害値を書き込み、エラ
ーチェックビットロック解除を設定してメモリパトロー
ル動作を再スタートさせ、前記パトロール開始アドレス
設定レジスタで指定されたアドレスからメモリパトロー
ルによるエラー検出機能の正常性試験を開始するメモリ
アクセス制御部と、 を備えることを特徴とするメモリパトロール機能の擬正
常試験回路。
1. A pseudo-normal test circuit for confirming the normality of an error detection function by a memory patrol, comprising: a memory access mode setting register for storing a mode of a normal memory access operation or a memory control register access operation; A memory access mode control unit that outputs a control signal in accordance with a mode stored in a mode setting register; and a patrol start address setting register. The control signal input from the memory access mode control unit controls a memory access operation or a memory control. A register access operation is identified, a normal memory read / write operation is performed during a memory access operation, and a memory patrol operation is stopped during a memory control register access operation, and a patrol is started for the patrol start address setting register. After setting the address and writing the normal value to the test address in the memory, set the error check bit lock, write the fault value different from the normal value to the memory, set the error check bit lock release, and set the memory patrol operation And a memory access control unit for starting a normality test of an error detection function by a memory patrol from an address designated by the patrol start address setting register. circuit.
【請求項2】請求項1に記載のメモリパトロール機能の
擬正常試験回路において、 メモリ内の試験アドレスに正常値を書き込んだ後、エラ
ーチェックビットロックを設定してメモリに正常値とは
異なる障害値を書き込むことを異なったメモリアドレス
に対して複数回繰り返すことを特徴とするメモリパトロ
ール機能の擬正常試験回路。
2. A pseudo-normal test circuit for a memory patrol function according to claim 1, wherein after writing a normal value to a test address in the memory, an error check bit lock is set to cause a fault in the memory different from the normal value. A pseudo normal test circuit for a memory patrol function, wherein writing of a value is repeated a plurality of times for different memory addresses.
【請求項3】メモリパトロールによるエラー検出機能の
正常性を確認する擬正常試験方法において、 パトロール動作の停止を指示してパトロール動作を停止
するステップと、 パトロール開始アドレス設定レジスタに対しパトロール
開始アドレスを設定するステップと、 メモリ内の試験アドレスに正常値を書き込んだ後、エラ
ーチェックビットロックを設定してメモリに正常値とは
異なる障害値を書き込むステップと、 エラーチェックビットロック解除を設定してパトロール
動作を再スタートさせるステップと、 を含むことを特徴とするメモリパトロール機能の擬正常
試験方法。
3. A quasi-normal test method for confirming the normality of an error detection function by a memory patrol. A step of instructing patrol operation to stop and patrol operation being stopped, and setting a patrol start address to a patrol start address setting register. After setting, write a normal value to the test address in the memory, set the error check bit lock and write a failure value different from the normal value to the memory, and set the error check bit unlock and patrol Restarting the operation; and a pseudo-normal test method for a memory patrol function.
【請求項4】請求項3に記載のメモリパトロール機能の
擬正常試験方法において、 メモリ内の試験アドレスに正常値を書き込んだ後、エラ
ーチェックビットロックを設定してメモリに正常値とは
異なる障害値を書き込むステップを異なったメモリアド
レスに対して複数回繰り返すことを特徴とするメモリパ
トロール機能の擬正常試験方法。
4. A pseudo-normal test method for a memory patrol function according to claim 3, wherein after writing a normal value to a test address in the memory, an error check bit lock is set and a fault different from the normal value is set in the memory. A pseudo normal test method for a memory patrol function, wherein a step of writing a value is repeated a plurality of times for different memory addresses.
JP14557198A 1998-05-27 1998-05-27 Pseudo-normal test circuit and pseudo-normal test method for memory patrol function Expired - Fee Related JP3173461B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14557198A JP3173461B2 (en) 1998-05-27 1998-05-27 Pseudo-normal test circuit and pseudo-normal test method for memory patrol function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14557198A JP3173461B2 (en) 1998-05-27 1998-05-27 Pseudo-normal test circuit and pseudo-normal test method for memory patrol function

Publications (2)

Publication Number Publication Date
JPH11338785A JPH11338785A (en) 1999-12-10
JP3173461B2 true JP3173461B2 (en) 2001-06-04

Family

ID=15388201

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14557198A Expired - Fee Related JP3173461B2 (en) 1998-05-27 1998-05-27 Pseudo-normal test circuit and pseudo-normal test method for memory patrol function

Country Status (1)

Country Link
JP (1) JP3173461B2 (en)

Also Published As

Publication number Publication date
JPH11338785A (en) 1999-12-10

Similar Documents

Publication Publication Date Title
JPH10283274A (en) Method and device for testing memory
JPH04271445A (en) Analysis for high-speed memory when power supply using dma is turned on
JP3072531B2 (en) Pattern memory circuit for integrated circuit test equipment
JP3173461B2 (en) Pseudo-normal test circuit and pseudo-normal test method for memory patrol function
US5357615A (en) Addressing control signal configuration in a computer system
JP2002244934A (en) Memory monitoring device and method
JPH0863406A (en) Memory access controller
JP2002024052A (en) Error reproduction test method for computer peripherals
JP2003150458A (en) Failure detection device, failure detection method, program, and program recording medium
JPS5856291A (en) Self-diagnosing method of memory
JPH10207787A (en) Storage device test system
JP3262094B2 (en) Memory control device and memory control method
US20060190675A1 (en) Control apparatus
JPH0916434A (en) Detecting method for failure information at time of runaway of cpu
JPH11265321A (en) Fault restoring method central processing unit and central processing system
KR0183196B1 (en) T-Divers test method of electronic exchange
JPH06103176A (en) Non-volatile memory processing method
JPH07281961A (en) Memory failure detection device and computer
JPH05158811A (en) Fault detecting system for data processor
JPH07306811A (en) Memory failure diagnosis method
JPS60549A (en) Memory testing system
JP2002150795A (en) Semiconductor integrated circuit
JPH103407A (en) Program malfunction detection development support device and program malfunction detection method
JPH0934801A (en) FIFO pointer control error detection method
JPH11328044A (en) Method and device for monitoring associative memory

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees