JPH03235139A - Memory controller - Google Patents

Memory controller

Info

Publication number
JPH03235139A
JPH03235139A JP3211090A JP3211090A JPH03235139A JP H03235139 A JPH03235139 A JP H03235139A JP 3211090 A JP3211090 A JP 3211090A JP 3211090 A JP3211090 A JP 3211090A JP H03235139 A JPH03235139 A JP H03235139A
Authority
JP
Japan
Prior art keywords
address
write cycle
write
memory unit
data
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
JP3211090A
Other languages
Japanese (ja)
Inventor
Takumi Tsubouchi
坪内 工
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.)
Toshiba Corp
Sord Computer Corp
Original Assignee
Toshiba Corp
Sord Computer 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 Toshiba Corp, Sord Computer Corp filed Critical Toshiba Corp
Priority to JP3211090A priority Critical patent/JPH03235139A/en
Publication of JPH03235139A publication Critical patent/JPH03235139A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)

Abstract

PURPOSE:To allow the high speed function of a D-RAM to function effectively by enhancing the address locality of a write cycle, in the case the D-RAM is utilized for a memory unit. CONSTITUTION:The computer system is provided with an arithmetic control part 10, write buffer 11, write cycle determining part 12, selector part 13, bus interface 14, bus 15, and a memory unit 16. In such a state, in the case a write operation of data is executed to the memory unit 16 for which a D-RAM is used, such a write cycle request as the address locality becomes high is executed. In such a way, a high speed function of the D-RAM can be displayed effectively.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、例えばマイクロコンピュータ・システムに使
用されるメモリ制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a memory control device used, for example, in a microcomputer system.

(従来の技術) 従来、例えばマイクロコンピュータ・システムでは、プ
ロセッサ(CPU)によるメインメモリのアクセスの高
速化を図るために、キャッシュメモリが使用されている
。このようなシステムでは、メインメモリがアクセスさ
れる際のメモリサイクルにおけるライトサイクルの割合
が、キャッシュメモリを使用しない方式より増大する傾
向にある。このため、キャッシュメモリを使用する方式
では、ライトサイクルの高速化を図ることが必要である
(Prior Art) Conventionally, for example, in a microcomputer system, a cache memory has been used to speed up access to main memory by a processor (CPU). In such systems, the proportion of write cycles in memory cycles when main memory is accessed tends to be higher than in systems that do not use cache memory. For this reason, in a method using a cache memory, it is necessary to speed up the write cycle.

ところで、メインメモリとしてD−RAM (ダイナミ
ックRAM)を使用する場合に、ページモード機能また
はスタティックカラム(static  column
)モード機能を利用し、同一行(row)アドレス内の
連続アクセスを高速化する方式がある。しかしながら、
ライトサイクルのアドレス局所性(同一行アドレス内の
連続アクセスの確率)が低い場合には、前記のようなり
−RAMの高速化機能は有効に機能しない問題がある。
By the way, when using D-RAM (dynamic RAM) as main memory, there is a page mode function or static column function.
) mode function to speed up continuous access within the same row address. however,
If the address locality of the write cycle (probability of consecutive accesses within the same row address) is low, there is a problem that the speed-up function of the RAM does not function effectively as described above.

(発明が解決しようとする課題) 例えばキャッシュメモリを使用する方式では、ライトサ
イクルの高速化を図ることが必要である。
(Problems to be Solved by the Invention) For example, in a system using a cache memory, it is necessary to speed up the write cycle.

しかし、従来のD−RAMの高速化機能は、ライトサイ
クルのアドレス局所性が低い場合には、必ずしも有効で
はない。
However, the speed-up function of the conventional D-RAM is not necessarily effective when the address locality of the write cycle is low.

本発明の目的は、メモリサイクルにおけるライトサイク
ルのアドレス局所性を高めることができるようにして、
結果的にメモリアクセスの高速化を図ることができるメ
モリ制御装置を提供することにある。
An object of the present invention is to be able to improve the address locality of write cycles in memory cycles,
The object of the present invention is to provide a memory control device that can speed up memory access as a result.

[発明の構成] (課題を解決するための手段と作用) 本発明は、メモリユニットに対するライトサイクル要求
が発生した際に、ライトサイクルのアドレス局所性を高
めるように、次回に実行すべきライトサイクル要求のア
ドレスを決定する決定手段を備えたメモリ制御装置であ
る。
[Structure of the Invention] (Means and Effects for Solving the Problems) The present invention provides a method for determining the next write cycle to be executed so as to improve the address locality of the write cycle when a write cycle request for a memory unit occurs. A memory control device comprising determining means for determining an address of a request.

このような構成により、メモリユニットに例えばD−R
AMが利用されている場合に、ライトサイクルのアドレ
ス局所性を高めることにより、DRAMの高速化機能を
有効にすることができる。
With such a configuration, the memory unit has, for example, D-R
When AM is used, the speed-up function of DRAM can be enabled by increasing the address locality of write cycles.

(実施例) 以下図面を参照して本発明の詳細な説明する。(Example) The present invention will be described in detail below with reference to the drawings.

第1図は同実施例に係わるコンピュータシステムの要部
を示すブロック図である。本システムは、例えばマイク
ロプロセッサの演算・制御部10.ライトサイクル要求
のアドレス及びデータを格納するライトバッファ11、
次に実行すべきライトサイクル要求のアドレスを決定す
るためのライトサイクル決定部(決定手段)12、ライ
トバッファ11からライトサイクル要求のアドレス及び
データを選択するセレクタ部13、及びメモリユニット
16とバス15を通じてアドレス、データの転送を行な
うバスインターフェース14を備えている。
FIG. 1 is a block diagram showing the main parts of a computer system according to the same embodiment. This system includes, for example, a calculation/control unit 10 of a microprocessor. a write buffer 11 that stores addresses and data of write cycle requests;
A write cycle determining unit (determining means) 12 for determining the address of the write cycle request to be executed next, a selector unit 13 for selecting the address and data of the write cycle request from the write buffer 11, a memory unit 16, and a bus 15. It is equipped with a bus interface 14 through which addresses and data are transferred.

ライトサイクル決定部12は、前回決定したアドレス(
現在実行中のアドレス)を記憶し、このアドレス及びラ
イトバッファ11からのライトサイクル要求のアドレス
とを比較し、ライトサイクルのアドレス局所性が高くな
るようなアドレスを決定する。セレクタ部13は、ライ
トサイクル決定112からの通知に応じてライトサイク
ル要求のアドレス及びデータを選択する。メモリユニッ
ト16は例えばD−RAMからなるメモリを有し、ペー
ジモード機能またはスタティックカラムモード機能等の
高速化機能を有する。
The write cycle determining unit 12 determines the previously determined address (
This address is compared with the address of the write cycle request from the write buffer 11, and an address that increases the address locality of the write cycle is determined. The selector unit 13 selects the address and data of the write cycle request in response to the notification from the write cycle determination 112. The memory unit 16 has a memory made of, for example, a D-RAM, and has a high-speed function such as a page mode function or a static column mode function.

次に、同実施例の動作を説明する。Next, the operation of this embodiment will be explained.

先ず、演算・制御部1(lは所定のプログラムに基づい
たデータ処理の実行時に、メモリユニットIBに対して
データをライトする必要が発生すると、ライトサイクル
要求として所定のアドレス及びデータを出力する。演算
・制御部10から出力されたアドレス及びデータは、ラ
イトバッフyllに格納されることになる。ライトバッ
ファ11は、第1図に示すように、複数のアドレスA1
〜Aa及びデータD1〜Dflを格納するエリアを有す
る。ライトバッファ11に空エリアが存在しない場合に
は、演算・制御部IOのライトサイクル要求は待機状態
となる。
First, an arithmetic/control unit 1 (l) outputs a predetermined address and data as a write cycle request when it becomes necessary to write data to the memory unit IB during execution of data processing based on a predetermined program. The address and data output from the arithmetic/control unit 10 will be stored in the write buffer yll.The write buffer 11, as shown in FIG.
~Aa and an area for storing data D1 to Dfl. If there is no empty area in the write buffer 11, the write cycle request of the arithmetic/control unit IO is placed in a standby state.

演算・制御部10からのアドレス及びデータがライトバ
ッファ11に格納されると、ライトサイクル決定部12
は現在実行中のライトサイクルの次に実行すべきライト
サイクル要求を決定する。即ち、ライトサイクル決定部
12は、ライトバッファ11に格納されたアドレスと前
回決定したアドレスとを比較し、アドレス局所性が高く
なるようなアドレスを決定し、セレクタ部13に通知す
る。前回決定したアドレスは、現在実行中のライトサイ
クル要求のアドレスである。アドレス局所性とは、例え
ばD−RAMのページモード機能またはスタティックカ
ラムモード機能等の高速化機能において、同一行アドレ
ス内の連続アクセスの確率が高くなるものであり、具体
的には比較した各アドレスの上位アドレスの一致性の高
いものである。
When the address and data from the calculation/control unit 10 are stored in the write buffer 11, the write cycle determination unit 12
determines the write cycle request to be executed next to the currently executing write cycle. That is, the write cycle determining unit 12 compares the address stored in the write buffer 11 with the previously determined address, determines an address with high address locality, and notifies the selector unit 13 of the address. The previously determined address is the address of the write cycle request currently being executed. Address locality means that the probability of consecutive accesses within the same row address is high in high-speed functions such as the D-RAM page mode function or static column mode function. There is a high degree of consistency between the upper addresses of

セレクタ部13は、ライトサイクル決定部12から通知
されたライトサイクル要求のアドレス及びデータをライ
トバッファ11から選択して、バスインターフェース■
4に出力する。バスインターフェース14は、セレクタ
部13からのアドレス及びデータをバス15を通じてメ
モリユニット16に転送することになる。
The selector unit 13 selects the address and data of the write cycle request notified from the write cycle determining unit 12 from the write buffer 11, and transfers the address and data to the bus interface
Output to 4. The bus interface 14 will transfer the address and data from the selector section 13 to the memory unit 16 via the bus 15.

このようにして、演算・制御部10からライトサイクル
要求が発生すると、ライトサイクル要求のアドレス及び
データがメモリユニット16に転送される。メモリユニ
ット1Bには、ライトサイクル要求のアドレスに所定の
データがライトされることになる。
In this manner, when a write cycle request is generated from the arithmetic/control unit 10, the address and data of the write cycle request are transferred to the memory unit 16. Predetermined data is written into the memory unit 1B at the address of the write cycle request.

この場合、本発明では、演算・制御部10のライトサイ
クル要求の中で、現在実行中のライトサイクル要求に対
してアドレス局所性の高いアドレスが選択されて、メモ
リユニット16に転送される。
In this case, in the present invention, among the write cycle requests of the arithmetic/control unit 10, an address having high address locality with respect to the write cycle request currently being executed is selected and transferred to the memory unit 16.

したがって、例えばD−RAMを使用したメモリユニッ
ト16では、アドレス局所性の高いライトサイクル要求
に応じて、ページモード機能またはスタティックカラム
モード機能等の高速化機能が有効に機能にすることにな
る。
Therefore, in the memory unit 16 using D-RAM, for example, a high-speed function such as a page mode function or a static column mode function becomes effective in response to a write cycle request with high address locality.

[発明の効果] 以上詳述したように本発明によれば、例えばD−RAM
を使用したメモリユニットに対してデータのライト動作
を行なう場合に、アドレス局所性が高くなるようなライ
トサイクル要求を行なうことが可能となる。このため、
例えばD−RAMの高速化機能を有効に発揮することが
できる。これにより、例えばキャッシュメモリを使用す
るシステムにおいて、メモリサイクルのライトサイクル
の割合が増大する場合でも、ライトサイクルを高速化し
、結果的にメモリアクセスの高速化を図ることができる
ものである。
[Effects of the Invention] As detailed above, according to the present invention, for example, D-RAM
When performing a data write operation to a memory unit using a memory unit, it is possible to make a write cycle request that increases address locality. For this reason,
For example, the speed-up function of D-RAM can be effectively utilized. As a result, even if the ratio of write cycles to memory cycles increases in a system using a cache memory, for example, it is possible to speed up the write cycles and, as a result, speed up memory access.

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

第1図は本発明の実施例に係わるコンピュータシステム
の構成を示すブロック図である。 10・・・演算・制御部、11・・・ライトバッファ、
12・・・ライトサイクル決定部、13・・・セレクタ
部、1B・・・メモリユニット。
FIG. 1 is a block diagram showing the configuration of a computer system according to an embodiment of the present invention. 10... Arithmetic/control unit, 11... Write buffer,
12...Write cycle determining section, 13...Selector section, 1B...Memory unit.

Claims (2)

【特許請求の範囲】[Claims] (1)メモリユニットに対するライトサイクル要求が発
生した際に、その要求対象のアドレス及びデータを格納
するバッファ手段と、 このバッファ手段に格納された前記アドレスに基づいて
、ライトサイクルのアドレス局所性が高くなるように次
回に実行すべきライトサイクル要求のアドレスを決定す
る決定手段と、 この決定手段により決定されたアドレス及びデータを前
記メモリユニットに転送する転送手段とを具備したこと
を特徴とするメモリ制御装置。
(1) When a write cycle request to a memory unit occurs, a buffer means for storing the requested address and data; and based on the address stored in this buffer means, the address locality of the write cycle is high. A memory control device comprising: determining means for determining the address of a write cycle request to be executed next time so that the address and data determined by the determining means are transferred to the memory unit. Device.
(2)メモリユニットに対するライトサイクル要求が発
生した際に、その要求対象のアドレス及びデータを格納
するバッファ手段と、 このバッファ手段に格納された前記アドレスと前回のラ
イトサイクル要求のアドレスとを比較し、この比較結果
に基づいてライトサイクルのアドレス局所性が高くなる
ように次回に実行すべきライトサイクル要求のアドレス
を決定する決定手段と、この決定手段により決定された
アドレス及びデータを前記メモリユニットに転送する転
送手段とを具備したことを特徴とするメモリ制御装置。
(2) When a write cycle request is made to a memory unit, the buffer means for storing the address and data of the request is compared with the address stored in this buffer means and the address of the previous write cycle request. , determining means for determining the address of the write cycle request to be executed next so that the address locality of the write cycle is high based on the comparison result, and storing the address and data determined by the determining means in the memory unit. 1. A memory control device comprising: a transfer means for transferring data.
JP3211090A 1990-02-13 1990-02-13 Memory controller Pending JPH03235139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3211090A JPH03235139A (en) 1990-02-13 1990-02-13 Memory controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3211090A JPH03235139A (en) 1990-02-13 1990-02-13 Memory controller

Publications (1)

Publication Number Publication Date
JPH03235139A true JPH03235139A (en) 1991-10-21

Family

ID=12349763

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3211090A Pending JPH03235139A (en) 1990-02-13 1990-02-13 Memory controller

Country Status (1)

Country Link
JP (1) JPH03235139A (en)

Similar Documents

Publication Publication Date Title
US5751994A (en) System and method for enhancing computer operation by prefetching data elements on a common bus without delaying bus access by multiple bus masters
JP3236287B2 (en) Multiprocessor system
US5636361A (en) Multi-processor computer system having dual memory subsytems for enabling concurrent memory access thereto by more than one processor
US5016161A (en) Method and apparatus for the flow control of devices
US20020129210A1 (en) Multiprocessor system snoop scheduling mechanism for limited bandwidth snoopers that uses dynamic hardware/software controls
US5727179A (en) Memory access method using intermediate addresses
JPH01169557A (en) Storage control system for computer
KR960007833B1 (en) Method and apparatus for fast page mode selection
JPH03235139A (en) Memory controller
CN217588059U (en) Processor system
JPH0830568A (en) Cache control system for distributed memory type parallel computer
JP3378270B2 (en) Multiprocessor system
JPH09319657A (en) Processor provided with buffer for reading instruction
US6141735A (en) Performing a memory access cycle in a multi-processor computer system
US5894564A (en) System for identifying memory segment bounded by previously accessed memory locations within data block and transferring thereof only when the segment has been changed
JPH05298122A (en) Multi-task processor
JPH06274415A (en) Shared memory system
JPH0553912A (en) Control method for cache memory
JPS63155254A (en) Information processor
JP2005071046A (en) Method for using cache memory
JP2964504B2 (en) Document processing device
KR960014136B1 (en) Refresh cycle-generator
JPH1049436A (en) Main storage control circuit
JPS58103039A (en) Data base system
JPS63240649A (en) Data processor