JPH0497457A - Cache controller - Google Patents

Cache controller

Info

Publication number
JPH0497457A
JPH0497457A JP2215538A JP21553890A JPH0497457A JP H0497457 A JPH0497457 A JP H0497457A JP 2215538 A JP2215538 A JP 2215538A JP 21553890 A JP21553890 A JP 21553890A JP H0497457 A JPH0497457 A JP H0497457A
Authority
JP
Japan
Prior art keywords
address
signal
microprocessor
burst
cache controller
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
JP2215538A
Other languages
Japanese (ja)
Inventor
Yukio Kabetani
壁谷 幸男
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 JP2215538A priority Critical patent/JPH0497457A/en
Publication of JPH0497457A publication Critical patent/JPH0497457A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To increase the operating speed of a microcomputer system by outputting an address incremented sequentially from a reference address by receiving a burst request signal from a microprocessor. CONSTITUTION:This controller is equipped with an address control circuit 2 which outputs a burst address signal BAD incremented sequentially setting an address signal AD1 from the microprocessor 20 as reference by receiving a burst address control signal BAC and outputs an address signal AD2 of ordinary mode in accordance with the address signal AD1 from the microprocessor 20 to cache memory 30 by receiving an address control signal AC of ordinary mode. Therefore, continuous memory access in one clock cycle can be performed similarly as a cache controller incorporated in the microprocessor. Thereby, fast memory access is attained, which increases the operating speed of the microcomputer system.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はキャッシュ・コントローラに関し、特にマイク
ロプロセッサの外部に設けられるキャッシュ・コントロ
ーラに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a cache controller, and more particularly to a cache controller provided outside a microprocessor.

〔従来の技術〕[Conventional technology]

従来、この種のキャッシュ・コントローラは、キャッシ
ュ・コントローラを内蔵していないマイクロプロセッサ
がらのメモリアクセスの高速化をはかるために用いられ
、キャッシュメモリのミスヒツト時には、データの置換
を行う場合、このマイクロプロセッサの通常のメモリア
クセスの、ニブルモードやスタティックカラムモード等
のDRAMを対象としたバースト転送機能を用いていた
Conventionally, this type of cache controller has been used to speed up memory access in microprocessors that do not have a built-in cache controller. It used a burst transfer function for DRAM, such as nibble mode and static column mode, for normal memory access.

一方、マイクロプロセッサには、キャッシュ・コントロ
ーラを内蔵したものがあり、機能拡張等のため、外部の
キャッシュ・コントローラをセカンド・キャッシュ・コ
ントローラとして使用する場合がある。
On the other hand, some microprocessors have a built-in cache controller, and in order to expand functionality, an external cache controller may be used as a second cache controller.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のキャッシュ・コントローラは、キャッシ
ュ・コントローラを内蔵していないマイクロプロセッサ
のメモリアクセスを高速化するために、バースト転送は
このマイクロプロセッサが有している通常のメモリアク
セスにより行う構成となっているので、通常のメモリア
クセスが可能な最少クロック数でのメモリアクセスしか
できないために、キャッシュ・コントローラを内蔵した
マイクロプロセッサのバースト転送のように、連続した
メモリアクセスを1クロック周期で実行するという高速
メモリアクセスかできないという欠点があった。また、
キャッシュ・コントローラを内蔵したマイクロプロセッ
サのセカンド・キャッシュ・コントローラとして使用す
る場合、内蔵のキャッシュ・コントローラのように高速
メモリアクセスができず、マイクロコンピュータシステ
ムの高速化が制限されるという欠点があった。
The conventional cache controller described above is configured to perform burst transfer using the normal memory access of the microprocessor, in order to speed up memory access of a microprocessor that does not have a built-in cache controller. Therefore, memory access can only be performed at the minimum number of clocks possible for normal memory access, so it is possible to perform high-speed memory access in which consecutive memory accesses are executed in one clock cycle, such as the burst transfer of a microprocessor with a built-in cache controller. The drawback was that it could only access memory. Also,
When used as a second cache controller for a microprocessor with a built-in cache controller, it has the disadvantage that it cannot perform high-speed memory access like a built-in cache controller, which limits the speedup of the microcomputer system.

本発明の目的は、内蔵キャッシュ・コントローラと同様
に高速メモリアクセスができ、マイクロコンピュータシ
ステムの高速化をはかることができるキャッシュ・コン
トローラを提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a cache controller that can perform high-speed memory access like a built-in cache controller and can speed up a microcomputer system.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のキャッシュ・コントローラは、マイクロプロセ
ッサからのバーストリクエスト信号を受けてバーストア
ドレス制御信号を出力するバースト転送用制御回路と、
通常モードの制御信号を受けて通常モードのアドレス制
御信号を出力する制御回路と、前記バーストアドレス制
御信号を受けて前記マイクロプロセッサからのアドレス
信号を基準として順次インクリメントしたバーストアド
レス信号を出力し、前記通常モードのアドレス制御信号
を受けて前記マイクロプロセッサからのアドレス信号と
対応した通常モードのアドレス信号を出力するアドレス
制御回路とを有している。
The cache controller of the present invention includes a burst transfer control circuit that receives a burst request signal from a microprocessor and outputs a burst address control signal;
a control circuit that receives a normal mode control signal and outputs a normal mode address control signal; a control circuit that receives the burst address control signal and outputs a burst address signal that is sequentially incremented based on the address signal from the microprocessor; It has an address control circuit which receives a normal mode address control signal and outputs a normal mode address signal corresponding to the address signal from the microprocessor.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の第1の実施例を示すブロック図である
FIG. 1 is a block diagram showing a first embodiment of the present invention.

この実施例は、マイクロプロセッサ20からのバースト
リクエスト信号BRQを受けてバーストアドレス制御信
号BAC及びバーストアクノリッジ信号BAKを出力す
るバースト転送用制御回路1と、通常モードの制御信号
CNTを受けて通常モートのアドレス制御信号ACを出
力する制御回路3と、バーストアドレス制御信号BAC
を受けてマイクロプロセッサ20からのアドレス信号A
D、を基準として順次インクリメントしたバーストアド
レス信号BADをキャッシュメモリ30へ出力し、通常
モードのアドレス制御信号ACを受けてマイクロプロセ
ッサ20からのアドレス信号AD1と対応した通常モー
ドのアドレス信号AD2をキャッシュメモリ30へ出力
するアドレス制御回路2とを有する構成となっている。
This embodiment includes a burst transfer control circuit 1 which receives a burst request signal BRQ from a microprocessor 20 and outputs a burst address control signal BAC and a burst acknowledge signal BAK, and a normal mode control circuit 1 which receives a normal mode control signal CNT and outputs a burst address control signal BAC and a burst acknowledge signal BAK. A control circuit 3 that outputs an address control signal AC, and a burst address control signal BAC.
Address signal A from microprocessor 20 in response to
A burst address signal BAD sequentially incremented based on D is output to the cache memory 30, and upon receiving the normal mode address control signal AC, the normal mode address signal AD2 corresponding to the address signal AD1 from the microprocessor 20 is output to the cache memory. The configuration includes an address control circuit 2 that outputs to 30.

この実施例は、マイクロプロセッサに内蔵されたキャッ
シュ・コントローラと同様に、1クロック周期で連続し
たメモリアクセスが可能となるので、キャッシュ・コン
トローラを内蔵しているマイクロプロセッサでも、また
内蔵していないマイクロプロセッサでも高速なメモリア
クセスを行うことができる。
Similar to the cache controller built into a microprocessor, this embodiment enables continuous memory access in one clock cycle, so it can be used with both microprocessors with a built-in cache controller and microprocessors without a built-in cache controller. Processors can also perform high-speed memory access.

第2図は本発明の第2実施例を示すブロック図である。FIG. 2 is a block diagram showing a second embodiment of the present invention.

この実施例は、キャッシュメモリ30Aを複数に分割し
たバンク構成にして、データの置換の範囲を広げるよう
にしたもので、複数のアドレス制御回路2A〜2Dによ
って選択的にデータの置換の範囲を指定することが可能
になるという利点がある。
In this embodiment, the cache memory 30A is divided into a plurality of banks to expand the range of data replacement, and the range of data replacement is selectively specified by a plurality of address control circuits 2A to 2D. This has the advantage that it is possible to do so.

また、アドレス制御回路2A〜2Dのアドレスインクリ
メントの値もアドレスの設定も任意に指定することが可
能である。
Furthermore, the address increment values and address settings of the address control circuits 2A to 2D can be arbitrarily specified.

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

以上説明したように本発明は、マイクロプロセッサから
のバーストリクエスト信号を受けて基準のアドレスから
順次インクリメントするアドレスを出力する構成とする
ことにより、1クロック周期で連続したメモリアクセス
を実行することができるので、高速メモリアクセスがで
き、マイクロコンピュータシステムの高速化をはかるこ
とができる効果がある。
As explained above, the present invention is configured to receive a burst request signal from a microprocessor and output an address sequentially incremented from a reference address, thereby making it possible to perform continuous memory access in one clock cycle. Therefore, high-speed memory access is possible, which has the effect of speeding up the microcomputer system.

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

第1図及び第2図はそれぞれ本発明の第1及び第2の実
施例を示すブロック図である。 1、IA・・・バースト転送用制御回路、2,2A〜2
D・・・アドレス制御回路、3,3A・・・制御回路、
10.1OA・・・キャッシュ・コントローラ、20゜
20A・・・マイクロプロセッサ、30,304・・・
キャッシュメモリ。
1 and 2 are block diagrams showing first and second embodiments of the present invention, respectively. 1, IA... burst transfer control circuit, 2, 2A~2
D... address control circuit, 3,3A... control circuit,
10.1OA...cache controller, 20°20A...microprocessor, 30,304...
cache memory.

Claims (1)

【特許請求の範囲】[Claims] マイクロプロセッサからのバーストリクエスト信号を受
けてバーストアドレス制御信号を出力するバースト転送
用制御回路と、通常モードの制御信号を受けて通常モー
ドのアドレス制御信号を出力する制御回路と、前記バー
ストアドレス制御信号を受けて前記マイクロプロセッサ
からのアドレス信号を基準として順次インクリメントし
たバーストアドレス信号を出力し、前記通常モードのア
ドレス制御信号を受けて前記マイクロプロセッサからの
アドレス信号と対応した通常モードのアドレス信号を出
力するアドレス制御回路とを有することを特徴とするキ
ャッシュ・コントローラ。
a burst transfer control circuit that receives a burst request signal from a microprocessor and outputs a burst address control signal; a control circuit that receives a normal mode control signal and outputs a normal mode address control signal; and the burst address control signal. in response to the address signal from the microprocessor, outputting a burst address signal sequentially incremented based on the address signal from the microprocessor, and in response to the normal mode address control signal, outputting a normal mode address signal corresponding to the address signal from the microprocessor. What is claimed is: 1. A cache controller comprising an address control circuit.
JP2215538A 1990-08-15 1990-08-15 Cache controller Pending JPH0497457A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2215538A JPH0497457A (en) 1990-08-15 1990-08-15 Cache controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2215538A JPH0497457A (en) 1990-08-15 1990-08-15 Cache controller

Publications (1)

Publication Number Publication Date
JPH0497457A true JPH0497457A (en) 1992-03-30

Family

ID=16674089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2215538A Pending JPH0497457A (en) 1990-08-15 1990-08-15 Cache controller

Country Status (1)

Country Link
JP (1) JPH0497457A (en)

Similar Documents

Publication Publication Date Title
JP3039557B2 (en) Storage device
JPH0497457A (en) Cache controller
JP4114749B2 (en) MEMORY CONTROL DEVICE AND ELECTRONIC DEVICE
JPH04323755A (en) Dma device
JPH09311812A (en) Microcomputer
JPH01287767A (en) Control circuit for ram
JP2617132B2 (en) Direct memory access method
JPS6054065A (en) Synchronous controller
JPH10143425A (en) Dual port ram
JPH0423145A (en) Memory access control circuit for risc processor
JPH0247743A (en) Microcomputer
JPH05197612A (en) Data access circuit
JPH0375944A (en) Information processor
JPS5572229A (en) Information processing system
JPH0314145A (en) Memory access circuit
JP2004272370A (en) Control device and data access method
JPH0466615U (en)
JPH03167648A (en) Direct memory access controller
JPH10254760A (en) Dram control circuit
JPH01265351A (en) Mpu system
JPH05134867A (en) Control storage access system
JPH0287254A (en) External memory access system
JPH05166370A (en) Memory controller
JPH04319703A (en) Programmable controller
JPH04324544A (en) Microprocessor system