JP3287239B2 - Hierarchical cache memory and its state transition control method - Google Patents
Hierarchical cache memory and its state transition control methodInfo
- Publication number
- JP3287239B2 JP3287239B2 JP29501996A JP29501996A JP3287239B2 JP 3287239 B2 JP3287239 B2 JP 3287239B2 JP 29501996 A JP29501996 A JP 29501996A JP 29501996 A JP29501996 A JP 29501996A JP 3287239 B2 JP3287239 B2 JP 3287239B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- state
- cache
- tag
- bus side
- 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.)
- Expired - Fee Related
Links
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Description
【0001】[0001]
【発明の属する技術分野】この発明はトランザクション
のパイプライン処理可能なバスに接続しキャッシュメモ
リのコヒーレンシを保証する階層化されたキャッシュメ
モリに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a hierarchical cache memory which is connected to a bus capable of processing a pipeline of transactions and guarantees coherency of the cache memory.
【0002】[0002]
【従来の技術】たとえば一般に示す従来の階層キャッシ
ュメモリは図7(a)のように、プロセッサバス101
を介しプロセッサとシステムバス103を介しメインメ
モリと接続し、1次キャッシュメモリと当該全キャッシ
ュライン(メインメモリの番地とその内容を保持するセ
ルとの対の列)をもつ2次キャッシュメモリとをローカ
ルバス102を介し階層化する。図7(b)で2次キャ
ッシュメモリの有効なキャッシュラインデータを無効化
するトランザクションAをシステムバス103に発行す
る場合、2次キャッシュメモリがヒットし1次キャッシ
ュメモリにも有効キャッシュラインデータがある可能性
を無効化するため、システムバス103上の無効化トラ
ンザクションA要求によるローカルバス102上の無効
化トランザクションA´要求に対し、ローカルバス10
2上の無効化トランザクションA´応答によるシステム
バス103上の無効化トランザクションA応答を返す。
最終的にはシステムバス103に発行する無効化トラン
ザクションAにより、2次キャッシュメモリと1次キャ
ッシュメモリとの該当キャッシュラインはすべて無効ス
テートになる。2次キャッシュメモリをパイプライン処
理不能なバス(非パイプラインバス)に接続するとき
は、トランザクションAの要求から応答までの間当該パ
ス上に他のトランザクションがなく、上記ステート遷移
によりコヒーレンシを保証する。なお、ローカルバス1
02にトランザクションを発行する場合にキャッシュメ
モリの包含関係を維持するため、トランザクションA´
要求前のT1とT2間ステートを有効にする。2. Description of the Related Art For example, a conventional hierarchical cache memory shown generally is a processor bus 101 as shown in FIG.
And a primary cache memory and a secondary cache memory having all the cache lines (columns of pairs of addresses of the main memory and cells holding the contents thereof). Layering is performed via the local bus 102. In FIG. 7B, when a transaction A for invalidating the valid cache line data of the secondary cache memory is issued to the system bus 103, the secondary cache memory hits and the primary cache memory also has valid cache line data. In order to invalidate the possibility, in response to an invalidation transaction A 'request on the local bus 102 by an invalidation transaction A request on the system bus 103, the local bus 10
A response of the invalidation transaction A on the system bus 103 is returned by the response of the invalidation transaction A ′ on 2.
Eventually, due to the invalidation transaction A issued to the system bus 103, the corresponding cache lines of the secondary cache memory and the primary cache memory all become invalid. When the secondary cache memory is connected to a non-pipelineable bus (non-pipelined bus), there is no other transaction on the path from the request to the response of transaction A, and coherency is guaranteed by the state transition. . In addition, local bus 1
02 in order to maintain the cache memory inclusion relationship when issuing a transaction to the transaction A ′
The state between T1 and T2 before the request is made valid.
【0003】上記従来の階層キャッシュメモリは、下位
キャッシュメモリがヒットしないシステムバス上の非パ
イプライントランザクションに対し、当該包含関係から
ヒットしない上位キャッシュメモリを参照するトランザ
クションをローカルバスに発行しないようにステート遷
移制御をする方式(非パイプラインバス用ステート遷移
コヒーレンシ制御方式)を採る。[0003] The above-described conventional hierarchical cache memory has a state in which, in response to a non-pipeline transaction on the system bus where the lower cache memory does not hit, a transaction referring to the upper cache memory which does not hit from the inclusion relation is not issued to the local bus. A transition control method (state transition coherency control method for non-pipeline bus) is adopted.
【0004】[0004]
【発明が解決しようとする課題】上記のような従来の階
層キャッシュメモリでは、非パイプラインバス用ステー
ト遷移コヒーレンシ制御方式を採るから、下位キャッシ
ュメモリをパイプライン処理可能なバス(パイプライン
バス)に接続するときは、トランザクションAの要求か
ら応答までの間も当該バス上に他のトランザクションが
あり、トランザクションAからA´要求までのT1とT
2間有効ステートの下位キャッシュメモリがヒットし、
上位と下位バスでトランザクションが連動するキャッシ
ュメモリのコヒーレンシを保証できない問題点があっ
た。Since the conventional hierarchical cache memory as described above employs a state transition coherency control method for a non-pipeline bus, the lower-order cache memory is changed to a bus (pipeline bus) capable of pipeline processing. At the time of connection, there is another transaction on the bus between the request and the response of transaction A, and T1 and T1 from transaction A to A 'request.
The lower cache memory in the valid state between two hits,
There is a problem that the coherency of the cache memory in which transactions are linked between the upper and lower buses cannot be guaranteed.
【0005】この発明が解決しようとする課題は、階層
キャッシュメモリでパイプラインバスに接続するキャッ
シュメモリのコヒーレンシを保証するように、当該キャ
ッシュメモリのステートを更新する過渡期で、上位と下
位バスに異なるステートをみせるように、または処理中
アドレスに対してだけ当該キャッシュメモリにアクセス
しないようにステート遷移制御をする方式(パイプライ
ンバス用ステート遷移コヒーレンシ制御方式)を提供す
ることにある。[0005] The problem to be solved by the present invention is a transitional period in which the state of a cache memory connected to a pipeline bus in a hierarchical cache memory is updated so as to guarantee coherency. An object of the present invention is to provide a method for performing a state transition control so as to show a different state or not to access the cache memory only for an address being processed (state transition coherency control method for a pipeline bus).
【0006】[0006]
【課題を解決するための手段】この発明にかかる階層キ
ャッシュメモリにおいてはキャッシュメモリ判定回路を
有し、このキャッシュメモリ判定回路は、システムバス
側タグアドレス信号およびローカルバス側タグアドレス
信号を受信し、アクセスの要求がシステムバスまたはロ
ーカルバスのどちら側からのものかを示すアクセス方向
選択信号に従って、システムバス側タグアドレス信号お
よびローカルバス側タグアドレス信号のどちらか一方を
タグアドレス信号として選択し、システムバス側インデ
ックスアドレス信号およびローカルバス側インデックス
アドレス信号を受信し、アクセス方向選択信号に従っ
て、システムバス側インデックスアドレス信号およびロ
ーカルバス側インデックスアドレス信号のどちらか一方
をインデックスアドレス信号として選択し、インデック
スアドレス信号およびタグアドレス信号に基づいて、キ
ャッシュがヒットしたか否かを判断し、キャッシュにヒ
ットした場合にはキャッシュヒット信号を出力する制御
をなし、さらに、システムバス上にキャッシュデータラ
インを無効化する無効化トランザクションが発生したタ
イミングで、キャッシュデータラインに対応するシステ
ム側で発生したアクセスの要求に対してのみ、キャッシ
ュヒット信号を出力しない制御をし、システムバス上に
発生した無効化トランザクションに対応してローカルバ
スに無効化トランザクションが発生したタイミングで、
キャッシュデータラインに対応するローカルバス側で発
生したアクセスの要求に対しても、キャッシュヒット信
号を出力しない制御を行なうようにした。A hierarchical cache memory according to the present invention has a cache memory determination circuit, which receives a system bus side tag address signal and a local bus side tag address signal, According to an access direction selection signal indicating whether the access request is from the system bus or the local bus, one of the system bus side tag address signal and the local bus side tag address signal is selected as a tag address signal, Receives the bus-side index address signal and the local bus-side index address signal, and indexes one of the system bus-side index address signal and the local bus-side index address signal according to the access direction selection signal. Control signal to determine whether or not a cache hit has occurred based on the index address signal and the tag address signal, and to output a cache hit signal when a cache hit has occurred. At the timing of the invalidation transaction that invalidates the cache data line, the control that does not output the cache hit signal only for the access request generated on the system side corresponding to the cache data line ,
Local buffer in response to the invalidation transaction
When the invalidation transaction occurs in the
Even for requests access occurred in the local bus side corresponding to the cache line of data, and to perform the control that does not output the cache hit signal.
【0007】また、この発明にかかる階層キャッシュメ
モリにおいてはキャッシュメモリ判定回路を有し、この
キャッシュメモリヒット判定回路は、システムバス側タ
グアドレス信号およびローカルバス側タグアドレス信号
を受信し、アクセスの要求がシステムバスまたはローカ
ルバスのどちら側からのものかを示すアクセス方向選択
信号に従って、システムバス側タグアドレス信号および
ローカルバス側タグアドレス信号のどちらか一方をタグ
アドレス信号として出力する第1のセレクタと、システ
ムバス側インデックスアドレス信号およびローカルバス
側インデックスアドレス信号を受信し、アクセス方向選
択信号に従って、システムバス側インデックスアドレス
信号およびローカルバス側インデックスアドレス信号の
どちらか一方をインデックスアドレス信号として出力す
る第2のセレクタと、メインメモリに対するキャッシュ
の状態を有するタグ部を保持し、インデックスアドレス
信号に従いタグ部から参照タグアドレス信号と、システ
ムバス側ステート信号およびローカルバス側ステート信
号を出力するメモリアレイと、アクセス方向選択信号に
従い、システムバス側ステート信号およびローカルバス
側ステート信号のどちらか一方をステート信号として出
力する第3のセレクタと、タグアドレス信号と参照タグ
アドレス信号とが一致するか否かを判定し、一致する場
合にはアドレス一致信号を出力する比較器と、ステート
信号がキャッシュ上に写しが存在することを表わしてい
る場合にのみステート有効信号を出力するORゲート
と、アドレス一致信号とステート有効信号に従って、キ
ャッシュヒット信号を出力するANDゲートとを有し、
さらに、メモリアレイは、システムバス上にキャッシュ
ラインデータを無効化する無効化トランザクションが発
生したタイミングで、キャッシュラインデータに対応す
るシステムバス側ステート信号のみ、キャッシュ上に写
しがないとする状態を表わすようにし、システムバス上
に発生した前記無効化トランザクションに対応してロー
カルバス上の無効化トランザクションが発生したタイミ
ングで、キャッシュラインデータに対応するローカルバ
ス側ステート信号をも、キャッシュ上に写しがないとす
る状態を表わすようにした。また、この発明にかかる階
層キャッシュメモリにおいてはキャッシュメモリ判定回
路を有し、このキャッシュメモリヒット判定回路は、シ
ステムバス側タグアドレス信号およびローカルバス側タ
グアドレス信号を受信し、アクセスの要求がシステムバ
スまたはローカルバスのどちら側からのものかを示すア
クセス方向選択信号に従って、システムバス側タグアド
レス信号およびローカルバス側タグアドレス信号のどち
らか一方をタグアドレス信号として出力する第1のセレ
クタと、システムバス側インデックスアドレス信号およ
びローカルバス側インデックスアドレス信号を受信し、
アクセス方向選択信号に従って、システムバス側インデ
ックスアドレス信号およびローカルバス側インデックス
アドレス信号のどちらか一方をインデックスアドレス信
号として出力する第2のセレクタと、メインメモリに対
するキャッシュの状態と一方のバス側ステートを他方の
バス側ステートに修正するフラグとを有するタグ部を保
持し、インデックスアドレス信号に従いタグ部から参照
タグアドレス信号を出力し、タグ部が有するキャッシュ
の状態とフラグとを参照して、ローカルバス側ステート
信号とステート修正フラグ信号とを出力するメモリアレ
イと、ステート修正フラグ信号がONの場合には、ロー
カルバス側ステート信号をシステムバス側ステート信号
に変更するステート修正回路と、アクセス方向選択信号
に従い、システムバス側ステート信号およびローカルバ
ス側ステート信号のどちらか一方をステート信号として
出力する第3のセレクタと、タグアドレス信号と参照タ
グアドレス信号とが一致するか否かを判定し、一致する
場合にはアドレス一致信号を出力する比較器と、ステー
ト信号がキャッシュ上に写しが存在することを表わして
いる場合にのみステート有効信号を出力するORゲート
と、アドレス一致信号とステート有効信号に従いキャッ
シュヒット信号を出力するANDゲートとを有し、さら
に、メモリアレイは、システムバス上にキャッシュライ
ンデータを無効化する無効化トランザクションが発生し
たタイミングで、キャッシュラインデータに対応するス
テート修正フラグ信号がONになるようにしてステート
信号はローカルバス側ステート信号となるようにし、シ
ステムバス上に発生した無効化トランザクションに対応
してローカルバス上の無効化トランザクションが発生し
たタイミングで、キャッシュラインデータに対応するス
テート修正フラグ信号がOFFになるようにし、ローカ
ルバス側ステート信号が、キャッシュ上に写しがないと
する状態を表わすようにするものとした。Further, the hierarchical cache memory according to the present invention has a cache memory determination circuit. The cache memory hit determination circuit receives a system bus side tag address signal and a local bus side tag address signal, and issues an access request. A first selector for outputting one of a system bus side tag address signal and a local bus side tag address signal as a tag address signal in accordance with an access direction selection signal indicating whether the signal is from the system bus or the local bus. Receiving the system bus side index address signal and the local bus side index address signal, and in accordance with the access direction selection signal, inverts either the system bus side index address signal or the local bus side index address signal. A second selector that outputs a dex address signal, a tag section having a cache state for the main memory, a reference tag address signal from the tag section according to the index address signal, a system bus side state signal and a local bus side state signal , A third selector that outputs one of a system bus side state signal and a local bus side state signal as a state signal in accordance with an access direction selection signal, and a tag address signal and a reference tag address signal. A comparator for judging whether they match or not, and outputting an address match signal if they match, and an OR gate for outputting a state valid signal only when the state signal indicates that a copy exists on the cache And address match signal and state valid According No., an AND gate for outputting a cache hit signal,
Further, the memory array may indicate that only the system bus side state signal corresponding to the cache line data is not copied on the cache at the timing when the invalidation transaction for invalidating the cache line data on the system bus occurs. And on the system bus
Row corresponding to the invalidation transaction
Time when an invalidation transaction on Calvas occurs
The local bus side state signal corresponding to the cache line data also indicates that the cache is not copied on the cache. Also, the hierarchical cache memory according to the present invention has a cache memory determination circuit, which receives a system bus side tag address signal and a local bus side tag address signal, and requests access to the system bus. A first selector for outputting one of a system bus side tag address signal and a local bus side tag address signal as a tag address signal in accordance with an access direction selection signal indicating from which side of the local bus; Receiving the side index address signal and the local bus side index address signal,
A second selector for outputting one of a system bus side index address signal and a local bus side index address signal as an index address signal in accordance with an access direction selection signal; and a cache state for the main memory and one bus side state for the other. The tag section having a flag to be corrected to the bus side state is held, a reference tag address signal is output from the tag section according to the index address signal, and the local bus side A memory array that outputs a state signal and a state correction flag signal, a state correction circuit that changes a local bus side state signal to a system bus side state signal when the state correction flag signal is ON, and an access direction selection signal ,system And a third selector that outputs one of the source-side state signal and the local bus-side state signal as a state signal, and determines whether or not the tag address signal and the reference tag address signal match. A comparator that outputs an address match signal, an OR gate that outputs a state valid signal only when the state signal indicates that a copy exists on the cache, and a cache hit signal according to the address match signal and the state valid signal. An output AND gate for outputting the state correction flag signal corresponding to the cache line data at a timing when an invalidation transaction for invalidating the cache line data occurs on the system bus. Then state
The signal should be a local bus side state signal.
Corresponds to invalidation transactions generated on the stem bus
Invalidation transaction on the local bus
At this time, the state correction flag signal corresponding to the cache line data is set to OFF, and the local bus side state signal indicates a state in which there is no copy on the cache.
【0008】この発明にかかる階層キャッシュメモリに
おいてはキャッシュメモリ判定回路を有し、このキャッ
シュメモリヒット判定回路は、システムバス側タグアド
レス信号およびローカルバス側タグアドレス信号を受信
し、アクセスの要求がシステムバスまたはローカルバス
のどちら側からのものかを示すアクセス方向選択信号に
従って、システムバス側タグアドレス信号およびローカ
ルバス側タグアドレス信号のどちらか一方をタグアドレ
ス信号として出力する第1のセレクタと、システムバス
側インデックスアドレス信号およびローカルバス側イン
デックスアドレス信号を受信し、アクセス方向選択信号
に従って、システムバス側インデックスアドレス信号お
よびローカルバス側インデックスアドレス信号のどちら
か一方をインデックスアドレス信号として出力する第2
のセレクタと、キャッシュメモリの処理中を示すフラグ
を所持し、処理中の場合にはONを、処理中でない場合
にはOFFを処理中フラグ信号として出力する処理中フ
ラグレジスタと、キャッシュメモリの処理中のアドレス
を保持し、処理中アドレス信号として出力するアドレス
レジスタと、処理中のアドレスに対応するシステムバス
側ステートを保持し、処理中システムバス側ステート信
号として出力するステートレジスタと、タグアドレス信
号とインデックスアドレス信号が、処理中アドレス信号
に一致するかを判定し、一致する場合には処理中アドレ
ス一致信号を出力する第1の比較器と、アクセス方向選
択信号に従い、処理中アドレス一致信号が存在し、さら
に処理中フラグ信号がONの場合に、ステートレジスタ
選択信号を出力するANDゲートと、メインメモリに対
するキャッシュを表わすタグ部を保持し、インデックス
アドレス信号に従い前記タグ部から参照タグアドレス信
号とローカルバス側ステート信号とを出力するメモリア
レイと、ステートレジスタ選択信号とローカルバス側ス
テート信号と処理中システムバス側ステート信号に従っ
てステート信号を出力する第3のセレクタと、タグアド
レス信号と参照タグアドレス信号とが一致するか否かを
判定し、一致する場合にはアドレス一致信号を出力する
比較器と、ステート信号がキャッシュ上に写しが存在す
ることを表わしている場合にのみステート有効信号を出
力するORゲートと、アドレス一致信号とステート有効
信号に従いキャッシュヒット信号を出力するANDゲー
トとを有し、さらに、システムバス上にキャッシュライ
ンデータを無効化する無効化トランザクションが発生し
たタイミングで、処理中フラグレジスタは、キャッシュ
ラインデータに対応する処理中フラグ信号をONになる
ようにし、アドレスレジスタにキャッシュラインデータ
に対応するアドレスをセットし、ステートレジスタにキ
ャッシュラインデータに対応するシステムバス側ステー
トのみを、キャッシュ上に写しがないとする状態を表わ
すようにし、システムバス上に発生した無効化トランザ
クションに対応してローカルバス上に無効化トランザク
ションが発生したタイミングで、メモリアレイは、キャ
ッシュラインデータに対応するローカルバス側ステート
信号をも、キャッシュ上に写しがないとする状態を表わ
すようにし、処理中フラグレジスタは、キャッシュライ
ンデータに対応する処理中フラグ信号をOFFになるよ
うにした。また、この発明にかかる階層キャッシュメモ
リにおいてはキャッシュメモリ判定回路を有し、キャッ
シュメモリヒット判定回路は、システムバス側タグアド
レス信号およびローカルバス側タグアドレス信号を受信
し、アクセスの要求がシステムバスまたはローカルバス
のどちら側からのものかを示すアクセス方向選択信号に
従って、システムバス側タグアドレス信号およびローカ
ルバス側タグアドレス信号のどちらか一方をタグアドレ
ス信号として出力する第1のセレクタと、システムバス
側インデックスアドレス信号およびローカルバス側イン
デックスアドレス信号を受信し、アクセス方向選択信号
に従って、システムバス側インデックスアドレス信号お
よびローカルバス側インデックスアドレス信号のどちら
か一方をインデックスアドレス信号として出力する第2
のセレクタと、キャッシュメモリの処理中を示すフラグ
を所持し、処理中の場合にはONを、処理中でない場合
にはOFFを処理中フラグ信号として出力する処理中フ
ラグレシスタと、キャッシュメモリの処理中のアドレス
を保持し、処理中アドレス信号として出力するアドレス
レジスタと、処理中のアドレスに対応するシステムバス
側ステートおよびローカルバス側ステートを所持し、シ
ステムバス側ステート信号およびローカルバス側ステー
ト信号として出力するステートレジスタと、タグアドレ
ス信号とインデックスアドレス信号が、処理中アドレス
信号に一致するか否かを判定し、一致する場合には処理
中アドレス一致信号を出力する第1の比較器と、アクセ
ス方向選択信号に従い、処理中アドレス一致信号が存在
し、さらに処理中フラグ信号がONの場合に、ステート
レジスタ選択信号を出力するANDゲートと、メインメ
モリに対するキャッシュを表わすタグ部を保持し、イン
デックスアドレス信号に従いタグ部から参照タグアドレ
ス信号とローカルバス側ステート信号とを出力するメモ
リアレイと、ステートレジスタ選択信号とアクセス方向
選択信号と処理中ローカルバス側ステート信号と処理中
システムバス側ステート信号とからステート信号を出力
する第3のセレクタと、タグアドレス信号と参照タグア
ドレス信号とが一致するか否かを判定し、一致する場合
にはアドレス一致信号を出力する比較器と、ステート信
号がキャッシュ上に写しが存在することを表わしている
場合にのみステート有効信号を出力するORゲートと、
アドレス一致信号とステート有効信号に従いキャッシュ
ヒット信号を出力するANDゲートとを有し、さらに、
システムバス上にキャッシュラインデータを無効化する
無効化トランザクションが発生したタイミングで、処理
中フラグレジスタはキャッシュラインデータに対応する
処理中フラグ信号をONになるようにし、アドレスレジ
スタはキャッシュラインデータに対応するアドレスをセ
ットし、ステートレジスタにキャッシュラインデータに
対応するシステムバス側ステートのみが、キャッシュ上
に写しがないとする状態を表わすようにし、システムバ
ス上に発生した無効化トランザクションに対応してロー
カルバス上の無効化トランザクションが発生したタイミ
ングで、メモリアレイは、キャッシュラインデータに対
応するローカルバス側ステート信号をもキャッシュ上に
写しがないとする状態を表わすようにし、処理中フラグ
レジスタはキャッシュラインデータに対応する処理中フ
ラグ信号をOFFになるようした。The hierarchical cache memory according to the present invention has a cache memory judgment circuit, which receives a system bus side tag address signal and a local bus side tag address signal, and receives an access request from the system. A first selector for outputting either one of a system bus side tag address signal and a local bus side tag address signal as a tag address signal in accordance with an access direction selection signal indicating from which side of the bus or the local bus; The bus side index address signal and the local bus side index address signal are received, and either the system bus side index address signal or the local bus side index address signal is indexed according to the access direction selection signal. Second output as the scan address signal
A processing flag register for outputting a processing flag signal indicating that processing is being performed in the cache memory and a flag indicating that processing is being performed in the cache memory, and outputting ON as a processing flag signal when processing is being performed and OFF when processing is not being performed. An address register that holds the current address and outputs it as a processing address signal; a state register that holds the system bus side state corresponding to the address being processed and outputs it as a processing system bus side state signal; and a tag address signal And whether the index address signal matches the processing address signal, and if they match, the first comparator that outputs the processing address match signal, and the processing address match signal according to the access direction selection signal. Outputs a state register selection signal when it is present and the processing flag signal is ON. An AND gate, a memory array holding a tag unit representing a cache for the main memory, and outputting a reference tag address signal and a local bus side state signal from the tag unit according to an index address signal; a state register selection signal and a local bus side A third selector for outputting a state signal in accordance with the state signal and the system bus side state signal being processed; and determining whether or not the tag address signal and the reference tag address signal match. A comparator that outputs a signal, an OR gate that outputs a state valid signal only when the state signal indicates that a copy exists on the cache, and an AND gate that outputs a cache hit signal in accordance with the address match signal and the state valid signal And a system bus When an invalidation transaction that invalidates the cache line data occurs, the processing flag register turns on the processing flag signal corresponding to the cache line data, and stores the address corresponding to the cache line data in the address register. Is set in the state register so that only the state of the system bus corresponding to the cache line data is not copied on the cache, and the invalidation transaction generated on the system bus is set.
Invalidation transaction on local bus in response to transaction
At the timing of the occurrence of the cache line data , the memory array also causes the local bus side state signal corresponding to the cache line data to indicate that it is not copied on the cache, and the processing flag register corresponds to the cache line data. The processing flag signal is turned off. Also, the hierarchical cache memory according to the present invention has a cache memory determination circuit, wherein the cache memory hit determination circuit receives the system bus side tag address signal and the local bus side tag address signal, and the access request is issued to the system bus or the system bus. A first selector for outputting one of a system bus side tag address signal and a local bus side tag address signal as a tag address signal in accordance with an access direction selection signal indicating from which side of the local bus, and a system bus side An index address signal and a local bus index address signal are received, and one of the system bus index address signal and the local bus index address signal is indexed according to the access direction selection signal. Second output as signal
A flag indicating that processing is in progress in the cache memory, a flag indicating that processing is in progress, and outputting a flag indicating that processing is in progress. An address register that holds the address of the current address and outputs it as an address signal during processing, and has a system bus side state and a local bus side state corresponding to the address being processed, and outputs it as a system bus side state signal and a local bus side state signal A first register for determining whether the tag address signal and the index address signal match the processing address signal, and outputting a processing address match signal if they match; According to the selection signal, an address match signal is being processed, and processing is in progress. When the lag signal is ON, an AND gate that outputs a state register selection signal and a tag unit indicating a cache for the main memory are held, and a reference tag address signal and a local bus side state signal are transmitted from the tag unit according to the index address signal. A memory array to output, a third selector to output a state signal from a state register selection signal, an access direction selection signal, a processing local bus side signal, and a processing system bus side state signal; a tag address signal and a reference tag A comparator that determines whether or not the address signal matches, and outputs an address match signal if the address signal matches, and outputs a state valid signal only when the state signal indicates that a copy exists on the cache. An OR gate to output,
An AND gate that outputs a cache hit signal in accordance with the address match signal and the state valid signal;
When an invalidation transaction that invalidates cache line data occurs on the system bus, the processing flag register turns on the processing flag signal corresponding to the cache line data, and the address register corresponds to the cache line data. sets the address, the state register only the system bus side state corresponding to the cache line data, so as to represent a state that there is no duplicate on the cache, the system bus
Row in response to an invalidation transaction
Time when an invalidation transaction on Calvas occurs
In the memory array , the memory array causes the state signal indicating that the local bus side state signal corresponding to the cache line data is not copied on the cache, and the processing flag register turns off the processing flag signal corresponding to the cache line data. I tried to be.
【0009】この発明にかかる階層キャッシュメモリに
おいてはキャッシュメモリ判定回路を有し、このキャッ
シュメモリヒット判定回路は、システムバス側タグアド
レス信号およびローカルバス側タグアドレス信号を受信
し、アクセスの要求がシステムバスまたはローカルバス
のどちら側からのものかを示すアクセス方向選択信号に
従って、システムバス側タグアドレス信号およびローカ
ルバス側タグアドレス信号のどちらか一方をタグアドレ
ス信号として出力する第1のセレクタと、システムバス
側インデックスアドレス信号およびローカルバス側イン
デックスアドレス信号を受信し、アクセス方向選択信号
に従って、システムバス側インデックスアドレス信号お
よびローカルバス側インデックスアドレス信号のどちら
か一方をインデックスアドレス信号として出力する第2
のセレクタと、メインメモリに対するキャッシュの状態
を表わすタグ部とを保持し、インデックスアドレス信号
に従いタグ部から参照タグアドレス信号と、ステート信
号と、システムバス側トランザクションリトライフラグ
信号と、システムバス側タグアクセスリトライフラグ信
号と、ローカルバス側トランザクションリトライフラグ
信号と、ローカルバス側タグアクセスリトライフラグ信
号を出力するメモリアレイと、アクセス方向選択信号に
従い、システムバス側トランザクションリトライフラグ
信号とローカルバス側トランザクションリトライフラグ
信号のどちらか一方を選択して選択トランザクションリ
トライフラグ信号として出力し、システムバス側タグア
クセスリトライフラグ信号とローカルバス側タグアクセ
スリトライフラグ信号のどちらか一方を選択して選択タ
グアクセスリトライフラグ信号として出力する第3のセ
レクタと、タグアドレス信号と参照タグアドレス信号と
が一致するか否かを判定し、一致する場合にはアドレス
一致信号を出力する比較器と、ステート信号がキャッシ
ュ上に写しが存在することを表わしている場合にのみス
テート有効信号を出力するORゲートと、アドレス一致
信号とステート有効信号に従い、キャッシュヒット信号
を出力する第1のANDゲートと、選択トランザクショ
ンリトライフラグ信号がONを表わし、アドレス一致信
号が出力されている場合には、ローカルバス側のトラン
ザクションのリトライを行なわせるトランザクションリ
トライフラグ信号を出力する第2のANDゲートと、選
択タグアクセスリトライフラグ信号がONを表わし、ア
ドレス一致信号が出力されている場合には、タグアクセ
スリトライを行なわせるタグアクセスリトライフラグ信
号を出力する第3のANDゲートとを有し、さらに、シ
ステムバス上にキャッシュラインデータを無効化する無
効化トランザクションが発生したタイミングで、メモリ
アレイは、キャッシュラインデータに対応するローカル
バス側トランザクションリトライフラグ信号をONにす
るとともに、キャッシュラインデータに対応するローカ
ルバス側タグアクセスリトライフラグ信号をONにし、
システムバス上に発生した無効化トランザクションに対
応してローカルバス上の無効化トランザクションが発生
したタイミングで、メモリアレイは、キャッシュライン
データに対応するローカルバス側トランザクションリト
ライフラグ信号をOFFにするようにした。また、この
発明にかかる階層キャッシュメモリにおいてはキャッシ
ュメモリ判定回路を有し、このキャッシュメモリヒット
判定回路は、システムバス側タグアドレス信号およびロ
ーカルバス側タグアドレス信号を受信し、アクセスの要
求がシステムバスまたはローカルバスのどちら側からの
ものかを示すアクセス方向選択信号に従って、システム
バス側タグアドレス信号およびローカルバス側タグアド
レス信号のどちらか一方をタグアドレス信号として出力
する第1のセレクタと、システムバス側インデックスア
ドレス信号およびローカルバス側インデックスアドレス
信号を受信し、アクセス方向選択信号に従って、システ
ムバス側インデックスアドレス信号およびローカルバス
側インデックスアドレス信号のどちらか一方をインデッ
クスアドレス信号として出力する第2のセレクタと、キ
ャッシュメモリの処理中を示すフラグを所持し、処理中
の場合にはONを、処理中でない場合にはOFFを処理
中フラグ信号として出力する処理中フラグレシスタと、
キャッシュメモリの処理中のアドレスを保持し、処理中
アドレス信号として出力するアドレスレジスタと、キャ
ッシュメモリの各アドレスに対応するシステムバス側ト
ランザクションリトライフラグとシステムバス側タグア
クセスリトライフラグとローカルバス側トランザクショ
ンリトライフラグとローカルバス側タグアクセスリトラ
イフラグを有し、システムバス側トランザクションリト
ライフラグ信号とシステムバス側タグアクセスリトライ
フラグ信号とローカルバス側トランザクションリトライ
フラグ信号とローカルバス側タグアクセスリトライフラ
グ信号を出力するステートレジスタと、タグアドレス信
号とインデックスアドレス信号が、処理中アドレス信号
に一致するかを判定し、一致する場合には処理中アドレ
ス一致信号を出力する第1の比較器と、処理中アドレス
一致信号と処理中フラグ信号とに従い、ステートレジス
タ選択信号を出力する第1のANDゲートと、メインメ
モリに対するキャッシュの状態を表わすタグ部を保持
し、インデックスアドレス信号に従いタグ部から参照タ
グアドレスと、ステート信号とを出力するメモリアレイ
と、アクセス方向選択信号に従い、システムバス側トラ
ンザクションリトライフラグ信号およびローカルバス側
トランザクションリトライフラグ信号のどちらか一方を
トランザクションリトライフラグ信号として出力し、シ
ステムバス側タグアクセスリトライフラグ信号とローカ
ルバス側タグアクセスリトライフラグ信号のどちらか一
方をタグアクセスリトライフラグ信号として出力する第
3のセレクタと、ステート信号がキャッシュ上に写しが
存在することを表わしている場合にのみステート有効信
号を出力するORゲートと、アドレス一致信号とステー
ト有効信号に従い、キャッシュヒット信号を出力する第
2のANDゲートと、選択トランザクションリトライフ
ラグ信号がONを表わし、前記アドレス一致信号が出力
され、前記ステートレジスタ選択信号が出力されている
場合には、ローカルバス側のトランザクションのリトラ
イを行なわせるトランザクションリトライフラグ信号を
出力する第3のANDゲートと、選択タグアクセスリト
ライフラグ信号がONを表わし、アドレス一致信号が出
力され、ステートレジスタ選択信号が出力されている場
合には、タグアクセスリトライを行なわせるタグアクセ
スリトライフラグ信号を出力する第4のANDゲートと
を有し、さらに、システムバス上にキャッシュラインデ
ータを無効化する無効化トランザクションが発生したタ
イミングで、メモリアレイは、キャッシュラインデータ
に対応するステート信号が、キャッシュ上に写しがない
とする状態を表わすようにし、処理中フラグレジスタは
キャッシュラインデータに対応する処理中フラグ信号を
ONになるようにし、アドレスレジスタはキャッシュラ
インデータに対応するアドレスをセットし、リトライフ
ラグレジスタはキャッシュラインデータに対応するアド
レスのローカルバス側トランザクションリトライフラグ
をONとし、リトライフラグレジスタは前記ローカルバ
ス側トランザクションリトライフラグ信号をONになる
ようにし、システムバス上に発生した無効化トランザク
ションに対応してローカルバス上の無効化トランザクシ
ョンが発生したタイミングで、処理中フラグレジスタは
キャッシュラインデータに対応する処理中フラグ信号を
OFFになるようにした。The hierarchical cache memory according to the present invention has a cache memory determination circuit. The cache memory hit determination circuit receives a system bus side tag address signal and a local bus side tag address signal. A first selector for outputting either one of a system bus side tag address signal and a local bus side tag address signal as a tag address signal in accordance with an access direction selection signal indicating from which side of the bus or the local bus; The bus side index address signal and the local bus side index address signal are received, and either the system bus side index address signal or the local bus side index address signal is indexed according to the access direction selection signal. Second output as the scan address signal
, And a tag portion indicating the state of the cache with respect to the main memory. A reference tag address signal, a state signal, a system bus-side transaction retry flag signal, and a system bus-side tag access A memory array for outputting a retry flag signal, a local bus side transaction retry flag signal, a local bus side tag access retry flag signal, and a system bus side transaction retry flag signal and a local bus side transaction retry flag signal according to an access direction selection signal Is selected and output as the selected transaction retry flag signal, and the system bus side tag access retry flag signal and the local bus side tag access retry flag are output. And a third selector that selects one of the signals and outputs the selected tag access retry flag signal as to whether or not the tag address signal and the reference tag address signal match. A comparator that outputs a signal; an OR gate that outputs a state valid signal only when the state signal indicates that a copy exists on the cache; and a cache hit signal according to the address match signal and the state valid signal. A first AND gate that outputs a transaction retry flag signal for causing a local bus side to retry a transaction when the selected transaction retry flag signal indicates ON and an address match signal is output. AND gate and selected tag access retry flag signal ON, and a third AND gate for outputting a tag access retry flag signal for performing tag access retry when an address match signal is output. At the timing when the invalidation transaction to invalidate occurs, the memory array turns on the local bus side transaction retry flag signal corresponding to the cache line data, and sets the local bus side tag access retry flag signal corresponding to the cache line data to the ON state. Turn on,
For invalidation transactions that occur on the system bus,
Invalidation transaction on the local bus occurs in response
At this timing, the memory array turns off the local bus side transaction retry flag signal corresponding to the cache line data. Also, the hierarchical cache memory according to the present invention has a cache memory determination circuit, which receives a system bus side tag address signal and a local bus side tag address signal, and requests access to the system bus. A first selector for outputting one of a system bus side tag address signal and a local bus side tag address signal as a tag address signal in accordance with an access direction selection signal indicating from which side of the local bus; Receiving the local bus side index address signal and the local bus side index address signal, and indexing either the system bus side index address signal or the local bus side index address signal in accordance with the access direction selection signal. Processing selector, which has a second selector for outputting as a processing signal and a flag indicating that the cache memory is being processed, and outputs ON as a processing flag signal when processing is being performed and OFF when processing is not being performed. When,
An address register that holds the address of the cache memory being processed and outputs it as an address signal being processed, a system bus side transaction retry flag, a system bus side tag access retry flag, and a local bus side transaction retry corresponding to each address of the cache memory A state that has a flag and a local bus side tag access retry flag, and outputs a system bus side transaction retry flag signal, a system bus side tag access retry flag signal, a local bus side transaction retry flag signal, and a local bus side tag access retry flag signal Determines whether the register, tag address signal, and index address signal match the processing address signal, and outputs the processing address match signal if they match. A first comparator that outputs a state register selection signal in accordance with the address match signal during processing and the flag signal during processing; A memory array that outputs a reference tag address and a state signal from the tag section according to an address signal, and a transaction retry flag according to one of a system bus side transaction retry flag signal and a local bus side transaction retry flag signal according to an access direction selection signal. A third selector for outputting as a signal, outputting one of the system bus-side tag access retry flag signal and the local bus-side tag access retry flag signal as a tag access retry flag signal, and a state signal. An OR gate that outputs a state valid signal only when it indicates that a copy exists on the cache, a second AND gate that outputs a cache hit signal according to the address match signal and the state valid signal, and a selected transaction retry. When the flag signal indicates ON, the address match signal is output, and the state register selection signal is output, a third AND that outputs a transaction retry flag signal for retrying a transaction on the local bus side is output. When the gate and the selected tag access retry flag signal indicate ON, the address match signal is output, and the state register selection signal is output, the tag access retry flag signal for performing the tag access retry is output. AND gate Further, at a timing when an invalidation transaction for invalidating cache line data on the system bus occurs, the memory array may indicate that the state signal corresponding to the cache line data is not copied on the cache. The processing flag register turns on the processing flag signal corresponding to the cache line data, the address register sets the address corresponding to the cache line data, and the retry flag register stores the address of the address corresponding to the cache line data. the local bus side transaction retry flag to oN, the retry flag register is to be turned oN the local bus side transaction retry flag signal, invalidation transactions that have occurred on the system bus
Invalidation transaction on the local bus in response to the
At the timing of the occurrence of the action, the in- process flag register turns off the in-process flag signal corresponding to the cache line data.
【0010】[0010]
【発明の実施の形態】この発明の実施の一形態を示す階
層キャッシュメモリは図1(a)のように、上記従来例
の図7(a)と同じシステム構成で図1(b)に示す2
次キャッシュメモリヒット判定回路を備える。キャッシ
ュメモリのタグ部に2つの上位と下位バス側ステートを
もち、パイプラインバスに接続する階層されたキャッシ
ュメモリのコヒーレンシを保証できる。2次キャッシュ
メモリヒット判定回路は図1(b)のように、セレクタ
1と2は、「1」/「0」のときシステムバス側/ロー
カルバス側を選択するアクセス方向選択信号15による
アクセス方向に従い、システムバス側/ローカルバス側
タグアドレス信号11/12とインデックスアドレス信
号13/14に対し選択をしてタグアドレス信号16と
インデックスアドレス信号17として出力する。メモリ
アレイ3は、メインメモリの内容に対し、異なる更新デ
ータをもっている状態(「M」ステート)と同じ単数の
写しをもっている状態(「E」ステート)と同じ複数の
写しをもっている状態(「S」ステート)と写しをもっ
ていない状態(「I」ステート)との4つのステートで
キャッシュ状態を表すMESIプロトコルによるキャッ
シュメモリのタグ部を保持する。セレクタ2による選択
インデックスアドレス信号17に従い、当該タグ部から
参照するタグアドレス信号18および「M」と「E」と
「S」と「I」各ステートをそれぞれ2ビット「11」
と「10」と「01」と「00」で表すシステム側ステ
ート信号19とローカルバス側ステート信号20を出力
する。比較器4は、セレクタ1による選択タグアドレス
信号16がメモリアレイ3による参照タグアドレス信号
18と一致するかどうかを判定し、一致時に「1」を表
すアドレス一致信号21を出力する。セレクタ5は、ア
クセス方向選択信号15によるアクセス方向に従い、メ
モリアレイ3によるシステム側ステート信号19とロー
カルバス側ステート信号20とに対し選択をしてステー
ト信号22として出力する。ORゲート6は、セレクタ
5によるステート信号22が有効なステート(「M」と
「E」と「S」ステート)のときだけ「1」を表すステ
ート有効信号23を出力する。ANDゲート7は、比較
器4によるアドレス一致信号21が「1」かつORゲー
ト6によるステート有効信号23が「1」のとき(アク
セスするアドレスと同じアドレスのキャッシュラインが
あり、当該ステートが有効のとき)だけ「1」を表すキ
ャッシュヒット信号24を出力する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A hierarchical cache memory according to an embodiment of the present invention has the same system configuration as that of FIG. 7A of the conventional example, as shown in FIG. 1A, as shown in FIG. 2
A next cache memory hit determination circuit is provided. The tag section of the cache memory has two upper and lower bus side states, so that the coherency of the hierarchical cache memory connected to the pipeline bus can be guaranteed. In the secondary cache memory hit determination circuit, as shown in FIG. 1B, when the selectors 1 and 2 are "1" / "0", the access direction by the access direction selection signal 15 for selecting the system bus side / local bus side is selected. , The system bus / local bus side tag address signal 11/12 and the index address signal 13/14 are selected and output as the tag address signal 16 and the index address signal 17. The memory array 3 has the same multiple copies ("S" state) as the state having different update data ("M" state) and the same multiple copies ("S" state) for the contents of the main memory. State) and a state having no copy (“I” state), and holds a tag portion of the cache memory according to the MESI protocol indicating the cache state in four states. According to the selection index address signal 17 by the selector 2, the tag address signal 18 referred to from the tag section and each of the states "M", "E", "S", and "I" are 2 bits "11".
And the system-side state signal 19 and the local bus-side state signal 20 represented by "10", "01" and "00". The comparator 4 determines whether the selected tag address signal 16 from the selector 1 matches the reference tag address signal 18 from the memory array 3, and outputs an address match signal 21 representing "1" when the tag address signal 16 matches. The selector 5 selects the system-side state signal 19 and the local bus-side state signal 20 by the memory array 3 according to the access direction by the access direction selection signal 15 and outputs it as a state signal 22. The OR gate 6 outputs a state valid signal 23 representing "1" only when the state signal 22 by the selector 5 is a valid state ("M", "E", and "S" states). When the address match signal 21 from the comparator 4 is “1” and the state valid signal 23 from the OR gate 6 is “1” (there is a cache line with the same address as the address to be accessed, and the state is valid). ), The cache hit signal 24 representing “1” is output.
【0011】上記実施の形態の階層キャッシュメモリ
は、パイプラインバスに接続する階層化されたキャッシ
ュメモリのステートを更新する過渡期で上位と下位バス
に異なるステートをみせるようにステート遷移制御をす
る方式(パイプラインバス用ステート遷移コヒーレンシ
制御方式)を採る。The hierarchical cache memory of the above embodiment performs a state transition control so that the upper and lower buses show different states in a transition period when the state of the hierarchical cache memory connected to the pipeline bus is updated. (State transition coherency control method for pipeline bus).
【0012】図1(c)で2次キャッシュメモリにある
「S」ステートのキャッシュラインデータを無効化する
トランザクションをシステムバス103に発行する場
合、2次キャッシュメモリヒット判定回路のメモリアレ
イ3でまず当該システムとローカルバス側ステート信号
19と20は共に「S」ステートになっているとし、つ
ぎにシステムバス103上の無効化トランザクションを
発行するタイミングT1で当該システムバス側へステー
ト信号19を「I」ステートに更新する。ローカルバス
102上の無効化トランザクションを発行するタイミン
グT2で当該ローカルバス側へステート信号20を
「I」ステートに更新する。タイミングT1とT2間で
システムとローカルバス側に発行する同じアドレスのト
ランザクションに対し、システムバス側のトランザクシ
ョンは「00」を表すシステムバス側ステート信号19
により「0」を表すキャッシュヒット信号24に従いミ
スヒットし、ローカルバス側のトランザクションは「0
1」を表すローカルバス側ステート信号20により
「1」を表すキャッシュヒット信号24に従いヒットす
る。処理終了時点で当該システムとローカルバス側ステ
ート信号19と20とも「I」ステートになる。In FIG. 1C, when a transaction for invalidating the cache line data in the "S" state in the secondary cache memory is issued to the system bus 103, the transaction is first performed in the memory array 3 of the secondary cache memory hit determination circuit. It is assumed that both the system and the local bus side state signals 19 and 20 are in the "S" state, and the state signal 19 is sent to the system bus side at the timing T1 when the invalidation transaction on the system bus 103 is issued. "State. At the timing T2 at which the invalidation transaction on the local bus 102 is issued, the state signal 20 is updated to the “I” state for the local bus. For the transaction of the same address issued to the system and the local bus side between timings T1 and T2, the transaction on the system bus side is the system bus side state signal 19 representing "00".
Causes a miss according to the cache hit signal 24 representing "0", and the transaction on the local bus side becomes "0".
The local bus state signal 20 representing "1" hits according to the cache hit signal 24 representing "1". At the end of the processing, both the system and the local bus side state signals 19 and 20 are in the "I" state.
【0013】なお上記図1(a)に示す発明の実施の形
態で上記図1(b)に示す2次キャッシュメモリヒット
判定回路は図2のように、メモリアレイ3によるシステ
ムバス側ステート信号19に代えてローカルバス側ステ
ートをシステムバス側ステートに修正するステート修正
をフラグ信号25を出力するメモリアレイ3aとして構
成し、別途設けるステート修正回路8で当該ステート修
正フラグ信号25が「ON」を意味する「1」のとき
「00」を表し、「OFF」を意味する「0」のときメ
モリアレイ3aによるローカルバス側ステート信号20
と同じ値を表すシステムバス側ステート信号19を出力
してもよい。キャッシュメモリのタグ部に一方のバス側
ステートと当該一方のバス側ステートを他方のバス側ス
テートに修正するフラグをもち、タグ部のビット幅を少
なくできる。上記図1(c)の場合、2次キャッシュメ
モリヒット判定回路のメモリアレイ3aでまず当該ロー
カルバス側ステート信号20は「S」ステートで当該ス
テート修正フラグ信号25は「OFF」になっていると
し、つぎにシステムバス103上の無効化トランザクシ
ョンを発行するタイミングT1で当該ステート修正フラ
グ信号25を「ON」にする。ローカルバス102上の
無効化トランザクションを発行するタイミングT2で当
該ローカルバス側ステート信号20を「I」ステートに
更新して当該ステート修正フラグ信号25を「OFF」
に戻す。タイミングT1前、T1とT2間およびT2後
のいずれでもシステムとローカルバス側ステート信号1
9と20は図1(b)と同じ値になる。処理終了時点で
当該ローカルバス側ステート信号20は「I」ステート
で当該ステート修正フラグ信号25は「OFF」にな
る。In the embodiment of the present invention shown in FIG. 1A, the secondary cache memory hit judging circuit shown in FIG. 1B uses the system bus side state signal 19 by the memory array 3 as shown in FIG. In place of the above, the state correction for correcting the local bus side state to the system bus side state is configured as the memory array 3a that outputs the flag signal 25, and the state correction flag signal 25 means "ON" in the separately provided state correction circuit 8. When “1” is set to “00”, and when “0” meaning “OFF”, the local bus side state signal 20 by the memory array 3a is
A system bus side state signal 19 representing the same value as the above may be output. The tag portion of the cache memory has one bus side state and a flag for correcting the one bus side state to the other bus side state, so that the bit width of the tag portion can be reduced. In the case of FIG. 1C, it is assumed that the local bus side state signal 20 is first in the "S" state and the state correction flag signal 25 is "OFF" in the memory array 3a of the secondary cache memory hit determination circuit. Then, at the timing T1 at which the invalidation transaction on the system bus 103 is issued, the state correction flag signal 25 is turned "ON". At the timing T2 at which the invalidation transaction on the local bus 102 is issued, the local bus side state signal 20 is updated to the “I” state, and the state correction flag signal 25 is turned “OFF”.
Return to Before the timing T1, between the T1 and T2, and after the T2, the system and the local bus side state signal 1
9 and 20 have the same values as in FIG. At the end of the process, the local bus side state signal 20 is in the “I” state, and the state correction flag signal 25 is “OFF”.
【0014】また上記図1(a)に示す発明の実施の形
態で上記図1(b)に示す2次キャッシュメモリヒット
判定回路は図3のように、メモリアレイ3によるシステ
ムバス側ステート信号19を出力しないメモリアレイ3
bとして構成し、キャッシュメモリの処理中を示すフラ
グを保持する処理中フラグレジスタ111と当該処理中
アドレスを保持するアドレスレジスタ112と当該処理
中システムバス側ステートを保持するステートレジスタ
113とを別途設け、別途設ける比較器9でセレクタ1
と2によるアクセスするタグとインデックスアドレス信
号16と17がアドレスレジスタ112による処理中ア
ドレス信号27と一致するかどうかを判定し、一致時に
「1」を表す処理中アドレス一致信号28を出力する。
さらに別途設けるANDゲート10でアクセス方向選択
信号15によるアクセス方向に従い、比較器9によるシ
ステムバス側からアクセスする処理中アドレス一致信号
28が「1」かつ処理中フラグレジスタ111による処
理中フラグ信号26が「1」のときだけ「1」を表すス
テートレジスタ選択信号29を出力する。さらにまたセ
レクタ5bでANDゲート10によるステートレジスタ
選択信号29に従い、ステートレジスタ113による処
理中システムバス側ステート信号30とメモリアレイ3
bによるローカルバス側ステート信号20とに対し選択
をしてステート信号22として出力してもよい。キャッ
シュメモリのタグ部に一方のバス側ステートさらに当該
タグ外部レジスタに処理中アドレスと他方のバス側ステ
ートをもち、タグ部のビット幅をより少なくできる。ま
た一方のバスに対応するタグ更新だけで済み、当該タグ
更新回数をより少なくできる。またレジスタにステート
をもつバス側からのアクセスに対しタグ参照をしないで
済み、当該タグ参照回数をより少なくできる。また当該
回路の既存レジスタで処理中アドレスを保持するアドレ
スレジスタ112を共用できる。上記図1(c)の場
合、2次キャッシュメモリヒット判定回路のメモリアレ
イ3bでまず当該ローカルバス側ステート信号20は
「S」ステートで当該処理中フラグレジスタ111は
「OFF」になっているとし、つぎにシステムバス10
3上の無効化トランザクションを発行するタイミングT
1で処理中フラグレジスタ115を「ON」にし、アド
レスレジスタ112にトランザクションアドレスをセッ
トし、ステートレジスタ113に「I」ステートをセッ
トする。ローカルバス102上の無効化トランザクショ
ンを発行するタイミングT2で当該ローカルバス側ステ
ート信号20を「I」ステートに更新し当該処理中フラ
グレジスタ111を「OFF」に戻す。タイミングT1
前、T1とT2間およびT2後のいずれでもシステムと
ローカルバス側ステート信号19と20は「00」と
「01」になる。処理終了時点で当該ローカルバス側ス
テート信号20は「I」ステートで当該処理中フラグレ
ジスタ111は「OFF」になる。In the embodiment of the invention shown in FIG. 1A, the secondary cache memory hit judging circuit shown in FIG. 1B uses the system bus side state signal 19 by the memory array 3 as shown in FIG. Memory array 3 that does not output
b, a processing flag register 111 for holding a flag indicating that the cache memory is being processed, an address register 112 for holding the processing address, and a state register 113 for holding the processing system bus side state are separately provided. , A comparator 9 provided separately and a selector 1
It is determined whether or not the tag to be accessed by the address register 2 and the index address signals 16 and 17 match the address signal 27 during processing by the address register 112, and outputs a processing address match signal 28 representing "1" when they match.
Further, in accordance with the access direction by the access direction selection signal 15 in the AND gate 10 provided separately, the in-process address coincidence signal 28 accessed from the system bus side by the comparator 9 is “1” and the in-process flag signal 26 by the in-process flag register 111 is A state register selection signal 29 representing "1" is output only when "1". Further, in accordance with the state register selection signal 29 by the AND gate 10 in the selector 5b, the system bus side state signal 30 being processed by the state register 113 and the memory array 3
b and the local bus side state signal 20 may be selected and output as the state signal 22. The tag section of the cache memory has one bus side state, and the tag external register has a processing address and the other bus side state, so that the bit width of the tag section can be further reduced. Further, it is only necessary to update the tag corresponding to one bus, and the number of times of updating the tag can be further reduced. Also, it is not necessary to refer to a tag for access from the bus side having a state in the register, and the number of times of reference to the tag can be reduced. Further, the address register 112 for holding the address being processed can be shared by the existing registers of the circuit. In the case of FIG. 1C, in the memory array 3b of the secondary cache memory hit determination circuit, first, the local bus side state signal 20 is in the "S" state, and the processing flag register 111 is "OFF". Next, the system bus 10
3. Timing T for issuing invalidation transaction on
In step 1, the processing flag register 115 is turned "ON", the transaction address is set in the address register 112, and the "I" state is set in the state register 113. At the timing T2 when an invalidation transaction on the local bus 102 is issued, the local bus side state signal 20 is updated to the “I” state, and the in-process flag register 111 is returned to “OFF”. Timing T1
Both before and after T1 and T2 and after T2, the system and local bus side state signals 19 and 20 become "00" and "01". At the end of the process, the local bus side state signal 20 is in the “I” state, and the in-process flag register 111 is “OFF”.
【0015】また上記図1(a)に示す発明の実施の形
態で上記図3に示す2次キャッシュメモリヒット判定回
路は図4のように、ステートレジスタ113による処理
中システムバス側ステート信号30に加えて処理中ロー
カルバス側ステート信号31も出力するステートレジス
タ113aとして構成し、ANDゲート10aで比較器
9によるアクセスする処理中アドレス一致信号28が
「1」かつ処理中フラグレジスタ111による処理中フ
ラグ信号26が「1」のときだけ「1」を表すステート
レジスタ選択信号29aを出力する。さらにセレクタ5
cでANDゲート10aによるステートレジスタ選択信
号29aとアクセス方向選択信号15によるステート方
向とに従い、メモリアレイ3bによるローカルバス側ス
テート信号20とステートレジスタ113aによる処理
中システムとローカルバス側ステート信号30と31と
に対し選択をしてステート信号22として出力してもよ
い。キャッシュメモリのタグ外部レジスタに処理中アド
レスと2つの上位と下位バス側ステートをもち、更新処
理の完了を待たせないで当該更新処理中のアドレスに対
するアクセスに応答できる(一般にレジスタに比べて大
容量低速度のメモリを用いるメモリアレイ3bのタグ部
で物理的な更新処理の完了まで当該更新要求をキューに
格納し更新処理中のタグ参照を待たせる必要があった。
また更新処理完了前にタグ参照をするためには、更新処
理中ではないタグ参照も更新処理中ではないことを確認
するアドレス比較を必要としていた)。上記図1(c)
の場合、2次キャッシュメモリヒット判定回路のメモリ
アレイ3bでまず当該ローカルバス側ステート信号20
は「S」ステートで当該処理中フラグレジスタ111は
「OFF」になっているとし、つぎにシステムバス10
3上の無効化トランザクションを発行するタイミングT
1で当該処理中フラグレジスタ115を「ON」にし、
アドレスレジスタ112にトランザクションアドレスを
セットし、ステートレジスタ113にシステムとローカ
ルバス側で「I」と「S」ステートをセットする。ロー
カルバス102上の無効化トランザクションを発行する
タイミングT2で当該ローカルバス側ステート信号20
を「I」ステートに更新し当該処理中フラグレジスタ1
11を「OFF」に戻す。タイミングT1前、T1とT
2間およびT2後のいずれでも、またシステムバス側か
らとローカルバス側からのいずれのタグアクセスでも、
ステート信号22は図1(b)と同じ値になる。処理終
了時点で当該ローカルバス側ステート信号20は「I」
ステートで当該処理中フラグレジスタ111は「OF
F」になる。Also, in the embodiment of the invention shown in FIG. 1A, the secondary cache memory hit determination circuit shown in FIG. 3 receives the in-process system bus side state signal 30 by the state register 113 as shown in FIG. In addition, it is configured as a state register 113a which also outputs the local bus side state signal 31 during processing, the processing address match signal 28 accessed by the comparator 9 by the AND gate 10a is "1", and the processing flag by the processing flag register 111 A state register selection signal 29a representing "1" is output only when the signal 26 is "1". Further selector 5
In step c, the local bus side state signal 20 by the memory array 3b and the system being processed by the state register 113a and the local bus side state signals 30 and 31 according to the state register selection signal 29a by the AND gate 10a and the state direction by the access direction selection signal 15. May be selected and output as the state signal 22. The tag external register of the cache memory has the address being processed and the two upper and lower bus side states, and can respond to an access to the address being updated without waiting for the completion of the update processing (generally, a larger capacity than the register). It was necessary to store the update request in a queue until the completion of the physical update processing in the tag section of the memory array 3b using a low-speed memory, and wait for the tag reference during the update processing.
Also, in order to refer to a tag before the update processing is completed, it is necessary to perform an address comparison for confirming that a tag reference that is not being updated is not being updated. FIG. 1 (c) above
, The local bus side state signal 20 is first stored in the memory array 3b of the secondary cache memory hit determination circuit.
Is in the “S” state and the in-process flag register 111 is “OFF”.
3. Timing T for issuing invalidation transaction on
In step 1, the in-process flag register 115 is turned “ON”,
The transaction address is set in the address register 112, and the "I" and "S" states are set in the state register 113 on the system and local bus sides. At the timing T2 at which an invalidation transaction on the local bus 102 is issued,
To the “I” state, and the in-flight flag register 1
11 is returned to "OFF". Before timing T1, T1 and T
2 and after T2, and any tag access from the system bus side and the local bus side,
The state signal 22 has the same value as in FIG. At the end of the processing, the local bus side state signal 20 becomes “I”.
In the state, the in-process flag register 111 indicates “OF
F ".
【0016】また上記図1(a)に示す発明の実施の形
態で上記図1(b)に示す2次キャッシュメモリヒット
判定回路は図5のように、メモリアレイ3cでメモリア
レイ3によるシステムバス側ステート信号19とローカ
ルバス側ステート信号20に代えてステート信号22お
よびシステムバス側トランザクションリトライフラグ信
号32とシステムバス側タグアクセスリトライフラグ信
号33とローカルバス側トランザクションリトライフラ
グ信号34とローカルバス側タグアクセスリトライフラ
グ信号35を出力し、ORゲート6でセレクタ5に代え
てメモリアレイ3cによるステート信号22を用い、セ
レクタ5dでアクセス方向選択信号15によるアクセス
方向に従い、メモリアレイ3cによるリトライフラグ信
号32と34および33と35に対し選択をして選択ト
ランザクションリトライフラグ信号36とタグアクセス
リトライフラグ信号37として出力する。さらにAND
ゲート7aで比較器4によるアドレス一致信号21が
「1」かつセレクタ5dによる選択トランザクションリ
トライフラグ信号36が「1」のとき(アクセスするア
ドレスと同じアドレスのキャッシュラインがあり、当該
アクセス方向に対応するトランザクションリトライフラ
グがセットされているとき)だけ「1」を表すトランザ
クションとリトライフラグ信号38として出力し、AN
Dゲート7bで比較器4によるアドレス一致信号21が
「1」かつセレクタ5dによる選択タグアクセスリトラ
イフラグ信号37が「1」のとき(アクセスするアドレ
スと同じアドレスのキャッシュラインがあり、当該アク
セス方向に対応するタグアクセスリトライフラグがセッ
トされているとき)だけ「1」を表すタグアクセスリト
ライフラグ信号39として出力する2次キャッシュメモ
リヒット/リトライ(再試行)判定回路として構成して
もよい。デッドロックを回避しなければならないケース
ではトランザクションリトライを行い、それ以外のケー
スではトランザクションリトライよりも性能のペナルテ
ィが小さいタグアクセスリトライを行うように、必要に
応じてトランザクションリトライとタグアクセスリトラ
イを使い分けることができる(使い方によっては4つの
フラグすべてを使うとは限らないから、その場合は使用
するフラグだけを設ければよい)。また当該既存回路で
物理的なタグ更新処理中やスプリット機能をもつバスの
スプリット中トランザクションと同じアドレスに対し必
要なキャッシュメモリアクセス制御回路を共用できる。In the embodiment of the invention shown in FIG. 1A, the secondary cache memory hit judging circuit shown in FIG. 1B uses the system bus of the memory array 3c in the memory array 3c as shown in FIG. State signal 22, system bus side transaction retry flag signal 32, system bus side tag access retry flag signal 33, local bus side transaction retry flag signal 34, local bus side tag instead of side state signal 19 and local bus state signal 20. An access retry flag signal 35 is output, the OR gate 6 uses the state signal 22 from the memory array 3c instead of the selector 5, and the selector 5d outputs a retry flag signal 32 from the memory array 3c according to the access direction by the access direction selection signal 15. 34 and 33 and 35 with respect to the selected output as the selected transaction retry flag signal 36 and the tag access retry flag signal 37. And AND
In the gate 7a, when the address match signal 21 by the comparator 4 is "1" and the selected transaction retry flag signal 36 by the selector 5d is "1" (there is a cache line having the same address as the address to be accessed, and it corresponds to the access direction). Only when the transaction retry flag is set), a transaction representing "1" and a retry flag signal 38 are output, and
In the D gate 7b, when the address match signal 21 from the comparator 4 is "1" and the selected tag access retry flag signal 37 by the selector 5d is "1" (there is a cache line having the same address as the address to be accessed, and The secondary cache memory hit / retry (retry) determination circuit may be configured to output the tag access retry flag signal 39 indicating “1” only when the corresponding tag access retry flag is set. Use transaction retry and tag access retry as necessary so that transaction retry is performed in cases where deadlock must be avoided, and tag access retry with a smaller performance penalty than transaction retry in other cases (Because depending on the usage, not all four flags are used, in that case, only the flags to be used need be provided.) Also, the existing circuit can share a necessary cache memory access control circuit for the same address as during a physical tag update process or during a splitting transaction of a bus having a split function.
【0017】上記実施の形態の階層キャッシュメモリ
は、パイプラインバスに接続する階層化されたキャッシ
ュメモリのステートを更新する過渡期で処理中アドレス
に対してだけ当該キャッシュメモリにアクセスしないよ
うにステート遷移制御をする方式(パイプラインバス用
ステート遷移コヒーレンシ方式)を採る。In the hierarchical cache memory of the above-described embodiment, state transition is performed so as not to access the cache memory only for the address being processed in a transition period in which the state of the hierarchical cache memory connected to the pipeline bus is updated. A control method (pipeline bus state transition coherency method) is adopted.
【0018】上記図1(c)の場合、2次キャッシュメ
モリヒット/リトライ判定回路のメモリアレイ3cでま
ず当該ステート信号22は「S」ステートで当該リトラ
イフラグ信号32と33と34と35はすべて「OF
F」になっているとし、つぎにシステムバス103とロ
ーカルバス102上の無効化トランザクションを発行す
るタイミングT1で当該ステート信号22を「I」ステ
ートに更新し、当該ローカルバス側トランザクションリ
トライフラグ信号34を「ON」にし、タイミングT2
で当該ローカルバス側トランザクションリトライフラグ
信号34を「OFF」に戻す。処理終了時点で当該ステ
ート信号22は「I」ステートで当該リトライフラグ信
号32と33と34と35はすべて「OFF」になる。
タイミングT1とT2間で処理中のトランザクションと
同じアドレスのシステムバス側に発行されるトランザク
ションに対し、「OFF」を表すシステムバス側リトラ
イフラグ信号32と33により「0」を表すリトライフ
ラグ信号38と39で、リトライ以外のタグアクセス結
果を有効にする。このときの「I」ステートにより
「0」を表すキャッシュヒット信号24に従いシステム
バス側はミスヒットする。またタイミングT1とT2間
で処理中のトランザクションと同じアドレスのローカル
バス側に発行されるトランザクションに対し、「ON」
を表すローカルバス側トランザクションリトライフラグ
信号34により「1」を表すトランザクションリトライ
フラグ信号38でローカルバスのトランザクションをリ
トライさせ、リトライ以外のタグアクセス結果を無効に
する。このときローカルバス側のトランザクションはリ
トライにより有効なキャッシュメモリのアクセスができ
ない。なおタイミングT1でメモリアレイ3cのシステ
ムバス側タグアクセスリトライフラグ信号32を「O
N」にし、タイミングT2で当該ステート信号22を
「I」ステートに更新し、当該システムバス側タグアク
セスリトライフラグ信号32を「OFF」に戻し、タイ
ミングT1とT2間でシステムバス側のトランザクショ
ンがタグアクセスリトライで有効なキャッシュメモリア
クセスを待たされ、ローカルバス側のトランザクション
がヒットするように、上記動作例と異なる制御をしても
よい。In the case of FIG. 1C, the state signal 22 is first in the "S" state in the memory array 3c of the secondary cache memory hit / retry determination circuit, and the retry flag signals 32, 33, 34, and 35 are all present. "OF
F ", the state signal 22 is updated to the" I "state at the timing T1 when the invalidation transaction on the system bus 103 and the local bus 102 is issued, and the local bus side transaction retry flag signal 34 To “ON” and the timing T2
Returns the local bus side transaction retry flag signal 34 to "OFF". At the end of the process, the state signal 22 is in the "I" state, and the retry flag signals 32, 33, 34, and 35 are all "OFF".
For a transaction issued to the system bus at the same address as the transaction being processed between timings T1 and T2, a retry flag signal 38 representing "0" is generated by system bus side retry flag signals 32 and 33 representing "OFF". At 39, tag access results other than retry are made valid. At this time, the system bus side misses according to the cache hit signal 24 representing "0" in the "I" state. Further, “ON” is set for a transaction issued to the local bus having the same address as the transaction being processed between timings T1 and T2.
A transaction retry flag signal 38 representing "1" is retried for a local bus transaction by a local bus transaction retry flag signal 34 representing "1", and the tag access result other than the retry is invalidated. At this time, the transaction on the local bus side cannot access the effective cache memory due to the retry. At the timing T1, the system bus side tag access retry flag signal 32 of the memory array 3c is set to "O".
N ", the state signal 22 is updated to the" I "state at the timing T2, the system bus-side tag access retry flag signal 32 is returned to" OFF ", and the transaction on the system bus is performed between the timings T1 and T2. Control different from the above operation example may be performed so that a valid cache memory access is waited for in the access retry and a transaction on the local bus side hits.
【0019】また上記図1(a)に示す発明の実施の形
態で上記図4に示す2次キャッシュメモリヒット判定回
路は図6のように、メモリアレイ3dでメモリアレイ3
bによるローカルバス側ステート信号20に代えてステ
ート信号22を出力し、ORゲート6でセレクタ5cに
代えてメモリアレイ3dによるステート信号22を用
い、セレクタ5eでアクセス方向選択信号15によるア
クセス方向に従い、ステートレジスタ113aに代えて
別途設けるリトライフラグレジスタ113bによるシス
テムバス側トランザクションリトライフラグ信号32と
システムバス側タグアクセスリトライフラグ信号33と
ローカルバス側トランザクションリトライフラグ信号3
4とローカルバス側タグアクセスリトライフラグ信号3
5に対し選択をして選択トランザクションリトライフラ
グ信号36と選択タグアクセスリトライフラグ信号37
として出力する。さらにANDゲート7cで比較器4に
よるアドレス一致信号21が「1」かつセレクタ5eに
よる選択トランザクションリトライフラグ信号36が
「1」かつANDゲート10aによるリトライフラグ有
効信号29bが「1」のときだけ「1」を表すトランザ
クションリトライフラグ信号38として出力し、AND
ゲート7dで比較器4によるアドレス一致信号21が
「1」かつセレクタ5eによる選択トランザクションリ
トライフラグ信号36が「1」かつANDゲート10a
によるリトライフラグ有効信号29bが「1」のときだ
け「1」を表すタグアクセスリトライフラグ信号39と
して出力する2次キャッシュメモリヒット/リトライ判
定回路として構成してもよい。キャッシュメモリのタグ
外部レジスタに処理中アドレスと上位/下位バス側から
のトランザクションリトライフラグとタグアクセスリト
ライフラグをもち、上記図5に示す実施形態例に比べ、
当該タグ部のビット幅をより少なくでき、当該タグ更新
回数を1回で済ませられる。また処理中アドレスに対し
タグ参照をしないで済み、当該タグ参照回数をより小さ
くできる。図1(c)の場合、2次キャッシュメモリヒ
ット/リトライ判定回路のメモリアレイ3dでまず当該
ステート信号22は「S」ステートで当該処理中フラグ
レジスタ111は「OFF」になっているとし、つぎに
システムバス103とローカルバス102上の無効化ト
ランザクションを発行するタイミングT1で当該ステー
ト信号22を「I」ステートに更新し、当該処理中フラ
グレジスタ111を「ON」にし、アドレスレジスタ1
12にトランザクションアドレスをセットし、リトライ
フラグレジスタ113bによるローカルバス側トランザ
クションリトライフラグ信号34を「ON」にし、タイ
ミングT2で当該処理中フラグレジスタ111を「OF
F」に戻す。処理終了時点で当該ステート信号22は
「I」ステートで当該処理中フラグレジスタ111は
「OFF」になる。タイミングT1前、T1とT2間お
よびT2後のいずれにおけるシステムまたはローカルバ
ス側からのアクセス時でも、キャッシュヒット24とト
ランザクションリトライフラグ信号38とタグアクセス
リトライフラグ信号39は上記図5に示す実施例と同じ
値になる。In the embodiment of the invention shown in FIG. 1A, the secondary cache memory hit judging circuit shown in FIG. 4 uses the memory array 3d as shown in FIG.
b, a state signal 22 is output in place of the local bus side state signal 20, and the OR gate 6 uses the state signal 22 from the memory array 3d instead of the selector 5c. A system bus side transaction retry flag signal 32, a system bus side tag access retry flag signal 33, and a local bus side transaction retry flag signal 3 provided by a retry flag register 113b separately provided instead of the state register 113a.
4 and local bus side tag access retry flag signal 3
5, the selected transaction retry flag signal 36 and the selected tag access retry flag signal 37
Output as Further, only when the address match signal 21 of the comparator 4 is "1" in the AND gate 7c, the selected transaction retry flag signal 36 of the selector 5e is "1", and the retry flag valid signal 29b of the AND gate 10a is "1", "1" Is output as a transaction retry flag signal 38 representing AND
At the gate 7d, the address match signal 21 from the comparator 4 is "1", the selected transaction retry flag signal 36 from the selector 5e is "1", and the AND gate 10a.
May be configured as a secondary cache memory hit / retry determination circuit that outputs as a tag access retry flag signal 39 representing "1" only when the retry flag valid signal 29b is "1". The tag external register of the cache memory has a processing address, a transaction retry flag from the upper / lower bus side, and a tag access retry flag, and is different from the embodiment shown in FIG.
The bit width of the tag portion can be reduced, and the number of times of updating the tag can be reduced to one. Further, it is not necessary to refer to a tag for the address being processed, and the number of times of tag reference can be reduced. In the case of FIG. 1C, in the memory array 3d of the secondary cache memory hit / retry determination circuit, first, the state signal 22 is in the "S" state, and the processing flag register 111 is "OFF". The state signal 22 is updated to the “I” state at the timing T1 at which the invalidation transactions on the system bus 103 and the local bus 102 are issued, the in-process flag register 111 is turned “ON”, and the address register 1
12, the local bus side transaction retry flag signal 34 by the retry flag register 113b is set to “ON”, and the processing flag register 111 is set to “OF” at the timing T2.
F ”. At the end of the process, the state signal 22 is in the “I” state, and the in-process flag register 111 is “OFF”. The cache hit 24, the transaction retry flag signal 38, and the tag access retry flag signal 39 are the same as those in the embodiment shown in FIG. 5 regardless of the access from the system or the local bus before the timing T1, between T1 and T2, and after T2. Have the same value.
【0020】[0020]
【発明の効果】上記のようなこの発明の階層キャッシュ
メモリでは、パイプラインバスに接続する階層化された
キャッシュメモリのステートを更新する過渡期で、上位
と下位バスに異なるステートをみせるように、または処
理中アドレスに対してだけ当該キャッシュメモリにアク
セスしないようにステート遷移制御をする方式を採るか
ら、従来のように下位キャッシュメモリがヒットしない
システムバス上の非パイプライントランザクションに対
し、当該包含関係からヒットしない上位キャッシュメモ
リを参照するトランザクションをローカルバスに発行し
ないようにステート遷移制御をする方式に比べ、キャッ
シュメモリのタグ部に2つの上位と下位バス側ステート
をもち、パイプラインバスに接続する階層化されたキャ
ッシュメモリのコヒーレンシを保証できるほか各発明ご
とにつぎの効果がある。 (1)キャッシュメモリのタグ部に一方のバス側ステー
トと当該一方のバス側ステートを他方のバス側ステート
に修正するフラグをもち、当該タグ部のビット幅を少な
くできる。 (2)キャッシュメモリのタグ部に一方のバス側ステー
トさらに当該タグ外部レジスタに処理中アドレスと他方
のバス側ステートをもち、当該タグ部のビット幅をより
少なくできる。また一方のバスに対応するタグ更新だけ
で済み、当該タグ更新回数をより少なくできる。またス
テートをもつレジスタ側からのアクセスに対しタグ参照
をしないで済み、当該タグ参照回数をより少なくでき
る。 (3)キャッシュメモリのタグ外部レジスタに処理中ア
ドレスと2つの上位と下位バス側ステートをもち、更新
処理の完了を待たないで当該更新処理中のアドレスに対
するアクセスに応答できる。 (4)デッドロックを回避しなければならないケースで
はトランザクションリトライを行い、それ以外のケース
ではトランザクションリトライよりも性能のペナルティ
が小さいタグアクセスリトライを行うように、必要に応
じてトランザクションリトライとタグアクセスリトライ
を使い分けることができる(使い方によっては4つのフ
ラグすべてを使うとは限らないから、その場合は使用す
るフラグだけを設ければよい)。 (5)キャッシュメモリのタグ外部レジスタに処理中ア
ドレスと4つのサブセットフラグとして上位/下位バス
側からのトランザクションリトライフラグとタグアクセ
スリトライフラグをもち、上記(4)に対応する実施形
態側に比べ、当該タグ部のヒット幅をより少なくでき、
当該タグ更新回数を1回で済ませられる。また処理中ア
ドレスに対しタグ参照をしないで済み、当該タグ参照回
数をより小さくできる。According to the hierarchical cache memory of the present invention as described above, in the transition period for updating the state of the hierarchical cache memory connected to the pipeline bus, different states are shown in the upper and lower buses. Alternatively, since a method of performing state transition control so that the cache memory is not accessed only for the address being processed is adopted, the inclusion relationship is not applied to the non-pipeline transaction on the system bus in which the lower cache memory does not hit as in the related art. In comparison with the method of performing state transition control so as not to issue a transaction referring to the upper cache memory that does not hit from the local bus to the local bus, the tag section of the cache memory has two upper and lower bus side states and is connected to the pipeline bus. The hierarchical cache memory The effect of the following for each invention in addition can guarantee Renshi. (1) The tag portion of the cache memory has one bus side state and a flag for correcting the one bus side state to the other bus side state, so that the bit width of the tag portion can be reduced. (2) The tag section of the cache memory has one bus-side state, the address being processed and the other bus-side state in the tag external register, and the bit width of the tag section can be further reduced. Further, it is only necessary to update the tag corresponding to one bus, and the number of times of updating the tag can be further reduced. Further, it is not necessary to refer to a tag for access from a register having a state, and the number of times of reference to the tag can be further reduced. (3) The tag external register of the cache memory has a processing address and two upper and lower bus side states, and can respond to an access to the address being updated without waiting for the completion of the update processing. (4) Transaction retry is performed in cases where deadlock must be avoided, and in other cases, transaction retry and tag access retry are performed as necessary so that tag access retry with a smaller performance penalty than transaction retry is performed. (Because depending on how to use, not all four flags are used, in that case, only the flags to be used need be provided.) (5) The tag external register of the cache memory has a processing address and four subset flags, a transaction retry flag from the upper / lower bus side and a tag access retry flag as four subset flags, which is different from the embodiment corresponding to the above (4). The hit width of the tag part can be reduced,
The tag can be updated only once. Further, it is not necessary to refer to the tag for the address being processed, and the number of times of reference to the tag can be reduced.
【図1】 この発明の実施の一形態を示す階層キャッシ
ュメモリのシステム構成図と当該2次キャッシュメモリ
ヒット判定回路の機能ブロック図と当該2次キャッシュ
メモリの動作を説明するタイミング図である。FIG. 1 is a system configuration diagram of a hierarchical cache memory showing an embodiment of the present invention, a functional block diagram of a secondary cache memory hit determination circuit, and a timing diagram for explaining the operation of the secondary cache memory.
【図2】 この発明の実施の他の一形態を示す当該2次
キャッシュメモリ判定回路の機能ブロック図である。FIG. 2 is a functional block diagram of the secondary cache memory determination circuit showing another embodiment of the present invention.
【図3】 この発明の実施の他の一形態を示す当該2次
キャッシュメモリ判定回路の機能ブロック図である。FIG. 3 is a functional block diagram of the secondary cache memory determination circuit showing another embodiment of the present invention.
【図4】 この発明の実施の他の一形態を示す当該2次
キャッシュメモリ判定回路の機能ブロック図である。FIG. 4 is a functional block diagram of the secondary cache memory determination circuit showing another embodiment of the present invention.
【図5】 この発明の実施の他の一形態を示す当該2次
キャッシュメモリヒット/リトライ判定回路の機能ブロ
ック図である。FIG. 5 is a functional block diagram of the secondary cache memory hit / retry determination circuit showing another embodiment of the present invention.
【図6】 この発明の実施の他の一形態を示す当該2次
キャッシュメモリヒット/リトライ判定回路の機能ブロ
ック図である。FIG. 6 is a functional block diagram of the secondary cache memory hit / retry determination circuit showing another embodiment of the present invention.
【図7】 従来の技術を示す階層キャッシュメモリのシ
ステム構成図と当該2次キャッシュメモリの動作を説明
するタイミング図である。FIG. 7 is a system configuration diagram of a hierarchical cache memory showing a conventional technique and a timing diagram for explaining the operation of the secondary cache memory.
1 セレクタ、2 セレクタ、3、3a、3b、3c、
3d メモリアレイ、4 比較器、5、5a、5b、5
c、5d、5e セレクタ、6、6a ORゲート、
7、7a、7b、7c、7d、7e ANDゲート、8
ステート修正回路、9 比較器、10、10a AN
Dゲート、11 システムバス側タグアドレス信号、1
2 ローカルバス側タグアドレス信号、13 システム
バス側インデックスアドレス信号、14 ローカルバス
側インデックスアドレス信号、15アクセス方向選択信
号、16 選択タグアドレス信号、17 選択インデッ
クスアドレス信号、18 参照タグアドレス信号、19
システムバス側ステート信号、20 ローカルバス側
ステート信号、21 アドレス一致信号、22 ステー
ト信号、23 ステート有効信号、24 キャッシュヒ
ット信号、25 ステート修正フラグ信号、26 処理
中フラグ信号、27 処理中アドレス信号、28 処理
中アドレス一致信号、29、29a ステートレジスタ
選択信号、29b リトライフラグ有効信号、30 処
理中システムバス側ステート信号、31 処理中ローカ
ルバス側ステート信号、32 システムバス側トランザ
クションリトライフラグ信号、33 システムバス側タ
グアクセスリトライフラグ信号、34 ローカルバス側
トランザクションリトライフラグ信号、35 ローカル
バス側タグアクセスリトライフラグ信号、36 選択ト
ランザクションリトライフラグ信号、37 選択タグア
クセスリトライフラグ信号、38 トランザクションリ
トライフラグ信号、39 タグアクセスリトライフラグ
信号、111 処理中フラグレジスタ、112 アドレ
スレジスタ、113、113a ステートレジスタ、1
13b リトライフラグレジスタ。なお図中、同一符号
は同一または相当部分を示す。1 selector, 2 selector, 3, 3a, 3b, 3c,
3d memory array, 4 comparators, 5, 5a, 5b, 5
c, 5d, 5e selector, 6, 6a OR gate,
7, 7a, 7b, 7c, 7d, 7e AND gate, 8
State correction circuit, 9 comparator, 10, 10a AN
D gate, 11 System bus side tag address signal, 1
2 Local bus side tag address signal, 13 System bus side index address signal, 14 Local bus side index address signal, 15 Access direction selection signal, 16 Selected tag address signal, 17 Selected index address signal, 18 Reference tag address signal, 19
System bus side state signal, 20 local bus side state signal, 21 address match signal, 22 state signal, 23 state valid signal, 24 cache hit signal, 25 state modification flag signal, 26 processing flag signal, 27 processing address signal, 28 Address match signal during processing, 29, 29a State register selection signal, 29b Retry flag enable signal, 30 Processing system bus side state signal, 31 Processing local bus side state signal, 32 System bus side transaction retry flag signal, 33 System Bus-side tag access retry flag signal, 34 Local bus-side transaction retry flag signal, 35 Local bus-side tag access retry flag signal, 36 Selected transaction retry flag signal, 37 selected Tag access retry flag signal, 38 transaction retry flag signal, 39 tag access retry flag signal, 111 processing flag register, 112 address register, 113, 113a state register, 1
13b Retry flag register. In the drawings, the same reference numerals indicate the same or corresponding parts.
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 12/08 G06F 15/16 - 15/177 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 12/08 G06F 15/16-15/177
Claims (7)
メモリと前記下位キャッシュメモリ内に設けられたキャ
ッシュメモリヒット判定回路とを有し、パイプラインバ
スに接続され、下位キャッシュメモリのステートを更新
する過渡期で上位バスと下位バスに異なったステートを
見せるステート遷移制御を行う階層キャッシュメモリに
おいて、 前記キャッシュメモリ判定回路は、システムバス側タグ
アドレス信号およびローカルバス側タグアドレス信号を
受信し、アクセスの要求がシステムバスまたはローカル
バスのどちら側からのものかを示すアクセス方向選択信
号に従って、前記システムバス側タグアドレス信号およ
びローカルバス側タグアドレス信号のどちらか一方をタ
グアドレス信号として選択し、 システムバス側インデックスアドレス信号およびローカ
ルバス側インデックスアドレス信号を受信し、前記アク
セス方向選択信号に従って、前記システムバス側インデ
ックスアドレス信号および前記ローカルバス側インデッ
クスアドレス信号のどちらか一方をインデックスアドレ
ス信号として選択し、 前記インデックスアドレス信号および前記タグアドレス
信号に基づいて、キャッシュがヒットしたか否かを判断
し、キャッシュにヒットした場合にはキャッシュヒット
信号を出力する制御をなし、 さらに、前記システムバス上にキャッシュデータライン
を無効化する無効化トランザクションが発生したタイミ
ングで、前記キャッシュデータラインに対応するシステ
ム側で発生したアクセスの要求に対してのみ、キャッシ
ュヒット信号を出力しない制御をし、前記システムバス
上に発生した前記無効化トランザクションに対応してロ
ーカルバス上の無効化トランザクションが発生したタイ
ミングで、前記キャッシュデータラインに対応するロー
カルバス側で発生したアクセスの要求に対しても、キャ
ッシュヒット信号を出力しない制御を行なうことを特徴
とする階層キャッシュメモリ。1. An upper cache memory and a lower cache
Memory and the cache provided in the lower cache memory.
And a flash memory hit determination circuit.
Update the state of the lower cache memory
Different states for the upper and lower buses during the transition period
Hierarchical cache memory for state transition control
The cache memory determination circuit receives the system bus side tag address signal and the local bus side tag address signal, and according to an access direction selection signal indicating whether the access request is from the system bus or the local bus. Selecting one of the system bus side tag address signal and the local bus side tag address signal as a tag address signal, receiving the system bus side index address signal and the local bus side index address signal, and according to the access direction selection signal. One of the system bus-side index address signal and the local bus-side index address signal is selected as an index address signal, and is selected based on the index address signal and the tag address signal. And determines whether or not a cache hit has occurred, and in the event of a cache hit, controls to output a cache hit signal. Further, an invalidation transaction that invalidates a cache data line on the system bus has occurred. At the timing, only the access request generated on the system side corresponding to the cache data line is controlled not to output the cache hit signal, and the system bus is controlled.
The log corresponding to the invalidation transaction that occurred above
Local bus where the invalidation transaction occurred
In timing, even for requests of access that occurred in the local bus side corresponding to the cache line of data, the hierarchical cache memory and performing control not to output cache hit signal.
メモリと前記下位キャッシュメモリ内に設けられたキャ
ッシュメモリヒット判定回路とを有し、パイプラインバ
スに接続され、下位キャッシュメモリのステートを更新
する過渡期で 上位バスと下位バスに異なったステートを
見せるステート遷移制御を行う階層キャッシュメモリに
おいて、 前記キャッシュメモリヒット判定回路は、 システムバス側タグアドレス信号およびローカルバス側
タグアドレス信号を受信し、アクセスの要求がシステム
バスまたはローカルバスのどちら側からのものかを示す
アクセス方向選択信号に従って、前記システムバス側タ
グアドレス信号およびローカルバス側タグアドレス信号
のどちらか一方をタグアドレス信号として出力する第1
のセレクタと、 システムバス側インデックスアドレス信号およびローカ
ルバス側インデックスアドレス信号を受信し、前記アク
セス方向選択信号に従って、前記システムバス側インデ
ックスアドレス信号および前記ローカルバス側インデッ
クスアドレス信号のどちらか一方をインデックスアドレ
ス信号として出力する第2のセレクタと、メインメモリ
に対するキャッシュの状態を有するタグ部を保持し、前
記インデックスアドレス信号に従い前記タグ部から参照
タグアドレス信号と、システムバス側ステート信号およ
びローカルバス側ステート信号を出力するメモリアレイ
と、前記アクセス方向選択信号に従い、前記システムバ
ス側ステート信号および前記ローカルバス側ステート信
号のどちらか一方をステート信号として出力する第3の
セレクタと、 前記タグアドレス信号と前記参照タグアドレス信号とが
一致するか否かを判定し、一致する場合にはアドレス一
致信号を出力する比較器と、 前記ステート信号がキャッシュ上に写しが存在すること
を表わしている場合にのみステート有効信号を出力する
ORゲートと、 前記アドレス一致信号と前記ステート有効信号に従っ
て、キャッシュヒット信号を出力するANDゲートとを
有し、 さらに、前記メモリアレイは、前記システムバス上にキ
ャッシュラインデータを無効化する無効化トランザクシ
ョンが発生したタイミングで、前記キャッシュラインデ
ータに対応する前記システムバス側ステート信号のみ、
前記キャッシュ上に写しがないとする状態を表わすよう
にし、前記システムバス上に発生した前記無効化トラン
ザクションに対応してローカルバス上の無効化トランザ
クションが 発生したタイミングで、前記キャッシュライ
ンデータに対応する前記ローカルバス側ステート信号を
も、前記キャッシュ上に写しがないとする状態を表わす
ようにすることを特徴とする階層キャッシュメモリ。2. An upper cache memory and a lower cache.
Memory and the cache provided in the lower cache memory.
And a flash memory hit determination circuit.
Update the state of the lower cache memory
Different states for the upper and lower buses during the transition period
Hierarchical cache memory for state transition control
The cache memory hit determination circuit receives a system bus side tag address signal and a local bus side tag address signal, and an access direction selection signal indicating whether the access request is from the system bus or the local bus. Output one of the system bus side tag address signal and the local bus side tag address signal as a tag address signal according to
And a system bus side index address signal and a local bus side index address signal, and according to the access direction selection signal, either one of the system bus side index address signal and the local bus side index address signal is indexed. A second selector for outputting a signal, a tag section having a cache state for the main memory, and a reference tag address signal, a system bus side state signal and a local bus side state signal from the tag section according to the index address signal And a third cell that outputs one of the system bus side state signal and the local bus side state signal as a state signal in accordance with the access direction selection signal. A comparator that determines whether or not the tag address signal and the reference tag address signal match, and outputs an address match signal if the tag address signal and the reference tag address signal match; and a copy of the state signal exists on the cache. And an AND gate that outputs a cache hit signal in accordance with the address match signal and the state valid signal. The memory array further comprises: At the timing when the invalidation transaction for invalidating the cache line data on the system bus occurs, only the system bus side state signal corresponding to the cache line data,
A state is assumed that there is no copy on the cache, and the invalidation transaction generated on the system bus is represented.
Invalidation transaction on local bus corresponding to transaction
At a timing action occurs, the local bus side state signal corresponding to the cache line data
Also, the hierarchical cache memory, characterized in that to represent the state that there is no copy on the cache.
メモリと前記下位キャッシュメモリ内に設けられたキャ
ッシュメモリヒット判定回路とを有し、パイプラインバ
スに接続され、下位キャッシュメモリのステートを更新
する過渡期で上位バスと下位バスに異なったステートを
見せるステート遷移制御を行う階層キャッシュメモリに
おいて、 前記キャッシュメモリヒット判定回路は、 システムバス側タグアドレス信号およびローカルバス側
タグアドレス信号を受信し、アクセスの要求がシステム
バスまたはローカルバスのどちら側からのものかを示す
アクセス方向選択信号に従って、前記システムバス側タ
グアドレス信号およびローカルバス側タグアドレス信号
のどちらか一方をタグアドレス信号として出力する第1
のセレクタと、 システムバス側インデックスアドレス信号およびローカ
ルバス側インデックスアドレス信号を受信し、前記アク
セス方向選択信号に従って、前記システムバス側インデ
ックスアドレス信号および前記ローカルバス側インデッ
クスアドレス信号のどちらか一方をインデックスアドレ
ス信号として出力する第2のセレクタと、メインメモリ
に対するキャッシュの状態と一方のバス側ステートを他
方のバス側ステートに修正するフラグとを有するタグ部
を保持し、前記インデックスアドレス信号に従い前記タ
グ部から参照タグアドレス信号を出力し、前記タグ部が
有するキャッシュの状態と前記フラグとを参照して、ロ
ーカルバス側ステート信号とステート修正フラグ信号と
を出力するメモリアレイと、 前記ステート修正フラグ信号がONの場合には、ローカ
ルバス側ステート信号をシステムバス側ステート信号に
変更するステート修正回路と、 前記アクセス方向選択信号に従い、前記システムバス側
ステート信号および前記ローカルバス側ステート信号の
どちらか一方をステート信号として出力する第3のセレ
クタと、 前記タグアドレス信号と前記参照タグアドレス信号とが
一致するか否かを判定し、一致する場合にはアドレス一
致信号を出力する比較器と、 前記ステート信号がキャッシュ上に写しが存在すること
を表わしている場合にのみステート有効信号を出力する
ORゲートと、 前記アドレス一致信号と前記ステート有効信号に従いキ
ャッシュヒット信号を出力するANDゲートとを有し、 さらに、前記メモリアレイは、システムバス上にキャッ
シュラインデータを無効化する無効化トランザクション
が発生したタイミングで、前記キャッシュラインデータ
に対応するステート修正フラグ信号がONになるように
して前記ステート信号は前記ローカルバス側ステート信
号となるようにし、前記システムバス上に発生した前記
無効化トランザクションに対応してローカルバス上の無
効化トランザクションが発生したタイミングで、前記キ
ャッシュラインデータに対応するステート修正フラグ信
号がOFFになるようにし、前記ローカルバス側ステー
ト信号が、前記キャッシュ上に写しがないとする状態を
表わすようにすることを特徴とする階層キャッシュメモ
リ。3. An upper cache memory and a lower cache.
Memory and the cache provided in the lower cache memory.
And a flash memory hit determination circuit.
Update the state of the lower cache memory
Different states for the upper and lower buses during the transition period
Hierarchical cache memory for state transition control
The cache memory hit determination circuit receives a system bus side tag address signal and a local bus side tag address signal, and an access direction selection signal indicating whether the access request is from the system bus or the local bus. Output one of the system bus side tag address signal and the local bus side tag address signal as a tag address signal according to
And a system bus side index address signal and a local bus side index address signal, and according to the access direction selection signal, either one of the system bus side index address signal and the local bus side index address signal is indexed. A second selector that outputs the signal as a signal, and a tag unit having a cache state for the main memory and a flag that corrects one bus side state to the other bus side state, and stores the tag unit according to the index address signal. A memory array that outputs a reference tag address signal, and outputs a local bus side state signal and a state correction flag signal by referring to a state of a cache included in the tag unit and the flag; Is ON, a state correction circuit for changing a local bus side state signal to a system bus side state signal; and one of the system bus side state signal and the local bus side state signal according to the access direction selection signal. A third selector that outputs whether or not the tag address signal and the reference tag address signal match, and outputs an address match signal if the tag address signal and the reference tag address signal match; An OR gate that outputs a state valid signal only when the signal indicates that a copy exists on the cache; and an AND gate that outputs a cache hit signal according to the address match signal and the state valid signal, Further, the memory array is provided with a cache line data on a system bus. At a timing invalidate transaction occurs to disable the data, the state signal state correction flag signal corresponding to the cache line data is set to be in the ON state the local bus side state signal
Signal on the system bus.
Nothing on the local bus in response to an invalidation transaction
At the time when the validation transaction occurs, the state correction flag signal corresponding to the cache line data is turned off, and the local bus side state signal indicates a state where there is no copy on the cache. A hierarchical cache memory.
メモリと前記下位キャッシュメモリ内に設けられたキャ
ッシュメモリヒット判定回路とを有し、パイプラインバ
スに接続され、下位キャッシュメモリのステートを更新
する過渡期で上位バスと下位バスに異なったステートを
見せるステート遷移制御を行う階層キャッシュメモリに
おいて、 前記キャッシュメモリヒット判定回路は、 システムバス側タグアドレス信号およびローカルバス側
タグアドレス信号を受信し、アクセスの要求がシステム
バスまたはローカルバスのどちら側からのものかを示す
アクセス方向選択信号に従って、前記システムバス側タ
グアドレス信号およびローカルバス側タグアドレス信号
のどちらか一方をタグアドレス信号として出力する第1
のセレクタと、 システムバス側インデックスアドレス信号およびローカ
ルバス側インデックスアドレス信号を受信し、前記アク
セス方向選択信号に従って、前記システムバス側インデ
ックスアドレス信号および前記ローカルバス側インデッ
クスアドレス信号のどちらか一方をインデックスアドレ
ス信号として出力する第2のセレクタと、キャッシュメ
モリの処理中を示すフラグを所持し、処理中の場合には
ONを、処理中でない場合にはOFFを処理中フラグ信
号として出力する処理中フラグレジスタと、 前記キャッシュメモリの処理中のアドレスを保持し、処
理中アドレス信号として出力するアドレスレジスタと、 前記処理中のアドレスに対応するシステムバス側ステー
トを保持し、処理中システムバス側ステート信号として
出力するステートレジスタと、 前記タグアドレス信号と前記インデックスアドレス信号
が、前記処理中アドレス信号に一致するかを判定し、一
致する場合には処理中アドレス一致信号を出力する第1
の比較器と、 前記アクセス方向選択信号に従い、前記処理中アドレス
一致信号が存在し、さらに前記処理中フラグ信号がON
の場合に、ステートレジスタ選択信号を出力するAND
ゲートと、 メインメモリに対するキャッシュを表わすタグ部を保持
し、前記インデックスアドレス信号に従い前記タグ部か
ら参照タグアドレス信号とローカルバス側ステート信号
とを出力するメモリアレイと、 前記ステートレジスタ選択信号と前記ローカルバス側ス
テート信号と前記処理中システムバス側ステート信号に
従ってステート信号を出力する第3のセレクタと、 前記タグアドレス信号と前記参照タグアドレス信号とが
一致するか否かを判定し、一致する場合にはアドレス一
致信号を出力する比較器と、 前記ステート信号がキャッシュ上に写しが存在すること
を表わしている場合にのみステート有効信号を出力する
ORゲートと、 前記アドレス一致信号と前記ステート有効信号に従いキ
ャッシュヒット信号を出力するANDゲートとを有し、 さらに、前記システムバス上にキャッシュラインデータ
を無効化する無効化トランザクションが発生したタイミ
ングで、前記処理中フラグレジスタは、前記キャッシュ
ラインデータに対応する処理中フラグ信号をONになる
ようにし、前記アドレスレジスタに前記キャッシュライ
ンデータに対応するアドレスをセットし、前記ステート
レジスタに前記キャッシュラインデータに対応する前記
システムバス側ステートのみを、前記キャッシュ上に写
しがないとする状態を表わすようにし、前記システムバ
ス上に発生した前記無効化トランザクションに対応して
ローカルバス上の無効化トランザクションが発生したタ
イミングで、前記メモリアレイは、前記キャッシュライ
ンデータに対応する前記ローカルバス側ステート信号を
も、前記キャッシュ上に写しがないとする状態を表わす
ようにし、前記処理中フラグレジスタは、前記キャッシ
ュラインデータに対応する処理中フラグ信号をOFFに
なるようにすることを特徴とする階層キャッシュメモ
リ。4. An upper cache memory and a lower cache
Memory and the cache provided in the lower cache memory.
And a flash memory hit determination circuit.
Update the state of the lower cache memory
Different states for the upper and lower buses during the transition period
Hierarchical cache memory for state transition control
The cache memory hit determination circuit receives a system bus side tag address signal and a local bus side tag address signal, and an access direction selection signal indicating whether the access request is from the system bus or the local bus. Output one of the system bus side tag address signal and the local bus side tag address signal as a tag address signal according to
And a system bus side index address signal and a local bus side index address signal, and according to the access direction selection signal, either one of the system bus side index address signal and the local bus side index address signal is indexed. A second selector for outputting a signal as a signal and a flag indicating that the cache memory is being processed, and a processing flag register for outputting ON as a processing flag signal when processing is being performed and OFF when processing is not being performed; An address register that holds the address being processed of the cache memory and outputs it as an address signal being processed; and a system bus side state corresponding to the address being processed is output as a state signal on the system bus side being processed. To And Torejisuta, the tag address signal and the index address signal, to determine whether it matches to the processing in the address signal, the first outputs the processing in the address matching signal when a match
And the in-process address match signal is present in accordance with the access direction selection signal, and the in-process flag signal is turned on.
And outputs a state register selection signal in the case of
A gate, a memory array holding a tag unit representing a cache for a main memory, and outputting a reference tag address signal and a local bus side state signal from the tag unit according to the index address signal; A third selector for outputting a state signal in accordance with the bus side state signal and the processing system bus side state signal; determining whether the tag address signal and the reference tag address signal match; Is a comparator that outputs an address match signal; an OR gate that outputs a state valid signal only when the state signal indicates that a copy exists on the cache; AND gate that outputs a cache hit signal The processing flag register turns on a processing flag signal corresponding to the cache line data at a timing when an invalidation transaction for invalidating cache line data occurs on the system bus. The address register is set to an address corresponding to the cache line data, and the state register represents a state in which only the system bus side state corresponding to the cache line data is not copied on the cache. And the system
In response to the invalidation transaction that occurred on the
The source of the invalidation transaction on the local bus.
In timing, said memory array, said local bus side state signal corresponding to the cache line data
A cache flag indicating that there is no copy on the cache, and the processing flag register turns off a processing flag signal corresponding to the cache line data.
メモリと前記下位キャッシュメモリ内に設けられたキャ
ッシュメモリヒット判定回路とを有し、パイプラインバ
スに接続され、下位キャッシュメモリのステートを更新
する過渡期で上位バスと下位バスに異なったステートを
見せるステート遷移制御を行う階層キャッシュメモリに
おいて、 前記キャッシュメモリヒット判定回路は、 システムバス側タグアドレス信号およびローカルバス側
タグアドレス信号を受信し、アクセスの要求がシステム
バスまたはローカルバスのどちら側からのものかを示す
アクセス方向選択信号に従って、前記システムバス側タ
グアドレス信号およびローカルバス側タグアドレス信号
のどちらか一方をタグアドレス信号として出力する第1
のセレクタと、 システムバス側インデックスアドレス信号およびローカ
ルバス側インデックスアドレス信号を受信し、前記アク
セス方向選択信号に従って、前記システムバス側インデ
ックスアドレス信号および前記ローカルバス側インデッ
クスアドレス信号のどちらか一方をインデックスアドレ
ス信号として出力する第2のセレクタと、キャッシュメ
モリの処理中を示すフラグを所持し、処理中の場合には
ONを、処理中でない場合にはOFFを処理中フラグ信
号として出力する処理中フラグレシスタと、 前記キャッシュメモリの処理中のアドレスを保持し、処
理中アドレス信号として出力するアドレスレジスタと、 前記処理中のアドレスに対応するシステムバス側ステー
トおよびローカルバス側ステートを所持し、システムバ
ス側ステート信号およびローカルバス側ステート信号と
して出力するステートレジスタと、 前記タグアドレス信号と前記インデックスアドレス信号
が、前記処理中アドレス信号に一致するか否かを判定
し、一致する場合には処理中アドレス一致信号を出力す
る第1の比較器と、 アクセス方向選択信号に従い、前記処理中アドレス一致
信号が存在し、さらに前記処理中フラグ信号がONの場
合に、ステートレジスタ選択信号を出力するANDゲー
トと、 メインメモリに対するキャッシュを表わすタグ部を保持
し、前記インデックスアドレス信号に従い前記タグ部か
ら参照タグアドレス信号とローカルバス側ステート信号
とを出力するメモリアレイと、 前記ステートレジスタ選択信号と前記アクセス方向選択
信号と前記処理中ローカルバス側ステート信号と前記処
理中システムバス側ステート信号とからステート信号を
出力する第3のセレクタと、 前記タグアドレス信号と前記参照タグアドレス信号とが
一致するか否かを判定し、一致する場合にはアドレス一
致信号を出力する比較器と、 前記ステート信号がキャッシュ上に写しが存在すること
を表わしている場合にのみステート有効信号を出力する
ORゲートと、 前記アドレス一致信号と前記ステート有効信号に従いキ
ャッシュヒット信号を出力するANDゲートとを有し、 さらに、システムバス上にキャッシュラインデータを無
効化する無効化トランザクションが発生したタイミング
で、前記処理中フラグレジスタは前記キャッシュライン
データに対応する処理中フラグ信号をONになるように
し、前記アドレスレジスタは前記キャッシュラインデー
タに対応するアドレスをセットし、前記ステートレジス
タに前記キャッシュラインデータに対応する前記システ
ムバス側ステートのみが、前記キャッシュ上に写しがな
いとする状態を表わすようにし、前記システムバス上に発生した前記無効化トランザクシ
ョンに対応してローカルバス上の無効化トランザクショ
ンが発生したタイミングで、 前記メモリアレイは、前記
キャッシュラインデータに対応するローカルバス側ステ
ート信号をも前記キャッシュ上に写しがないとする状態
を表わすようにし、前記処理中フラグレジスタは前記キ
ャッシュラインデータに対応する処理中フラグ信号をO
FFになるようにすることを特徴とする階層キャッシュ
メモリ。5. An upper cache memory and a lower cache
Memory and the cache provided in the lower cache memory.
And a flash memory hit determination circuit.
Update the state of the lower cache memory
Different states for the upper and lower buses during the transition period
Hierarchical cache memory for state transition control
The cache memory hit determination circuit receives a system bus side tag address signal and a local bus side tag address signal, and an access direction selection signal indicating whether the access request is from the system bus or the local bus. Output one of the system bus side tag address signal and the local bus side tag address signal as a tag address signal according to
And a system bus side index address signal and a local bus side index address signal, and according to the access direction selection signal, either one of the system bus side index address signal and the local bus side index address signal is indexed. A second selector that outputs a signal as a signal, and a processing flag register that has a flag indicating that the cache memory is being processed, outputs ON as a processing flag signal when processing is being performed, and outputs OFF when processing is not being performed. An address register for holding an address being processed in the cache memory and outputting it as an address signal being processed; a system bus side state and a local bus side state corresponding to the address being processed; A state register for outputting a signal and a local bus-side state signal; and determining whether the tag address signal and the index address signal match the processing address signal. A first comparator that outputs a state register selection signal when the processing-in-progress address signal is present and the processing-in-progress flag signal is ON according to an access direction selection signal; A memory array that holds a tag unit representing a cache for a memory and outputs a reference tag address signal and a local bus side state signal from the tag unit according to the index address signal; and the state register selection signal and the access direction selection signal. The processing local bus side state signal A third selector for outputting a state signal from the state signal on the system bus side during processing; determining whether the tag address signal matches the reference tag address signal; A comparator that outputs a state valid signal only when the state signal indicates that a copy exists on a cache; and a cache hit signal according to the address match signal and the state valid signal. And an AND gate for outputting, and when the invalidation transaction for invalidating the cache line data occurs on the system bus, the in-process flag register turns on the in-process flag signal corresponding to the cache line data. And the address register is the cache Set the address corresponding to the in-data, only the system bus side state corresponding to the cache line data to the state register, and to represent the state that there is no copy on the cache, occurring on the system bus The nullifying transaction
Invalidation transaction on the local bus in response to the
At the timing when the connection occurs, the memory array stores the local bus side state corresponding to the cache line data.
In this case, the in-flight flag register indicates a state in which the in-flight flag signal corresponding to the cache line data is set to O.
A hierarchical cache memory characterized in that the cache memory becomes an FF.
メモリと前記下位キャッシュメモリ内に設けられたキャ
ッシュメモリヒット判定回路とを有し、パイプラインバ
スに接続され、下位キャッシュメモリのステートを更新
する過渡期で上位バスと下位バスに異なったステートを
見せるステート遷移制御を行う階層キャッシュメモリに
おいて、 前記キャッシュメモリヒット判定回路は、 システムバス側タグアドレス信号およびローカルバス側
タグアドレス信号を受信し、アクセスの要求がシステム
バスまたはローカルバスのどちら側からのものかを示す
アクセス方向選択信号に従って、前記システムバス側タ
グアドレス信号およびローカルバス側タグアドレス信号
のどちらか一方をタグアドレス信号として出力する第1
のセレクタと、 システムバス側インデックスアドレス信号およびローカ
ルバス側インデックスアドレス信号を受信し、前記アク
セス方向選択信号に従って、前記システムバス側インデ
ックスアドレス信号および前記ローカルバス側インデッ
クスアドレス信号のどちらか一方をインデックスアドレ
ス信号として出力する第2のセレクタと、メインメモリ
に対するキャッシュの状態を表わすタグ部とを保持し、
前記インデックスアドレス信号に従い前記タグ部から参
照タグアドレス信号と、ステート信号と、システムバス
側トランザクションリトライフラグ信号と、システムバ
ス側タグアクセスリトライフラグ信号と、ローカルバス
側トランザクションリトライフラグ信号と、ローカルバ
ス側タグアクセスリトライフラグ信号を出力するメモリ
アレイと、 アクセス方向選択信号に従い、前記システムバス側トラ
ンザクションリトライフラグ信号と前記ローカルバス側
トランザクションリトライフラグ信号のどちらか一方を
選択して選択トランザクションリトライフラグ信号とし
て出力し、前記システムバス側タグアクセスリトライフ
ラグ信号と前記ローカルバス側タグアクセスリトライフ
ラグ信号のどちらか一方を選択して選択タグアクセスリ
トライフラグ信号として出力する第3のセレクタと、 前記タグアドレス信号と前記参照タグアドレス信号とが
一致するか否かを判定し、一致する場合にはアドレス一
致信号を出力する比較器と、 前記ステート信号がキャッシュ上に写しが存在すること
を表わしている場合にのみステート有効信号を出力する
ORゲートと、 前記アドレス一致信号と前記ステート有効信号に従い、
キャッシュヒット信号を出力する第1のANDゲート
と、 前記選択トランザクションリトライフラグ信号がONを
表わし、前記アドレス一致信号が出力されている場合に
は、ローカルバス側のトランザクションのリトライを行
なわせるトランザクションリトライフラグ信号を出力す
る第2のANDゲートと、 前記選択タグアクセスリトライフラグ信号がONを表わ
し、前記アドレス一致信号が出力されている場合には、
タグアクセスリトライを行なわせるタグアクセスリトラ
イフラグ信号を出力する第3のANDゲートとを有しさ
らに、システムバス上にキャッシュラインデータを無効
化する無効化トランザクションが発生したタイミング
で、前記メモリアレイは、前記キャッシュラインデータ
に対応するローカルバス側トランザクションリトライフ
ラグ信号をONにするとともに、前記キャッシュライン
データに対応するローカルバス側タグアクセスリトライ
フラグ信号をONにし、前記システムバス上に発生した
前記無効化トランザクションに対応してローカルバス上
の無効化トランザクションが発生したタイミングで、前
記メモリアレイは、前記キャッシュラインデータに対応
するローカルバス側トランザクションリトライフラグ信
号をOFFにすることを特徴とする階層キャッシュメモ
リ。6. An upper cache memory and a lower cache
Memory and the cache provided in the lower cache memory.
And a flash memory hit determination circuit.
Update the state of the lower cache memory
Different states for the upper and lower buses during the transition period
Hierarchical cache memory for state transition control
The cache memory hit determination circuit receives a system bus side tag address signal and a local bus side tag address signal, and an access direction selection signal indicating whether the access request is from the system bus or the local bus. Output one of the system bus side tag address signal and the local bus side tag address signal as a tag address signal according to
And a system bus side index address signal and a local bus side index address signal, and according to the access direction selection signal, either one of the system bus side index address signal and the local bus side index address signal is indexed. A second selector that outputs the signal as a signal, and a tag unit that indicates a cache state for the main memory;
A reference tag address signal, a state signal, a system bus side transaction retry flag signal, a system bus side tag access retry flag signal, a local bus side transaction retry flag signal, a local bus side A memory array for outputting a tag access retry flag signal, and selecting one of the system bus side transaction retry flag signal and the local bus side transaction retry flag signal according to an access direction selection signal and outputting as a selected transaction retry flag signal Then, one of the system bus-side tag access retry flag signal and the local bus-side tag access retry flag signal is selected to perform the selected tag access retry. A third selector that outputs a flag signal, a comparator that determines whether the tag address signal matches the reference tag address signal, and outputs an address match signal if the tag address signal and the reference tag address signal match; An OR gate that outputs a state valid signal only when it indicates that a copy exists on the cache, and according to the address match signal and the state valid signal,
A first AND gate for outputting a cache hit signal; and a transaction retry flag for retrying a transaction on the local bus side when the selected transaction retry flag signal indicates ON and the address match signal is output. A second AND gate that outputs a signal, and when the selected tag access retry flag signal indicates ON and the address match signal is output,
A third AND gate for outputting a tag access retry flag signal for performing a tag access retry, and further comprising, at a timing when an invalidation transaction for invalidating cache line data on a system bus occurs, the memory array: The local bus-side transaction retry flag signal corresponding to the cache line data is turned on, and the local bus-side tag access retry flag signal corresponding to the cache line data is turned on.
On the local bus in response to the invalidation transaction
Wherein the memory array turns off a local bus-side transaction retry flag signal corresponding to the cache line data at the timing when the invalidation transaction occurs .
メモリと前記下位キャッシュメモリ内に設けられたキャ
ッシュメモリヒット判定回路とを有し、パイプラインバ
スに接続され、下位キャッシュメモリのステートを更新
する過渡期で上位バスと下位バスに異なったステートを
見せるステート遷移制御を行う階層キャッシュメモリに
おいて、 前記キャッシュメモリヒット判定回路は、 システムバス側タグアドレス信号およびローカルバス側
タグアドレス信号を受信し、アクセスの要求がシステム
バスまたはローカルバスのどちら側からのものかを示す
アクセス方向選択信号に従って、前記システムバス側タ
グアドレス信号およびローカルバス側タグアドレス信号
のどちらか一方をタグアドレス信号として出力する第1
のセレクタと、 システムバス側インデックスアドレス信号およびローカ
ルバス側インデックスアドレス信号を受信し、前記アク
セス方向選択信号に従って、前記システムバス側インデ
ックスアドレス信号および前記ローカルバス側インデッ
クスアドレス信号のどちらか一方をインデックスアドレ
ス信号として出力する第2のセレクタと、キャッシュメ
モリの処理中を示すフラグを所持し、処理中の場合には
ONを、処理中でない場合にはOFFを処理中フラグ信
号として出力する処理中フラグレシスタと、 前記キャッシュメモリの処理中のアドレスを保持し、処
理中アドレス信号として出力するアドレスレジスタと、 前記キャッシュメモリの各アドレスに対応するシステム
バス側トランザクションリトライフラグとシステムバス
側タグアクセスリトライフラグとローカルバス側トラン
ザクションリトライフラグとローカルバス側タグアクセ
スリトライフラグを有し、システムバス側トランザクシ
ョンリトライフラグ信号とシステムバス側タグアクセス
リトライフラグ信号とローカルバス側トランザクション
リトライフラグ信号とローカルバス側タグアクセスリト
ライフラグ信号を出力するステートレジスタと、 前記タグアドレス信号と前記インデックスアドレス信号
が、前記処理中アドレス信号に一致するかを判定し、一
致する場合には処理中アドレス一致信号を出力する第1
の比較器と、 前記処理中アドレス一致信号と前記処理中フラグ信号と
に従い、ステートレジスタ選択信号を出力する第1のA
NDゲートと、 メインメモリに対するキャッシュの状態を表わすタグ部
を保持し、前記インデックスアドレス信号に従い前記タ
グ部から参照タグアドレスと、ステート信号とを出力す
るメモリアレイと、 前記アクセス方向選択信号に従い、前記システムバス側
トランザクションリトライフラグ信号および前記ローカ
ルバス側トランザクションリトライフラグ信号のどちら
か一方をトランザクションリトライフラグ信号として出
力し、前記システムバス側タグアクセスリトライフラグ
信号と前記ローカルバス側タグアクセスリトライフラグ
信号のどちらか一方をタグアクセスリトライフラグ信号
として出力する第3のセレクタと、 前記ステート信号がキャッシュ上に写しが存在すること
を表わしている場合にのみステート有効信号を出力する
ORゲートと、 前記アドレス一致信号と前記ステート有効信号に従い、
キャッシュヒット信号を出力する第2のANDゲート
と、 前記選択トランザクションリトライフラグ信号がONを
表わし、前記アドレス一致信号が出力され、前記ステー
トレジスタ選択信号が出力されている場合には、ローカ
ルバス側のトランザクションのリトライを行なわせるト
ランザクションリトライフラグ信号を出力する第3のA
NDゲートと、 前記選択タグアクセスリトライフラグ信号がONを表わ
し、前記アドレス一致信号が出力され、前記ステートレ
ジスタ選択信号が出力されている場合には、タグアクセ
スリトライを行なわせるタグアクセスリトライフラグ信
号を出力する第4のANDゲートとを有しさらに、前記
システムバス上にキャッシュラインデータを無効化する
無効化トランザクションが発生したタイミングで、前記
メモリアレイは、前記キャッシュラインデータに対応す
るステート信号が、前記キャッシュ上に写しがないとす
る状態を表わすようにし、前記処理中フラグレジスタは
前記キャッシュラインデータに対応する処理中フラグ信
号をONになるようにし、前記アドレスレジスタは前記
キャッシュラインデータに対応するアドレスをセット
し、前記リトライフラグレジスタは前記キャッシュライ
ンデータに対応するアドレスのローカルバス側トランザ
クションリトライフラグをONとし、前記リトライフラ
グレジスタは前記ローカルバス側トランザクションリト
ライフラグ信号をONになるようにし、前記システムバ
ス上に発生した前記無効化トランザクションに対応して
ローカルバス上の無効化トランザクションが発生したタ
イミングで、前記処理中フラグレジスタは前記キャッシ
ュラインデータに対応する処理中フラグ信号をOFFに
なるようにすることを特徴とする階層キャッシュメモ
リ。7. An upper cache memory and a lower cache
Memory and the cache provided in the lower cache memory.
And a flash memory hit determination circuit.
Update the state of the lower cache memory
Different states for the upper and lower buses during the transition period
Hierarchical cache memory for state transition control
The cache memory hit determination circuit receives a system bus side tag address signal and a local bus side tag address signal, and an access direction selection signal indicating whether the access request is from the system bus or the local bus. Output one of the system bus side tag address signal and the local bus side tag address signal as a tag address signal according to
And a system bus side index address signal and a local bus side index address signal, and according to the access direction selection signal, either one of the system bus side index address signal and the local bus side index address signal is indexed. A second selector that outputs a signal as a signal, and a processing flag register that has a flag indicating that the cache memory is being processed, outputs ON as a processing flag signal when processing is being performed, and outputs OFF when processing is not being performed. An address register that holds a processing address of the cache memory and outputs the address as a processing address signal; a system bus side transaction retry flag and a system bus side tag access corresponding to each address of the cache memory; It has a retry flag, a local bus-side transaction retry flag, and a local bus-side tag access retry flag. The system bus-side transaction retry flag signal, the system bus-side tag access retry flag signal, the local bus-side transaction retry flag signal, and the local bus side A state register that outputs a tag access retry flag signal, and a second register that determines whether the tag address signal and the index address signal match the processing address signal, and outputs a processing address match signal if they match. 1
And a first A that outputs a state register selection signal according to the in-process address match signal and the in-process flag signal.
An ND gate, a memory array for holding a tag unit indicating a cache state for a main memory, and outputting a reference tag address and a state signal from the tag unit according to the index address signal; One of the system bus side transaction retry flag signal and the local bus side transaction retry flag signal is output as a transaction retry flag signal, and either the system bus side tag access retry flag signal or the local bus side tag access retry flag signal is output. A third selector that outputs one of them as a tag access retry flag signal, and outputs a state valid signal only when the state signal indicates that a copy exists on the cache. And R gate, the address match signal in accordance with the state valid signal,
A second AND gate for outputting a cache hit signal; and when the selected transaction retry flag signal indicates ON, the address match signal is output, and the state register selection signal is output, Third A for outputting a transaction retry flag signal for causing a transaction to be retried
When the selected tag access retry flag signal indicates ON, the address match signal is output, and the state register selection signal is output, a tag access retry flag signal for performing tag access retry is output. A fourth AND gate for outputting, and at a timing when an invalidation transaction for invalidating cache line data occurs on the system bus, the memory array outputs a state signal corresponding to the cache line data. The cache flag indicates that there is no copy on the cache, the processing flag register turns on a processing flag signal corresponding to the cache line data, and the address register stores an address corresponding to the cache line data. And set The retry flag register turns on the local bus-side transaction retry flag of the address corresponding to the cache line data, the retry flag register turns on the local bus-side transaction retry flag signal, and the system bus.
In response to the invalidation transaction that occurred on the
The source of the invalidation transaction on the local bus.
2. The hierarchical cache memory according to claim 1 , wherein the in-process flag register turns off the in-process flag signal corresponding to the cache line data at the time of imaging .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP29501996A JP3287239B2 (en) | 1996-11-07 | 1996-11-07 | Hierarchical cache memory and its state transition control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP29501996A JP3287239B2 (en) | 1996-11-07 | 1996-11-07 | Hierarchical cache memory and its state transition control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH10143430A JPH10143430A (en) | 1998-05-29 |
| JP3287239B2 true JP3287239B2 (en) | 2002-06-04 |
Family
ID=17815286
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP29501996A Expired - Fee Related JP3287239B2 (en) | 1996-11-07 | 1996-11-07 | Hierarchical cache memory and its state transition control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3287239B2 (en) |
-
1996
- 1996-11-07 JP JP29501996A patent/JP3287239B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH10143430A (en) | 1998-05-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2026012813A (en) | Victim cache with support for draining write miss entries | |
| US6564306B2 (en) | Apparatus and method for performing speculative cache directory tag updates | |
| US5283886A (en) | Multiprocessor cache system having three states for generating invalidating signals upon write accesses | |
| US5761734A (en) | Token-based serialisation of instructions in a multiprocessor system | |
| US5490261A (en) | Interlock for controlling processor ownership of pipelined data for a store in cache | |
| US6636949B2 (en) | System for handling coherence protocol races in a scalable shared memory system based on chip multiprocessing | |
| US5682516A (en) | Computer system that maintains system wide cache coherency during deferred communication transactions | |
| US6751720B2 (en) | Method and system for detecting and resolving virtual address synonyms in a two-level cache hierarchy | |
| US4484267A (en) | Cache sharing control in a multiprocessor | |
| KR100228940B1 (en) | How to keep memory consistent | |
| US5133074A (en) | Deadlock resolution with cache snooping | |
| EP1215584A2 (en) | Highly pipelined bus architecture | |
| JPH11506852A (en) | Reduction of cache snooping overhead in a multi-level cache system having a large number of bus masters and a shared level 2 cache | |
| WO2004001527A2 (en) | Method and apparatus for facilitating speculative loads in a multiprocessor system | |
| US6892283B2 (en) | High speed memory cloner with extended cache coherency protocols and responses | |
| JPH09237223A (en) | Computer system using bus bridge | |
| EP0533427A1 (en) | Computer memory control system | |
| JPH0340047A (en) | Cash-line-storage method | |
| JPH10501914A (en) | Shared cache memory device | |
| EP0173909B1 (en) | Look-aside buffer least recently used marker controller | |
| US20040111584A1 (en) | Dynamic software accessibility to a microprocessor system with a high speed memory cloner | |
| KR100218616B1 (en) | Transmission method and system for providing next address during current transaction | |
| JPH04336641A (en) | Data cache and method for use in processing system | |
| KR100380674B1 (en) | Method and system for maintaining cache coherency for write-through store operations in a multiprocessor system | |
| JP3287239B2 (en) | Hierarchical cache memory and its state transition control method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |