JPH1125006A - Memory tester - Google Patents

Memory tester

Info

Publication number
JPH1125006A
JPH1125006A JP9172412A JP17241297A JPH1125006A JP H1125006 A JPH1125006 A JP H1125006A JP 9172412 A JP9172412 A JP 9172412A JP 17241297 A JP17241297 A JP 17241297A JP H1125006 A JPH1125006 A JP H1125006A
Authority
JP
Japan
Prior art keywords
memory
address
data
test
register
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
JP9172412A
Other languages
Japanese (ja)
Inventor
Yoshiharu Yoshida
慶春 吉田
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP9172412A priority Critical patent/JPH1125006A/en
Publication of JPH1125006A publication Critical patent/JPH1125006A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a memory tester capable of checking a memory during practical processing without including a specific check mode. SOLUTION: A register table 14 has an address storage area for storing addresses corresponding to respective registers. At the occurrence of writing operation from an image processing circuit 3 to a memory 9, memory data 7 are simultaneously written in a register of a register table 14 which corresponds to a writing address in the memory 9. At the occurrence of reading operation from the memory 9, a data comparing circuit 17 compares data read out from the memory 9 with data stored in the table 14.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、演算処理におい
て書き換え可能なメモリを記憶手段とし、処理実行中に
メモリの動作チェック可能なメモリテスト装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory test device which uses a rewritable memory as a storage means in arithmetic processing and can check the operation of the memory during execution of the processing.

【0002】[0002]

【従来の技術】従来のメモリのチェック方法としては、
特開平6−12339号に、マイクロコンピュータにお
いて、対象となるメモリの領域に対してテストデータの
書き込みを行い、再度マイクロコンピュータによりメモ
リからデータを読み出し、書き込みデータと読み出しデ
ータの比較を行い、不一致が発生した場合に不一致の発
生したアドレスを外部に通知するメモリチェック方式が
提案されている。
2. Description of the Related Art Conventional memory checking methods include:
JP-A-6-12339 discloses that a microcomputer writes test data to a target memory area, reads data from the memory again by the microcomputer, compares the written data with the read data, There has been proposed a memory check method for notifying an external address of a mismatch when an error occurs.

【0003】また、特開平6−231051号では、バ
ンク化されたメモリのチェック装置において、メモリの
各バンク毎にテストデータの書き込みを行い、書き込ん
だテストデータを読み出して比較を行う確認手段を備え
たメモリチェック装置が提案されている。
Japanese Patent Application Laid-Open No. Hei 6-231051, Japanese Patent Application Laid-Open No. 6-231051, discloses a banked memory check device which includes test means for writing test data for each bank of the memory, reading the written test data, and comparing the data. A memory check device has been proposed.

【0004】さらに、特開平6−282500号では、
複数領域に分割したメモリに対して、1番目の領域にテ
ストデータを書き込み、i番目のデータをi+1番目の
領域に順次転記し、最終領域からの読み出しデータとテ
ストデータとを比較するメモリチェック方法が提案され
ている。
Further, in Japanese Patent Application Laid-Open No. Hei 6-282500,
A memory check method for writing test data to a first area and sequentially transferring i-th data to an (i + 1) -th area in a memory divided into a plurality of areas, and comparing read data from the last area with test data Has been proposed.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記の
従来技術には次のような欠点があった。特開平6−12
339号に示されるメモリチェック方式では、メモリチ
ェックがCPUによって、アドレス毎にシーケンシャル
に行われるため、メモリの容量に比例したテスト時間を
要する。また、特開平6−231051号に示されるメ
モリチェック装置は、各バンクに対して個々にメモリチ
ェックのための書き込みと読み出しおよび比較を行うた
めの装置が必要となり、回路規模が増大してしまう。ま
た、特開平6−282500号に示されるメモリチェッ
ク方式では、最終領域から読み出されたデータとテスト
データを比較するため、どのアドレスでエラーが発生し
ているのかを特定することができない。
However, the above prior art has the following disadvantages. JP-A-6-12
In the memory check method disclosed in No. 339, a memory check is sequentially performed for each address by the CPU, and thus a test time proportional to the memory capacity is required. In addition, the memory check device disclosed in Japanese Patent Application Laid-Open No. 6-231051 requires a device for writing, reading, and comparing for each bank individually for a memory check, which increases the circuit scale. Further, in the memory check method disclosed in Japanese Patent Application Laid-Open No. 6-282500, since data read from the last area is compared with test data, it is not possible to specify at which address an error has occurred.

【0006】さらに、上記のいずれの方式においても、
電源投入時あるいはリブート時などに、メモリチェック
のための特別なモードに入って、メモリチェックを行う
必要があるため、実際のメモリ使用時にメモリチェック
を行うことができない。さらに、メモリテストのための
テストパターンを別途発生させる必要もある。
Further, in any of the above methods,
It is necessary to enter a special mode for memory check at the time of power-on or reboot, and perform a memory check. Therefore, the memory check cannot be performed when an actual memory is used. Further, it is necessary to separately generate a test pattern for a memory test.

【0007】本発明は、上述した課題を解決するために
なされたものであり、特別なチェックモードを持たず
に、実際の処理実行中にメモリのチェックが可能なメモ
リテスト装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problem, and an object of the present invention is to provide a memory test apparatus capable of checking a memory during actual processing without having a special check mode. Aim.

【0008】[0008]

【課題を解決するための手段】上述した問題を解決する
ために本発明は、被試験メモリの所定のアドレスを試験
用アドレスとして記憶する試験用アドレス記憶手段と、
前記被試験メモリの前記試験用アドレスにデータの書き
込みがあった場合に、書き込まれたデータと同一の試験
用データを前記試験用アドレスと対応付けて記憶する試
験用データレジスタ手段と、前記被試験メモリの前記試
験用アドレスからデータの読み出しがあった場合に、こ
れに対応するデータを前記試験用データレジスタ手段か
ら読み出して両者を比較する比較手段と、前記試験用ア
ドレスを変更する試験用アドレス変更手段とを有するこ
とを特徴とする。
According to the present invention, there is provided a test address storing means for storing a predetermined address of a memory under test as a test address.
When data is written to the test address of the memory under test, test data register means for storing the same test data as the written data in association with the test address; When data is read from the test address in the memory, a corresponding means for reading corresponding data from the test data register means and comparing the two; and a test address change for changing the test address. Means.

【0009】[0009]

【発明の実施の形態】以下、図面を参照しながら本発明
の実施形態であるメモリテスト装置について説明する。
実施形態においては、処理実行中にメモリチェックが行
われる画像処理装置を例として説明するが、これに限定
されるものではない。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a memory test apparatus according to an embodiment of the present invention will be described with reference to the drawings.
In the embodiment, an image processing apparatus in which a memory check is performed during execution of a process will be described as an example, but the present invention is not limited to this.

【0010】1.第1実施形態 (1)第1実施形態の構成 図1は、第1実施形態の構成を示すブロック図であり、
図示するように、画像処理回路3、メモリ9、メモリチ
ェック回路100、および処理停止手段101から構成
されている。
[0010] 1. 1. First Embodiment (1) Configuration of First Embodiment FIG. 1 is a block diagram showing a configuration of a first embodiment.
As shown in the figure, the image processing circuit 3 includes a memory 9, a memory check circuit 100, and a processing stop unit 101.

【0011】メモリ9は、メモリチェックの行われる被
試験メモリである。本画像処理装置は、入力画像データ
1が画像処理回路3を介して一旦メモリ9に書き込ま
れ、再度画像処理回路3に読み出した後所定の処理が行
われる。処理後のデータは出力画像データ2として出力
される。
The memory 9 is a memory under test on which a memory check is performed. In this image processing apparatus, predetermined processing is performed after the input image data 1 is once written in the memory 9 via the image processing circuit 3 and read out to the image processing circuit 3 again. The processed data is output as output image data 2.

【0012】メモリチェック回路100は、メモリ9へ
のデータの書き込みおよび読み出しが行われたときに、
メモリ9内のアドレスにおけるエラーの発生の有無をチ
ェックする回路であり、処理停止手段101は、エラー
が発生していた場合に実行中の処理を停止するためのも
のである。
The memory check circuit 100 operates when data is written to or read from the memory 9.
This is a circuit for checking whether or not an error has occurred at an address in the memory 9, and the processing stopping means 101 is for stopping the processing being executed when an error has occurred.

【0013】また、図中符号4はチップセレクト信号
を、符号5は書き込み許可信号を、符号6は読み出し許
可信号を示しており、これらはメモリ9へのデータの読
み書きとメモリチェック回路100の動作を制御する信
号である。メモリデータ7は書き込まれる1アドレス分
の画像データであり、メモリアドレス8は、書き込みお
よび読み出しの行われるアドレスを示すデータである。
In the figure, reference numeral 4 denotes a chip select signal, reference numeral 5 denotes a write permission signal, and reference numeral 6 denotes a read permission signal. These read and write data to and from the memory 9 and operate the memory check circuit 100. Is a signal for controlling The memory data 7 is image data for one address to be written, and the memory address 8 is data indicating addresses at which writing and reading are performed.

【0014】次に、メモリチェック回路100の各部に
ついて説明する。図1の点線中に示すように、メモリチ
ェック回路100は、アドレス更新回路11、レジスタ
テーブル14、およびデータ比較回路17から構成され
ている。アドレス更新回路11は、レジスタテーブル1
4に記憶されている所定のアドレスを更新する回路であ
る。ここで所定のアドレスとは、試験用アドレスとして
メモリ9内に存在する特定のアドレスを示したものであ
る。すなわち、メモリ9内のエラーの有無をチェックす
べきアドレスを特定したものである。レジスタテーブル
14は、メモリ9のチェック対象となるアドレスに書き
込まれるデータと同じデータを記憶する回路であり、詳
細は後述する。データ比較回路17は、メモリ9から読
み出されたデータと、レジスタテーブル14に記憶され
たデータとを比較することによりメモリチェックを行う
回路である。
Next, each part of the memory check circuit 100 will be described. As shown in the dotted line in FIG. 1, the memory check circuit 100 includes an address update circuit 11, a register table 14, and a data comparison circuit 17. The address update circuit 11 stores the register table 1
4 is a circuit for updating a predetermined address stored in the memory 4. Here, the predetermined address indicates a specific address existing in the memory 9 as a test address. That is, an address in the memory 9 to be checked for an error is specified. The register table 14 is a circuit for storing the same data as the data to be written to the address to be checked in the memory 9 and will be described later in detail. The data comparison circuit 17 is a circuit that performs a memory check by comparing data read from the memory 9 with data stored in the register table 14.

【0015】ここで、レジスタテーブル14について説
明する。図2は、レジスタテーブル14の構成例を示す
ブロック図である。アドレス記憶領域19は、試験用ア
ドレスを記憶するための領域である。メモリチェック
は、本実施形態ではメモリ9に書き込みが行われたアド
レスが試験用アドレスと一致する場合に行われる。な
お、本実施形態では、図2に示しようにアドレス記憶領
域19は8個の試験用アドレスを記憶することができ
る。符号22a〜22hはレジスタであり、アドレス記
憶領域19に記憶されている各試験用アドレスに対応し
て出力されるレジスタ書き込み信号20a〜20hによ
ってメモリデータ7を記憶する。すなわち、レジスタ書
き込み信号20aはレジスタ22aに、レジスタ書き込
み信号20bはレジスタ22bに、以下同様にレジスタ
書き込み信号20hはレジスタ22hにそれぞれ入力さ
れるようになっており、レジスタ書き込み信号の入力さ
れたレジスタにメモリデータ7が記憶される。マルチプ
レクサ24は、アドレス記憶領域19が出力するレジス
タ選択信号21に応じてレジスタ22a〜22hからの
レジスタ出力23a〜23hを選択して出力する。
Here, the register table 14 will be described. FIG. 2 is a block diagram illustrating a configuration example of the register table 14. The address storage area 19 is an area for storing a test address. In the present embodiment, the memory check is performed when the address written to the memory 9 matches the test address. In this embodiment, as shown in FIG. 2, the address storage area 19 can store eight test addresses. Reference numerals 22a to 22h are registers, and store the memory data 7 by register write signals 20a to 20h output in correspondence with the respective test addresses stored in the address storage area 19. That is, the register write signal 20a is input to the register 22a, the register write signal 20b is input to the register 22b, and similarly, the register write signal 20h is input to the register 22h. Memory data 7 is stored. The multiplexer 24 selects and outputs the register outputs 23a to 23h from the registers 22a to 22h according to the register selection signal 21 output from the address storage area 19.

【0016】(2)第1実施形態の動作 次に、図1および図2を参照し、上記構成を有する画像
処理装置の動作を説明する。入力画像データ1が入力さ
れると、まず画像処理回路3は、入力画像データ1を一
旦メモリ9に格納した後、再度メモリ9から画像データ
を読み出して処理を行う。メモリチェックは、書き込み
と読み出しの動作と同時に行われる。
(2) Operation of First Embodiment Next, the operation of the image processing apparatus having the above configuration will be described with reference to FIGS. When the input image data 1 is input, the image processing circuit 3 first stores the input image data 1 in the memory 9 and then reads out the image data from the memory 9 again to perform processing. The memory check is performed simultaneously with the write and read operations.

【0017】まず、メモリ9への書き込み動作は、チッ
プセレクト信号4、書き込み許可信号5、メモリアドレ
ス8の制御により行われる。すなわち、チップセレクト
信号4、書き込み許可信号5により書き込み動作が検出
されたとき、メモリアドレス8が示すアドレスにメモリ
データ7の値が書き込まれる。また、メモリ9からの読
み出し動作は、チップセレクト信号4、読み出し許可信
号6、メモリアドレス8の制御により行われる。すなわ
ち、チップセレクト信号4、読み出し許可信号6により
読み出し動作が検出されたとき、メモリアドレス8が示
すアドレスに格納されたデータがメモリデータ7に出力
される。
First, a write operation to the memory 9 is performed by controlling the chip select signal 4, the write enable signal 5, and the memory address 8. That is, when a write operation is detected by the chip select signal 4 and the write enable signal 5, the value of the memory data 7 is written to the address indicated by the memory address 8. The read operation from the memory 9 is performed by controlling the chip select signal 4, the read enable signal 6, and the memory address 8. That is, when a read operation is detected by the chip select signal 4 and the read enable signal 6, the data stored at the address indicated by the memory address 8 is output to the memory data 7.

【0018】ここで、図2を参照し、レジスタテーブル
14への書き込みについて詳述する。画像処理回路3か
らメモリ9へ、チップセレクト信号4、書き込み許可信
号5、メモリアドレス8、およびメモリデータ7が出力
されると、メモリデータ7の書き込み動作が発生する。
チップセレクト信号4、書き込み許可信号5、メモリア
ドレス8、およびメモリデータ7は同時にアドレス記憶
領域19へ入力されており、アドレス記憶領域19は、
メモリ9への書き込み動作を検出すると、記憶されてい
る試験用アドレスとメモリアドレス8の比較を行う。そ
して、メモリアドレス8が示すアドレスが記憶されてい
る試験用アドレスのいずれかと一致する場合は、試験用
アドレスに対応したレジスタ書き込み信号20a〜20
hのいずれかを出力する。
Here, the writing to the register table 14 will be described in detail with reference to FIG. When the chip select signal 4, the write enable signal 5, the memory address 8, and the memory data 7 are output from the image processing circuit 3 to the memory 9, a write operation of the memory data 7 occurs.
The chip select signal 4, the write enable signal 5, the memory address 8, and the memory data 7 are input to the address storage area 19 at the same time.
When a write operation to the memory 9 is detected, the stored test address and the memory address 8 are compared. If the address indicated by the memory address 8 matches any of the stored test addresses, the register write signals 20a to 20 corresponding to the test address are stored.
h is output.

【0019】メモリデータ7は、レジスタ書き込み信号
20a〜20hのいずれかが入力されたレジスタ22a
〜22hに記憶される。レジスタ22a〜22hからは
レジスタデータ23a〜23hがそれぞれマルチプレク
サ24に対して出力されている。
The memory data 7 includes a register 22a to which any one of the register write signals 20a to 20h is input.
2222h. Register data 23a to 23h are output from the registers 22a to 22h to the multiplexer 24, respectively.

【0020】次に、データ比較回路17における比較に
ついて説明する。画像処理回路3からメモリ9へ、チッ
プセレクト信号4、読み出し許可信号6、メモリアドレ
ス8が出力されると、メモリ9内のメモリアドレス8の
示すアドレスから画像処理回路3へメモリデータ7の読
み出し動作が発生する。チップセレクト信号4、読み出
し許可信号6、およびメモリアドレス8は同時にアドレ
ス記憶領域19に入力されており、アドレス記憶領域1
9は、メモリ9からの読み出し動作を検出すると、記憶
されている試験用アドレスとメモリアドレス8の比較を
行う。そして、メモリアドレス8が示すアドレスが記憶
されている試験用アドレスのいずれかと一致する場合
は、比較許可信号16をデータ比較回路17に出力し、
レジスタ選択信号21をマルチプレクサ24に出力す
る。レジスタ選択信号21は、マルチプレクサ24に対
し、レジスタ22a〜22hのいずれに書き込まれたデ
ータの読み出しが行われているかを指示する信号であ
り、マルチプレクサ24はレジスタ選択信号21に従い
レジスタデータ23a〜23hのいずれかを選択し、比
較データ15としてデータ比較回路17に出力する。
Next, comparison in the data comparison circuit 17 will be described. When the chip select signal 4, the read permission signal 6, and the memory address 8 are output from the image processing circuit 3 to the memory 9, the operation of reading the memory data 7 from the address indicated by the memory address 8 in the memory 9 to the image processing circuit 3 Occurs. The chip select signal 4, the read enable signal 6, and the memory address 8 are simultaneously input to the address storage area 19, and the address storage area 1
When detecting the read operation from the memory 9, the memory 9 compares the stored test address with the memory address 8. Then, when the address indicated by the memory address 8 matches any of the stored test addresses, a comparison enable signal 16 is output to the data comparison circuit 17, and
The register selection signal 21 is output to the multiplexer 24. The register selection signal 21 is a signal for instructing the multiplexer 24 which of the registers 22a to 22h is to read the data written therein. The multiplexer 24 outputs the register data 23a to 23h in accordance with the register selection signal 21. One of them is selected and output to the data comparison circuit 17 as comparison data 15.

【0021】また、チップセレクト信号4、読み出し許
可信号6、およびメモリデータ7は同時にデータ比較回
路17に入力されている。データ比較回路17は、チッ
プセレクト信号4、読み出し許可信号6から、メモリ9
からの読み出し動作を検出したときに、比較許可信号1
6が検出されている場合は、メモリ9から読み出された
メモリデータ7と比較データ15の比較を行い、データ
比較結果18を出力する。データ比較結果18は、デー
タが一致する場合は真を、データが一致しない場合は偽
を示す。
The chip select signal 4, the read enable signal 6, and the memory data 7 are input to the data comparison circuit 17 at the same time. The data comparison circuit 17 converts the chip select signal 4 and the read enable signal 6 from the memory 9
When a read operation from the memory is detected, the comparison enable signal 1
When 6 is detected, the memory data 7 read from the memory 9 is compared with the comparison data 15 and a data comparison result 18 is output. The data comparison result 18 indicates true if the data matches, and false if the data does not match.

【0022】ここで、メモリアドレス8が0x1000
の場合を例として説明する。メモリ9への書き込みが行
われたときのメモリアドレス8が示すアドレスは、記憶
されている試験用アドレスのひとつと一致するため、ア
ドレス記憶領域19は、レジスタ22bに対してレジス
タ書き込み信号20bを出力し、メモリデータ7はレジ
スタ22bに書き込まれる。そしてメモリ9内のアドレ
ス0x1000からデータが読み出されたとき、アドレ
ス記憶領域19は比較許可信号16をデータ比較回路1
7に出力し、レジスタ選択信号21をマルチプレクサ2
4に出力する。マルチプレクサ24は、レジスタ選択信
号21に従ってレジスタデータ23bを選択し、比較デ
ータ15として出力する。データ比較回路17は、読み
出されたメモリデータ7と、比較データ15すなわちメ
モリ9内のアドレス0x1000に書き込まれると同時
にレジスタ22bに書き込まれたデータとを比較する。
これらのデータが一致しない場合は、メモリ9のアドレ
ス0x1000に書き込まれたデータと読み出されたデ
ータは一致しないこととなり、アドレス0x1000に
はエラーが発生していると判定できる。このように、デ
ータ比較結果18の値から、読み出し動作を行ったメモ
リ9のアドレスにエラーが発生しているか否かを検出で
き、エラーが発生している場合は実行中の処理を中断さ
せるようになっている。
Here, the memory address 8 is 0x1000
The case of (1) will be described as an example. Since the address indicated by the memory address 8 when writing to the memory 9 matches one of the stored test addresses, the address storage area 19 outputs the register write signal 20b to the register 22b. Then, the memory data 7 is written to the register 22b. When data is read from the address 0x1000 in the memory 9, the address storage area 19 sends the comparison enable signal 16 to the data comparison circuit 1.
7 to output the register selection signal 21 to the multiplexer 2
4 is output. The multiplexer 24 selects the register data 23 b according to the register selection signal 21 and outputs the same as the comparison data 15. The data comparison circuit 17 compares the read memory data 7 with the comparison data 15, that is, the data written in the register 22 b at the same time as being written to the address 0x1000 in the memory 9.
If these data do not match, the data written at address 0x1000 of the memory 9 does not match the read data, and it can be determined that an error has occurred at address 0x1000. As described above, it can be detected from the value of the data comparison result 18 whether an error has occurred at the address of the memory 9 where the reading operation has been performed, and if an error has occurred, the process being executed is interrupted. It has become.

【0023】ところで、アドレス記憶領域19に設定さ
れているアドレスは、以下のように更新される。画像処
理回路3は、メモリチェックを行う試験用アドレスを更
新するときは、アドレス更新回路11に処理終了信号1
0を出力する。アドレス更新回路11は、処理終了信号
10が入力されると、アドレス記憶領域19に設定され
ているアドレスを更新するように、更新アドレス12と
アドレス書き込み信号13を出力する。試験用アドレス
の更新は、予め記憶された試験用アドレスについてメモ
リチェックが終了したとき、例えば、画像処理回路3に
おける1処理が終了するたびに、アドレス記憶領域19
に設定されているアドレスを1だけインクリメント(増
加)あるいはデクリメント(減少)して行われる。この
ように、順次チェックするアドレスを更新することで、
限られたレジスタ領域数でメモリのアドレスを順次チェ
ックすることが可能となる。
The address set in the address storage area 19 is updated as follows. When updating the test address for performing the memory check, the image processing circuit 3 sends a processing end signal 1 to the address updating circuit 11.
Outputs 0. When the processing end signal 10 is input, the address update circuit 11 outputs an update address 12 and an address write signal 13 so as to update the address set in the address storage area 19. The test address is updated when the memory check is completed for the test address stored in advance, for example, every time one process in the image processing circuit 3 is completed.
Is incremented (increased) or decremented (decreased) by one. In this way, by updating the addresses to be checked sequentially,
It is possible to sequentially check the addresses of the memory with a limited number of register areas.

【0024】2.第2実施形態 次に第2実施形態について説明する。第2実施形態で
は、メモリ9のあるアドレスでエラーが発生した場合
は、レジスタテーブル14に存在するレジスタのデータ
で代替することにより、エラーの修復を行う。
2. Second Embodiment Next, a second embodiment will be described. In the second embodiment, when an error occurs at a certain address in the memory 9, the error is repaired by substituting the data of the register existing in the register table 14.

【0025】(1)第2実施形態の構成 図3は、第2実施形態の構成を示すブロック図であり、
図示するように、画像処理回路3、メモリ9、レジスタ
制御回路25、レジスタテーブル14、およびデータ比
較回路17から構成されている。図中の画像処理回路
3、メモリ9、レジスタテーブル14、データ比較回路
17については、第1実施形態で示したものと同様であ
るため説明は省略する。レジスタ制御回路25は、画像
処理回路3からの処理終了信号10により、第1実施形
態と同様の更新アドレス12およびアドレス書き込み信
号13をレジスタテーブル14に出力し、アドレス記憶
領域19に設定されているアドレスの更新を制御する回
路である。
(1) Configuration of the Second Embodiment FIG. 3 is a block diagram showing the configuration of the second embodiment.
As shown, the image processing circuit 3, the memory 9, the register control circuit 25, the register table 14, and the data comparison circuit 17 are configured. The image processing circuit 3, the memory 9, the register table 14, and the data comparison circuit 17 in the figure are the same as those described in the first embodiment, and thus the description is omitted. The register control circuit 25 outputs the update address 12 and the address write signal 13 similar to those in the first embodiment to the register table 14 in response to the processing end signal 10 from the image processing circuit 3 and is set in the address storage area 19. This is a circuit that controls updating of the address.

【0026】第2実施形態においては、エラー修復処理
を行うために、データ比較結果18はレジスタ制御回路
25およびレジスタテーブル14に入力され、比較デー
タ15は、データ比較回路17の他に画像処理回路3に
も入力されるよう構成されている。また、図中符号26
はデータ選択信号を、符号27はエラー通知信号を各々
示している。エラー通知信号27は、レジスタ制御回路
25から出力される信号であり、エラーが発生した場合
にエラーの修復を指示する。
In the second embodiment, the data comparison result 18 is input to a register control circuit 25 and a register table 14 in order to perform an error repairing process. 3 is also input. Also, reference numeral 26 in the figure
Indicates a data selection signal, and reference numeral 27 indicates an error notification signal. The error notification signal 27 is a signal output from the register control circuit 25, and instructs to repair the error when the error occurs.

【0027】(2)第2実施形態の動作 第2実施形態においても、画像処理回路3は入力画像デ
ータ1を一旦メモリ9に格納した後、再度メモリ9から
画像データを読み出して処理を行う。書き込みと読み出
しの動作は第1実施形態同様であるため説明を省略す
る。また、レジスタテーブル14およびデータ比較回路
17における動作も第1実施形態同様であり、レジスタ
テーブル14は比較データ15および比較許可信号16
をデータ比較回路17に出力し、データ比較回路17は
データ比較を行いデータ比較結果18を出力する。
(2) Operation of the Second Embodiment Also in the second embodiment, the image processing circuit 3 once stores the input image data 1 in the memory 9 and then reads out the image data from the memory 9 again to perform the processing. The write and read operations are the same as in the first embodiment, and a description thereof will be omitted. The operations of the register table 14 and the data comparison circuit 17 are the same as those of the first embodiment.
Is output to the data comparison circuit 17, and the data comparison circuit 17 performs data comparison and outputs a data comparison result 18.

【0028】第2実施形態では、データ比較結果18
は、レジスタ制御回路25およびレジスタテーブル14
に入力されている。そしてレジスタ制御回路25は、デ
ータ比較結果18から偽を検出した場合は、その時読み
出し処理を行ったメモリ9のアドレスにエラーが発生し
たものと判断し、レジスタテーブル14内のレジスタを
メモリ9のエラー発生アドレスの代替領域として確保す
る。具体的には、レジスタ制御回路25は、データ比較
結果18に応じたデータ選択信号26を画像処理回路3
に出力する。データ選択信号26は、データ比較結果1
8が真であった場合はメモリデータ7を選択し、データ
比較結果18が偽であった場合は、メモリ9から読み出
したメモリデータ7の代替として、レジスタテーブル1
4から出力される比較データ15を画像処理データとし
て選択することを示す。すなわち、データ比較の行われ
たアドレスにおいてデータ比較結果18が偽であるとき
は、比較データ15は書き込みの行われたデータと同一
であるが、メモリデータ7は書き込みが行われたデータ
と異なるものとなっているため、メモリ9内のエラーの
発生したアドレスから読み出したデータをレジスタテー
ブル14に記憶されているデータで代替することによ
り、エラーの修復が可能となる。
In the second embodiment, the data comparison result 18
Are the register control circuit 25 and the register table 14
Has been entered. When the register control circuit 25 detects false from the data comparison result 18, the register control circuit 25 determines that an error has occurred at the address of the memory 9 from which the reading process was performed at that time, and replaces the register in the register table 14 with the error of the memory 9. Reserve as an alternative area for the occurrence address. Specifically, the register control circuit 25 outputs a data selection signal 26 corresponding to the data comparison result 18 to the image processing circuit 3.
Output to The data selection signal 26 is the data comparison result 1
8 is true, the memory data 7 is selected. If the data comparison result 18 is false, the register table 1 is used as an alternative to the memory data 7 read from the memory 9.
4 indicates that the comparison data 15 output from 4 is selected as image processing data. That is, when the data comparison result 18 is false at the address where the data comparison is performed, the comparison data 15 is the same as the written data, but the memory data 7 is different from the written data. Therefore, by replacing the data read from the address in the memory 9 where the error has occurred with the data stored in the register table 14, the error can be repaired.

【0029】また、レジスタ制御回路25は、以降の処
理においては、エラーが発生したアドレスと同一の値を
示すアドレス記憶領域19の試験用アドレス値を更新し
ないように更新アドレス12およびアドレス書き込み信
号13を制御し、以降の処理においてメモリ9のエラー
発生アドレスの専用領域として確保する。しかし、レジ
スタテーブル14内のレジスタ領域は有限であるため、
エラー発生アドレス数がレジスタテーブル14に存在す
るレジスタ領域数に達した場合は、これ以上のエラー修
復が不可能となる。そのため、エラー発生アドレス数が
レジスタ領域数に達した場合に、レジスタ制御回路25
はエラー通知信号27を出力して外部に対しエラーを通
知する。
In the subsequent processing, the register control circuit 25 controls the update address 12 and the address write signal 13 so as not to update the test address value in the address storage area 19 indicating the same value as the address where the error has occurred. Is secured as a dedicated area of the error occurrence address in the memory 9 in the subsequent processing. However, since the register area in the register table 14 is finite,
When the number of error occurrence addresses reaches the number of register areas existing in the register table 14, further error recovery becomes impossible. Therefore, when the number of error occurrence addresses reaches the number of register areas, the register control circuit 25
Outputs an error notification signal 27 to notify an external error.

【0030】このように、第2実施形態においては、メ
モリ9内のあるアドレスにエラーが発生した場合は、エ
ラーが発生したアドレスの代わりにレジスタテーブル1
4内のレジスタを割り当てることにより、エラー修復が
可能となり、エラーの発生数がレジスタ数に達するまで
は、処理を中断せずにメモリチェックを行うことができ
る。
As described above, in the second embodiment, when an error occurs at a certain address in the memory 9, the register table 1 is used instead of the address at which the error has occurred.
By allocating the registers in 4, the error can be repaired, and the memory check can be performed without interrupting the processing until the number of errors reaches the number of registers.

【0031】[0031]

【発明の効果】以上説明したように、本発明によれば、
特別なチェックモードを持たずに、実際の処理実行中に
メモリのチェックが可能なメモリテスト装置を提供する
ことができる。
As described above, according to the present invention,
It is possible to provide a memory test apparatus capable of checking a memory during actual processing without having a special check mode.

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

【図1】 第1実施形態の構成を示すブロック図であ
る。
FIG. 1 is a block diagram illustrating a configuration of a first embodiment.

【図2】 レジスタテーブル14の構成例を示すブロッ
ク図である。
FIG. 2 is a block diagram showing a configuration example of a register table 14;

【図3】 第2実施形態の構成を示すブロック図であ
る。
FIG. 3 is a block diagram illustrating a configuration of a second embodiment.

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

1・・入力画像データ、2・・出力画像データ、3・・
画像処理回路、4・・チップセレクト信号、5・・書き
込み許可信号、6・・読み出し許可信号、7・・メモリ
データ、8・・メモリアドレス、9・・メモリ、10・
・処理終了信号、11・・アドレス更新回路、12・・
更新アドレス、13・・アドレス書き込み信号、14・
・レジスタテーブル、15・・比較データ、16・・比
較許可信号、17・・データ比較回路、18・・データ
比較結果、19・・アドレス記憶領域、20a〜20h
・・レジスタ書き込み信号、21・・レジスタ選択信
号、22a〜22h・・レジスタ、23a〜23h・・
レジスタデータ、24・・マルチプレクサ、25・・レ
ジスタ制御回路、26・・データ選択信号、27・・エ
ラー通知信号、100・・メモリチェック回路、101
・・処理停止手段
1 .... input image data, 2 .... output image data, 3 ....
Image processing circuit, 4 chip select signal, 5 write enable signal, 6 read enable signal, 7 memory data, 8 memory address, 9 memory, 10 memory
A process end signal, 11 an address update circuit, 12
Update address, 13 address write signal, 14
Register table, 15 comparison data, 16 comparison enable signal, 17 data comparison circuit, 18 data comparison result, 19 address storage area, 20a to 20h
..Register write signal, 21. register select signal, 22a to 22h .. register, 23a to 23h ..
Register data, 24 multiplexer, 25 register control circuit, 26 data selection signal, 27 error notification signal, 100 memory check circuit, 101
..Process stop means

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 被試験メモリの所定のアドレスを試験用
アドレスとして記憶する試験用アドレス記憶手段と、 前記被試験メモリの前記試験用アドレスにデータの書き
込みがあった場合に、書き込まれたデータと同一の試験
用データを前記試験用アドレスと対応付けて記憶する試
験用データレジスタ手段と、 前記被試験メモリの前記試験用アドレスからデータの読
み出しがあった場合に、これに対応するデータを前記試
験用データレジスタ手段から読み出して両者を比較する
比較手段と、 前記試験用アドレスを変更する試験用アドレス変更手段
とを有することを特徴とするメモリテスト装置。
1. A test address storage means for storing a predetermined address of a memory under test as a test address, and when data is written to the test address of the memory under test, Test data register means for storing the same test data in association with the test address, and when data is read from the test address in the memory under test, the corresponding data is read out from the test. A memory test apparatus comprising: comparison means for reading from the data register means for comparing the two; and a test address change means for changing the test address.
【請求項2】 前記試験用アドレス変更手段は、1処理
が終了するごとに、前記レジスタに記憶されるアドレス
を所定の値だけインクリメントあるいはデクリメントす
ることを特徴とする請求項1記載のメモリテスト装置。
2. The memory test apparatus according to claim 1, wherein the test address changing means increments or decrements an address stored in the register by a predetermined value each time one process is completed. .
【請求項3】 前記比較手段の比較結果が偽であった場
合に、エラー発生を通知するとともに、実行中の処理を
中断させる処理停止手段を有することを特徴とする請求
項1ないし2いずれかに記載のメモリテスト装置。
3. The apparatus according to claim 1, further comprising a processing stop means for notifying of the occurrence of an error when the comparison result of said comparison means is false, and for interrupting the processing being executed. 3. The memory test device according to claim 1.
【請求項4】 前記比較手段の比較結果が偽であった場
合に、前記レジスタの1領域を該アドレスの専用領域と
して確保し、以降の処理において該アドレスに対してア
クセスがあった場合には、該アドレス専用に割り当てら
れた前記レジスタの1領域を前記メモリの代替として使
用する制御を行うレジスタ制御手段を有することを特徴
とする請求項1ないし2いずれかに記載のメモリテスト
装置。
4. When the comparison result of the comparing means is false, one area of the register is secured as a dedicated area for the address, and when the address is accessed in the subsequent processing, 3. The memory test apparatus according to claim 1, further comprising register control means for controlling use of one area of said register allocated exclusively for said address as a substitute for said memory.
【請求項5】 エラー発生アドレスが、前記レジスタの
領域数に達したときは、外部に対してエラー発生を通知
する通知手段を有することを特徴とする請求項4記載の
メモリテスト装置。
5. The memory test apparatus according to claim 4, further comprising a notifying means for notifying an error occurrence to the outside when an error occurrence address reaches the number of areas of said register.
JP9172412A 1997-06-27 1997-06-27 Memory tester Pending JPH1125006A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9172412A JPH1125006A (en) 1997-06-27 1997-06-27 Memory tester

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9172412A JPH1125006A (en) 1997-06-27 1997-06-27 Memory tester

Publications (1)

Publication Number Publication Date
JPH1125006A true JPH1125006A (en) 1999-01-29

Family

ID=15941488

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9172412A Pending JPH1125006A (en) 1997-06-27 1997-06-27 Memory tester

Country Status (1)

Country Link
JP (1) JPH1125006A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009026285A (en) * 2007-06-21 2009-02-05 Mega Chips Corp Memory controller
JP2012003644A (en) * 2010-06-21 2012-01-05 Fujitsu Ltd Memory error part detection device and memory error part detection method
US8504897B2 (en) 2007-06-21 2013-08-06 Megachips Corporation Memory controller
JP2015215872A (en) * 2014-04-22 2015-12-03 株式会社デンソー Microcomputer

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009026285A (en) * 2007-06-21 2009-02-05 Mega Chips Corp Memory controller
US8504897B2 (en) 2007-06-21 2013-08-06 Megachips Corporation Memory controller
JP2012003644A (en) * 2010-06-21 2012-01-05 Fujitsu Ltd Memory error part detection device and memory error part detection method
US8738976B2 (en) 2010-06-21 2014-05-27 Fujitsu Limited Memory error detecting apparatus and method
JP2015215872A (en) * 2014-04-22 2015-12-03 株式会社デンソー Microcomputer

Similar Documents

Publication Publication Date Title
JP2891474B2 (en) Memory diagnostic method and device
KR970002637A (en) Multiprocessor system
US7170801B2 (en) Method for replacing defects in a memory and apparatus thereof
JP2002196981A (en) Data processor
KR940001146B1 (en) System for checking comparision check function of information processing apparatus
JP2001167005A (en) Method and circuit for diagnosing memory and semiconductor memory device
JPH1125006A (en) Memory tester
JP4461934B2 (en) Cache memory test system, test method, test program
JP2006039843A (en) Ram test circuit, information processing apparatus, and ram testing method
JP3001464B2 (en) Microprocessor device
JP2587468B2 (en) Lock data setting device
JPH06314190A (en) Electronic device
JPH0863406A (en) Memory access controller
JP3616541B2 (en) Microprocessor device and microprocessor control method
JPH0528056A (en) Memory device
JP2547329B2 (en) Lock data setting device
JPH05290589A (en) Semiconductor integrated circuit
JPH0798668A (en) Storage system for fault information of information processor
JPH02302855A (en) Memory control system
KR19980078238A (en) Error Handling Device in Flash Memory
JPH03211619A (en) Data processor
JPH01197860A (en) Memory fault detecting circuit
JPH0235545A (en) Diagnosing method for set associative cache memory
JPH05143467A (en) Method and device for switching redundant constitution
JPH0341538A (en) Main storage device