JPH05342111A - Memory testing system - Google Patents

Memory testing system

Info

Publication number
JPH05342111A
JPH05342111A JP4146134A JP14613492A JPH05342111A JP H05342111 A JPH05342111 A JP H05342111A JP 4146134 A JP4146134 A JP 4146134A JP 14613492 A JP14613492 A JP 14613492A JP H05342111 A JPH05342111 A JP H05342111A
Authority
JP
Japan
Prior art keywords
data
address
memory
test
main processor
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.)
Withdrawn
Application number
JP4146134A
Other languages
Japanese (ja)
Inventor
Sadao Yamazaki
貞男 山▲崎▼
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 JP4146134A priority Critical patent/JPH05342111A/en
Publication of JPH05342111A publication Critical patent/JPH05342111A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To test a memory attached to a main processor without spending time compared with conventional test without imposing a burden on the main processor. CONSTITUTION:A memory test starting address accumulating part ADRREG 8 and a test finishing part 9 accumulate a starting address and an end address instructed from a CPU 1, respectively. A test address generating part 10 updates successively an address from the start address, and supplies it to a memory part 14. A test data generating part 7 generates write data and supplies the data to an MEM 14 and a test end detecting part 11 compares a memory access address with the end address, and finishes the sequence, in the case they coincide with each other. A data comparing part 16 reads out the data from the starting address after the sequence is finished and compares the data with the data generated by the same sequence. A non-coincidence information accumulating part 17 accumulates the address and the data and notifies them to the CPU 1, in the case the data are in discordance and notifies the normal end information to the CPU 1 in the case all addresses are finished normally.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はデータ処理装置等に用い
られるメインプロセッサとこれに付随するメモリ部を有
する中央制御装置に関し、特にメモリ部の試験を行うメ
モリ試験方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a central control unit having a main processor used in a data processing device and the like and a memory section associated therewith, and more particularly to a memory test system for testing the memory section.

【0002】[0002]

【従来の技術】従来、中央制御装置のメモリ部の試験で
は、メインプロセッサが、メモリ部にデータを書込んだ
後、そのデータを読み出し、メモリ部にデータの書込
み、読み出しが正常に行えるかどうか試験している。
2. Description of the Related Art Conventionally, in a test of a memory section of a central control unit, a main processor writes data in the memory section, then reads the data, and whether or not the data can be normally written in and read from the memory section. I'm testing.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のメモリ
試験方式では、メインプロセッサがこのメモリ試験を直
かに行う為、メインプロセッサに負荷が加わるととも
に、メモリ部の試験に時間がかかるという問題点があっ
た。
In the conventional memory test method described above, since the main processor directly performs this memory test, a load is applied to the main processor and it takes time to test the memory section. was there.

【0004】[0004]

【課題を解決するための手段】本発明のメモリ試験方式
は、メインプロセッサとこのメインプロセッサに付随す
るメモリ部を有する中央制御装置において、前記メイン
プロセッサから指示される開始アドレスと終了アドレス
を蓄積する手段と、開始アドレスから順次アドレスを更
新し前記メモリ部に供給する手段と、該アドレスととも
に前記メモリ部への書込みデータを生成しこのメモリ部
に供給する手段と、メモリアクセスアドレスと終了アド
レスとを比較し一致した場合にメモリ書込みシーケンス
を終了させる手段と、該シーケンス終了後に開始アドレ
スから順次データを読み出して該データと書込み時と同
一シーケンスにて作成したデータとを比較する手段と、
比較結果でデータが不一致の場合には該アドレスとデー
タとを蓄積すると共に前記メインプロセッサに通知し全
アドレスが正常終了した場合には正常終了情報を前記メ
インプロセッサに通知する手段とを備える構成である。
According to a memory test method of the present invention, a start address and an end address designated by the main processor are accumulated in a central control unit having a main processor and a memory section attached to the main processor. Means, means for updating the addresses sequentially from the start address and supplying the addresses to the memory section, means for generating write data to the memory section together with the addresses and supplying the same to the memory section, a memory access address and an end address. Means for terminating the memory write sequence when compared and matched, and means for sequentially reading data from the start address after the sequence and comparing the data with the data created in the same sequence as when writing
When the comparison result indicates that the data do not match, the address and the data are stored, and the main processor is notified, and when all the addresses are normally ended, a normal end information is notified to the main processor. is there.

【0005】[0005]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0006】図1は本発明の一実施例を示すブロック図
である。図1において、中央制御装置はメインプロセッ
サ(CPU)1と記憶メモリ装置(MEM CARD)
2,3とを含んで構成されている。MEM CARD3
はメモリ増設用であり、内部構成はMEM CARD2
と全く同様なので内部の図示を省略する。MEM CA
RD2は、CPU1からアドレス信号を受信するアドレ
ス信号インタフェース部(ADR GT)4と、同じく
制御信号を受信する制御信号インタフェース部(CNT
GT)5と、同じくデータの送受信を行うデータイン
タフェース部(DATA GT)6と、データを記憶す
るためのメモリ部(MEM)14と、アドレス信号とと
もにMEM14への書込みデータを生成しMEM14へ
供給するメモリ試験用制御部及び試験用データ生成部
(CONT&DATAG)7と、CPU1から指示され
る試験開始アドレスを蓄積するメモリ試験開始アドレス
蓄積部(ADR REG)8と、CPU1から指示され
る試験終了アドレスを蓄積するメモリ試験終了アドレス
蓄積部(ADR REG)9と、開始アドレスから順次
アドレスを更新しMEM14に供給するメモリ試験用ア
ドレス生成部(ADRCNT)10と、メモリアクセス
アドレスと終了アドレスとを比較し一致した場合にメモ
リ書込みシーケンスを終了させるメモリ試験終了検出部
(ADR CMP)11と、メモリアドレス選択部(S
EL)12と、メモリ制御信号選択部(SEL)13
と、データバッファ(BUF)15と、該当のシーケン
ス終了後に開始アドレスから順次データを読み出してこ
のデータと書込み時と同一シーケンスにて作成したデー
タとを比較するデータ比較部(DATA CMP)16
と、この比較結果でデータが不一致の場合には該当のア
ドレスとデータとを蓄積すると共にCPU1へ通知し全
アドレスが正常終了した場合には正常終了情報をCPU
1へ通知する不一致情報蓄積部(REG)17とを備え
る。
FIG. 1 is a block diagram showing an embodiment of the present invention. In FIG. 1, a central controller is a main processor (CPU) 1 and a storage memory device (MEM CARD).
It is configured to include 2 and 3. MEM CARD3
Is for memory expansion, internal configuration is MEM CARD2
Since it is exactly the same as, the internal illustration is omitted. MEM CA
The RD 2 includes an address signal interface unit (ADR GT) 4 that receives an address signal from the CPU 1 and a control signal interface unit (CNT) that also receives a control signal.
GT) 5, a data interface unit (DATA GT) 6 that also transmits and receives data, a memory unit (MEM) 14 for storing data, and write data to the MEM 14 together with an address signal is generated and supplied to the MEM 14. A memory test control unit and a test data generation unit (CONT & DATAG) 7, a memory test start address storage unit (ADR REG) 8 for storing a test start address instructed by the CPU 1, and a test end address instructed by the CPU 1 The memory test end address storage unit (ADR REG) 9 to be stored, the memory test address generation unit (ADRCNT) 10 that sequentially updates the address from the start address and supplies it to the MEM 14, and the memory access address and the end address are compared and matched. End the memory write sequence Causing the memory testing end detection unit and (ADR CMP) 11, a memory address selector (S
EL) 12 and memory control signal selection unit (SEL) 13
And a data buffer (BUF) 15 and a data comparison unit (DATA CMP) 16 for sequentially reading data from the start address after the end of the corresponding sequence and comparing this data with the data created in the same sequence as when writing
If the data do not match as a result of this comparison, the corresponding address and data are accumulated and the CPU 1 is notified, and if all addresses are normally completed, the normal end information is sent to the CPU.
1 is provided.

【0007】以下に、動作を説明する。メモリ試験時
は、メインプロセッサ(CPU)1からメモリ試験開始
アドレスをメモリ試験開始アドレス蓄積部(ADR R
EG)8に設定し、メモリ試験終了アドレスを終了アド
レス蓄積部(ADR REG)9に設定を行った後、メ
インプロセッサ(CPU)1からメモリ試験用制御部及
び試験用データ生成部(CONT&DATAG)7を起
動する。
The operation will be described below. During the memory test, the memory test start address is transferred from the main processor (CPU) 1 to the memory test start address storage unit (ADR R
EG) 8 and the memory test end address is set in the end address storage unit (ADR REG) 9 and then the main processor (CPU) 1 controls the memory test control unit and the test data generation unit (CONT & DATAG) 7 To start.

【0008】メモリ試験用制御部及び試験用データ生成
部7は、メモリアドレス選択部(SEL)12,メモリ
制御信号選択部(SEL)13,及びデータインタフェ
ース部(DATA GT)6を制御し、メモリ部(ME
M)14にメモリ試験用アドレス生成部(ADR CN
T)10からアドレス情報を、メモリ試験用制御部及び
試験用データ生成部(CONT&DATAG)7からメ
モリ制御信号(メモリ読み出し、メモリ書込み信号等)
と試験用メモリ書込みデータとを供給する。
The memory test control section and test data generation section 7 controls the memory address selection section (SEL) 12, the memory control signal selection section (SEL) 13, and the data interface section (DATA GT) 6 to store the memory. Department (ME
M) 14 includes a memory test address generator (ADR CN)
T) 10 for address information, and memory test control section and test data generation section (CONT & DATA) 7 for memory control signals (memory read, memory write signals, etc.)
And test memory write data.

【0009】1回の書込みシーケンスが終了後、そのメ
モリ書込みアドレスとメモリ試験終了アドレスとをメモ
リ試験終了検出部(ADR CMP)11にて比較し、
一致/不一致情報をメモリ試験用制御部及び試験用デー
タ生成部(CONT&DATAG)7に通知する。不一
致の場合には、メモリ試験用アドレス生成部(ADRC
NT)10のアドレスを更新し、かつ、メモリへの書込
みデータを新たに生成しメモリ部(MEM)14に書込
む。本シーケンスをくり返した後、メモリ書込みアドレ
スとメモリ試験終了アドレスとが一致した場合にメモリ
試験終了検出部(ADR CMP)11から一致情報を
メモリ試験用制御部及び試験用データ生成部(CONT
&DATAG)7に通知し書込みシーケンスを終了す
る。
After the completion of one write sequence, the memory write address and the memory test end address are compared by the memory test end detecting section (ADR CMP) 11,
The match / mismatch information is notified to the memory test control unit and test data generation unit (CONT & DATAG) 7. If they do not match, the memory test address generator (ADRC
The address of the NT) 10 is updated, and the write data to the memory is newly generated and written in the memory unit (MEM) 14. After this sequence is repeated, if the memory write address and the memory test end address match, the memory test end detection unit (ADR CMP) 11 sends matching information to the memory test control unit and test data generation unit (CONT).
& DATAG) 7 and notify the end of the write sequence.

【0010】その後、メモリ開始アドレスから順次メモ
リ部(MEM)14のデータを読み出すと共に、書込み
時に生成した時と同一方法により、書込み時のデータを
メモリ試験用制御部及び試験用データ生成部(CONT
&DATAG)7にて生成を行い上記読み出しデータと
データ比較部(DATA CMP)6にて比較を行い、
一致している場合には、順次読み出しアドレスを更新し
て、メモリ試験終了アドレスまで実施する。全てのアド
レスにおいて一致した場合には、メインプロセッサ(C
PU)1に正常終了通知を行い、メモリ試験用制御部及
び試験用データ生成部(CONT&DATAG)7は、
メモリアドレス選択部(SEL)12,メモリ制御信号
選択部(SEL)13及びデータインタフェース部(D
ATAGT)6を制御してメモリ部(MEM)14にメ
インプロセッサ(CPU)1からのアドレス情報,メモ
リ制御信号,データ等を供給し、一連のメモリ試験処理
を終了する。
After that, the data in the memory unit (MEM) 14 is sequentially read from the memory start address, and the data at the time of writing is written in the memory test control unit and the test data generating unit (CONT) by the same method as that at the time of writing.
& DATAG) 7 and the read data is compared with the data comparison unit (DATA CMP) 6
If they match, the read address is sequentially updated and the memory test end address is executed. If all addresses match, the main processor (C
PU) 1 is notified of normal end, and the memory test control unit and test data generation unit (CONT & DATAG) 7
Memory address selection unit (SEL) 12, memory control signal selection unit (SEL) 13, and data interface unit (D)
The ATAGT) 6 is controlled to supply the memory unit (MEM) 14 with the address information, the memory control signal, the data, etc. from the main processor (CPU) 1, and the series of memory test processing is completed.

【0011】また、試験途中にてデータ不一致が検出さ
れた場合には、その時のメモリのアクセスアドレス,メ
モリ試験用制御部及び試験用データ生成部(CONT&
DATAG)7にて生成したデータ及びメモリ部(ME
M)14から読み出したデータを不一致情報蓄積部(R
EG)17に蓄積し、メインプロセッサ(CPU)1に
異常終了通知を行い、メモリ試験用制御部及び試験用デ
ータ生成部(CONT&DATAG)7が、メモリアド
レス選択部(SEL)12,メモリ制御信号選択部(S
EL)13及びデータインタフェース部(DATA G
T)6を制御してメモリ部(MEM)14にメインプロ
セッサ(CPU)1からのアドレス情報,メモリ制御信
号,データ等を供給し、一連のメモリ試験処理を終了す
る。
When a data mismatch is detected during the test, the memory access address at that time, the memory test control section, and the test data generation section (CONT &
DATA generated in DATA 7 and memory unit (ME
M) The data read from 14 is stored in the mismatch information storage unit (R
EG) 17 and notifies the main processor (CPU) 1 of abnormal termination, and the memory test control unit and test data generation unit (CONT & DATAG) 7 select the memory address selection unit (SEL) 12 and memory control signal selection. Department (S
EL) 13 and data interface unit (DATA G
T) 6 is controlled to supply address information, memory control signals, data, etc. from the main processor (CPU) 1 to the memory unit (MEM) 14, and a series of memory test processing is completed.

【0012】また、メインプロセッサ(CPU)1が記
憶メモリ装置(MEM CARD)2を用いて運用して
いるシステムにおいてメモリ増設として記憶メモリ装置
(MEM CARD)3を追加する場合には、記憶メモ
リ装置(MEM CARD)3をシステムに搭載した
後、記憶メモリ装置(MEM CARD)3にメモリ試
験を起動し、試験が終了するまでの間は、記憶メモリ装
置(MEM CARD)2のみを用いて運用し、記憶メ
モリ装置(MEM CARD)3のメモリ試験が正常に
終了したことを確認した後、記憶メモリ装置(MEM
CARD)2,3を用いてメモリ容量を拡張して運用を
行う。
In addition, in the system in which the main processor (CPU) 1 is operated using the storage memory device (MEM CARD) 2, when the storage memory device (MEM CARD) 3 is added as a memory extension, the storage memory device is added. After the (MEM CARD) 3 is installed in the system, a memory test is started in the storage memory device (MEM CARD) 3, and only the storage memory device (MEM CARD) 2 is operated until the test is completed. , After confirming that the memory test of the storage memory device (MEM CARD) 3 is completed normally,
CARD) 2 and 3 are used to expand the memory capacity for operation.

【0013】[0013]

【発明の効果】以上説明したように本発明は、メインプ
ロセッサから指示される開始アドレスと終了アドレスを
蓄積する手段と、開始アドレスから順次アドレスを更新
しメモリ部に供給する手段と、メモリアクセスアドレス
と終了アドレスとを比較し一致した場合にメモリ書込み
シーケンスを終了させる手段と、該シーケンス終了後に
開始アドレスから順次データを読み出して該データと書
込み時と同一シーケンスにて作成したデータとを比較す
る手段と、比較結果でデータが不一致の場合には該アド
レスとデータとを蓄積すると共にメインプロセッサに通
知し全アドレスが正常終了した場合には正常終了情報を
メインプロセッサに通知する手段を備えることにより、
メインプロセッサに負荷をかけることなく、従来に比べ
時間をかけずにこのメインプロセッサに付随するメモリ
部のメモリ試験を行うことができるという効果を有す
る。
As described above, according to the present invention, the means for accumulating the start address and the end address designated by the main processor, the means for sequentially updating the address from the start address and supplying the same to the memory section, and the memory access address. Means for terminating the memory write sequence when they match and the end address, and means for sequentially reading data from the start address after the sequence and comparing the data with the data created in the same sequence as when writing By including means for accumulating the address and data when the data do not match as a result of comparison and notifying the main processor and notifying the main processor of normal termination information when all the addresses are normally terminated,
There is an effect that the memory test of the memory unit associated with the main processor can be performed without imposing a load on the main processor and in a shorter time than in the past.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

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

1 メインプロセッサ(CPU) 2,3 記憶メモリ装置(MEM CARD) 4 アドレス信号インタフェース部(ADR GT) 5 制御信号インタフェース部(CNT GT) 6 データインタフェース部(DATA GT) 7 メモリ試験用制御部及び試験用データ生成部(C
ONT&DATAG) 8 メモリ試験開始アドレス蓄積部(ADR RE
G) 9 メモリ試験終了アドレス蓄積部(ADR RE
G) 10 メモリ試験用アドレス生成部(ADR CN
T) 11 メモリ試験終了検出部(ADR CMP) 12 メモリアドレス選択部(SEL) 13 メモリ制御信号選択部(SEL) 14 メモリ部(MEM) 15 データバッファ(BUF) 16 データ比較部(DATA CMP) 17 不一致情報蓄積部(REG)
1 Main Processor (CPU) 2, 3 Storage Memory Device (MEM CARD) 4 Address Signal Interface Unit (ADR GT) 5 Control Signal Interface Unit (CNT GT) 6 Data Interface Unit (DATA GT) 7 Memory Test Control Unit and Test Data generator (C
ONT & DATAG 8 Memory test start address storage unit (ADR RE
G) 9 Memory test end address storage (ADR RE
G) 10 Memory test address generator (ADR CN
T) 11 Memory test end detection unit (ADR CMP) 12 Memory address selection unit (SEL) 13 Memory control signal selection unit (SEL) 14 Memory unit (MEM) 15 Data buffer (BUF) 16 Data comparison unit (DATA CMP) 17 Discrepancy information storage unit (REG)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 メインプロセッサとこのメインプロセッ
サに付随するメモリ部を有する中央制御装置において、
前記メインプロセッサから指示される開始アドレスと終
了アドレスを蓄積する手段と、開始アドレスから順次ア
ドレスを更新し前記メモリ部に供給する手段と、該アド
レスとともに前記メモリ部への書込みデータを生成しこ
のメモリ部に供給する手段と、メモリアクセスアドレス
と終了アドレスとを比較し一致した場合にメモリ書込み
シーケンスを終了させる手段と、該シーケンス終了後に
開始アドレスから順次データを読み出して該データと書
込み時と同一シーケンスにて作成したデータとを比較す
る手段と、比較結果でデータが不一致の場合には該アド
レスとデータとを蓄積すると共に前記メインプロセッサ
に通知し全アドレスが正常終了した場合には正常終了情
報を前記メインプロセッサに通知する手段とを備えるこ
とを特徴とするメモリ試験方式。
1. A central control unit having a main processor and a memory section associated with the main processor,
Means for accumulating a start address and an end address instructed by the main processor, means for sequentially updating addresses from the start address and supplying the addresses to the memory section, and write data for writing to the memory section together with the addresses And a means for terminating the memory write sequence when the memory access address and the end address are compared with each other, and a sequence in which the data is sequentially read from the start address after the sequence and the data and the same sequence as at the time of writing. The means for comparing with the data created in the above, and when the data do not match as a result of the comparison, the address and the data are accumulated and the main processor is notified, and when all the addresses are normally ended, the normal end information is sent. Means for notifying the main processor. Li test method.
JP4146134A 1992-06-08 1992-06-08 Memory testing system Withdrawn JPH05342111A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4146134A JPH05342111A (en) 1992-06-08 1992-06-08 Memory testing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4146134A JPH05342111A (en) 1992-06-08 1992-06-08 Memory testing system

Publications (1)

Publication Number Publication Date
JPH05342111A true JPH05342111A (en) 1993-12-24

Family

ID=15400915

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4146134A Withdrawn JPH05342111A (en) 1992-06-08 1992-06-08 Memory testing system

Country Status (1)

Country Link
JP (1) JPH05342111A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009252026A (en) * 2008-04-08 2009-10-29 Kyocera Mita Corp Memory diagnosis device and information processing apparatus
EP2194458A2 (en) 2008-12-05 2010-06-09 Fujitsu Limited Request processing device, request processing system, and access testing method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009252026A (en) * 2008-04-08 2009-10-29 Kyocera Mita Corp Memory diagnosis device and information processing apparatus
EP2194458A2 (en) 2008-12-05 2010-06-09 Fujitsu Limited Request processing device, request processing system, and access testing method
JP2010134789A (en) * 2008-12-05 2010-06-17 Fujitsu Ltd Device and system for processing request, and access testing method
US8291270B2 (en) 2008-12-05 2012-10-16 Fujitsu Limited Request processing device, request processing system, and access testing method

Similar Documents

Publication Publication Date Title
JP2001167005A (en) Method and circuit for diagnosing memory and semiconductor memory device
US5657467A (en) Non-volatile semiconductor memory device with instruction issue during busy cycle
JPH05342111A (en) Memory testing system
JPH01500935A (en) Method and apparatus for executing two instruction sequences according to predetermined rankings
JP4486383B2 (en) Pattern generator and test apparatus
JPH0877143A (en) Vector data processor
JPH0767146A (en) Memory diagnostic circuit for video recording and reproducing device by semiconductor memory
JP2907421B2 (en) Semiconductor memory test equipment
JPH11184761A (en) Read modify write control system
JP2945193B2 (en) IC card test method, and IC card and test apparatus suitable for implementing the method
JPH0140432B2 (en)
KR20010019058A (en) System and Method of Coherencing Memory between Two Duplication Processors in the Switching System
JP2000235495A (en) File generating and file loading device
JP3264985B2 (en) Disk controller
JPH1125006A (en) Memory tester
JPS60193044A (en) Data buffer device
JPS5979406A (en) Magnetic disk controller
JPH0496840A (en) Semiconductor file memory device
JP2716254B2 (en) List vector processing device
JPH03245399A (en) Rom writer
JP3036449B2 (en) Memory diagnostic device
JP2798492B2 (en) List vector processing device
JPH08153168A (en) Method for testing plural cards
JPH0341538A (en) Main storage device
JPH03119445A (en) Memory controller

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990831