JPS60200352A - Memory diagnosis system - Google Patents

Memory diagnosis system

Info

Publication number
JPS60200352A
JPS60200352A JP59055912A JP5591284A JPS60200352A JP S60200352 A JPS60200352 A JP S60200352A JP 59055912 A JP59055912 A JP 59055912A JP 5591284 A JP5591284 A JP 5591284A JP S60200352 A JPS60200352 A JP S60200352A
Authority
JP
Japan
Prior art keywords
data
register
error
memory
address
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
JP59055912A
Other languages
Japanese (ja)
Inventor
Teru Shinohara
篠原 てる
Tsutomu Tanaka
勉 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP59055912A priority Critical patent/JPS60200352A/en
Publication of JPS60200352A publication Critical patent/JPS60200352A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/273Tester hardware, i.e. output processing circuits
    • G06F11/2736Tester hardware, i.e. output processing circuits using a dedicated service processor for test

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To simplify the hardware of a CPU by directly accessing the address of the error data through a service processor to obtain the collection data. CONSTITUTION:The data read out of a buffer memory BS is held by an address register CAR of a controller MCU via a service processor SVP after a parity is checked together with detection of an error. The controller MCU accesses to a main memory MSU with the address of the register CAR and reads out the correct answer data to set it to a collection data register CDR. At this time point, the processor SVP scans out the information on an error data register ERDR, an error way number register ERWNR and the register CDR respectively. The 1-byte data of the register ERDR is compared with that of the register CDR to obtain the position of a discordant bit. This bit position is combined with the way information to point out a faulty memory element of the memory BS.

Description

【発明の詳細な説明】 発明の技術分野 本発明は、計算機システムのバッファメモリのメモリ素
子の故障を指摘するメモリ装置診断方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to a memory device diagnostic method for pointing out a failure in a memory element of a buffer memory of a computer system.

従来技術と問題点 計算機システムでは中央処理装置(CP U)が主記憶
装置からフェッチしたデータをバッファメモリに蓄え、
以後のフェッチ時に所要データがバッファメモリにあれ
ばそれより取り込むという方法をとるが、か\るバッフ
ァメモリが正常であるか否か、メモリ素子に故障が生じ
ていないか、を常にチェックする必要がある。従来、こ
の種のメモリの診断方式は、バッファメモリはECC機
構を備えておらず読出しデータにパリティエラーが検出
されても誤りはバイト単位でしか指摘できないので、主
記憶から正しいデータを読み出し、誤りデータとビット
レベルで比較することにより故障メモリ素子の指摘を行
うというものである。以下に手順を示す。
Conventional technology and problems In computer systems, the central processing unit (CPU) stores data fetched from the main memory in a buffer memory.
If the required data is in the buffer memory at the time of subsequent fetching, it is fetched from there, but it is necessary to always check whether the buffer memory is normal or not and whether there is a failure in the memory element. be. Conventionally, this type of memory diagnostic method reads the correct data from the main memory and corrects the error, since the buffer memory does not have an ECC mechanism and even if a parity error is detected in the read data, the error can only be pointed out in byte units. By comparing data at the bit level, faulty memory elements are identified. The procedure is shown below.

■誤りデータとそのアドレスと連想記憶番号をCPU内
に保持する。
(2) Hold error data, its address, and associative memory number in the CPU.

■命令制御部が、誤りのあった読出しデータと同一のデ
ータを改めて主記憶にとりにいくリトライ (Retr
y ;再試行)シーケンスを行う。このとき、リトライ
中に行う読出しをリトライフェッチという。
■The instruction control unit retries the same data as the erroneous read data to the main memory (Retr
y; retry) sequence. At this time, reading performed during retry is called retry fetch.

■誤りデータのアドレスと、リトライフェッチアドレス
のマツチ(一致)を見る。
■Check the match between the address of the error data and the retry fetch address.

■マツチを検出したら、リトライフェッチした正解デー
タをレジスタに保持し、スキャンアウト機能により、誤
りデータ、正解データ、連想記憶番号をスキャンアウト
する。
■When a match is detected, the retry-fetched correct data is held in the register, and the scan-out function scans out the error data, correct data, and associative memory number.

■誤りデータと正解データをビットレベルで比較し、そ
の不一致のビット及び連想記憶番号からバッファメモリ
のどのメモリ素子に故障があったかを知り、これを指摘
(表示)する。
(2) Compare error data and correct data at the bit level, find out which memory element in the buffer memory has a failure from the mismatched bits and associative memory number, and point out (display) this.

しかしながらこの方式では、CPUにアドレスのマツチ
検出回路や正解データ情報解析回路など複雑なハードウ
ェアが必要であり、またリトライシーケンスで誤りデー
タに対応する正解データがフェッチされる確率は100
%でなく、メモリ装置診断が不確実であるという問題が
ある。
However, this method requires complex hardware such as an address match detection circuit and a correct data information analysis circuit in the CPU, and the probability that correct data corresponding to error data is fetched in the retry sequence is 100.
%, the problem is that memory device diagnostics are uncertain.

発明の目的 本発明は、上述の従来技術の欠点を除去し、中央処理装
置の構成を簡素化でき、メモリ装置診断を確実化、効率
化しようとするものである。
OBJECTS OF THE INVENTION The present invention aims to eliminate the above-mentioned drawbacks of the prior art, simplify the configuration of a central processing unit, and ensure memory device diagnosis with greater efficiency.

発明の構成 本発明は、バッファメモリから読み出したデータに誤り
のあることが検出されたとき、正しいデータを有する主
記憶装置から誤ったデータに対応する正しいデータを読
み出し、これらのデータをビットレベルで比較してバッ
ファメモリの故障メモリ素子を指摘するメモリ装置診断
方式において、読出したデータに誤りのあることが検出
されたときその誤りデータと、誤りデータのアドレスと
、該バッファメモリの連想記憶番号を中央処理装置内に
保持し、誤りデータのアドレスと、誤りデータ及び連想
記憶番号をスキャンアラ1−によりサービスプロセッサ
に通知しくERDR,ERAR。
Composition of the Invention The present invention, when it is detected that there is an error in the data read from the buffer memory, reads the correct data corresponding to the erroneous data from the main memory containing the correct data, and processes these data at the bit level. In a memory device diagnostic method that identifies a faulty memory element in a buffer memory by comparison, when it is detected that there is an error in the read data, the error data, the address of the error data, and the content addressable memory number of the buffer memory are ERDR and ERAR are held in the central processing unit and are used to notify the service processor of the address of the error data, the error data, and the content addressable memory number using the scan alarm 1-.

ERWNRをスキャンアウトするタイミングは決ってい
ない)、該アドレスによりサービスプロセッサが主記憶
装置を直接アクセスして正しいデータを読み出し、誤り
データとビットレベルで比較して故障メモリ素子を指摘
することを特徴とするが、次に実施例を参照しながらこ
れを説明する。
(The timing for scanning out the ERWNR is not determined), the service processor directly accesses the main memory based on the address, reads out the correct data, compares it with the error data at the bit level, and points out the faulty memory element. However, this will now be explained with reference to examples.

発明の実施例 第1図は本発明の実施例を示し、MSUは主記憶装置、
BSはバッファメモリ、SvPばサービスプロセッサで
ある。バッファメモリBSは本例では第2図に示すよう
にウェイ (Way)と呼ぶ容量、形式などが同じ構成
のもの16個からなるいわゆるセットアソシアティブ方
式のバッファメモリであり、ウェイナンバ(連想記憶番
号)WayO=WayFのウェイ群は同時に読出しアク
セスが行なわれ、どのラインにアクセスするかはアドレ
ス信号ADDにより選択される。またどのウェイにも該
当データが無かったときは、LRU(Least Re
cently used )論理等により所定のウェイ
を選択して、そのウェイの当該ラインに主記憶装置から
フェッチした当該データを登録する。MCUはMSUの
制御装置で、正しい(コレクト)データのレジスタCD
R及び該データのアドレスのレジスタCARを備える。
Embodiment of the Invention FIG. 1 shows an embodiment of the invention, in which MSU is a main storage device;
BS is a buffer memory, and SvP is a service processor. In this example, the buffer memory BS is a so-called set associative type buffer memory consisting of 16 ways called ways with the same capacity and format, as shown in FIG. The way groups of WayO=WayF are accessed for reading at the same time, and which line is accessed is selected by the address signal ADD. Also, if there is no corresponding data in any way, LRU (Least Re
A predetermined way is selected by logic or the like, and the data fetched from the main memory is registered in the line of the way. The MCU is a control unit for the MSU and is a register CD of correct (collect) data.
R and a register CAR for the address of the data.

SVPはCPUおよびMCU内のデータをスキャンアウ
トして取込む機能を備えており、SOCはそのスキャン
アウト収集回路である。CPUは上記のバッファメモリ
、アライン・セレクト回路AL&S、バッファデータ・
チェックレジスタBDCR、エラーデータレジスタER
DR,エラーアドレスレジスタERAR1エラーウェイ
ナンバーレジスタERWNR。
The SVP has a function of scanning out and capturing data in the CPU and MCU, and the SOC is its scanout collection circuit. The CPU includes the above buffer memory, align/select circuit AL&S, buffer data/
Check register BDCR, error data register ER
DR, error address register ERAR1 error way number register ERWNR.

有効アドレスレジスタEAR、タグ回路TAG。Effective address register EAR, tag circuit TAG.

マツチ回路MCHなどを備える、ブランクの枠は中間に
介在するレジスタまたはランチなどを示す。
A blank frame including a match circuit MCH or the like indicates an intermediate register or launch.

診断要領を説明すると、バッファメモリBSからの読出
しデータはアライン・セレクト回路AL&Sを経て命令
制御部演算部へ送られると共に、レジスタBDCHに保
持される。レジスタBDCRのデータ本例では8バイト
をパリティチェック回路PCでバイト単位にパリティチ
ェックし、もし誤りが検出されたならば、そのデータ(
1バイト)をレジスタERRDに保持する。このとき、
そのa呉りデータのアドレスが、レジスタEARよりレ
ジスタERARに取込まれ、またバッファメモリのウェ
イ情報(前述のウェイナンバー〇−F)がタグ回r/3
 T A Gおよびマツチ回路MCIでめられてそれが
レジスタERWNRに保持される。
To explain the diagnosis procedure, data read from the buffer memory BS is sent to the instruction control section calculation section via the align/select circuit AL&S, and is held in the register BDCH. Data in register BDCR In this example, the parity check circuit PC checks the parity of 8 bytes in byte units, and if an error is detected, the data (
1 byte) is held in register ERRD. At this time,
The address of the a-data is taken from register EAR to register ERAR, and the way information in the buffer memory (the way numbers 〇-F mentioned above) is transferred to tag times r/3.
It is determined by TAG and match circuit MCI and held in register ERWNR.

然るのちレジスタERAR内の誤りデータのアドレスが
スキャンアウトされ、サービスプロセッサSvPを経て
制御装置MCUのレジスタCARに保持される。制御装
置MCUはこのレジスタCARに格納されたアドレスで
主記憶装置MSUをアクセスしてそのアドレスの正解デ
ータ(1バイト)を読み出し、レジスタCDRに保持す
る。ここで、サービスプロセッサSVPはレジスタER
DR。
The address of the error data in the register ERAR is then scanned out and held in the register CAR of the control unit MCU via the service processor SvP. The control unit MCU accesses the main storage unit MSU using the address stored in this register CAR, reads out the correct data (1 byte) at that address, and holds it in the register CDR. Here, the service processor SVP registers ER
DR.

ERWNR,CDRの情報をスキャンアウトし、レジス
タERDRの1バイトデータとレジスタCDRの1バイ
トデータをビットレベルで比較してその不一致ビットの
位置をめ、これにウェイ情報を組み合わせることによっ
てバッファメモリBSの故障メモリ素子の指摘を行う。
By scanning out the information in ERWNR and CDR, comparing 1 byte data in register ERDR and 1 byte data in register CDR at the bit level to locate the mismatched bit, and combining this with way information, the buffer memory BS is Point out the faulty memory element.

即ちI10本例ではプリンタに信号を送って故障メモリ
素子のアドレスをプリントアウトさせる。
That is, I10 in this example sends a signal to the printer to print out the address of the failed memory element.

この方式では、エラーデータのアドレスによりSVPが
直接MSUをアクセスしてコレクトデータを取寄せると
いう方法をとるので、CPUの命令制御部が行なうリト
ライフェッチの場合のようにアドレスのマツチ検出など
は不要であり、CPUのハードウェアを簡素化すること
ができる。即ちアドレスマツチ回路や正解データ情報解
析回路などをCPUに設ける必要がなくなる。またCP
Uの命令制御部が行なうリトライフェッチでは■命令の
種類やタイミングによってリトライが不可能な場合があ
る、■分岐命令などで、先行フェッチしていた命令が実
行されない場合、マシンチェックのための処理が行なわ
れないので、リトライが行なわれない、などの理由で、
正解データが100%確実に得られる保証がないが、S
vPが行なう主記憶直接アクセスなら正解データ入手が
確実であり、従って故障メモリ素子の指摘が確実にでき
る。
In this method, the SVP directly accesses the MSU and retrieves the collect data based on the address of the error data, so there is no need to detect a match in the address as in the case of retry fetch performed by the instruction control unit of the CPU. , the CPU hardware can be simplified. That is, there is no need to provide an address match circuit, a correct data information analysis circuit, etc. in the CPU. Also CP
In the retry fetch performed by the instruction control unit of U, ■ retry may not be possible depending on the type and timing of the instruction; ■ If the instruction that was previously fetched is not executed due to a branch instruction, etc., processing for machine check is performed. Because it is not executed, retry is not performed, etc.
Although there is no guarantee that correct data will be obtained with 100% certainty, S
If the main memory is directly accessed by vP, correct data can be obtained with certainty, and therefore a faulty memory element can be reliably pointed out.

発明の効果 以上述べたように本発明によれば、CPU特にそのメモ
リ装置診断回路部のハードウェアを削減でき、SVPが
主記憶を直接アクセスしてコレクトデータを取寄せるの
で、正、誤データの比較、誤りビットの検出を確実に行
なうことができ、こうしてマシンチェック回路の充実に
より計算機の信頼性を一層高めることができる。
Effects of the Invention As described above, according to the present invention, the hardware of the CPU, especially its memory device diagnostic circuit section, can be reduced, and since the SVP directly accesses the main memory to retrieve collect data, it is possible to compare correct and incorrect data, Error bits can be detected reliably, and the reliability of the computer can be further improved by enriching the machine check circuit.

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

第1図および第2図は本発明の実施例を示すブロック図
である。 図面で、BSはバッファメモリ、MSUは主記憶装置、
ERDRは誤りデータレジスタ、ERARば誤りデータ
のアドレスレジスタ、ERWNRは連想記憶番号レジス
タ、CDRは正しいデータのレジスタ、CARは正しい
データのアドレスレジスタである。 出願人 富士通゛株式会社 代理人弁理士 青 柳 稔
1 and 2 are block diagrams showing embodiments of the present invention. In the drawing, BS is a buffer memory, MSU is a main storage device,
ERDR is an error data register, ERAR is an address register for error data, ERWNR is a content addressable memory number register, CDR is a register for correct data, and CAR is an address register for correct data. Applicant Fujitsu Co., Ltd. Representative Patent Attorney Minoru Aoyagi

Claims (1)

【特許請求の範囲】[Claims] バッファメモリから読み出したデータに誤りのあること
が検出されたとき、正しいデータを有する主記憶装置か
ら誤ったデータに対応する正しいデータを読み出し、こ
れらのデータをビットレベルで比較してバッファメモリ
の故障メモリ素子を指摘するメモリ装置診断方式におい
て、読出したデータに誤りのあることが検出されたとき
その誤りデータと、誤りデータのアドレスと、該バッフ
ァメモリの連想記憶番号を中央処理装置内に保持し、誤
りデータのアドレスと、誤りデータ及び連想記憶番号を
スキャンアウトによりサービスプロセッサに通知し、該
アドレスによりサービスプロセッサが主記憶装置を直接
アクセスして正しいデータを読み出し、誤りデータとビ
ットレベルで比較して故障メモリ素子を指摘することを
特徴とするメモリ装置診断方式。
When it is detected that there is an error in the data read from the buffer memory, correct data corresponding to the incorrect data is read from the main memory containing the correct data, and these data are compared at the bit level to detect a buffer memory failure. In a memory device diagnostic method that identifies a memory element, when an error is detected in read data, the error data, the address of the error data, and the associative memory number of the buffer memory are retained in the central processing unit. , the address of the error data, the error data, and the content addressable memory number are notified to the service processor by scanning out, and the service processor directly accesses the main memory using the address, reads the correct data, and compares it with the error data at the bit level. A memory device diagnostic method characterized by pointing out a faulty memory element.
JP59055912A 1984-03-23 1984-03-23 Memory diagnosis system Pending JPS60200352A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59055912A JPS60200352A (en) 1984-03-23 1984-03-23 Memory diagnosis system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59055912A JPS60200352A (en) 1984-03-23 1984-03-23 Memory diagnosis system

Publications (1)

Publication Number Publication Date
JPS60200352A true JPS60200352A (en) 1985-10-09

Family

ID=13012323

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59055912A Pending JPS60200352A (en) 1984-03-23 1984-03-23 Memory diagnosis system

Country Status (1)

Country Link
JP (1) JPS60200352A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02100742A (en) * 1988-10-07 1990-04-12 Nec Corp Trouble recovery system
JPH02103651A (en) * 1988-10-13 1990-04-16 Nec Corp System for remedying fault of control memory
JPH02199564A (en) * 1989-01-30 1990-08-07 Nec Corp Fault recovery system for control memory
CN108880674A (en) * 2018-08-28 2018-11-23 成都新易盛通信技术股份有限公司 A kind of optical module for local loopback test

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02100742A (en) * 1988-10-07 1990-04-12 Nec Corp Trouble recovery system
JPH02103651A (en) * 1988-10-13 1990-04-16 Nec Corp System for remedying fault of control memory
JPH02199564A (en) * 1989-01-30 1990-08-07 Nec Corp Fault recovery system for control memory
CN108880674A (en) * 2018-08-28 2018-11-23 成都新易盛通信技术股份有限公司 A kind of optical module for local loopback test
CN108880674B (en) * 2018-08-28 2023-08-22 成都新易盛通信技术股份有限公司 Optical module for local loop test

Similar Documents

Publication Publication Date Title
US4639917A (en) Fault determining apparatus for data transmission system
EP1659494A2 (en) Method and apparatus for classifying memory errors
EP1206739B1 (en) Methods and apparatus for correcting soft errors in digital data
US4231089A (en) Data processing system with apparatus for correcting microinstruction errors
JPH04220744A (en) Function testing method of cache tag ram in limited access processor system
JPS60200352A (en) Memory diagnosis system
US6920593B2 (en) Logical verification apparatus and method for memory control circuit
JP2806856B2 (en) Diagnostic device for error detection and correction circuit
KR950012495B1 (en) Memory device diagnosis apparatus and method thereof
JPH05165719A (en) Memory access processor
JPH04115339A (en) Memory error processing system
JPH01156834A (en) Diagnosing system for check circuit
JPS61110243A (en) Diagnostic system for error correcting and detecting circuit
JPH06149685A (en) Memory error recovering circuit
JPS6146539A (en) Diagnostic system for memory device
JPH06110721A (en) Memory controller
JPH04338847A (en) Address conversion buffer diagnostic device
JPS5899841A (en) Address controlling system of partially mounted control memory
JPS607821B2 (en) Storage device diagnostic processing method
JPH02297650A (en) Receiver
JPH04106647A (en) Memory diagnostic system
JPH0312748A (en) Trouble diagnostic system
JPH03191437A (en) Data processor
JPH05241974A (en) Memory device
JPH0553924A (en) System for testing storage device