JPH05210582A - Cache memory control system - Google Patents

Cache memory control system

Info

Publication number
JPH05210582A
JPH05210582A JP3301415A JP30141591A JPH05210582A JP H05210582 A JPH05210582 A JP H05210582A JP 3301415 A JP3301415 A JP 3301415A JP 30141591 A JP30141591 A JP 30141591A JP H05210582 A JPH05210582 A JP H05210582A
Authority
JP
Japan
Prior art keywords
cache memory
rom
circuit section
bit
memory circuit
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.)
Withdrawn
Application number
JP3301415A
Other languages
Japanese (ja)
Inventor
Tetsuya Fujita
哲也 藤田
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 JP3301415A priority Critical patent/JPH05210582A/en
Publication of JPH05210582A publication Critical patent/JPH05210582A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To improve the hit rate by using plural cache memories, specifying local and global data in the respective cache memories and a ROM according to an address conversion table, and shortening a selection time. CONSTITUTION:This cache memory control system consists of a processor 1 which has the page table for virtual address conversion internally in the data cache memories and controls the whole device, a cache memory circuit part 3, a ROM circuit part 4, a two-way bus 5, an address signal line 6, etc. Then when the cache memory circuit specification bit of the address conversion page table stored internally in the processor 1 is '1', the cache memory circuit part 3 judges that the cache memory circuit part 3 itself is selected and only the cache memory circuit part 3 is accessed. Similarly, when the ROM circuit specification bit of the address conversion page table is '1', it is informed through a memory select signal line 7 that the ROM circuit part 4 is selected, and data of the ROM circuit part 4 are outputted to the two-way bus 5.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、キャッシュメモリ制御
方式に関し、特に仮想アドレス方式を採用するプロセッ
サと動作する複数種のキャッシュメモリのキャッシュメ
モリ制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a cache memory control system, and more particularly to a cache memory control system for a plurality of types of cache memories operating with a processor adopting a virtual address system.

【0002】[0002]

【従来の技術】従来、この種のキャッシュメモリ制御方
式は、複数種のキャッシュメモリとして命令キャッシュ
メモリとデータキャッシュメモリといった区別があり、
それぞれでメモリアクセスの局所性が異なる点に着目
し、キャッシュメモリを分けて使用することによってヒ
ット率の向上を計っていた。
2. Description of the Related Art Conventionally, this type of cache memory control system has a distinction between an instruction cache memory and a data cache memory as a plurality of types of cache memories.
Focusing on the difference in the locality of memory access, we tried to improve the hit rate by using the cache memory separately.

【0003】なお、データキャッシュメモリには、デー
タとしてプロセスに固有なローカルなデータ(以後、ロ
ーカルデータと記す)とプロスセス間で共有するグロー
バルなデータ(以後、グローバルデータと記す)とが登
録され一様に扱われる。
In the data cache memory, local data unique to a process (hereinafter referred to as local data) and global data shared between processes (hereinafter referred to as global data) are registered as data. Is treated like.

【0004】また、命令キャッシュメモリには、ユーザ
プログラムの命令とOSのカーネルコードとが登録され
一様に扱われる。
Further, the instruction cache memory stores the instructions of the user program and the kernel code of the OS for uniform handling.

【0005】[0005]

【発明が解決しようとする課題】上述した従来のキャッ
シュメモリ制御方式は、ローカル/グローバルデータを
同じデータキャッシュメモリに登録しているので、選択
に時間がかかり、ヒット率が向上しないという問題点が
ある。
In the conventional cache memory control method described above, since local / global data is registered in the same data cache memory, there is a problem in that selection takes time and the hit rate is not improved. is there.

【0006】また、ユーザプログラムの命令とOSのカ
ーネルコードとを同じ命令キャシュメモリに登録してい
るので、選択に時間がかかり、ヒット率が向上しないと
いう問題点がある。
Further, since the instruction of the user program and the kernel code of the OS are registered in the same instruction cache memory, there is a problem that the selection takes time and the hit rate is not improved.

【0007】[0007]

【課題を解決するための手段】本発明のキャッシュメモ
リ制御方式は、データアレイ,アドレスアレイ,ヒット
ミスヒット検出回路,リードライト制御部を含み第1の
データを格納するキャッシュメモリであるキャッシュメ
モリ回路部と、データアレイ,アドレスアレイ,リード
制御部を含み第1のデータと種別が異なる第2のデータ
を格納するROMであるROM回路部と、該当するペー
ジが前記キャッシュメモリ回路部に登録されていること
を示す1ビット分のキャッシュメモリ回路部指定ビット
と前記ROM回路部に登録されていることを示す1ビッ
ト分のROM回路部指定ビットとの2ビット分を有して
このうち必ず一方だけが「1」となっている仮想アドレ
ス変換用のアドレス変換ページテーブルを内蔵すると共
に仮想アドレスをサポートして装置全体を制御するプロ
セッサと、前記プロセッサとキャッシュメモリ回路部,
ROM回路部とを接続する双方向バスと、前記プロセッ
サから前記キャッシュメモリ回路部,ROM回路部に出
力されるアドレス信号を伝達するアドレス信号線と、前
記プロセッサから前記キャッシュメモリ回路部,ROM
回路部に出力されるメモリ選択信号を伝達するメモリ選
択信号線と、前記キャッシュメモリ回路部から出力され
るヒットミスヒット結果信号を伝達するヒットミスヒッ
ト結果信号線と、前記ヒットミスヒット結果信号を受信
して前記プロセッサにキャッシュメモリリードタイミン
グ信号を出力するキャッシュメモリ制御部と、前記キャ
ッシュメモリリードタイミング信号を前記プロセッサに
伝達するキャッシュメモリリードタイミング信号線とを
有している。
A cache memory control system according to the present invention is a cache memory circuit which is a cache memory including a data array, an address array, a hit / miss hit detection circuit, and a read / write control unit for storing first data. Section, a ROM circuit section which is a ROM for storing second data having a different type from the first data and including a data array, an address array, and a read control section, and a corresponding page are registered in the cache memory circuit section. There is a 2-bit portion including a 1-bit cache memory circuit designating bit that indicates that there is one bit and a 1-bit ROM circuit portion designating bit that indicates that it is registered in the ROM circuit portion. Built-in address translation page table for virtual address translation where "1" is A processor for controlling the entire port to the equipment, the processor and the cache memory circuit portion,
A bidirectional bus connecting the ROM circuit section, an address signal line for transmitting an address signal output from the processor to the cache memory circuit section and the ROM circuit section, and a cache memory circuit section and the ROM from the processor
A memory select signal line for transmitting a memory select signal output to a circuit section, a hit miss hit result signal line for transmitting a hit miss hit result signal output from the cache memory circuit section, and the hit miss hit result signal. It has a cache memory control unit which receives and outputs a cache memory read timing signal to the processor, and a cache memory read timing signal line which transmits the cache memory read timing signal to the processor.

【0008】[0008]

【実施例】本発明について図面を参照して説明する。図
1は、本発明の第1の実施例のブロック図である。本発
明はデータキャッシュメモリで、仮想アドレス変換用の
ページテーブルを内蔵して装置全体を制御するプロセッ
サ1と、ローカルデータを格納しているキャッシュメモ
リであるキャッシュメモリ回路部3と、グローバルデー
タを格納しているROMであるROM回路部4と、プロ
セッサ1とキャッシュメモリ回路部3,ROM回路部4
とを接続する双方向バス5と、プロセッサ1からキャッ
シュメモリ回路部3,ROM回路部4に出力されるアド
レス信号を伝達するアドレス信号線6と、プロセッサ1
からキャッシュメモリ回路部3,ROM回路部4に出力
されるメモリ選択信号を伝達するメモリ選択信号線7
と、キャッシュメモリ回路部3から出力されるヒットミ
スヒット結果信号を伝達するヒットミスヒット結果信号
線8と、ヒットミスヒット結果信号を受信してプロセッ
サ1にキャッシュメモリリードタイミング信号を出力す
るキャッシュメモリ制御部2と、キャッシュメモリリー
ドタイミング信号をプロセッサ1に伝達するキャッシュ
メモリリードタイミング信号線9とから構成されてい
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described with reference to the drawings. FIG. 1 is a block diagram of the first embodiment of the present invention. The present invention is a data cache memory, which includes a processor 1 for controlling the entire apparatus by incorporating a page table for virtual address conversion, a cache memory circuit unit 3 which is a cache memory for storing local data, and global data. ROM circuit section 4 which is a ROM, processor 1, cache memory circuit section 3, ROM circuit section 4
A two-way bus 5 for connecting the two, an address signal line 6 for transmitting an address signal output from the processor 1 to the cache memory circuit section 3, the ROM circuit section 4, and the processor 1
From the cache memory circuit section 3 to the ROM circuit section 4 from the memory selection signal line 7
And a hit-miss-hit result signal line 8 for transmitting the hit-miss-hit result signal output from the cache memory circuit section 3, and a cache memory for receiving the hit-miss-hit result signal and outputting a cache memory read timing signal to the processor 1. It is composed of a control unit 2 and a cache memory read timing signal line 9 for transmitting a cache memory read timing signal to the processor 1.

【0009】キャッシュメモリ回路部3は、データアレ
イ,アドレスアレイ,ヒットミスヒット検出回路,リー
ドライト制御部等を図示していないが含んでいる。ま
た、プロセッサ1とキャッシュメモリ間で、通常のキャ
ッシュメモリと同様のリードライトなどの制御信号は省
略されている。ROM回路部4は、データアレイ,アド
レスアレイ,リード制御部等を図示していないが含んで
いる。また、プロセッサ1とキャッシュメモリ,ROM
間で、通常のキャッシュメモリ,ROMと同様のリード
ライトなどの制御信号は省略されている。
The cache memory circuit unit 3 includes a data array, an address array, a hit / miss hit detection circuit, a read / write control unit, etc., which are not shown. Further, between the processor 1 and the cache memory, control signals such as read / write as in the normal cache memory are omitted. The ROM circuit unit 4 includes a data array, an address array, a read control unit and the like, which are not shown. Also, the processor 1, cache memory, and ROM
In the meantime, control signals such as ordinary cache memory and read / write similar to ROM are omitted.

【0010】図2は、図1に示すプロセッサの仮想アド
レス変換用のアドレス変換ページテーブルのエントリの
フォーマットの一例を示す説明図である。アドレス変換
ページテーブル20aは、該当するページがキャッシュ
メモリ回路部3に登録されていることを示す1ビット分
のキャッシュメモリ回路部指定ビット11と、ROM回
路部4に登録されていることを示す1ビット分のROM
回路部指定ビット12との2ビット分を有し、このうち
必ず一方だけが「1」となっている。
FIG. 2 is an explanatory diagram showing an example of an entry format of the address translation page table for virtual address translation of the processor shown in FIG. The address translation page table 20 a has a 1-bit cache memory circuit section designating bit 11 indicating that the corresponding page is registered in the cache memory circuit section 3 and 1 indicating that the page is registered in the ROM circuit section 4. ROM for bits
It has two bits corresponding to the circuit section designation bit 12, and only one of them is always "1".

【0011】次に、同実施例の動作に関して説明する。
プロセッサ1は、仮想アドレスをサポートしており、キ
ャッシュメモリをアクセスする時はアドレス変換ページ
テーブル20aを参照する。さらに、キャッシュメモリ
回路部3,ROM回路部4が物理キャッシュメモリであ
れば、キャッシュメモリアクセスに際し、アドレス変換
ページテーブル20aを用いて論理アドレスを物理アド
レスに変換する。この時、プロセッサ1はキャッシュメ
モリ回路部指定ビット11またはROM回路部指定ビッ
ト12を参照し、その値をメモリ選択信号線7でキャッ
シュメモリ回路部3,ROM回路部4に出力する。
Next, the operation of the embodiment will be described.
The processor 1 supports virtual addresses, and refers to the address translation page table 20a when accessing the cache memory. Further, if the cache memory circuit unit 3 and the ROM circuit unit 4 are physical cache memories, the logical address is converted into a physical address using the address conversion page table 20a when accessing the cache memory. At this time, the processor 1 refers to the cache memory circuit section designating bit 11 or the ROM circuit section designating bit 12 and outputs the value to the cache memory circuit section 3 and the ROM circuit section 4 through the memory selection signal line 7.

【0012】キャッシュメモリ回路部指定ビット11の
値が「1」だったとすると、キャッシュメモリ回路部3
はメモリ選択信号線7を介して通知されて来た内容から
自分が選択されたと判断し、キャッシュメモリ回路部3
だけがアクセスされる。この時、ヒットミスヒットはキ
ャッシュメモリ回路部3だけが判定し、その結果をヒッ
トミスヒット結果信号線8を介してキャッシュメモリ制
御部2に通知する。ここでミスヒットがあれば、キャッ
シュメモリ制御部2はローカルデータがメモリからキャ
ッシュメモリに到達するまでキャッシュメモリリードタ
イミング信号線9にてプロセッサ1を待たせる。同様
に、ROM回路部指定ビット12の値が「1」の場合
は、メモリ選択信号線7を介してROM回路部4が選択
されたことが通知され、ROM回路部4のグローバルデ
ータが双方向バス5に出力される。
Assuming that the value of the cache memory circuit section designation bit 11 is "1", the cache memory circuit section 3
Judges that it has been selected from the contents notified via the memory selection signal line 7, and the cache memory circuit unit 3
Only is accessed. At this time, the hit-miss-hit is judged only by the cache memory circuit unit 3, and the result is notified to the cache memory control unit 2 via the hit-miss hit result signal line 8. If there is a mishit here, the cache memory control unit 2 causes the processor 1 to wait on the cache memory read timing signal line 9 until the local data reaches the cache memory from the memory. Similarly, when the value of the ROM circuit section designation bit 12 is “1”, it is notified via the memory selection signal line 7 that the ROM circuit section 4 has been selected, and the global data of the ROM circuit section 4 is bidirectional. It is output to the bus 5.

【0013】次に、本発明の第2の実施例について図面
を参照して説明する。図3は本発明の第2の実施例のブ
ロック図である。本発明は、プロセッサ1とメモリ選択
信号線7との間にデコード回路10を設けた構成となっ
ている。デコード回路10は、プロセッサ1から出力さ
れるメモリ回路部指定フィールドをデコードし、その結
果をメモリ選択信号線7にてキャッシュメモリ回路部
3,ROM回路部4に伝える。
Next, a second embodiment of the present invention will be described with reference to the drawings. FIG. 3 is a block diagram of the second embodiment of the present invention. The present invention has a configuration in which a decoding circuit 10 is provided between the processor 1 and the memory selection signal line 7. The decoding circuit 10 decodes the memory circuit section designation field output from the processor 1, and transmits the result to the cache memory circuit section 3 and the ROM circuit section 4 via the memory selection signal line 7.

【0014】図4は、図3に示すプロセッサの仮想アド
レス変換用のアドレス変換ページテーブルのエントリの
フォーマットの一例を示す説明図である。アドレス変換
ページテーブル20bは、図2のページテーブルエント
リ20aが有する2ビット分のキャッシュメモリ回路部
指定ビット11とROM回路部指定ビット12との代り
に、1ビット分のメモリ回路部指定フィールド13を有
している。デコード回路10は、メモリ回路部指定フィ
ールド13の値が「0」だとキャッシュメモリ回路部3
が選択されたと解釈し、この値が「1」だとROM回路
部4の方が選択されたと解釈して、その旨をメモリ選択
信号線7を介し、キャッシュメモリ回路部3とROM回
路部4とに伝達する。
FIG. 4 is an explanatory diagram showing an example of an entry format of the address translation page table for virtual address translation of the processor shown in FIG. The address translation page table 20b has a 1-bit memory circuit section designation field 13 instead of the 2-bit cache memory circuit section designation bit 11 and the ROM circuit section designation bit 12 included in the page table entry 20a of FIG. Have If the value of the memory circuit section designating field 13 is "0", the decode circuit 10 causes the cache memory circuit section 3
Is selected, and if this value is “1”, it is interpreted that the ROM circuit unit 4 is selected, and that effect is notified via the memory selection signal line 7 to the cache memory circuit unit 3 and the ROM circuit unit 4. Communicate with.

【0015】なお、上述した第1の実施例において、第
1のデータとしてローカルデータをキャッシュメモリ回
路部3に格納し、第2のデータとしてグローバルデータ
をROM回路部4に格納して説明したが、第1のデータ
をグローバルデータに、第2のデータをローカルデータ
に変更することも可能である。
In the above-described first embodiment, the local data is stored in the cache memory circuit section 3 as the first data and the global data is stored in the ROM circuit section 4 as the second data. It is also possible to change the first data into global data and the second data into local data.

【0016】また、上述した第1の実施例において、本
発明を命令キャッシュメモリで使用し、第1のデータを
ユーザプログラムの命令に、第2のデータをOSのカー
ネルコードと設定することも可能である。また、第1の
データをOSのカーネルコードに、第2のデータをユー
ザプログラムの命令と設定することも可能である。
Further, in the above-mentioned first embodiment, the present invention can be used in the instruction cache memory, and the first data can be set as the instruction of the user program and the second data can be set as the kernel code of the OS. Is. It is also possible to set the first data to the kernel code of the OS and the second data to the instruction of the user program.

【0017】また、上述した第1の実施例において、R
OM回路部指定ビット12の値が「0」だとROM回路
部4の方が選択され、キャッシュメモリ回路部指定ビッ
ト11の値が「0」だとキャッシュメモリ回路部3の方
が選択されるように変更することも可能である。
In the first embodiment described above, R
When the value of the OM circuit section designating bit 12 is "0", the ROM circuit section 4 is selected, and when the value of the cache memory circuit section designating bit 11 is "0", the cache memory circuit section 3 is selected. It is also possible to change as follows.

【0018】また、第2の実施例において、メモリ回路
部指定フィールド13の値が「0」だとROM回路部4
の方が選択され、メモリ回路部指定フィールド13の値
が「1」だとキャッシュメモリ回路部3の方が選択され
るように変更することも可能である。
Also, in the second embodiment, if the value of the memory circuit section designation field 13 is "0", the ROM circuit section 4
It is also possible to change so that the cache memory circuit unit 3 is selected when the value of the memory circuit unit designation field 13 is “1”.

【発明の効果】以上説明したように本発明は、複数のキ
ャッシュメモリ使用し、ローカル/グローバルデータを
アドレス変換ページテーブルでそれぞれのキャッシュメ
モリおよびROMに指定して選択時間を短くすることに
より、ヒット率を向上させることできる効果がある。
As described above, according to the present invention, a plurality of cache memories are used, and local / global data is designated in each cache memory and ROM in the address translation page table to shorten the selection time. There is an effect that the rate can be improved.

【0019】また、ユーザプログラムの命令とOSのカ
ーネルコードとをそれぞれのキャッシュメモリおよびR
OMに指定して選択時間を短くすることにより、ヒット
率を向上させることできる効果がある。
Further, the instructions of the user program and the kernel code of the OS are respectively stored in the cache memory and the R memory.
There is an effect that the hit rate can be improved by designating the OM and shortening the selection time.

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

【図1】本発明の第1の実施例のブロック図である。FIG. 1 is a block diagram of a first embodiment of the present invention.

【図2】図1に示すプロセッサの仮想アドレス変換用の
アドレス変換ページテーブルのエントリのフォーマット
の一例を示す説明図である。
2 is an explanatory diagram showing an example of an entry format of an address translation page table for virtual address translation of the processor shown in FIG. 1. FIG.

【図3】本発明の第2の実施例のブロック図である。FIG. 3 is a block diagram of a second embodiment of the present invention.

【図4】図3に示すプロセッサの仮想アドレス変換用の
アドレス変換ページテーブルのエントリのフォーマット
の一例を示す説明図である。
4 is an explanatory diagram showing an example of an entry format of an address translation page table for virtual address translation of the processor shown in FIG.

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

1 プロセッサ 2 キャッシュメモリ制御部 3 キャッシュメモリ回路部 4 ROM回路部 5 双方向バス 6 アドレス信号線 7 メモリ選択信号線 8 ヒットミスヒット結果信号線 9 キャッシュメモリリードタイミング信号線 10 デコード回路 11 キャッシュメモリ回路部指定ビット 12 ROM回路部指定ビット 13 メモリ回路部指定フィールド 20a,20b アドレス変換ページテーブル 1 processor 2 cache memory control unit 3 cache memory circuit unit 4 ROM circuit unit 5 bidirectional bus 6 address signal line 7 memory selection signal line 8 hit miss hit result signal line 9 cache memory read timing signal line 10 decode circuit 11 cache memory circuit Part designation bit 12 ROM circuit part designation bit 13 Memory circuit part designation field 20a, 20b Address conversion page table

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 データアレイ,アドレスアレイ,ヒット
ミスヒット検出回路,リードライト制御部を含み第1の
データを格納するキャッシュメモリであるキャッシュメ
モリ回路部と、データアレイ,アドレスアレイ,リード
制御部を含み第1のデータと種別が異なる第2のデータ
を格納するROMであるROM回路部と、該当するペー
ジが前記キャッシュメモリ回路部に登録されていること
を示す1ビット分のキャッシュメモリ回路部指定ビット
と前記ROM回路部に登録されていることを示す1ビッ
ト分のROM回路部指定ビットとの2ビット分を有して
このうち必ず一方だけが「1」となっている仮想アドレ
ス変換用のアドレス変換ページテーブルを内蔵すると共
に仮想アドレスをサポートして装置全体を制御するプロ
セッサと、前記プロセッサとキャッシュメモリ回路部,
ROM回路部とを接続する双方向バスと、前記プロセッ
サから前記キャッシュメモリ回路部,ROM回路部に出
力されるアドレス信号を伝達するアドレス信号線と、前
記プロセッサから前記キャッシュメモリ回路部,ROM
回路部に出力されるメモリ選択信号を伝達するメモリ選
択信号線と、前記キャッシュメモリ回路部から出力され
るヒットミスヒット結果信号を伝達するヒットミスヒッ
ト結果信号線と、前記ヒットミスヒット結果信号を受信
して前記プロセッサにキャッシュメモリリードタイミン
グ信号を出力するキャッシュメモリ制御部と、前記キャ
ッシュメモリリードタイミング信号を前記プロセッサに
伝達するキャッシュメモリリードタイミング信号線とを
含むことを特徴とするキャッシュメモリ制御方式。
1. A cache memory circuit unit which is a cache memory for storing first data including a data array, an address array, a hit / miss hit detection circuit, and a read / write control unit, and a data array, an address array, and a read control unit. A ROM circuit unit that is a ROM that stores second data of a different type from the first data that is included, and a cache memory circuit unit designation for 1 bit that indicates that the corresponding page is registered in the cache memory circuit unit. For virtual address conversion, it has two bits, one bit indicating that the bit is registered in the ROM circuit section and one bit indicating the ROM circuit section, and only one of these bits is "1". A processor that has a built-in address translation page table and supports virtual addresses to control the entire device; Cessa and cache memory circuit part,
A bidirectional bus connecting the ROM circuit section, an address signal line for transmitting an address signal output from the processor to the cache memory circuit section and the ROM circuit section, and a cache memory circuit section and the ROM from the processor
A memory select signal line for transmitting a memory select signal output to a circuit section, a hit miss hit result signal line for transmitting a hit miss hit result signal output from the cache memory circuit section, and the hit miss hit result signal. A cache memory control method comprising: a cache memory control unit that receives and outputs a cache memory read timing signal to the processor; and a cache memory read timing signal line that transmits the cache memory read timing signal to the processor. ..
【請求項2】 前記プロセッサが、論理アドレスを物理
アドレスに変換する場合、前記キャッシュメモリ回路
部,ROM回路部が物理キャッシュメモリであれば、キ
ャッシュメモリアクセスに際し、前記アドレス変換テー
ブルのキャッシュメモリ回路部指定ビットまたはROM
回路部指定ビットを参照し、その値を前記メモリ選択信
号線で前記キャッシュメモリ回路部,ROM回路部に出
力し、 前記キャッシュメモリ回路部指定ビットの値が「1」の
場合、前記キャッシュメモリ回路部は自分が選択された
と判断し、ヒットミスヒットを判定し、その結果を前記
ヒットミスヒット結果信号線を介して前記キャッシュメ
モリ制御部に通知し、ここでミスヒットがあれば、前記
キャッシュメモリリードタイミング信号線にて前記プロ
セッサを待たせ、ミスがなければ第1のデータを双方向
バスに出力し、 前記ROM回路部指定ビットの値が「1」の場合、前記
ROM回路部は自分が選択されたと判断し、第2のデー
タを双方向バスに出力することを特徴とする請求項1記
載のキャッシュメモリ制御方式。
2. When the processor converts a logical address into a physical address and the cache memory circuit unit and the ROM circuit unit are physical cache memories, the cache memory circuit unit of the address conversion table is used when accessing the cache memory. Specified bit or ROM
When the value of the cache memory circuit designating bit is “1”, the value is output to the cache memory circuit unit and the ROM circuit unit through the memory selection signal line with reference to the circuit unit designating bit. The unit judges that it has been selected, determines a hit-miss hit, and notifies the result to the cache memory control unit via the hit-miss hit result signal line. If the read timing signal line causes the processor to wait, and if there is no mistake, the first data is output to the bidirectional bus. When the value of the ROM circuit designating bit is "1", the ROM circuit is self 2. The cache memory control method according to claim 1, wherein the second data is output to the bidirectional bus when it is determined that it has been selected.
【請求項3】 前記アドレス変換ページテーブルが有す
る2ビット分のキャッシュメモリ回路部指定ビットとR
OM回路部指定ビットとを1ビット分のメモリ回路部指
定フィールドに変更し、前記プロセッサと前記メモリ選
択信号線との間に、前記メモリ回路部指定フィールドを
デコードし、前記メモリ回路部指定フィールドビットが
「0」か「1」かで前記キャッシュメモリ回路部または
前記ROM回路部のどちらか一方を選択し、その旨を前
記メモリ選択信号線を介し、前記キャッシュメモリ回路
部またはROM回路部に伝達するデコード回路を設けた
ことを特徴とする請求項1または2記載のキャッシュメ
モリ制御方式。
3. A 2-bit cache memory circuit section designating bit and R included in the address translation page table
The OM circuit section designating bit is changed to a memory circuit section designating field for 1 bit, and the memory circuit section designating field is decoded between the processor and the memory selection signal line to obtain the memory circuit section designating field bit. Is "0" or "1", either the cache memory circuit section or the ROM circuit section is selected, and the fact is transmitted to the cache memory circuit section or the ROM circuit section via the memory selection signal line. 3. The cache memory control system according to claim 1, further comprising a decoding circuit for performing the above.
JP3301415A 1991-11-18 1991-11-18 Cache memory control system Withdrawn JPH05210582A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3301415A JPH05210582A (en) 1991-11-18 1991-11-18 Cache memory control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3301415A JPH05210582A (en) 1991-11-18 1991-11-18 Cache memory control system

Publications (1)

Publication Number Publication Date
JPH05210582A true JPH05210582A (en) 1993-08-20

Family

ID=17896606

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3301415A Withdrawn JPH05210582A (en) 1991-11-18 1991-11-18 Cache memory control system

Country Status (1)

Country Link
JP (1) JPH05210582A (en)

Similar Documents

Publication Publication Date Title
RU2195696C2 (en) Coprocessor data access control
JPH0786870B2 (en) Data transfer control method of coprocessor and circuit thereof
US5056008A (en) Data processor having expanded operating functions
US6851036B1 (en) Method and apparatus for controlling external devices through address translation buffer
KR920006615B1 (en) Method and apparatus having both the direct mapping and bank mapping schemes
US5274776A (en) Information processing system having mode signal holding means and selecting operand access mode based on mode signal indicating type of currently executed instruction
JPH05210582A (en) Cache memory control system
JPH05233560A (en) Inter-processor notifying system for multiprocessor circuit and its method
JPH04282734A (en) Cache memory control device
JPH04342047A (en) Cache memory control system
JP2522063B2 (en) Single-chip micro computer
JPH01261766A (en) Data communication system
JP2533245Y2 (en) Data processing device
KR960007835B1 (en) Common memory access device for multi-processor
JPH08147262A (en) Microprocessor
KR0159687B1 (en) Data bitstream generating apparatus
JPH0128965B2 (en)
JPH04155454A (en) Information processor
JPS5971548A (en) Microprogram controller
JPH01261768A (en) Data communication system
JPS5860347A (en) Communication controller
JPH01261767A (en) Data communication system
JPH0431939A (en) External storage device
JPH1124986A (en) Memory mapping system
JPH04367043A (en) Memory controller

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990204