JPH05241959A - Cache memory built-in type microprocessor - Google Patents

Cache memory built-in type microprocessor

Info

Publication number
JPH05241959A
JPH05241959A JP4001168A JP116892A JPH05241959A JP H05241959 A JPH05241959 A JP H05241959A JP 4001168 A JP4001168 A JP 4001168A JP 116892 A JP116892 A JP 116892A JP H05241959 A JPH05241959 A JP H05241959A
Authority
JP
Japan
Prior art keywords
address
cache memory
trap
bus
built
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.)
Granted
Application number
JP4001168A
Other languages
Japanese (ja)
Other versions
JP2780552B2 (en
Inventor
Sho Kobayashi
升 小林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP4001168A priority Critical patent/JP2780552B2/en
Publication of JPH05241959A publication Critical patent/JPH05241959A/en
Application granted granted Critical
Publication of JP2780552B2 publication Critical patent/JP2780552B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To execute an address trap function in the case of hitting on built-in cache memory and also mishitting on it. CONSTITUTION:In a microprocessor incorporating cache memory to designate an address of block unit that becomes a purge target from the outside, an address designation means 20 designates a register to hold a specific address or an address inputted from the outside, and a connection means connects the address from the address designation means or the outside to the cache memory, and a comparison means 21 compares a part of the connection means with an associated address to the cache memory, and a gate means 22 connects the address designation means 20 to the cache memory by the connection means when an activation means performing a purge operation is disabled, and outputs a trap signal without performing the purge operation when the registration of the specific address held at the address designation means 20 on the cache memory is detected, and also, coincidence is detected by the comparison means 21.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、キャッシュ・メモリ内
蔵型マイクロプロセッサに関し、特にパージ対象となる
ブロック単位のアドレスを外部から指定する機能を持っ
たマイクロプロセッサのデバックに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microprocessor with a built-in cache memory, and more particularly to debugging of a microprocessor having a function of externally designating a block unit address to be purged.

【0002】[0002]

【従来の技術】従来、この種のパージ対象となるブロッ
ク単位のアドレスを外部から指定する機能を持つキャッ
シュ・メモリ内蔵型のマイクロプロセッサは、図4から
図5に示すような構成をとっていた。ここでは、内蔵キ
ャッシュ・メモリ、アクセス制御部の一部のみを示し他
は省略している。
2. Description of the Related Art Conventionally, a microprocessor with a built-in cache memory having a function of externally designating an address of a block unit to be purged of this type has a configuration as shown in FIGS. .. Here, only a part of the built-in cache memory and the access control unit is shown and the other parts are omitted.

【0003】図4(a),(b)は内蔵キャッシュ・メ
モリおよびアクセス制御部の一部の構成を示すブロック
図である。
FIGS. 4A and 4B are block diagrams showing the structures of a part of the built-in cache memory and the access control unit.

【0004】一般に、キャッシュ・メモリ(31)は、
高速で動作するマイクロプロセッサ(32)と低速で動
作する主記憶部(34)へのアクセスとのタイム・ギャ
ップを埋めるため、主記憶部の内容のうち使用頻度が高
いと予想される領域のコピーを持つ。マイクロプロセッ
サが主記憶部にアクセスを実行する際に必要なデータが
キャッシュ・メモリ内に存在すれば主記憶部へのアクセ
スをせずに、キャッシュ・メモリ内よりデータを高速に
アクセスする。
Generally, the cache memory (31) is
To close the time gap between the microprocessor (32) operating at high speed and the access to the main memory (34) operating at low speed, a copy of the area of the content of the main memory which is expected to be frequently used have. If the data necessary for the microprocessor to access the main memory exists in the cache memory, the data is accessed faster than in the cache memory without accessing the main memory.

【0005】図において、リードアクセスのとき、アク
セスするアドレスRADと、主記憶部34内のどこにそ
のデータがあるかを示すアドレスを格納しているタグメ
モリ部1よりデコーダ4で選択されたタグが、コンパレ
ータ6で比較される。これらが一致し、かつこのエント
リが有効かどうかを示すバリット・フラグ部2のバリッ
トが有効の場合(この場合をヒットという)、データメ
モリ部3より一致したタグに対応するデータDOより出
力する。一致するタグがなかったりバリットが無効の場
合(この場合をミス・ヒットという)、アドレス生成部
20よりアドレス・バスABにアドレスを出力し、主記
憶部からデータをアクセスし、内蔵キャッシュに主記憶
部の内容のタグとデータを登録する。ライトアクセスの
とき、内蔵キャッシュにタグとデータの登録のみを行
う。
In the figure, at the time of read access, the tag selected by the decoder 4 from the tag memory unit 1 storing the address RAD to be accessed and the address indicating where in the main memory unit 34 the data is stored. , And is compared by the comparator 6. If they match and the valid flag of the valid flag unit 2 indicating whether this entry is valid (valid in this case), the data DO corresponding to the matched tag is output from the data memory unit 3. If there is no matching tag or the valid is invalid (this case is called a miss hit), the address is output from the address generation unit 20 to the address bus AB, the data is accessed from the main memory unit, and the main memory is stored in the internal cache. Register the tag and data of the contents of the section. At the time of write access, only the tag and data are registered in the internal cache.

【0006】パージ対象となるブロック単位のアドレス
を外部から指定する機能は、マルチプロセッサ環境で他
のマイクロプロセッサ等のバス・マスタより主記憶部の
書き換えに対しキャッシュ内容との一貫性を保つための
機能で、システム・アドレス・バスを監視し、内蔵キャ
ッシュ・メモリに登録されているデータの中に、他のバ
ス・マスタが書き換えたデータが含まれていた場合、こ
のデータを含むエントリをクリア(パージ)する(以
下、これをバス・モニタリング機能という)。
The function of externally designating the address of the block unit to be purged is to maintain the consistency with the cache contents when the main memory is rewritten by a bus master such as another microprocessor in a multiprocessor environment. The function monitors the system address bus, and if the data registered in the internal cache memory contains data rewritten by another bus master, the entry containing this data is cleared ( Purge) (hereinafter referred to as the bus monitoring function).

【0007】図4(a)において、パージ対象となるブ
ロック単位のアドレス(以下モニタリング・アドレスと
いう)MADと、タグメモリ部1よりデコーダ5で選択
されたタグとが、コンパレータ7で比較される。これら
が一致し、かつバス・モニタリングを活性化するモニタ
リング・アドレス・ストローブMASTBがアクティブ
の場合、一致したタグに対応するバリット・フラグ部2
のバリットを無効にする。
In FIG. 4A, a block unit address (hereinafter referred to as a monitoring address) MAD to be purged and a tag selected by the decoder 5 from the tag memory unit 1 are compared by a comparator 7. If these match and the monitoring address strobe MASTB that activates the bus monitoring is active, the valid flag unit 2 corresponding to the matched tag.
Invalidate the barit of.

【0008】図5はバス・モニタリングの動作例を示
す。
FIG. 5 shows an example of bus monitoring operation.

【0009】図5(a)において、マイクロプロセッサ
32が主記憶部34の1000番地の内容に“A”を書
き込むと同時に、内部キャッシュ・メモリ31にも登録
を行う。図5(b)ではバス・マスタ35が主記憶部3
4の1000番地の内容“A”を“B”に書き換えよう
としている場合、書き換えようとしている番地1000
をマイクロプロセッサ32のモニタリング・アドレスが
入力されるバス(以下モニタリング・アドレス・バスと
いう)MABを介して図4のMADに、バス・マスタ3
5のライト信号を、モニタリング・アドレス・ストロー
ブMASTBにそれぞれ接続し、パージ動作によりマイ
クロプロセッサ32は内部キャッシュ・メモリ3に登録
されている主記憶部34の1000番地に対応するエン
トリをクリア(無効)にする。特定のアドレスをアクセ
スしたときにトラップを起こす機能をアドレス・トラッ
プ機能と呼ぶ。
In FIG. 5A, the microprocessor 32 writes "A" in the contents of the main memory 34 at address 1000, and at the same time, registers it in the internal cache memory 31. In FIG. 5B, the bus master 35 is the main storage unit 3.
If the contents "A" at address 1000 of 4 is rewritten to "B", the address 1000 being rewritten
Via the bus (hereinafter referred to as a monitoring address bus) MAB to which the monitoring address of the microprocessor 32 is input to the MAD of FIG.
The write signal 5 is connected to the monitoring address strobe MASTB respectively, and the purging operation causes the microprocessor 32 to clear (invalid) the entry corresponding to the address 1000 of the main memory 34 registered in the internal cache memory 3. To The function that causes a trap when a specific address is accessed is called the address trap function.

【0010】図4(b)で、トラップを起こす対象とな
る特定のアドレス(以下トラップ・アドレスという)T
ADと、アドレス生成部20がアドレス・バスに出力す
るアドレスとを、コンパレータ21で比較する。この2
つが一致し、かつアドレス・トラップ機能を活性化する
トラップ・ストローブTRSTBがアクティブの場合、
トラップ信号TRAPをアクティブにし、ある特定のア
ドレスをアクセスしたことを他のユニットに知らせて、
トラップを発生する。
In FIG. 4B, a specific address (hereinafter referred to as a trap address) T which is a target for causing a trap is shown.
The comparator 21 compares AD with the address output from the address generator 20 to the address bus. This 2
If the two match and the trap strobe TRSTB that activates the address trap function is active,
Activate the trap signal TRAP to notify other units that a particular address has been accessed,
Generate a trap.

【0011】この従来例の場合、アドレス・バスに現れ
るアドレスとトラップ・アドレスとを比較しているた
め、内蔵キャッシュ・メモリにヒットしたときはアドレ
ス・バスにアドレスは現れずアドレス・トラップ機能が
実行できない。これに対しアドレス・トラップ機能を実
行するために、内蔵キャッシュ・メモリ動作を行わない
方法や、内蔵キャッシュ・メモリ動作は行うがトラップ
・アドレスを含む主記憶部へのアクセスは内蔵キャッシ
ュ・メモリに登録しない方法などがある。
In this conventional example, since the address appearing on the address bus is compared with the trap address, when the internal cache memory is hit, the address does not appear on the address bus and the address trap function is executed. Can not. On the other hand, in order to execute the address trap function, the method of not performing the internal cache memory operation, or the internal cache memory operation but the access to the main memory including the trap address is registered in the internal cache memory. There is a way not to do it.

【0012】[0012]

【発明が解決しようとする課題】上述したように従来の
パージ対象となるブロック単位のアドレスを外部から指
定するキャッシュ・メモリ内蔵型のマイクロプロセッサ
では、リアルタイムで動作した場合、内蔵キャッシュ・
メモリにヒットしたときはアドレス・バスにそのアドレ
スが表れないためアドレス・トラップを実行てきないと
いう問題がある。
As described above, in the conventional microprocessor with a built-in cache memory for externally designating the address of the block unit to be purged, the internal cache
When the memory is hit, there is a problem that the address trap is not executed because the address does not appear on the address bus.

【0013】また、内蔵キャッシュ・メモリの動作を行
わない方法では、主記憶部へのアクセスはすべてアドレ
ス・バスに現れるためアドレス・トラップ機能は実行で
きるが、リアルタイム性がなくなり内蔵キャッシュ・メ
モリを用いた高速動作ができない欠点がある。
In the method in which the internal cache memory is not operated, all the accesses to the main memory appear on the address bus, so the address trap function can be executed, but the real-time property is lost and the internal cache memory is used. It has the drawback that it cannot operate at high speed.

【0014】また、内蔵キャッシュ・メモリの動作を行
うがトラップ・アドレスを含む主記憶部へのアクセスは
内蔵キャッシュ・メモリに登録しない方法では、トラッ
プ・アドレスを含む主記憶部へのアクセスがミス・ヒッ
トとなるためアドレス・トラップ機能は実行でき、ほと
んどリアルタイムで動作するが、完全なリアルタイム動
作にはならない欠点がある。
In the method of operating the internal cache memory but not registering the access to the main memory portion including the trap address in the internal cache memory, the access to the main memory portion including the trap address is missed. Since it becomes a hit, the address trap function can be executed and operates in almost real time, but there is a drawback that it does not become a complete real time operation.

【0015】本発明の目的は、これらの問題を解決し、
リアルタイムで動作した場合、内蔵キャッシュ・メモリ
にヒットした時もアドレス・トラップ機能を実行するこ
とができるキャッシュ・メモリ内蔵型マイクロプロセッ
サを提供することにある。
The object of the present invention is to solve these problems,
An object of the present invention is to provide a microprocessor with a built-in cache memory, which can perform an address trap function even when the built-in cache memory is hit when it operates in real time.

【0016】[0016]

【課題を解決するための手段】本発明の構成は、パージ
対象となるブロック単位のアドレスを外部から指定する
機能を持ったキャッシュ・メモリを内蔵したキャッシュ
メモリ内蔵型マイクロプロセッサにおいて、外部からパ
ージ動作の活性化を通知するパージ通知手段と、特定の
アドレスを保持するレジスタもしくは外部より入力する
アドレス指定手段と、このアドレス指定手段または外部
から内蔵キャッシュ・メモリへ選択的にアドレスを接続
するアドレス接続手段と、このアドレス接続手段の一部
と内蔵キャッシュ・メモリへの連想アドレスの一部を比
較する比較手段と、前記パージ通知手段がパージ動作を
活性化していない場合に、前記アドレス接続手段は前記
アドレス指定手段と前記キャッシュ・メモリとを接続
し、前記アドレス指定手段に保持された特定のアドレス
が前記キャッシュ・メモリに登録されていることを検知
し、かつ前記比較手段が一致を検知したときにパージ動
作を行わずにトラップ信号を出力するゲート手段とを備
えることを特徴とする。
The structure of the present invention has an external purging operation in a cache memory built-in microprocessor having a built-in cache memory having a function of externally specifying a block unit address to be purged. Purge notification means for notifying activation of the address, address register means for holding a specific address or external input, and address connection means for selectively connecting an address from this address specification means or external to the internal cache memory And a comparing means for comparing a part of the address connecting means with a part of the associative address to the built-in cache memory, and the purge notifying means does not activate the purge operation, the address connecting means determines the address. The address means is connected by connecting the specifying means and the cache memory. Gate means for detecting that a specific address held by the means is registered in the cache memory, and for outputting a trap signal without performing a purging operation when the comparing means detects a match. It is characterized by

【0017】[0017]

【実施例】図1(a),(b)は本発明の第一の実施例
の構成を示すブロック図である。本実施例において、ア
ドレス・トラップ機能を活性化するトラップ・ストロー
ブTRSTBがアクティブで、バス・モニタリングを活
性化するモニタリング・アドレス・ストローブMAST
Bがインアクティブの場合、モニタリング・アドレス・
バスにジェネレータ9からタグと比較できるように変換
されたトラップ・アドレスを接続する。このタグは論理
アドレスで格納してあるため、物理アドレスであるトラ
ップ・アドレスはタグと比較するためには変換しなけれ
ばならない。このタグメモリ部1にこのトラップ・アド
レスの一部と内蔵キャッシュ・メモリへの連想アドレス
の一部を比較器6,7で比較して一致したときキャッシ
ュ・トラップ信号CTRAPをアクティブにするように
構成する。
1 (a) and 1 (b) are block diagrams showing the configuration of a first embodiment of the present invention. In the present embodiment, the monitoring address strobe MAST that activates the bus monitoring is activated by the trap strobe TRSTB that activates the address trap function.
If B is inactive, the monitoring address
Connect the translated trap address from the generator 9 to the bus for comparison with the tag. Since this tag is stored as a logical address, the trap address, which is a physical address, must be translated for comparison with the tag. In the tag memory unit 1, a part of the trap address and a part of the associative address to the internal cache memory are compared by the comparators 6 and 7, and when they match, the cache trap signal CTRAP is activated. To do.

【0018】トラップ・ストローブTRSTBがアクテ
ィブで、モニタリング・アドレス・ストローブMAST
Bがインアクティブの場合、トラップ・アドレスTAD
はジェネレータ9でタグと比較できるように変換され、
モニタリング・アドレス・バスにコントロール信号付き
のバッファ8によって接続される。このアドレスと、タ
グメモリ部11よりデコーダ5で選択されたタグとを、
コンパレータ7で比較する。
The trap strobe TRSTB is active and the monitoring address strobe MAST
If B is inactive, trap address TAD
Is converted so that it can be compared with the tag in generator 9,
It is connected to the monitoring address bus by a buffer 8 with a control signal. This address and the tag selected by the decoder 5 from the tag memory unit 11 are
The comparator 7 compares.

【0019】これら2つが一致し、かつデコーダ5に入
力されるアドレス・トラップの一部とデコーダ4に入力
されるアドレス・トラップの一部を比較器7で比較して
一致した場合、キャッシュ・トラップ信号CTRAPを
アクティブにし、それはORゲート23に入力され、ト
ラップ信号TRAPをアクティブにする。ミス・ヒット
した場合は、トラップ・アドレスTADとアドレス生成
部20がアドレス・バスに出力するアドレスとを、コン
パレータ21で比較する。これら2つが一致し、かつト
ラップ・ストローブTRSTBがアクティブの場合、ト
ラップ信号TRAPをアクティブにする。
When these two match, and a part of the address trap input to the decoder 5 and a part of the address trap input to the decoder 4 are compared by the comparator 7 and they match, a cache trap It activates the signal CTRAP, which is input to the OR gate 23, which activates the trap signal TRAP. In the case of a miss hit, the comparator 21 compares the trap address TAD with the address output by the address generator 20 to the address bus. If the two match and the trap strobe TRSTB is active, it activates the trap signal TRAP.

【0020】この実施例は、モニタリング・アドレス・
ストローブMASTBがアクティブの場合、従来通りの
バス・モニタリングを実行する。モニタリング・アドレ
ス・ストローブMASTBがアクティブで、バス・モニ
タリングを実行する場合でも、内蔵キャッシュ・メモリ
にミス・ヒットしたならば、アドレス・バスにそのアク
セスするアドレスは現れるのでアドレス・トラップ機能
は実行できる。しかし、バス・モニタリングを実行する
場合で、かつ内蔵キャッシュ・メモリにヒットしたとき
は、アドレス・トラップ機能を実行することはできな
い。これは、アドレス・トラップ機能を実行するとき
は、他のバス・マスタの主記憶部の書換えを禁止するこ
とで回避する。
In this embodiment, the monitoring address
If strobe MASTB is active, conventional bus monitoring is performed. Even if the monitoring address strobe MASTB is active and the bus monitoring is executed, if the internal cache memory is miss-hit, the address to be accessed appears on the address bus and the address trap function can be executed. However, the address trap function cannot be executed when the bus monitoring is executed and the internal cache memory is hit. This is avoided by prohibiting rewriting of the main memory of another bus master when the address trap function is executed.

【0021】図2,図3は本発明の第2の実施例のブロ
ック図である。この実施例は、バス・モニタリング機能
と、内蔵キャッシュ・メモリにヒットしたときもアドレ
ス・トラップ機能を実行することを同時にできるよう
に、第一の実施例を改良したものである。
2 and 3 are block diagrams of the second embodiment of the present invention. This embodiment is an improvement of the first embodiment so that the bus monitoring function and the address trap function can be executed at the same time when the internal cache memory is hit.

【0022】アドレス・トラップ機能を活性化するトラ
ップ・ストローブTRSTBがアクティブで、バス・モ
ニタリングを活性化するモニタリング・アドレス・スト
ローブMASTBがアクティブで、なおかつ内蔵キャッ
シュ・メモリにヒットした場合、ヒットしたアドレスと
トラップ・アドレスTADとを、本来アドレス・バスと
トラップ・アドレスを比較するコンパレータ21で比較
をするように構成する。
If the trap strobe TRSTB for activating the address trap function is active and the monitoring address strobe MASTB for activating the bus monitoring is active and the internal cache memory is hit, the address hit The trap address TAD is configured to be compared by the comparator 21 which originally compares the address bus with the trap address.

【0023】トラップ・ストローブTRSTBがアクテ
ィブで、モニタリング・アドレス・ストローブMAST
Bがインアクティブの場合の動作は第一の実施例と同様
である。トラップ・ストローブTRSTBがアクティブ
で、モニタリング・アドレス・ストローブMASTBが
アクティブで、なおかつ内蔵キャッシュ・メモリにヒッ
トした場合、キャッシュ・トラップ・ビジー信号CTR
BSYをアクティブにし、ヒットしたアドレスをHAD
に出力する。このアドレスと、ジェネレータ25でタグ
と比較できるように変換されたトラップ・アドレスTA
Dとをコンパレータ21で比較する。これら2つが一致
した場合、トラップ信号TRAPをアクティブにする。
When the trap strobe TRSTB is active, the monitoring address strobe MAST
The operation when B is inactive is the same as in the first embodiment. If the trap strobe TRSTB is active, the monitoring address strobe MASTB is active, and the internal cache memory is hit, the cache trap busy signal CTR
Activate BSY and HAD the hit address
Output to. This address and the trap address TA converted so that it can be compared with the tag in the generator 25
The comparator 21 compares D with D. When these two match, the trap signal TRAP is activated.

【0024】内蔵キャッシュ・メモリの動作は主記憶部
よりも高速なので、キャッシュ・トラップ・ビジー信号
CTRBSYがアクティブな時間はアドレス生成部20
がアドレスをアドレス・バスに出力している時間よりも
十分短い。したがってアドレス・バスに現れるアドレス
とのアドレス・トラップ機能は損なわれない。これによ
って、バス・モニタリング機能と、内蔵キャッシュ・メ
モリにヒットしたときもアドレス・トラップ機能を実行
することを同時にできる。
Since the operation of the built-in cache memory is faster than that of the main memory unit, the address generation unit 20 is active while the cache trap busy signal CTRBSY is active.
Is much shorter than the time it is outputting the address to the address bus. Therefore, the address trap function with the address appearing on the address bus is not impaired. This allows the bus monitoring function and the address trap function to be executed at the same time when the internal cache memory is hit.

【0025】[0025]

【発明の効果】以上説明したように本発明によれば、内
蔵キャッシュ・メモリにヒットしたときもミス・ヒット
したときもアドレス・トラップ機能を実行でき、キャッ
シュ動作が有効である場合でもリアルタイム性のあるデ
バッグが可能になると共に、従来ある回路を用いて、バ
ス・モニタリング機能を損なわずに、低コストで実現で
きるという効果がある。
As described above, according to the present invention, the address trap function can be executed both when the internal cache memory is hit and when it is missed, and the real-time property is maintained even when the cache operation is effective. There is an effect that a certain debugging can be performed and a conventional circuit can be used at a low cost without impairing the bus monitoring function.

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

【図1】(a),(b)は本発明の第1の実施例のキャ
ッシュメモリ部およびアクセス制御部のブロック図。
1A and 1B are block diagrams of a cache memory unit and an access control unit according to a first embodiment of the present invention.

【図2】本発明の第2の実施例のキャッシュメモリ部の
ブロック図。
FIG. 2 is a block diagram of a cache memory unit according to a second embodiment of the present invention.

【図3】図2に対応するアクセス制御部のブロック図。FIG. 3 is a block diagram of an access control unit corresponding to FIG.

【図4】(a),(b)は従来例のキャッシュメモリ部
およびアクセス制御部のブロック図。
4A and 4B are block diagrams of a cache memory unit and an access control unit of a conventional example.

【図5】(a),(b)は従来例のバスモニタリングに
おいてキャッシュメモリへの登録時およびバスモニタリ
ング動作時を説明する模式的ブロック図。
FIGS. 5A and 5B are schematic block diagrams for explaining registering in a cache memory and a bus monitoring operation in conventional bus monitoring.

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

1 タグメモリ部 2 バリット・フラグ部 3 データメモリ部 4,5 デコーダ 6,7,21 コンパレータ 8,25 ジェネレータ 9 デコーダへの入力を比較する比較器 10,22 2入力ANDゲート 11,12,13 一方の入力が否定入力の2入力A
NDゲート 14,15 3入力ANDゲート 16〜19,24,27〜29 コントロール信号付
きのバッファ 20 アドレス生成部 23 2入力ORゲート 26 インバータ 31 内部キャッシュ・メモリ 32 キャッシュ・メモリ内蔵型のマイクロプロセッ
サ 33 マイクロプロセッサのボード 34 主記憶部 35 バス・マスタ1 36 バス・マスタ・ボード 37 システム・バス
1 Tag memory unit 2 Valid / Flag unit 3 Data memory unit 4,5 Decoder 6,7,21 Comparator 8,25 Generator 9 Comparator for comparing inputs to the decoder 10,22 Two-input AND gate 11,12,13 One Input is negative input 2 input A
ND gate 14,153 3-input AND gate 16-19,24,27-29 Buffer with control signal 20 Address generator 23 2-input OR gate 26 Inverter 31 Internal cache memory 32 Microprocessor with cache memory 33 Micro Processor board 34 Main memory 35 Bus master 1 36 Bus master board 37 System bus

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 パージ対象となるブロック単位のアドレ
スを外部から指定する機能を持ったキャッシュ・メモリ
を内蔵したキャッシュメモリ内蔵型マイクロプロセッサ
において、外部からパージ動作の活性化を通知するパー
ジ通知手段と、特定のアドレスを保持するレジスタもし
くは外部より入力するアドレス指定手段と、このアドレ
ス指定手段または外部から内蔵キャッシュ・メモリへ選
択的にアドレスを接続するアドレス接続手段と、このア
ドレス接続手段の一部と内蔵キャッシュ・メモリへの連
想アドレスの一部を比較する比較手段と、前記パージ通
知手段がパージ動作を活性化していない場合に、前記ア
ドレス接続手段は前記アドレス指定手段と前記キャッシ
ュ・メモリとを接続し、前記アドレス指定手段に保持さ
れた特定のアドレスが前記キャッシュ・メモリに登録さ
れていることを検知し、かつ前記比較手段が一致を検知
したときにパージ動作を行わずにトラップ信号を出力す
るゲート手段とを備えることを特徴とするキャッシュ・
メモリ内蔵型マイクロプロセッサ。
1. A purge notification means for externally notifying activation of a purge operation in a cache memory built-in microprocessor having a built-in cache memory having a function of externally specifying an address of a block unit to be purged. A register for holding a specific address or an addressing means for inputting from the outside, an address connecting means for selectively connecting an address from the addressing means or the outside to the internal cache memory, and a part of the address connecting means The comparing means for comparing a part of the associative addresses to the internal cache memory and the address connecting means connect the address specifying means and the cache memory when the purge notifying means does not activate the purge operation. The specific address held by the addressing means Is registered in the cache memory, and gate means for outputting a trap signal without performing a purging operation when the comparison means detects a match.
Microprocessor with built-in memory.
JP4001168A 1992-01-08 1992-01-08 Microprocessor with built-in cache memory Expired - Lifetime JP2780552B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4001168A JP2780552B2 (en) 1992-01-08 1992-01-08 Microprocessor with built-in cache memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4001168A JP2780552B2 (en) 1992-01-08 1992-01-08 Microprocessor with built-in cache memory

Publications (2)

Publication Number Publication Date
JPH05241959A true JPH05241959A (en) 1993-09-21
JP2780552B2 JP2780552B2 (en) 1998-07-30

Family

ID=11493908

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4001168A Expired - Lifetime JP2780552B2 (en) 1992-01-08 1992-01-08 Microprocessor with built-in cache memory

Country Status (1)

Country Link
JP (1) JP2780552B2 (en)

Also Published As

Publication number Publication date
JP2780552B2 (en) 1998-07-30

Similar Documents

Publication Publication Date Title
US4626988A (en) Instruction fetch look-aside buffer with loop mode control
US7865675B2 (en) Controlling cleaning of data values within a hardware accelerator
EP0636973B1 (en) Processor interface chip for dual-microprocessor processor system
US4937738A (en) Data processing system which selectively bypasses a cache memory in fetching information based upon bit information of an instruction
JPH03142644A (en) Cache memory control system
JPH0668735B2 (en) Cache memory
JPH01290050A (en) Buffer memory
US6519684B1 (en) Low overhead method for selecting and updating an entry in a cache memory
US20020116581A1 (en) Memory aliasing in a processor system
JP2780552B2 (en) Microprocessor with built-in cache memory
JP2000137646A (en) Cache memory control method in multiprocessor system and the same system
JP3733604B2 (en) Cache memory
KR100251784B1 (en) Method and apparatus for providing a readable and writable cache tag memory
JP2780555B2 (en) Microprocessor with built-in cache memory
JP3492544B2 (en) Update system and method for updating cache memory
JPH05324469A (en) Microprocessor with built-in cache memory
JPH113288A (en) Cache memory device and fault control method for cache memory
JPH08272687A (en) Input/output cache memory
JPH01118944A (en) Cache memory controller
JPH03129440A (en) Access monitoring device for microprocessor
JPH113246A (en) Microcomputer containing cache memory
JPH0528043A (en) Invalidation control method for instruction cache memory
JPH03175544A (en) Data processor
JP2000222239A (en) Secondary cache memory, its diagnosing method and information processor
JPH04363738A (en) Cache memory device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980414