JPH11282764A - Memory error point cut-off circuit - Google Patents

Memory error point cut-off circuit

Info

Publication number
JPH11282764A
JPH11282764A JP10083913A JP8391398A JPH11282764A JP H11282764 A JPH11282764 A JP H11282764A JP 10083913 A JP10083913 A JP 10083913A JP 8391398 A JP8391398 A JP 8391398A JP H11282764 A JPH11282764 A JP H11282764A
Authority
JP
Japan
Prior art keywords
error
memory
circuit
cache 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
JP10083913A
Other languages
Japanese (ja)
Inventor
Takeharu Yui
丈晴 湯井
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP10083913A priority Critical patent/JPH11282764A/en
Publication of JPH11282764A publication Critical patent/JPH11282764A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Memory System Of A Hierarchy Structure (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent a fault of CPU operation at the time of a memory error. SOLUTION: The device is provided with second circuits 17, 18 and 19 for outputting a first signal when there is an error in a cache memory 14. Third circuits 21, 22 and 23, which compare an address with an error and a value of an address bus to each other and output a second signal when they match, are provided. There are provided switches 4, 5, 9 and 25, which switch so that a main memory is accessed when an address with an error of the cache memory 14 is accessed.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、メモリのエラー
時における制御回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control circuit when a memory error occurs.

【0002】[0002]

【従来の技術】記憶素子(以下、メモリという。)の一
形態としてキャッシュメモリがある。キャッシュメモリ
とは、メモリを階層構造にし、高速アクセスを実現する
ものである。すなわち、大容量、低速のメインメモリと
中央処理装置(以下、CPUという。)の間に小容量、
高速のキャッシュメモリを置き、CPUがアクセスした
データをキャッシュメモリに一時保存する。CPUが高
い確率でキャッシュメモリからアクセスできるように設
計されていれば、CPUは、ほぼキャッシュメモリのア
クセス時間に近い速度でメインメモリをアクセスしてい
ることと等価となる。ここで、一般に、従来のキャッシ
ュメモリ制御回路では、キャッシュメモリがエラーした
場合、即座にエラー箇所を切り離す機構は無く、パリテ
ィエラーとしてソフトウェアに通知していた。
2. Description of the Related Art A cache memory is one form of a storage element (hereinafter referred to as a memory). A cache memory is a memory that has a hierarchical structure and realizes high-speed access. That is, a small capacity between a large-capacity, low-speed main memory and a central processing unit (hereinafter referred to as a CPU).
A high-speed cache memory is provided, and data accessed by the CPU is temporarily stored in the cache memory. If the CPU is designed so that it can be accessed from the cache memory with a high probability, it is equivalent to the CPU accessing the main memory at a speed almost equal to the access time of the cache memory. Here, in general, in the conventional cache memory control circuit, when an error occurs in the cache memory, there is no mechanism for immediately separating the error portion, and the software is notified of the error as a parity error.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、CPU
は、キャッシュメモリのエラー箇所を即座に切り離さな
いため、ソフトウェアがそのエラー処理を行おうとし
て、命令フェッチのスタック、プログラムの暴走などの
CPUにとってより深刻な障害を引き起こす可能性があ
る。又、一般的なメモリのエラーがあった場合について
も同様である。従って、この発明は、メモリエラー時に
おけるCPU動作の障害を防止することを目的とする。
SUMMARY OF THE INVENTION However, CPU
Does not immediately isolate the error location in the cache memory, and the software may attempt to handle the error, causing a more serious failure for the CPU such as an instruction fetch stack or a program runaway. The same applies to the case where there is a general memory error. Therefore, an object of the present invention is to prevent a failure of the CPU operation at the time of a memory error.

【0004】[0004]

【課題を解決するための手段】第1のメモリにエラーが
ある場合第1の信号を出力する第1の回路を設ける。エ
ラーがあるアドレスとアドレスバスの値を比較し、一致
した時に第2の信号を出力する第2の回路を設ける。第
1、第2の信号に基づいて、第1のメモリのエラーがあ
るアドレスにアクセスが生じた時、第2のメモリにアク
セスするように切り換えるスイッチを設ける。
A first circuit for outputting a first signal when there is an error in a first memory is provided. A second circuit is provided for comparing an address having an error with a value on an address bus and outputting a second signal when the values match. A switch is provided for switching to access the second memory when an error occurs in the address of the first memory based on the first and second signals.

【0005】[0005]

【発明の実施の形態】図1はこの発明の一実施の形態を
示す図である。1はCPUのライト信号やリード信号で
ある制御バス、2は制御バス1の信号を処理するアクセ
ス受信回路、3はアクセス受信回路2から出力されるキ
ャッシュメモリ起動信号、4、5はゲートである。6は
キャッシュメモリアクセス制御信号7を出力するキャッ
シュメモリアクセス制御回路、8はアクセス受信回路2
から出力されるメインメモリ起動信号、9はゲート、1
0はメインメモリ制御信号11を出力するメインメモリ
アクセス制御回路である。
FIG. 1 is a diagram showing an embodiment of the present invention. 1 is a control bus which is a write signal or a read signal of the CPU, 2 is an access receiving circuit for processing a signal of the control bus 1, 3 is a cache memory start signal output from the access receiving circuit 2, and 4 and 5 are gates. . Reference numeral 6 denotes a cache memory access control circuit for outputting a cache memory access control signal 7, and 8 denotes an access reception circuit 2.
A main memory start signal output from the
0 is a main memory access control circuit that outputs a main memory control signal 11.

【0006】12はアドレスバス、14はキャッシュメ
モリ、15はアドレスデコーダ、16はデータバス、1
7はキャッシュメモリ14からの出力データのパリティ
をチェックするパリティチェック回路である。18はパ
リティチェック回路17の出力であるパリティエラー信
号をエラーフラグレジスタ19に書き込むライト制御回
路、20はエラーフラグレジスタ19の出力であるパリ
ティエラー発生通知信号である。21はアドレスバス1
2とパリティエラー発生通知信号20を入力とし、イン
デックスレジスタ22にアドレスを書き込むアドレスラ
イト回路、23はインデックスレジスタ22とアドレス
バス12の値を比較する比較回路である。24は比較回
路23の出力であるインデックス一致通知信号、25は
ゲート、26はバッファ27の制御信号である。
[0006] 12 is an address bus, 14 is a cache memory, 15 is an address decoder, 16 is a data bus, 1
Reference numeral 7 denotes a parity check circuit for checking the parity of output data from the cache memory 14. Reference numeral 18 denotes a write control circuit for writing a parity error signal output from the parity check circuit 17 into the error flag register 19, and reference numeral 20 denotes a parity error occurrence notification signal output from the error flag register 19. 21 is an address bus 1
2 is an address write circuit which inputs the parity error notification signal 20 and writes an address to the index register 22, and 23 is a comparison circuit which compares the value of the index register 22 with the value of the address bus 12. Reference numeral 24 denotes an index match notification signal output from the comparison circuit 23, reference numeral 25 denotes a gate, and reference numeral 26 denotes a control signal for the buffer 27.

【0007】次に一実施の形態の構成について述べる。
制御バス1はアクセス受信回路2に入力される。アクセ
ス受信回路2の出力キャッシュメモリ起動信号3はアン
ドゲート4、5の一方に入力される。アンドゲート4の
出力はキャッシュメモリアクセス制御回路6に入力され
る。キャッシュメモリアクセス制御回路6の出力キャッ
シュメモリ制御信号7とアドレスバス12はキャッシュ
メモリ14に入力される。アドレスバス12はアドレス
デコーダ15に入力され、アドレスデコーダ15の出力
はキャッシュメモリ14に入力される。
Next, the configuration of an embodiment will be described.
The control bus 1 is input to the access receiving circuit 2. The output cache memory start signal 3 of the access receiving circuit 2 is input to one of the AND gates 4 and 5. The output of the AND gate 4 is input to the cache memory access control circuit 6. The output cache memory control signal 7 of the cache memory access control circuit 6 and the address bus 12 are input to the cache memory 14. The address bus 12 is input to an address decoder 15, and the output of the address decoder 15 is input to a cache memory 14.

【0008】キャッシュメモリ14の出力が接続される
データバス16はパリティチェック回路17に入力され
る。パリティチェック回路17の出力はライト制御回路
18に入力される。ライト制御回路18の出力はエラー
フラグレジスタ19に入力される。エラーフラグレジス
タ19の出力であるパリティエラー発生通知信号20
は、アドレスライト回路21とアンドゲート25の一方
に入力される。アドレスライト回路21にはアドレスバ
ス12も入力される。アドレスライト回路21の出力は
インデックスレジスタ22に入力され、インデックスレ
ジスタ22の出力とアドレスバス12は比較回路23に
入力される。又、インデックスレジスタ22の出力はバ
ッファ27に入力され、バッファ27の出力はデータバ
ス16に接続される。更に、バッファ27の制御信号2
6としてアクセス受信回路2の出力が入力される。
The data bus 16 to which the output of the cache memory 14 is connected is input to a parity check circuit 17. The output of the parity check circuit 17 is input to the write control circuit 18. The output of the write control circuit 18 is input to the error flag register 19. Parity error occurrence notification signal 20 output from error flag register 19
Is input to one of the address write circuit 21 and the AND gate 25. The address bus 12 is also input to the address write circuit 21. The output of the address write circuit 21 is input to the index register 22, and the output of the index register 22 and the address bus 12 are input to the comparison circuit 23. The output of the index register 22 is input to the buffer 27, and the output of the buffer 27 is connected to the data bus 16. Further, the control signal 2 of the buffer 27
As 6, the output of the access receiving circuit 2 is input.

【0009】比較回路23の出力インデックス一致通知
信号24はアンドゲート25の他方に入力される。アン
ドゲート25の出力は、アンドゲート4の他方である負
論理入力に接続されると共に、アンドゲート5の他方に
入力される。
The output index match notification signal 24 of the comparison circuit 23 is input to the other of the AND gate 25. The output of the AND gate 25 is connected to the other negative logic input of the AND gate 4 and is input to the other end of the AND gate 5.

【0010】アクセス受信回路2の出力メインメモリ起
動信号8はオアゲート9の一方に入力され、他方には、
アンドゲート5の出力が入力される。オアゲート9の出
力はメインメモリアクセス制御回路10に入力され、メ
インメモリ制御回路10の出力はメインメモリ制御信号
11となる。
An output main memory start signal 8 of the access receiving circuit 2 is input to one of the OR gates 9 and
The output of the AND gate 5 is input. The output of the OR gate 9 is input to the main memory access control circuit 10, and the output of the main memory control circuit 10 becomes the main memory control signal 11.

【0011】次に、図1を参照しながら動作について説
明する。まず、キャッシュメモリ14にパリティエラー
が発生していない正常動作について説明する。アクセス
受信回路2が制御バス1からメモリへのアクセスを関知
し、キャッシュメモリ14へのアクセスと判断したらキ
ャッシュメモリ起動信号3を、図示しないメインメモリ
へのアクセスと判断したらメインメモリ起動信号8を出
力する。
Next, the operation will be described with reference to FIG. First, a normal operation in which a parity error has not occurred in the cache memory 14 will be described. The access receiving circuit 2 recognizes the access from the control bus 1 to the memory, and outputs the cache memory start signal 3 when judging the access to the cache memory 14 and outputs the main memory start signal 8 when judging the access to the main memory (not shown). I do.

【0012】メインメモリアクセス制御回路10はメイ
ンメモリ起動信号8に基づいて、メインメモリ制御信号
11を出力する。
The main memory access control circuit 10 outputs a main memory control signal 11 based on the main memory start signal 8.

【0013】キャッシュメモリ起動信号3は、正常アク
セスの場合、キャッシュメモリアクセス制御回路6に通
知される。その後、キャッシュメモリアクセス制御回路
6はキャッシュメモリ制御信号7を起動し、キャッシュ
メモリ14は、アドレスバス12とアドレスデコーダ1
5に従い、データをデータバス16に出力する。
The cache memory start signal 3 is notified to the cache memory access control circuit 6 in the case of normal access. Thereafter, the cache memory access control circuit 6 activates the cache memory control signal 7, and the cache memory 14 stores the address bus 12 and the address decoder 1
5, the data is output to the data bus 16.

【0014】ついで、キャッシュメモリ14にエラーが
あった場合について説明する。キャッシュメモリ14の
出力はデータバス16に出力されるがこのデータはパリ
ティチェック回路17にてチェックされる。パリティチ
ェック回路17はキャッシュメモリ14がアクセスされ
るたびに出力データのパリティチェックを行い、エラー
があると、ライト制御回路18はエラーフラグレジスタ
19にエラーがあることを記憶させる。
Next, a case where an error occurs in the cache memory 14 will be described. The output of the cache memory 14 is output to the data bus 16, and this data is checked by the parity check circuit 17. The parity check circuit 17 performs a parity check on the output data every time the cache memory 14 is accessed, and if there is an error, the write control circuit 18 stores the error in the error flag register 19.

【0015】アドレスライト回路21は、パリティエラ
ー発生通知信号20があると、アドレスバス12の値を
インデックスレジスタ22に書き込む。比較回路23は
インデックスレジスタ22の値とアドレスバス12の値
を比較し、一致するとインデックス一致通知信号24を
出力する。
The address write circuit 21 writes the value of the address bus 12 to the index register 22 when the parity error occurrence notification signal 20 is received. The comparison circuit 23 compares the value of the index register 22 with the value of the address bus 12 and outputs an index match notification signal 24 when they match.

【0016】パリティエラー発生通知信号20とインデ
ックス一致通知信号24によりキャッシュメモリアクセ
ス制御回路6とメインメモリアクセス制御回路10はキ
ャッシュメモリ14にエラーが起きていることを知るこ
とができる。更に、パリティエラー発生発生通知信号2
0とインデックス一致通知信号24はゲート25、4、
5、9を通り、図示しないCPUがキャッシュメモリ1
4のエラー箇所にアクセスした時、キャッシュメモリ起
動信号3をメインメモリ制御信号に切り換える。すなわ
ち、キャッシュメモリ14からエラーが起きている箇所
を切り離す。そして、エラーを起こしている箇所へは、
図示しないメインメモリがアクセスされるようにする。
メモリエラー検出単位はキャッシュメモリ14のアドレ
ス単位で行うことができる。
The cache memory access control circuit 6 and the main memory access control circuit 10 can know that an error has occurred in the cache memory 14 from the parity error occurrence notification signal 20 and the index match notification signal 24. Further, a parity error occurrence notification signal 2
0 and the index match notification signal 24
5 and 9, the CPU (not shown)
When the error location 4 is accessed, the cache memory start signal 3 is switched to the main memory control signal. That is, the location where the error has occurred is separated from the cache memory 14. And to the place where the error is occurring,
A main memory (not shown) is accessed.
The memory error detection unit can be performed for each address of the cache memory 14.

【0017】又、インデックスレジスタ22の出力と、
パリティエラー発生通知信号20はバッファ27を通
し、データバス16へ接続されている。更に、バッファ
27は、アクセス受信回路2からのバッファ制御信号2
7により制御されているので、キャッシュメモリ14の
どの箇所にエラーがあったのか後で知ることができる。
The output of the index register 22 is:
The parity error occurrence notification signal 20 is connected to the data bus 16 through a buffer 27. Further, the buffer 27 receives the buffer control signal 2 from the access receiving circuit 2.
7, the location of the error in the cache memory 14 can be known later.

【0018】以上のように、一実施の形態では、キャッ
シュメモリのエラー箇所を即座に切り離すため、命令フ
ェッチのスタック、プログラムの暴走などのCPUにと
って深刻な障害を回避することができる。
As described above, in one embodiment, since an error location in the cache memory is immediately separated, a serious obstacle to the CPU such as an instruction fetch stack or a program runaway can be avoided.

【0019】又、キャッシュメモリ14を一般的なメモ
リとし、図示しないメイン・メモリをバック・アップ・
メモリとすれば、一般的なメモリがエラーしてもバック
・アップ・メモリに切り換えられる。すなわち、CPU
がメモリを有するシステムにおいて、メモリにエラーが
生じても、CPUは暴走などの深刻な障害を回避でき、
通常の動作を継続できる。
The cache memory 14 is a general memory, and a main memory (not shown) is backed up.
If it is a memory, even if an error occurs in a general memory, the memory can be switched to a backup memory. That is, CPU
In a system that has a memory, even if an error occurs in the memory, the CPU can avoid a serious obstacle such as runaway,
Normal operation can be continued.

【0020】[0020]

【発明の効果】以上のように、メモリエラー時における
CPU動作の障害を防止することができる。更に、バッ
ファを設けたので、エラーのあった箇所のアドレスが分
かり、障害検索に役立つ。
As described above, it is possible to prevent a failure of the CPU operation at the time of a memory error. Further, since the buffer is provided, the address of the place where an error has occurred can be known, which is useful for trouble search.

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

【図1】一実施の形態を示す図である。FIG. 1 is a diagram showing one embodiment.

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

2…アクセス受信回路 6…キャッシュメモリアクセス制御回路 10…メインメモリアクセス制御回路 14…キャッシュメモリ 15…アドレスデコーダ 17…パリティチェック回路 18…ライト制御回路 19…エラーフラグレジスタ 21…アドレスライト回路 22…インデックスレジスタ 23…比較回路 27…バッファ 2 access reception circuit 6 cache memory access control circuit 10 main memory access control circuit 14 cache memory 15 address decoder 17 parity check circuit 18 write control circuit 19 error flag register 21 address write circuit 22 index Register 23: Comparison circuit 27: Buffer

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 中央処理装置が第1のメモリへアクセス
を行い、前記第1のメモリにエラーがあるアドレスへの
アクセスを第2のメモリへ切り換える回路において、 前記第1のメモリにエラーがある場合第1の信号を出力
する第1の回路と、 前記エラーがあるアドレスとアドレスバスの値を比較
し、一致した時に第2の信号を出力する第2の回路と、 前記第1、第2の信号に基づいて、前記第1のメモリの
エラーがあるアドレスにアクセスが生じた時、第2のメ
モリにアクセスするように切り換えるスイッチと、 を設けたことを特徴とするメモリーエラー箇所切り離し
回路。
1. A circuit in which a central processing unit accesses a first memory and switches access to an address having an error in the first memory to a second memory, wherein the first memory has an error. A first circuit that outputs a first signal, a second circuit that compares the address with the error and the value of the address bus, and outputs a second signal when they match, a first circuit that outputs the first signal; A switch for switching to access a second memory when an address of the first memory having an error is accessed based on the signal of (a).
【請求項2】 前記回路からの出力を制御信号とし、前
記エラーがあるアドレスと前記第1の信号をデータバス
へ出力するバッファを設けたことを特徴とする請求項1
記載のメモリーエラー箇所切り離し回路。
2. A buffer according to claim 1, wherein an output from said circuit is used as a control signal, and a buffer is provided for outputting said address having said error and said first signal to a data bus.
The described memory error location isolation circuit.
JP10083913A 1998-03-30 1998-03-30 Memory error point cut-off circuit Pending JPH11282764A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10083913A JPH11282764A (en) 1998-03-30 1998-03-30 Memory error point cut-off circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10083913A JPH11282764A (en) 1998-03-30 1998-03-30 Memory error point cut-off circuit

Publications (1)

Publication Number Publication Date
JPH11282764A true JPH11282764A (en) 1999-10-15

Family

ID=13815852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10083913A Pending JPH11282764A (en) 1998-03-30 1998-03-30 Memory error point cut-off circuit

Country Status (1)

Country Link
JP (1) JPH11282764A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2008155805A1 (en) * 2007-06-20 2010-08-26 富士通株式会社 Cache memory device, arithmetic processing device and control method thereof
CN102495770A (en) * 2011-11-24 2012-06-13 曙光信息产业股份有限公司 Method and system for computer memory error analysis
US9330791B2 (en) 2013-11-18 2016-05-03 Samsung Electronics Co., Ltd. Memory systems and methods of managing failed memory cells of semiconductor memories

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2008155805A1 (en) * 2007-06-20 2010-08-26 富士通株式会社 Cache memory device, arithmetic processing device and control method thereof
JP4595029B2 (en) * 2007-06-20 2010-12-08 富士通株式会社 Cache memory device, arithmetic processing device and control method thereof
US8700947B2 (en) 2007-06-20 2014-04-15 Fujitsu Limited Cache memory apparatus, execution processing apparatus and control method thereof
CN102495770A (en) * 2011-11-24 2012-06-13 曙光信息产业股份有限公司 Method and system for computer memory error analysis
US9330791B2 (en) 2013-11-18 2016-05-03 Samsung Electronics Co., Ltd. Memory systems and methods of managing failed memory cells of semiconductor memories

Similar Documents

Publication Publication Date Title
CA1310430C (en) Hot standby memory copy system
US5504859A (en) Data processor with enhanced error recovery
JP3484093B2 (en) Associative memory
JPH02135536A (en) Check point retrial mechanism
US6188619B1 (en) Memory device with address translation for skipping failed memory blocks
US5060188A (en) System using registers for maintaining data address and class information from previous module accesses for predictive memory module selection
US8468397B2 (en) Error controlling system, processor and error injection method
JPH07121439A (en) Constituent body for usage of partially functional cache memory
US5359557A (en) Dual-port array with storage redundancy having a cross-write operation
JPH11282764A (en) Memory error point cut-off circuit
JP3534917B2 (en) Memory access control method
US6339823B1 (en) Method and apparatus for selective writing of incoherent MMX registers
JPH06180675A (en) Method and apparatus for inspecting validity of bus configuration of multiple-source disk array bus
JPS59214952A (en) Processing system of fault
JPH05143242A (en) Magnetic disk system
JPH0316655B2 (en)
JP2751822B2 (en) Memory control method for FIFO memory device
JP3239935B2 (en) Tightly-coupled multiprocessor system control method, tightly-coupled multiprocessor system, and recording medium therefor
JP3500561B2 (en) Shared data buffer
JP2546411B2 (en) Cache memory device
JPS62212751A (en) Data processor
JPH04115339A (en) Memory error processing system
JPH04243446A (en) Cache registration controller
KR100426943B1 (en) How to handle operating system errors in the redundant system of exchanges
JPH0266652A (en) Cache memory

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050124

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20060923

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20060929

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20061013

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070703

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071211