JPH05346890A - Data invalidation control system - Google Patents

Data invalidation control system

Info

Publication number
JPH05346890A
JPH05346890A JP4179308A JP17930892A JPH05346890A JP H05346890 A JPH05346890 A JP H05346890A JP 4179308 A JP4179308 A JP 4179308A JP 17930892 A JP17930892 A JP 17930892A JP H05346890 A JPH05346890 A JP H05346890A
Authority
JP
Japan
Prior art keywords
data
invalidation
address
memory
microprocessor
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
JP4179308A
Other languages
Japanese (ja)
Inventor
Kenji Shirai
健治 白井
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP4179308A priority Critical patent/JPH05346890A/en
Publication of JPH05346890A publication Critical patent/JPH05346890A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)
  • Detection And Correction Of Errors (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To obtain a microprocessor whose reliability and availability are high by constituting it so that even when a parity error is detected in an invalidated address, a processing is continued without suspending an instruction processing and an interruption processing which are being executed at present, and also, a coincidence property of data of a cache memory and data of a main storage device can be secured. CONSTITUTION:In the case a parity error is detected in an invalidated address, a reference to a continued cache memory 22 is inhibited temporarily, and all entries of the cache memory 22 are invalidated forcibly, by which an instruction processing and an interruption processing which are being executed at present are continued, and also, a coincidence property of data of the cache memory 22 and data of a main storage device 24 is secured.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は緩衝記憶装置(以下キ
ャッシュメモリという)をもつマイクロプロセッサと主
記憶装置を備えたコンピュータシステムにおいてキャッ
シュメモリ内のデータと主記憶装置内のデータとの一致
性保証のためのキャッシュメモリ内のデータを無効化す
るデータ無効化制御方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to guaranteeing consistency between data in a cache memory and data in a main memory in a computer system having a microprocessor having a buffer memory (hereinafter referred to as cache memory) and a main memory. The present invention relates to a data invalidation control method for invalidating the data in the cache memory for.

【0002】[0002]

【従来の技術】キャッシュメモリは、主記憶装置の領域
をあるサイズに均等に分割した単位(これをブロックと
呼ぶ)で主記憶装置内データを内部に保持しており、ま
た、このブロックのキャッシュメモリ内部でのアドレス
と主記憶装置内でのアドレス(主記憶アドレスと呼ぶ)
を対応つけるための情報(これを連想記憶アドレス情報
またはタグ情報と呼ぶ)も保持している。同時にキャッ
シュメモリ内アドレスに対応したブロック(キャッシュ
エントリと呼ぶ)が主記憶装置内データと正しく一致し
ており有効であることを示す状態情報(バリッドビット
とも呼ぶ)を保持している。この主記憶装置内ブロック
とキャッシュメモリ内ブロックの対応付け方式、または
連想方式において、主記憶アドレスを特定のキャッシュ
エントリに1対1で対応つける方式をダイレクトマップ
連想記憶方式と呼び、N個のキャッシュエントリに対応
つける方式をNウエイーセット・アソシアティブ連想記
憶方式と呼ぶ。命令実行などに伴って発せられる主記憶
装置へのアクセスに対してその主記憶アドレスに対応し
たデータが含むブロックがキャッシュメモリ内に存在す
るかどうかは、キャッシュメモリ内のタグ情報が主記憶
アドレスのそれと一致しかつ有効なキャッシュエントリ
である場合、上記ブロックが存在すると判定される。こ
れをキャッシュヒットと呼び、上記ブロックが存在しな
い場合キャッシュミスと呼ぶ。また命令実行などに伴っ
て発せられる主記憶装置内データの変更操作に際してキ
ャッシュヒットやキャッシュミスに関わらず常に主記憶
装置内データを変更する方式をストアスルー方式による
主記憶更新制御と呼ぶ。この時キャッシュヒットした場
合はキャッシュメモリ内ブロックも同時に更新するのが
一般的であり、この方式によればキャッシュメモリ内ブ
ロックデータと対応する主記憶装置内ブロックデータは
常に一致していることが保証されている。
2. Description of the Related Art A cache memory internally holds data in the main storage device in units of an area of the main storage device evenly divided into a certain size (this is called a block). Address in memory and address in main memory (called main memory address)
It also holds information for associating with each other (this is called associative storage address information or tag information). At the same time, the block (called a cache entry) corresponding to the address in the cache memory holds the state information (also called a valid bit) indicating that the block correctly matches the data in the main memory and is valid. In this method of associating blocks in the main memory device with blocks in the cache memory, or in the associative method, the method of associating the main memory address with a specific cache entry on a one-to-one basis is called a direct map associative memory method, and N caches A method of associating with an entry is called an N-way set associative associative memory method. For the access to the main memory that is issued in response to the execution of an instruction, the tag information in the cache memory determines whether the block containing the data corresponding to the main memory address exists in the cache memory. If it matches and is a valid cache entry, it is determined that the block exists. This is called a cache hit, and if the above block does not exist, it is called a cache miss. Further, a method of constantly changing the data in the main storage device regardless of a cache hit or a cache miss in the operation of changing the data in the main storage device, which is issued along with the execution of an instruction, is called the main memory update control by the store-through method. If there is a cache hit at this time, it is general to update the block in the cache memory at the same time. According to this method, it is guaranteed that the block data in the cache memory and the corresponding block data in the main memory always match. Has been done.

【0003】ここで他のプロセッサや装置が主記憶装置
内データの更新を行った場合、この一致性の保証ができ
なくなるのでキャッシュメモリ内ブロックの無効化処理
機能が必要になってくる。このキャッシュ無効化処理と
は、変更される主記憶アドレスに対応したブロックを指
定する無効化アドレスと、そのアドレスに対応した有効
なキャッシュエントリがあれば、それを無効状態にする
ことを要求する無効化要求信号をキャッシュメモリに送
り、キャッシュメモリはこの無効化要求信号と無効化ア
ドレスにより該当キャッシュエントリが内部でキャッシ
ュヒットした場合、バリッドビットを無効状態にするこ
とによりキャッシュメモリ内ブロックデータと主記憶装
置内ブロックデータの一致性を保証する処理のことを言
う。更に無効化アドレスの信頼性を向上させるために冗
長ビットであるパリティビットを同時に無効化アドレス
に付加してある。
If another processor or device updates the data in the main storage device, the matching cannot be guaranteed, and a function for invalidating the block in the cache memory is needed. This cache invalidation processing is an invalidation address that specifies a block corresponding to the main memory address to be changed, and an invalidation request that invalidates any valid cache entry corresponding to that address. When an invalidation request signal and an invalidation address cause an internal cache hit in the cache entry by the invalidation request signal and invalidation address, the cache memory sets block data in the cache memory and main memory by invalidating the valid bit. This is a process that guarantees the consistency of block data in the device. Further, in order to improve the reliability of the invalidation address, a parity bit which is a redundant bit is simultaneously added to the invalidation address.

【0004】図2は後述する従来例及び実施例に用いら
れるコンピュータシステムの構成を示すブロック図あ
る。図2において、24はデータ処理に必要なデータを
記憶する主記憶装置、21はデータ処理の高速化を図る
ために主記憶装置24内の一部のデータを格納したり主
記憶装置24内のデータの更新制御を行うためのキャッ
シュメモリ22と上記キャッシュ無効化処理を行う無効
化部23とを備えたマイクロプロセッサである。
FIG. 2 is a block diagram showing the configuration of a computer system used in a conventional example and an embodiment described later. In FIG. 2, reference numeral 24 is a main storage device that stores data necessary for data processing, and 21 is a part of the main storage device 24 that stores some data in the main storage device 24 in order to speed up data processing. It is a microprocessor provided with a cache memory 22 for performing data update control and an invalidation unit 23 for performing the cache invalidation processing.

【0005】図3はストアスルー方式による主記憶装置
内のデータの更新制御を行うキャッシュメモリを内蔵す
るマイクロプロセッサにおける従来のデータ無効化制御
方式の構成を示すブロック図である。図3において、1
は内蔵キャッシュメモリの連想記憶アドレスを保持して
いるタグメモリ、2はタグメモリ1から読み出された連
想アドレス情報と入力されたアドレスとを比較し両者が
一致した場合ヒット信号を出力する比較器、3は内蔵キ
ャッシュメモリの連想記憶状態情報として該当キャッシ
ュエントリの有効/無効状態を保持しているステータス
メモリ、4は無効化アドレスとパリティビットを入力と
しパリティチェックを行いエラー検出時にパリティラエ
ー信号を出力するパリティチェッカ、5は無効化要求信
号が入力された時に比較器2からのヒット信号出力が検
知された場合ステータスメモリ3の該当エントリを無効
化するための制御回路をそれぞれ示す。なお、ステータ
スメモリ3のエントリの無効化はキャッシュメモリのエ
ントリの無効化に相当するものとして以下説明する。
FIG. 3 is a block diagram showing the configuration of a conventional data invalidation control system in a microprocessor having a built-in cache memory for controlling the update of data in the main memory by the store-through system. In FIG. 3, 1
Is a tag memory that holds the associative memory address of the built-in cache memory, and 2 is a comparator that compares the associative address information read from the tag memory 1 with the input address and outputs a hit signal if they match. 3 is a status memory that holds the valid / invalid state of the corresponding cache entry as associative storage state information of the built-in cache memory. 4 is the invalidation address and the parity bit as input and performs a parity check and outputs a parity laye signal when an error is detected. Parity checkers 5 and 5 indicate control circuits for invalidating the corresponding entry in the status memory 3 when the hit signal output from the comparator 2 is detected when the invalidation request signal is input. The invalidation of the entry in the status memory 3 will be described below as being equivalent to the invalidation of the entry in the cache memory.

【0006】従来のマイクロプロセッサのキャッシュ無
効化機能の動作について図3を用いて説明する。入力さ
れた無効化アドレスはタグメモリ1を参照して連想アド
レス情報をタグメモリ1から読み出し、読み出された連
想アドレス情報と入力された無効化アドレスは比較器2
にて比較され両者が一致した場合は比較器2からヒット
信号が出力される。この時、無効化要求信号入力とヒッ
ト信号を入力した制御回路5はステータスメモリ3の該
当アドレスに対応しているキャッシュエントリに記憶さ
れている連想記憶状態情報を無効状態にするような制御
を行う。その時同時にパリティチェッカ4は入力された
無効化アドレスのパリティチェックを行い、パリティエ
ラーが検出された場合は制御回路5で無効化したキャッ
シュエントリが誤ったエントリであり、かつ無効化アド
レスそのものにパリティエラーが発生しているので、正
しいアドレスであった保証がなく、従って本来無効化さ
せるべきキャッシュエントリが無効化されずに有効状態
のままであるので、これ以上正常な命令実行や割り込み
処理を行うことができずパリティエラー信号を出力し現
在実行中の処理の中断を要求する。
The operation of the cache invalidation function of the conventional microprocessor will be described with reference to FIG. The input invalidation address refers to the tag memory 1 to read the associative address information from the tag memory 1, and the read associative address information and the input invalidation address are compared by the comparator 2
When the two are compared with each other and the two match, the comparator 2 outputs a hit signal. At this time, the control circuit 5 that receives the invalidation request signal input and the hit signal performs control such that the associative memory state information stored in the cache entry corresponding to the corresponding address in the status memory 3 is invalidated. .. At the same time, the parity checker 4 performs a parity check on the input invalidation address, and if a parity error is detected, the cache entry invalidated by the control circuit 5 is an incorrect entry and the invalidation address itself has a parity error. Since there is a problem that the correct address is not guaranteed, the cache entry that should be invalidated is not invalidated and remains valid, so that normal instruction execution and interrupt processing should be performed. However, the parity error signal is output and the interruption of the processing currently being executed is requested.

【0007】[0007]

【発明が解決しようとする課題】従来のマイクロプロセ
ッサにおけるデータ無効化制御方式は、以上のように、
無効化アドレスにパリティエラーが検出された場合、本
来無効化されるべきキャッシュエントリが無効化されず
に有効状態のままになるような制御を行うので、これ以
上正常な命令実行や割り込み処理を行うことができず現
在実行中の処理を中断しなければならなく、マイクロプ
ロセッサの信頼性と可用性が著しく低下するという問題
点があった。
As described above, the data invalidation control system in the conventional microprocessor is as follows.
When a parity error is detected in the invalidation address, the cache entry that should be invalidated is not invalidated but remains valid. Therefore, normal instruction execution and interrupt processing are performed. However, there is a problem that the reliability and availability of the microprocessor deteriorates remarkably because the processing currently being executed cannot be performed and must be interrupted.

【0008】この発明は上記のような問題点を解消する
ためになされたもので、無効化アドレスにパリティエラ
ーが検出されても現在実行中の命令処理や割り込み処理
を中断することなく処理を続行し、かつキャッシュメモ
リのデータと主記憶装置のデータとの一致性を保証でき
るようなマイクロプロセッサを実現できるデータ無効化
制御方式を得ることを目的とする。
The present invention has been made in order to solve the above problems, and even if a parity error is detected in an invalidation address, the processing is continued without interrupting the currently executed instruction processing or interrupt processing. It is also an object of the present invention to provide a data invalidation control method capable of realizing a microprocessor capable of guaranteeing the consistency between the data in the cache memory and the data in the main memory.

【0009】[0009]

【課題を解決するための手段】この発明に係わるデータ
無効化制御方式は、無効化アドレスにパリティエラーが
検出された場合、継続するキャッシュメモリ22への参
照を一時的に抑止し、キャッシュメモリ22の全エント
リを強制的に無効化することにより、現在実行中の命令
処理や割り込み処理を続行し、かつキャッシュメモリ2
2のデータと主記憶装置24のデータとの一致性を保証
するようにしたものである。
According to the data invalidation control method of the present invention, when a parity error is detected in an invalidation address, the continuous reference to the cache memory 22 is temporarily suppressed, and the cache memory 22 is prevented. By forcibly invalidating all entries of the cache memory, instruction processing and interrupt processing currently being executed are continued, and the cache memory 2
The consistency between the data of No. 2 and the data of the main memory 24 is guaranteed.

【0010】[0010]

【作用】無効化アドレスにパリティエラーが検出された
場合、パリティエラー信号はキャッシュメモリ22の全
エントリの連想記憶情報をすべて強制的に無効状態にす
る。
When a parity error is detected in the invalidation address, the parity error signal forcibly invalidates all the associative memory information of all entries in the cache memory 22.

【0011】[0011]

【実施例】【Example】

実施例1.(請求項1対応) 図1はこの発明の一実施例に係るデータ無効化制御方式
によるマイクロプロセッサの無効化部(図2参照)の構
成を示すブロック図である。図1において、1は内蔵キ
ャッシュメモリの連想記憶アドレスを保持しているタグ
メモリ、2はタグメモリ1から読みだされた連想アドレ
ス情報と入力されたアドレスとを比較し両者が一致した
場合ヒット信号2aを出力する比較器である。3は内蔵
キャッシュメモリの連想記憶状態情報として該当キャッ
シュエントリの有効/無効状態を保持しているステータ
スメモリで、各連想記憶情報は指定されたアドレスに対
応て1ビット単位に有効/無効状態にできると同時に全
エントリを無効状態にできよるように構成されている。
4は無効化アドレスとパリティビットを入力としパリテ
ィチェックを行い、エラー検出時にパリティエラー信号
4aを出力するパリティチェッカである。6は無効化要
求信号が入力された時に比較器2からのヒット信号出力
が検知され、かつ無効化アドレスにパリティエラーが検
出されない場合ステータスメモリ3の該当エントリを無
効化し、入力された無効化アドレスにパリティエラーが
検出された場合ステータスメモリ3の全エントリを無効
化するための制御回路である。
Example 1. (Corresponding to Claim 1) FIG. 1 is a block diagram showing a configuration of an invalidation unit (see FIG. 2) of a microprocessor according to a data invalidation control system according to an embodiment of the present invention. In FIG. 1, 1 is a tag memory that holds the associative memory address of the internal cache memory, and 2 is a hit signal when the associative address information read from the tag memory 1 and the input address are compared and both match. It is a comparator that outputs 2a. 3 is a status memory that holds the valid / invalid state of the corresponding cache entry as associative memory state information of the built-in cache memory. Each associative memory information can be validated / invalidated in 1-bit units corresponding to a specified address. At the same time, all entries can be made invalid.
Reference numeral 4 is a parity checker that inputs a nullification address and a parity bit, performs a parity check, and outputs a parity error signal 4a when an error is detected. 6 indicates that when the hit signal output from the comparator 2 is detected when the invalidation request signal is input and no parity error is detected in the invalidation address, the corresponding entry in the status memory 3 is invalidated, and the input invalidation address is input. This is a control circuit for invalidating all the entries in the status memory 3 when a parity error is detected.

【0012】次に図1を用いてこの実施例の動作につい
て説明する。当該マイクロプロセッサ内部に存在しスト
アスルー方式により主記憶装置内のデータの更新制御を
行うためのキャッシュメモリ内のデータと、当該マイク
ロプロセッサ外部の主記憶装置内のデータ、あるいは当
該マイクロプロセッサとは異なるマイクロプロセッサ内
部に存在するキャッシュメモリ内のデータとの一致性保
証(キャッシュコヒーレンシー)のための無効化要求信
号と無効化アドレスと該アドレスのパリティビットを入
力し内部のキャッシュメモリ内の該当エントリを無効化
する機能を有するマイクロプロセッサにおいて、入力さ
れた無効化アドレスにパリティエラーが検出された場
合、当該マイクロプロセッサ内部のキャッシュメモリ内
の全エントリを無効化する。この動作を以下に詳細に説
明する。
Next, the operation of this embodiment will be described with reference to FIG. The data in the cache memory that exists inside the microprocessor and controls update of the data in the main memory by the store-through method is different from the data in the main memory outside the microprocessor or the microprocessor. Input the invalidation request signal, invalidation address, and parity bit of the invalidation request signal to guarantee the consistency with the data in the cache memory inside the microprocessor (cache coherency), and invalidate the corresponding entry in the internal cache memory. When a parity error is detected in the input invalidation address in the microprocessor having the function of converting, all the entries in the cache memory inside the microprocessor are invalidated. This operation will be described in detail below.

【0013】入力された無効化アドレスはタグメモリ1
を参照して連想アドレス情報をタグメモリ1から読み出
し、読み出された連想アドレス情報と入力された無効化
アドレスは比較器2にて比較され両者が一致した場合は
ヒット信号2aが出力される。また同時にパリティチェ
ッカ4は入力された無効化アドレスのパリティチェック
を行い、エラー検出時にパリティエラー信号4aを出力
する。この時無効化要求信号とヒット信号2aとパリテ
ィエラー信号4aを入力した制御回路6はそれぞれの信
号の状態によって以下の制御を行う。即ち、制御回路6
は、無効化要求信号が出力されており、ヒット信号4a
が出力されており、パリティエラー信号4aが出力され
ていない時、ステータスメモリ3へエントリ無効化要求
信号6aを出力し、ステータスメモリ3の該当アドレス
に対応しているエントリに記憶されている連想記憶状態
情報を無効状態にするような制御を行う。また制御回路
6は、無効化要求信号が出力されておりヒット信号2a
に係わらずパリティエラー信号4aが出力されている
時、ステータスメモリ3へ全エントリ無効化要求信号6
bを出力しステータスメモリ3のすべてのアドレスに対
応している全エントリに記憶されている連想記憶状態情
報を同時に無効状態にするような制御を行い、それ以外
の場合はステータスメモリ3内の連想記憶状態情報に変
更を与えない。
The input invalidation address is the tag memory 1
, The associative address information is read from the tag memory 1, the read associative address information and the input invalidation address are compared by the comparator 2, and a hit signal 2a is output when the two match. At the same time, the parity checker 4 performs a parity check on the input invalidation address and outputs a parity error signal 4a when an error is detected. At this time, the control circuit 6 which receives the invalidation request signal, the hit signal 2a, and the parity error signal 4a performs the following control according to the state of each signal. That is, the control circuit 6
Indicates that the invalidation request signal is output, and the hit signal 4a
Is output and the parity error signal 4a is not output, the entry invalidation request signal 6a is output to the status memory 3, and the associative memory stored in the entry corresponding to the corresponding address of the status memory 3 is output. Control is performed so that the state information is invalid. Further, the control circuit 6 outputs the invalidation request signal and the hit signal 2a.
Irrespective of the above, when the parity error signal 4a is being output, the all-entry invalidation request signal 6 is sent to the status memory 3.
b is output and the associative memory state information stored in all entries corresponding to all addresses in the status memory 3 is controlled to be invalid at the same time. In other cases, the associative memory state information is stored in the status memory 3. Do not change the memory status information.

【0014】また制御回路6は、無効化要求信号入力を
受け付けるとその制御が完了するまで引き続くキャッシ
ュメモリへの参照を受け付けないように制御されて動作
するものとする。更に無効化アドレスのパリティエラー
信号出力は現在実行中の処理の中断要求を行わないよう
に構成されている。
When the invalidation request signal input is accepted, the control circuit 6 is controlled and operated so as not to accept subsequent reference to the cache memory until the control is completed. Further, the output of the parity error signal of the invalidation address is configured not to request the interruption of the process currently being executed.

【0015】実施例2.なお、上述の説明ではステータ
スメモリ3は全エントリを同時に無効状態にするような
構成にした場合の例であったが、ステータスメモリ3の
アドレスをカウントするカウンタを設け、ステータスメ
モリ3の全アドレスに対して無効状態にする操作を繰り
返すように制御回路を構成しても同様の効果が得られる
ことは言うまでもない。
Example 2. In the above description, the status memory 3 is an example in which all the entries are invalidated at the same time. However, a counter for counting the addresses of the status memory 3 is provided, and all the addresses of the status memory 3 are provided. It is needless to say that the same effect can be obtained even if the control circuit is configured to repeat the operation of invalidating the control circuit.

【0016】実施例3.また、前述の説明ではタグメモ
リ1、比較器2、ステータスメモリ3はそれぞれ1組ず
つダイレクト・マップ連想記憶方式での例であったが、
これを複数組設けたセット・アソシアティブ連想記憶方
式であっても同様の効果が得られることは言うまでもな
い。
Embodiment 3. Further, in the above description, the tag memory 1, the comparator 2, and the status memory 3 are each an example of the direct map associative storage system.
It goes without saying that the same effect can be obtained even with a set associative associative memory system in which a plurality of sets are provided.

【0017】[0017]

【発明の効果】以上のようにこの発明によれば、入力さ
れた無効化アドレスにパリティエラーが検出された場
合、当該マイクロプロセッサ内部の緩衝記憶装置内の全
エントリを無効化するように構成したので、データの一
致性を保証しつつ現在実行中の命令処理や割り込み処理
を中断することなく処理を継続でき、これにより信頼性
と可用性が高いマイクロプロセッサが得られるという効
果がある。
As described above, according to the present invention, when a parity error is detected in the input invalidation address, all the entries in the buffer memory device in the microprocessor are invalidated. Therefore, there is an effect that the processing can be continued without interrupting the instruction processing and the interrupt processing which are currently being executed while guaranteeing the consistency of data, and thus a microprocessor having high reliability and availability can be obtained.

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

【図1】この発明の一実施例に係るデータ無効化制御方
式の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a data invalidation control method according to an embodiment of the present invention.

【図2】従来例及び実施例に係るコンピュータシステム
の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of a computer system according to a conventional example and an example.

【図3】従来のデータ無効化制御方式の構成を示すブロ
ック図である。
FIG. 3 is a block diagram showing a configuration of a conventional data invalidation control method.

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

1 タグメモリ 2 比較器 3 ステータスメモリ 4 パリティチェッカ 6 制御回路 21 マイクロプロセッサ 22 キャッシュメモリ 23 無効化部 24 主記憶装置 1 Tag Memory 2 Comparator 3 Status Memory 4 Parity Checker 6 Control Circuit 21 Microprocessor 22 Cache Memory 23 Invalidation Section 24 Main Storage Device

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成4年10月7日[Submission date] October 7, 1992

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】特許請求の範囲[Name of item to be amended] Claims

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【特許請求の範囲】[Claims]

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 データ処理の高速化を図るために主記憶
装置内の一部のデータを格納するとともに該主記憶装置
内のデータの更新制御を行うための緩衝記憶装置を備え
たマイクロプロセッサであって、当該マイクロプロセッ
サの緩衝記憶装置内のデータと、当該マイクロプロセッ
サ外部の主記憶装置内のデータ、あるいは当該マイクロ
プロセッサとは異なるマイクロプロセッサ内部に存在す
る緩衝記憶装置内のデータとの一致性保証のために、上
記主記憶装置内のデータの更新があった場合、更新され
たデータが格納されている主記憶装置のアドレスを指定
する無効化アドレスと、この無効化アドレスに対応した
有効な緩衝記憶装置内のエントリがあればそのエントリ
を無効状態にすることを要求する無効化要求信号と、上
記無効化アドレスのパリティビットとを入力し、上記緩
衝記憶装置内の該当エントリを無効化する機能を有する
マイクロプロセッサにおいて、当該マイクロプロセッサ
へ入力された無効化アドレスにパリティエラーが検出さ
れた場合、継続する緩衝記憶装置への参照を一時的に抑
止し該緩衝記憶装置内の全エントリを強制的に無効化す
ることにより、現在実行中の命令処理や割り込み処理を
続行し、かつ上記一致性保証を行うことを特徴とするデ
ータ無効化制御方式。
1. A microprocessor provided with a buffer memory device for storing a part of data in a main memory device for speeding up data processing and controlling update of the data in the main memory device. Therefore, the consistency between the data in the buffer storage device of the microprocessor and the data in the main storage device outside the microprocessor, or the data in the buffer storage device inside the microprocessor different from the microprocessor. For the purpose of guarantee, when the data in the main memory is updated, the invalidation address that specifies the address of the main memory in which the updated data is stored and the valid address corresponding to this invalidation address. If there is an entry in the buffer storage device, an invalidation request signal requesting that the entry be invalidated, and the invalidation address In the microprocessor having the function of invalidating the corresponding entry in the buffer memory device by inputting the parity bit, the buffer memory device that continues when a parity error is detected in the invalidation address input to the microprocessor. By temporarily suppressing the reference to and forcibly invalidating all the entries in the buffer storage device, the instruction processing and the interrupt processing currently being executed are continued, and the above-mentioned consistency is guaranteed. Data invalidation control method.
JP4179308A 1992-06-12 1992-06-12 Data invalidation control system Pending JPH05346890A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4179308A JPH05346890A (en) 1992-06-12 1992-06-12 Data invalidation control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4179308A JPH05346890A (en) 1992-06-12 1992-06-12 Data invalidation control system

Publications (1)

Publication Number Publication Date
JPH05346890A true JPH05346890A (en) 1993-12-27

Family

ID=16063563

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4179308A Pending JPH05346890A (en) 1992-06-12 1992-06-12 Data invalidation control system

Country Status (1)

Country Link
JP (1) JPH05346890A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6546501B1 (en) 1999-09-08 2003-04-08 Fujitsu Limited Cache memory apparatus and computer readable recording medium on which a program for controlling a cache memory is recorded

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52149039A (en) * 1976-06-04 1977-12-10 Fujitsu Ltd Buffer invalid control system
JPS58196673A (en) * 1982-05-11 1983-11-16 Toshiba Corp Cache memory clearing system
JPS5942683A (en) * 1982-09-01 1984-03-09 Toshiba Corp Information processing device
JPS63129440A (en) * 1986-11-20 1988-06-01 Fujitsu Ltd Store through buffer device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52149039A (en) * 1976-06-04 1977-12-10 Fujitsu Ltd Buffer invalid control system
JPS58196673A (en) * 1982-05-11 1983-11-16 Toshiba Corp Cache memory clearing system
JPS5942683A (en) * 1982-09-01 1984-03-09 Toshiba Corp Information processing device
JPS63129440A (en) * 1986-11-20 1988-06-01 Fujitsu Ltd Store through buffer device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6546501B1 (en) 1999-09-08 2003-04-08 Fujitsu Limited Cache memory apparatus and computer readable recording medium on which a program for controlling a cache memory is recorded

Similar Documents

Publication Publication Date Title
US5752264A (en) Computer architecture incorporating processor clusters and hierarchical cache memories
TW591384B (en) Method and system for speculatively invalidating lines in a cache
KR100204741B1 (en) Method to increase performance in a multi-level cache system by the use of forced cache misses
US5168560A (en) Microprocessor system private split cache tag stores with the system tag store having a different validity bit for the same data line
JPS6135584B2 (en)
US5946717A (en) Multi-processor system which provides for translation look-aside buffer address range invalidation and address translation concurrently
JP3207591B2 (en) Improvement of computer with cache memory
JPH03225542A (en) Memory of data and processing circuit for bit encode data
US4658356A (en) Control system for updating a change bit
JPS5829187A (en) Cache memory controller
JPH05346890A (en) Data invalidation control system
JPH05216765A (en) Hierarchical buffer storage device
US5636365A (en) Hierarchical buffer memories for selectively controlling data coherence including coherence control request means
JP2552704B2 (en) Data processing device
JPH07234819A (en) Cache memory
JPS5928287A (en) Cache buffer controller
JPH03230238A (en) Cache memory control system
JPH06187239A (en) Data coincidence control system for multi-layered cache memory
JPS617959A (en) Control system of tag storage device
JPH05189318A (en) Information processor
JP3171639B2 (en) Data processing device
JPH01309153A (en) Information processor
JPH0635801A (en) Hierarchical memory control system
JPH04148256A (en) Cache controller
JPS63292255A (en) Logical cache