JPH04170653A - Cache memory system - Google Patents
Cache memory systemInfo
- Publication number
- JPH04170653A JPH04170653A JP2299371A JP29937190A JPH04170653A JP H04170653 A JPH04170653 A JP H04170653A JP 2299371 A JP2299371 A JP 2299371A JP 29937190 A JP29937190 A JP 29937190A JP H04170653 A JPH04170653 A JP H04170653A
- Authority
- JP
- Japan
- Prior art keywords
- address
- processor
- tag
- cache memory
- section
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000006243 chemical reaction Methods 0.000 claims abstract description 8
- 238000010586 diagram Methods 0.000 description 4
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Abstract
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明はキャッシュメモリシステムに関する。[Detailed description of the invention] [Industrial application field] The present invention relates to cache memory systems.
従来、この種のキャッシュメモリシステムは、タグ部に
与えるアドレスと、プロセッサが出力するアドレスとの
関係が固定となっていた。Conventionally, in this type of cache memory system, the relationship between the address given to the tag section and the address output by the processor is fixed.
上述した従来のキャッシュメモリシステムは、タグ部に
与えるアドレスと、プロセッサが出力するアドレスとの
関係が、固定となっているので、このキャッシュメモリ
システムで動作させるプログラムのアドレスの関係によ
っては、タグ部に与えるアドレスが重複するケースが増
え、タグ部の不一致が発生する確立が高くなり、アクセ
ス速度の速いキャッシュメモリを有効に利用出来ない欠
点がある。In the conventional cache memory system described above, the relationship between the address given to the tag section and the address output by the processor is fixed, so depending on the relationship between the addresses of the program operated in this cache memory system, the tag section This has the drawback that the number of cases in which addresses are duplicated increases, the probability that mismatches in tag parts will occur increases, and the cache memory, which has a fast access speed, cannot be used effectively.
本発明のキャッシュメモリシステムは、タグ部に対して
与えるアドレスと、プロセッサが出力するアドレスとの
対応する関係を変更する変換回路を含んで構成される。The cache memory system of the present invention includes a conversion circuit that changes the correspondence between the address given to the tag section and the address output by the processor.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.
プロセッサ1がメモリをリードするためには、制御信号
6とアドレス8を出力する。プロセッサから出力された
アドレス8は制御信号6と共にメモリ部6へ入力され、
タグ部13へは、アドレス8をデータ部つとアドレス部
10に分割して入力される。In order to read the memory, the processor 1 outputs a control signal 6 and an address 8. The address 8 output from the processor is input to the memory section 6 together with the control signal 6,
The address 8 is divided into a data part and an address part 10 and input to the tag part 13 .
タグ部13では、メモリセル4内のアドレス部1で示さ
れた情報により導びかれな情報とデータ部9の情報とを
比較部14で比較し、比較結果11をメモリ部3へ渡し
て制御を譲る。In the tag section 13, the comparison section 14 compares the information derived from the information indicated in the address section 1 in the memory cell 4 with the information in the data section 9, and passes the comparison result 11 to the memory section 3 for control. yield.
この比較結果11が一致しているなら、メモリ部3はキ
ャッシュメモリのデータをプロセッサへ渡し、もし不一
致なら、メモリ部3はメインメモリのデータをプロセッ
サ1へ渡し、同時にそのデータをキャッシュメモリへも
登録し、タグ制御部5は制御信号12によってメモリセ
ル4を更新する。If the comparison results 11 match, the memory unit 3 passes the data in the cache memory to the processor; if they do not match, the memory unit 3 passes the data in the main memory to the processor 1, and at the same time transfers the data to the cache memory. The tag controller 5 updates the memory cell 4 using the control signal 12.
この流れの中のプロセッサ1から出力されたアドレス8
とタグ部13に入力されるアドレス部10との対応する
関係を変更可能な変換回路2が存在する。Address 8 output from processor 1 in this flow
There is a conversion circuit 2 that can change the corresponding relationship between the address field 10 and the address field 10 input to the tag section 13.
ここで、プロセッサ1から出力されたアドレス8のバス
幅か、8ビツトの場合を想定して具体例を説明する。Here, a specific example will be explained assuming that the bus width of address 8 output from processor 1 is 8 bits.
第1図に示す変換回N2の対応が、第2図に示す状態な
とすると、第4図に示すプロセッサのアドレスの場合、
タグのアドレスは、AからEのサイクル全て同一となっ
てしまい第1図に示すメモリセル4の内容は、タグ制御
部5からの制御信号12で更新されてしまう。つまり、
第4図のAとEは、同じプロセッサからのアドレスなの
に第1図に示す比較部14よりの比較結果11は、不一
致状態となる。If the correspondence of the conversion circuit N2 shown in FIG. 1 is in the state shown in FIG. 2, then in the case of the address of the processor shown in FIG. 4,
The tag address is the same for all cycles from A to E, and the contents of the memory cell 4 shown in FIG. 1 are updated by the control signal 12 from the tag control section 5. In other words,
Although A and E in FIG. 4 are addresses from the same processor, the comparison result 11 from the comparator 14 shown in FIG. 1 is in a mismatched state.
ところが、第1図に示す変換回路2の対応を、第3図に
示す状態に変更すると、第5図に示す通り第4図と同じ
プロセッサのアドレスでも、タグのアドレスは各々異り
、第1図に示すタグ制御部5からの制御信号12で、メ
モリセル4は更新されるが、メモリセル4のアドレスが
異るため、第5図のJサイクルにおいて第1図に示す比
較部14よりの比較結果11は、一致状態となる。However, when the correspondence of the conversion circuit 2 shown in FIG. 1 is changed to the state shown in FIG. 3, as shown in FIG. 5, even though the address of the processor is the same as in FIG. The memory cell 4 is updated by the control signal 12 from the tag control unit 5 shown in the figure, but since the address of the memory cell 4 is different, the data from the comparison unit 14 shown in FIG. The comparison result 11 is a match state.
以上説明したように本発明は、タグ部に対して与えるア
ドレスと、プロセッサが出力するアドレスとの対応する
関係を変更することにより、タグ部で不一致が頻繁に発
生する様なアドレスを有する、プログラムを動作させて
も、動作状態に応じた最適の環境を横築し、アクセス速
度の速いキャッシュメモリを有効に利用できる効果があ
る。As explained above, the present invention provides a program that has addresses that frequently cause mismatches in the tag section by changing the corresponding relationship between the address given to the tag section and the address output by the processor. Even if the system is operated, it has the effect of creating an optimal environment according to the operating state and making effective use of cache memory with fast access speed.
第1図は本発明の一実施例のブロック図、第2図および
第3図はタグ部に対して与えるアドレスとプロセッサが
出力するアドレスとの対応する関係を表した図、第4図
および第5図はプロセッサが出力するアドレスとタグ部
のアドレスとの関係を具体的データを盛り込んで表した
図である。
1・・・プロセッサ、2・・・変換回路、3・・・メモ
リ部、4・・・メモリセル、5・・・タグ制御部、6・
・・制御信号、7・・・データ、8・・・プロセッサが
出力するアドレス、9・・・タグ部へ出力するデータ部
、10・・・タグ部へ出力するアドレス部、11・・・
タグ部の一致情報、12・・・タグ制御部が出力する制
御信号、13・・・タグ部、14・・・比較部。FIG. 1 is a block diagram of an embodiment of the present invention, FIGS. 2 and 3 are diagrams showing the corresponding relationship between the address given to the tag part and the address output by the processor, and FIGS. FIG. 5 is a diagram illustrating the relationship between the address output by the processor and the address of the tag section, including specific data. DESCRIPTION OF SYMBOLS 1... Processor, 2... Conversion circuit, 3... Memory part, 4... Memory cell, 5... Tag control part, 6...
... Control signal, 7... Data, 8... Address output by the processor, 9... Data section outputted to the tag section, 10... Address section outputted to the tag section, 11...
Matching information of the tag section, 12... Control signal output by the tag control section, 13... Tag section, 14... Comparison section.
Claims (1)
アドレスとの対応する関係を変更する変換回路を具備す
ることを特徴とするキャッシュメモリシステム。A cache memory system comprising a conversion circuit that changes the correspondence between an address given to a tag section and an address output by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2299371A JPH04170653A (en) | 1990-11-05 | 1990-11-05 | Cache memory system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2299371A JPH04170653A (en) | 1990-11-05 | 1990-11-05 | Cache memory system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04170653A true JPH04170653A (en) | 1992-06-18 |
Family
ID=17871700
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2299371A Pending JPH04170653A (en) | 1990-11-05 | 1990-11-05 | Cache memory system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04170653A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012160131A (en) * | 2011-02-02 | 2012-08-23 | Toyota Motor Corp | Control device for cache memory, cache memory system, manufacturing method of control device for cache memory |
-
1990
- 1990-11-05 JP JP2299371A patent/JPH04170653A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012160131A (en) * | 2011-02-02 | 2012-08-23 | Toyota Motor Corp | Control device for cache memory, cache memory system, manufacturing method of control device for cache memory |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0121373B1 (en) | Multilevel controller for a cache memory interface in a multiprocessing system | |
JPH02236790A (en) | Processor array system | |
EP0660229B1 (en) | Method and apparatus for modifying the contents of a register | |
JPH04170653A (en) | Cache memory system | |
JPS62157961A (en) | Method of controlling interruption in multiprocessor system | |
JPH03214250A (en) | Memory control circuit | |
KR960018958A (en) | Main Memory Access Device Using Data Buffer When Performing Atomic Instruction in Multiprocessor System | |
JPH0221012B2 (en) | ||
SU860138A1 (en) | Register | |
SU888121A1 (en) | Device for shaping execution addresses | |
JP2847729B2 (en) | Information processing device | |
JPH03204744A (en) | Address converting mechanism | |
KR0127884B1 (en) | Mail box interrupt generating device | |
JP2764024B2 (en) | Storage device table indexing method and indexing device | |
JPS6331087A (en) | Memory access circuit | |
KR970049620A (en) | Data transmission control unit | |
JPS6086625A (en) | Data processing device | |
KR19980026275A (en) | Low Power Consumption CPU | |
JPS61128698A (en) | Scanning device | |
JPH023093A (en) | Display control circuit | |
JPH02287732A (en) | Register address generating device | |
JPH0478931A (en) | Designated word interruption generating system | |
JPH04112251A (en) | Microcomputer | |
JPS63229538A (en) | Access control system for memory element of electronic computer | |
JPS63196968A (en) | Input/output controller |