Nothing Special   »   [go: up one dir, main page]

JPS6336450A - Lsi for cache - Google Patents

Lsi for cache

Info

Publication number
JPS6336450A
JPS6336450A JP61180445A JP18044586A JPS6336450A JP S6336450 A JPS6336450 A JP S6336450A JP 61180445 A JP61180445 A JP 61180445A JP 18044586 A JP18044586 A JP 18044586A JP S6336450 A JPS6336450 A JP S6336450A
Authority
JP
Japan
Prior art keywords
address
cache
comparator
output
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.)
Pending
Application number
JP61180445A
Other languages
Japanese (ja)
Inventor
Yasuharu Tanaka
田中 康陽
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 JP61180445A priority Critical patent/JPS6336450A/en
Publication of JPS6336450A publication Critical patent/JPS6336450A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To constitute the circuit of an optimum control at an LSI external part and to improve the flexibility of a function when a terminal from a comparator is used by providing a comparator and a control circuit in which the coincidence of an address inputted from the external part and the address stored into a memory is obtained. CONSTITUTION:An address 100 sent from a CPU side compares all addresses in plural address memories 10 to store the main memory address of cache data with a comparator 11. There are the first output terminal 13 which receives the checking of the coincidence at the comparator 11, is controlled to output logical conditions and a timing and outputs a coincident signal to the external part, and the second output terminal 14 to output the coincident result only from the comparator 11 to the external part, and both can be used in accordance with the response speed request of the cache.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はキャッシュ用LSIK関する。[Detailed description of the invention] [Industrial application field] The present invention relates to a cache LSIK.

〔従来の技術〕[Conventional technology]

従来、キャッシュ用LSIは多数のメモリチップおよび
中小規模の論理チップから構成されるキャッシュ制御回
路を1チツプ化することにより。
Conventionally, cache LSIs have integrated a cache control circuit consisting of a large number of memory chips and small to medium-sized logic chips into a single chip.

IC実装面積の大幅な縮小化、キャッンユ機能回路の低
価格化および高速化を図ることを目的としておシ、キャ
クシュ部に格納しているデータのアドレスとCPU側か
らキャッシュにアクセスのあるアドレスとを比較して一
致か不一致の、結果をCPU側に通知する回[洛を中心
にキヤノンユイ幾能をできるだけ多く取り入れたLSI
であった。
In order to significantly reduce the IC mounting area, lower the cost of the cache function circuit, and increase the speed, the address of the data stored in the cache part and the address where the cache is accessed from the CPU side have been changed. The time when the CPU side is notified of the result of the comparison and whether it matches or does not match
Met.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のキャッシュ用LSIはキャッシュ機能を
多く取り入れている反面機能の柔軟性を欠くという欠点
をも持っていた。特にキャッジ−の性能を食味するアド
レス比較の一致検出機能の柔軟性は重要であった。最近
のマイクロプロセスサの著しい高速化によシ、キャッシ
ュ性能の高速化は必然的であった。従来大規模なLSI
はCMO3で実現されることが多いが、アドレス比較の
一致信号f CPU側へ通知すべき論理条件および出力
タイミングによって制御する回路はIC実装面積の縮小
化という目的によfi 、 LSI内にその回路を実現
していた。しかし、 CPU側の要求速度を満足するこ
とがCMO8回路ではできない場合は、 LSI外部で
高速TTL回路を使用したシ、その制御回路の論理を高
速化の為に工夫することが考えられるが、従来のキャッ
シュ用LSIはその制御回路を自薦していた為にその選
択の余地をなくしているという欠点があった。
Although the above-mentioned conventional cache LSI incorporates many cache functions, it also has the drawback of lacking functional flexibility. Particularly important was the flexibility of the match detection function for address comparison, which takes into account the performance of Cache. With the remarkable increase in speed of recent microprocessors, an increase in cache performance has been inevitable. Conventional large-scale LSI
is often realized with a CMO3, but the circuit that controls the address comparison match signal f according to the logical conditions and output timing to be notified to the CPU side is implemented in the LSI for the purpose of reducing the IC mounting area. was realized. However, if the CMO8 circuit cannot satisfy the speed required by the CPU, it is possible to use a high-speed TTL circuit outside the LSI and devise the logic of the control circuit to increase the speed. The cache LSI had the disadvantage that the control circuit was self-selected, leaving no room for choice.

〔問題点を解決するだめの手段〕[Failure to solve the problem]

本発明のキャッシュ用LSIは、複数個のアドレスを格
納するメモリと、外部から入力されたアドレスと前記メ
モリに格納されたアドレスとの一致をみる比較回路と、
前記比較回路から発生する一致信号を外部へ出力する端
子と、前記一致信号を入力し論理条件および出力タイピ
ング等によって一致信号の外部への出力を制御する制御
回路と。
The cache LSI of the present invention includes a memory that stores a plurality of addresses, a comparison circuit that checks whether an address input from the outside matches an address stored in the memory, and
A terminal for outputting a match signal generated from the comparison circuit to the outside; and a control circuit that receives the match signal and controls output of the match signal to the outside based on logic conditions, output typing, etc.

前記制御回路から出力する一致信号を外部へ出力する端
子とを含んで構成される。
and a terminal for outputting a coincidence signal outputted from the control circuit to the outside.

〔実施例〕〔Example〕

次に2本発明について図面を参照して説明する。 Next, two aspects of the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例のブロック構成図で。FIG. 1 is a block diagram of an embodiment of the present invention.

本発明洗関係する部分のみを表わしている。1はキャッ
シュ用LSIである1、10は複数「固のアドレスメモ
リであシ、キャッシュに格納しているデータのメモリア
ドレスを格納している。キャッシュデータを格納してい
るメモリはキャッシュ用LSII内もしくは外にあるが
第1図には示していない。
Only the parts related to the present invention are shown. 1 is a cache LSI. 1 and 10 are multiple fixed address memories, which store the memory addresses of data stored in the cache. The memory that stores cache data is in the cache LSII. Or it is outside but not shown in Figure 1.

11は外部アドレス信号群100とアドレスメモリ10
からの格納アドレス信号群200とをそれぞれ入力して
比較する回路である。12は回路11から出力するアド
レス一致信号300を入力し、外部へ出力する論理条件
およびタイミングを制御する制御回路である。第1の出
力端13は出力制御回路12の出力信号400を外部へ
出力するだめのものである。第2の出力端子14は比較
回路11の出力信号300を外部へ出力するだめのもの
である。
11 is an external address signal group 100 and an address memory 10
This circuit inputs and compares the storage address signal group 200 from . Reference numeral 12 denotes a control circuit that receives the address match signal 300 output from the circuit 11 and controls the logic conditions and timing for outputting it to the outside. The first output terminal 13 is for outputting the output signal 400 of the output control circuit 12 to the outside. The second output terminal 14 is for outputting the output signal 300 of the comparator circuit 11 to the outside.

次て具体的に動作を説明する。キャッシュはメインメモ
リのデータ士一部格納しているメモリであH、CPU側
からのアクセスに対して高速に応答するものである。応
答はCPU側からのアドレスに対してキャッシュに格納
しているかどうかを判定し、それをCPU側へ通知する
ことであシ、更にはそのアドレスに対応するデータをキ
ャッシュからCPU側へ送シ出すことで完了する。本発
明ではCPU側から送られてくるアドレス100はギヤ
ツンユデータの、lインメモリアドレスを格納している
複数個のアドレスメモリ10内にあるすべてのアドレス
とを比較回路11で非較する。ここでメインメモリアド
レスの格納構成と比較回路11への読出し方法(Cつい
ては特に問題としない。比較回路11で一致のチエツク
を受けて、a力論理条件およびタイミングに制御されて
一致信号を外部出力する第1の出力端子13と比較回路
11から一致結果だけを外部出力する第2の出力端子1
4があり、キャッシュの応答速度要求に従いどちらでも
使用することができる。
Next, the operation will be explained in detail. The cache is a memory that stores part of the data in the main memory and responds quickly to accesses from the CPU side. The response is to determine whether or not the address from the CPU side is stored in the cache, and notify the CPU side of this, and then send the data corresponding to that address from the cache to the CPU side. This completes the process. In the present invention, the address 100 sent from the CPU side is compared with all addresses in a plurality of address memories 10 storing in-memory addresses of gear data in a comparison circuit 11. Here, there is no particular problem with the main memory address storage configuration and the reading method to the comparison circuit 11 (C). After the comparison circuit 11 checks for a match, the match signal is output externally under the control of the logic conditions and timing. A first output terminal 13 that outputs only the matching result from the comparison circuit 11 to the outside.
4, and either one can be used depending on the cache response speed requirements.

〔発明の効果〕〔Effect of the invention〕

以上説明したように2本発明はキャッシュに、アクセス
するCPUのキャッシュアクセスタイムの要求に応じて
、高速性の要求では比較回路からの一致信号を使用し、
速度についての要求が十分満足できれば制御回路から出
力される一致信号を使用することができ、比較回路から
の端子を使用すれば、LSI外部に最適制御の回路を構
成することができ、制御回路からの出力信号の端子を使
用すれば外部回路は軽減できる効果があ゛る。
As explained above, the present invention uses a match signal from a comparator circuit for the cache according to the cache access time requirements of the accessing CPU, and
If the speed requirements are sufficiently satisfied, the coincidence signal output from the control circuit can be used, and if the terminal from the comparison circuit is used, an optimal control circuit can be configured outside the LSI, and the control circuit can The use of the output signal terminal has the effect of reducing the external circuitry.

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

第1図は本発明の一実施例のブロック回路図でちる。 1・・・キャッシュ用LSI 、 l O・・・アドレ
スメモリ。 11・・・比較回路、12・・・出力制御回路、13・
・・第1の出力端子、14・・・第2の出力端子、10
0・・・外部アドレス信号群、200・・・アドレスメ
モIJ 格納信号群、300・・・一致信号、400・
・・制御された一致信号。
FIG. 1 is a block circuit diagram of an embodiment of the present invention. 1... LSI for cache, l O... Address memory. 11... Comparison circuit, 12... Output control circuit, 13.
...First output terminal, 14...Second output terminal, 10
0... External address signal group, 200... Address memo IJ storage signal group, 300... Match signal, 400...
...Controlled coincidence signal.

Claims (1)

【特許請求の範囲】[Claims] 1)複数個のアドレスを格納するメモリと、外部から入
力されたアドレスと前記メモリに格納されたアドレスと
の一致をみる比較回路と、前記比較回路から発生する一
致信号を外部へ出力する端子と、前記一致信号を入力し
論理条件および出力タイミング等によって一致信号の外
部への出力を制御する制御回路と、前記制御回路から出
力する一致信号を外部へ出力する端子とを含むことを特
徴とするキャッシュ用LSI。
1) A memory that stores a plurality of addresses, a comparison circuit that checks the match between an address input from the outside and an address stored in the memory, and a terminal that outputs a match signal generated from the comparison circuit to the outside. , comprising a control circuit that receives the coincidence signal and controls output of the coincidence signal to the outside according to logic conditions, output timing, etc., and a terminal that outputs the coincidence signal output from the control circuit to the outside. LSI for cache.
JP61180445A 1986-07-31 1986-07-31 Lsi for cache Pending JPS6336450A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61180445A JPS6336450A (en) 1986-07-31 1986-07-31 Lsi for cache

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61180445A JPS6336450A (en) 1986-07-31 1986-07-31 Lsi for cache

Publications (1)

Publication Number Publication Date
JPS6336450A true JPS6336450A (en) 1988-02-17

Family

ID=16083356

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61180445A Pending JPS6336450A (en) 1986-07-31 1986-07-31 Lsi for cache

Country Status (1)

Country Link
JP (1) JPS6336450A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03269743A (en) * 1990-03-20 1991-12-02 Pfu Ltd High reliability cache control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03269743A (en) * 1990-03-20 1991-12-02 Pfu Ltd High reliability cache control method

Similar Documents

Publication Publication Date Title
CA2011518C (en) Distributed cache dram chip and control method
US5047920A (en) Hierarchal system for reducing memory access time to plural equal sized memories by simultaneously addressing and accessing memory
JP3039557B2 (en) Storage device
US6782466B1 (en) Arrangement and method for accessing data in a virtual memory arrangement
JPH0661066B2 (en) Storage controller
JPS6336450A (en) Lsi for cache
US7257670B2 (en) Multipurpose CAM circuit
US20040034748A1 (en) Memory device containing arbiter performing arbitration for bus access right
JPH0239255A (en) Cache memory
JPH027141A (en) Cache memory system
JPS6383844A (en) Microprocessor system
JP2001273014A (en) Programmable controller
KR940002595Y1 (en) Dual port memory unit controller on cpu-board
JP2581484B2 (en) Data processing system
JPH01225354A (en) Semiconductor device
JPH05143445A (en) Memory accelerating mechanism for virtual memory computer
KR940005771B1 (en) Address generation circuit with short setup time
JPS6385842A (en) Information processor
JPH02176839A (en) Information processor
JPS6040063B2 (en) composite bus circuit
JPH08272691A (en) Cache storage system
JPH0330036A (en) Semiconductor storage device
JPH07129500A (en) Bus switch circuit
JPS59114657A (en) Memory interface circuit of microcomputer
JPH02184942A (en) Memory control method