JPH03163638A - Burst transfer system - Google Patents

Burst transfer system

Info

Publication number
JPH03163638A
JPH03163638A JP1302877A JP30287789A JPH03163638A JP H03163638 A JPH03163638 A JP H03163638A JP 1302877 A JP1302877 A JP 1302877A JP 30287789 A JP30287789 A JP 30287789A JP H03163638 A JPH03163638 A JP H03163638A
Authority
JP
Japan
Prior art keywords
bank
cas
data
access
burst
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
JP1302877A
Other languages
Japanese (ja)
Inventor
Koichi Hirauma
浩一 平馬
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP1302877A priority Critical patent/JPH03163638A/en
Publication of JPH03163638A publication Critical patent/JPH03163638A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dram (AREA)

Abstract

PURPOSE:To execute the burst transfer at a higher speed than a conventional burst transfer by providing a buffer between a RAM constituted of two banks and a CPU, respectively, and executing a page mode access by interleave by both the banks. CONSTITUTION:A dynamic RAM is divided into two of a bank 20 and a bank 21, and addresses #0,#2,#4... #N-1, and addresses #1,#3,#5... #N are allocated to the bank 20 and the bank 21, respectively. Also, a controller 3A allows an address by a RAS to be used in common by both the banks, divides an address by a CAS into each bank, and forms a timing signal OE#0 and OE#1 for data buffers 40, 41. In such a state, the dynamic RAM executes a burst transfer by a page mode access. That is, by toggling the CAS allowing the RAS to fall against to the bank 20, 21, a random access can be executed on the same line address, a rise of the CAS becomes output enable of a high speed in a read cycle, and by a rise of the CAS, a data output is turned off.

Description

【発明の詳細な説明】 A.産業上の利用分野 本発明は、コンピュータにおけるデータのバースト転送
方式に関する。
[Detailed Description of the Invention] A. INDUSTRIAL APPLICATION FIELD The present invention relates to a data burst transfer method in a computer.

B9発明の概要 本発明は、ダイナミックRAMを外部メモリとL テC
 P U lu’lでバーストモードでデータ転送する
において、 ダイナミックRAMを2バンクに分けてインターリーフ
によるページモードアクセスを行うことにより、 データの高速転送ができるようにしたものである。
B9 Summary of the invention The present invention combines dynamic RAM with external memory.
When data is transferred in burst mode using PUL'I, the dynamic RAM is divided into two banks and page mode access is performed using interleaf to enable high-speed data transfer.

C.従来の技術 コンピュータシステムにおいて、CPUと周辺装置間の
データを高速転送するバーストモードを持つものが多い
。例えば、32ビットCPUでは処理速度向上のために
キャッシュメモリを内蔵してプログラムやデータの一部
を一峙的に保存しておくが、このCPUが実行中にキャ
ッシュミスヒットを検出したときに外部メモリに対し予
め設定されたバイト数分だけキャッシュリプレースを行
う。このリプレース動作を高速に行うために通常の外部
メモリアクセスに代えてバーストモードによるデータ転
送を行う。
C. BACKGROUND OF THE INVENTION Many conventional computer systems have a burst mode for high-speed data transfer between a CPU and peripheral devices. For example, a 32-bit CPU has a built-in cache memory to temporarily store programs and data in order to improve processing speed. Cache replacement is performed for a preset number of bytes in the memory. In order to perform this replacement operation at high speed, burst mode data transfer is performed instead of normal external memory access.

第3図はバーストモードによるデータ転送のタイムチャ
ートを示す。クロックC L KのTlサイクルでバー
ストリクエストBSTRQがアサートされ、T2サイク
ルのクロック立下りでバーストアクノリッジBSTAK
がアサートされ、このアサートにT2サイクルの次のク
ロックの立上りでレディREADYがアサー卜されてい
ることを条件にアドレスA31−A2からデータD31
−DOをサ/ブリ/グしてバースト転送TBサイクルに
移る。T Bサイクルではクロノクの立上りでアドレス
A3 1−A2をインクリメントし、次のクロノクの立
上りでデータをサンプリングする。TBサイクルは設定
されたリプレース回数分行われてバスサイクルを終える
FIG. 3 shows a time chart of data transfer in burst mode. The burst request BSTRQ is asserted in the Tl cycle of the clock CLK, and the burst acknowledge BSTAK is asserted at the falling edge of the clock in the T2 cycle.
is asserted, and on the condition that READY is asserted at the rising edge of the next clock of the T2 cycle, data D31 is transferred from address A31-A2.
- Sub/sub/register DO and move on to the burst transfer TB cycle. In the TB cycle, the address A3 1-A2 is incremented at the rising edge of the clock, and data is sampled at the rising edge of the next clock. The TB cycle is performed for the set number of replacements, and the bus cycle ends.

バーストリクエストBSTRQに対して、バーストアク
ノリッジB S T A Kがアサートされないとき、
第4図に示すようにレディREADYのアサートで通常
の外部メモリアクセスを行う。同図において、バース1
−アクノリッジBSTAKのアサートがないため、レデ
ィREADYのアサートでデータ転送を開始し、設定さ
れたリプレース回数分だけレディREADYのアサート
毎にアドレスのインクリメントとデータ転送を繰り返す
When burst acknowledgment BSTAK is not asserted in response to burst request BSTRQ,
As shown in FIG. 4, normal external memory access is performed by asserting READY. In the same figure, berth 1
- Since the acknowledge BSTAK is not asserted, data transfer is started with the assertion of READY, and the address increment and data transfer are repeated every time READY is asserted for the set number of replacements.

D,発明が解決しようとする課題 従来のバーストモードによるデータ転送は、高速のメモ
リアクセスを司能にするが、この実現には外部メモリも
高速リード/ライト処理ができるものに限られ、スタテ
ィックRAM(SRAM)のように高速小容重のものに
しか適用できない。
D. Problems to be Solved by the Invention Conventional burst mode data transfer handles high-speed memory access, but this requires external memory that can perform high-speed read/write processing, and static RAM It can only be applied to high-speed, small-capacity and heavy-duty devices such as (SRAM).

このため、ダイナミックRAM (DRAM)のように
大容量低速メモリを外部メモリに使用する場合には、ダ
イナミックRAMを高速アクセスモード(ページモード
、スタティソクカラムモード)を利用するもバーストモ
ードでの転送動作にはアクセスタイムが間に合わず、通
常のメモリアクセスしかできない。
Therefore, when using large-capacity low-speed memory such as dynamic RAM (DRAM) as external memory, even if dynamic RAM is used in high-speed access mode (page mode, static column mode), burst mode transfer is not possible. The access time is insufficient for operation, and only normal memory access is possible.

第5図はダイナミックRAMを外部メモリとする場合の
バーストモード転送を実現しようとする従来構成を示す
。CPU Iとダイナミ・ソクRAM2との間のデータ
転送にコントローラ3は、第6図に示すようにクロツク
CLKに対して場クロ・ソクを形或し、この長いクロン
ク周期でバーストサイクル′rBを形成し、ダイナミッ
クR A M 2の遅いアクセス時間に対応し、またc
pu+のバーストサイクルTBを1クロック幅にする。
FIG. 5 shows a conventional configuration for realizing burst mode transfer when dynamic RAM is used as an external memory. For data transfer between the CPU I and the dynamic clock RAM 2, the controller 3 forms a field clock pulse with respect to the clock CLK as shown in FIG. 6, and forms a burst cycle 'rB with this long clock cycle. , to accommodate the slow access time of dynamic RAM 2, and
The burst cycle TB of pu+ is set to one clock width.

RAS(row address select)及び
C A S (columnaddress sele
ct)はアドレスマルチブレツクス方法によるアドレス
データ取込みの切換タイミングである。
RAS (row address select) and C AS (column address select)
ct) is the switching timing of address data acquisition by the address multiplex method.

本発明の目的は、ダイナミックRAMのような大容量低
速メモリを外部メモリとしながらデータの高速転送がで
きるバースト転送方式を提供することにある。
An object of the present invention is to provide a burst transfer method that allows high-speed data transfer using a large-capacity low-speed memory such as a dynamic RAM as an external memory.

E.課題を解決するための手段 本発明は、上記目的を達成するため、ダイナミックRA
MとCPU間でデータをバーストモードで転送するバー
スト転送方式において、前記ダイナミックRAMは2つ
のバンクに分け、各バンクとCPU間には夫々データを
一時保存するバッフ1を設け、前記ダイナミックRAM
のコントローラは、インターリーフによるページモード
アクセスで前記各バンクを交亙にアクセスするようにし
、一方のバンクアクセス中に他方のバンクをアクセス開
始し、CASによるブリチャージ時間も確保する。そし
て、一方のバンクアクセス中に他方のバンクアクセス開
始によるデータの衝突をバッファによる一時保存で回避
する。
E. Means for Solving the Problems In order to achieve the above object, the present invention provides a dynamic RA.
In a burst transfer method in which data is transferred between M and the CPU in burst mode, the dynamic RAM is divided into two banks, and a buffer 1 for temporarily storing data is provided between each bank and the CPU.
The controller alternately accesses each bank in page mode access using interleaf, starts accessing one bank while accessing the other bank, and also secures recharging time using CAS. Data collision caused by starting access to one bank while accessing another bank is avoided by temporarily storing data in a buffer.

F.実施例 第1図は本発明の一実施例を示す構成図である。F. Example FIG. 1 is a block diagram showing an embodiment of the present invention.

ダイナミックRAMはバンク2。とバンク2.の2つに
分け、アドレス#0、#2、#4・・・#N−1がバン
ク2,に、アドレス#1,#3、#5・・・#Nがバン
ク2!に割付けられる。コントローラ3AはRASによ
るアドレスを両バンク共通にし、CASによるアドレス
はバンク別に分け、データバッファ4。+4+用のタイ
ミング信号OE#0とOE#1を形成する。データバッ
ファ4。+4+は夫々のバンク2。,21とCPUlと
の間のデータ転送にデータの一時保存を行う。
Dynamic RAM is bank 2. and bank 2. Addresses #0, #2, #4...#N-1 are in bank 2, and addresses #1, #3, #5...#N are in bank 2! assigned to. The controller 3A uses RAS addresses common to both banks, separates CAS addresses for each bank, and stores them in the data buffer 4. +4+ timing signals OE#0 and OE#1 are formed. Data buffer 4. +4+ is each bank 2. , 21 and CPU1, temporary storage of data is performed.

こうした構成において、ダイナミックRAMはページモ
ードアクセスによるバースト転送を行う。
In such a configuration, the dynamic RAM performs burst transfer using page mode access.

即ち、バンク2。+2+に対して、RASを立下げてか
らCASをトグルすることで同一行アドレス上でランダ
ムアクセスを可能とし、CASの立下りはリードサイク
ルにおいて高速のアウトプットイネーブルとし、CAS
の立上りによってデータ出力バッファをオフさせる。
That is, bank 2. +2+, random access is enabled on the same row address by toggling CAS after falling RAS, and the falling edge of CAS is used as a high-speed output enable in the read cycle.
The data output buffer is turned off by the rising edge of .

第2図は本実施例のタイムチャートを示し、コントロー
ラ3A,!:CPUI間のバースト転送開始は従来と同
じ手順になるが、RASとCASによるアドレ・ノシン
グには、バンク2。+2+を交互にページアクセスする
。バンク2。に対するCAS#Oでのデータアクセスの
途中からバンク21に対するCAS#1でのデータアク
セスをスタートさせ、バンク2。のアクセス中にバンク
2lのアクセスを開始する。このとき、データはバッフ
ァ4。,4lに一時保存されることでcpulとの転送
にデータの衝突を防ぐ。バンク2。のアクセスが終了し
た時点でバンク2。のバッファ4。を閉じ、バンク2.
のバッファ4Iを開き、バンク2.のデータ出力を行う
。このデータの人出力期間にバンク2oはCASのプリ
チャージ時間の確保に利用する。バンク21のデータ人
出力を終了したとき、バンク2。のページアクセスを行
う。この間もバンク21ではCASのブリチャージ時間
として利用する。
FIG. 2 shows a time chart of this embodiment, and shows the controllers 3A, ! :The procedure for starting burst transfer between CPUIs is the same as before, but bank 2 is used for addressing by RAS and CAS. +2+ alternately access pages. Bank 2. Data access to bank 21 by CAS #1 is started in the middle of data access by CAS #0 to bank 2. Access to bank 2l is started during access to bank 2l. At this time, the data is in buffer 4. , 4l to prevent data collisions during transfer with cpul. Bank 2. bank 2 when the access is completed. buffer 4. Close Bank 2.
Open buffer 4I of bank 2. Outputs data. The bank 2o uses this data output period to secure precharge time for the CAS. When bank 21 data output is finished, bank 2. page access. The bank 21 also uses this time as a CAS pre-charging time.

このように、本実施例ではダイナミックRAMを2バン
クに分け、交互のページモードアクセスによるバースト
転送を行う。
In this way, in this embodiment, the dynamic RAM is divided into two banks, and burst transfer is performed by alternate page mode access.

このページモードアクセスをデータのバースト転送に利
用するのに、従来ではダイナミックRAMのアクセス時
間が遅いためTBサイクルをクロ?クの2倍の周期にす
るが、本実施例ではクロックCLKの周期でバースト転
送を可能にする。例えば、CPUIが4回のリプレース
をバーストモードで行う場合、従来方式ではダイナミッ
クRAMのバンクは1つのため、ページモードアクセス
には4回同じバンクをアクセスするが、本実施例ではグ
イナミノクRAMのバンクを2つに分けているため、バ
ンク2.と2■を交互にページアクセスすることでCA
Sのブリチャージ時間を確保する。
Conventionally, when using this page mode access for data burst transfer, the access time of dynamic RAM is slow, so TB cycles are required. However, in this embodiment, burst transfer is made possible with the period of the clock CLK. For example, when the CPU performs four replacements in burst mode, in the conventional system there is only one dynamic RAM bank, so the same bank is accessed four times in page mode access, but in this embodiment, the same bank is accessed four times. Because it is divided into two, bank 2. CA by accessing the page alternately and 2■
Secure S's bricharging time.

G.発明の効果 以上のとおり、本発明によれば、ダイナミックR A 
Mを2バンク構戊にし、各バンクとCPU間にはデータ
衝突を避けるバッファを夫々設け、両バンクに対してイ
ンターリーフによるページモードアクセスを行うように
したため、従来のバースト転送に較べてクロソクを早く
した高速のバースト転送ができる。また、バースト転送
に際して従来ではN同のリプレースに1つのバンクに対
してN回のページモードアクセスを行うが、本発明では
N/2回のページモードアクセスになり、これに(=r
いCASアドレッシングにアドレス変化も半減し、CA
Sのブリチャージ時間の遅れも無くしてアクセスタイム
の短縮を図ることができる。
G. Effects of the Invention As described above, according to the present invention, dynamic R A
M has a two-bank structure, a buffer is provided between each bank and the CPU to avoid data collisions, and page mode access is performed using interleaf for both banks, which reduces cross-linking compared to conventional burst transfer. Fast burst transfer is possible. Furthermore, in the case of burst transfer, conventionally, N page mode accesses are performed for one bank for N same replacements, but in the present invention, page mode accesses are performed N/2 times, which is (=r
Address changes are halved due to CAS addressing, and CA
The access time can be shortened by eliminating the delay in the S pre-charging time.

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

第1図は本発明の一実施例を示す構成図、第2閃は実施
例のタイムチャート、第3図はバーストモードのタイム
チャート、第4図は通常の外部メモリアクセスのタイム
チャート、第5図は従来のDRAM外部メモリの構成図
、第6図は従来のDRAMを使ったバースト転送タイム
チャートである。 ■・・・cpu, 2o, 21・・バンク、 3A・・・ダイナ ミソクRAMコントローラ、4.,41・・バッファ。 @1 図 実施例のタイムチャート D31−[)0 −−−−−−−−−{)−00−0−−一−第3図 バーストモードのタイムチャート D31−Do
FIG. 1 is a block diagram showing an embodiment of the present invention, the second flash is a time chart of the embodiment, FIG. 3 is a burst mode time chart, FIG. 4 is a normal external memory access time chart, and the fifth diagram is a time chart of the embodiment. The figure is a block diagram of a conventional DRAM external memory, and FIG. 6 is a burst transfer time chart using the conventional DRAM. ■...cpu, 2o, 21...bank, 3A...dynamisoku RAM controller, 4. ,41...buffer. @1 Figure 3 Time chart of the embodiment D31-[)0 ------------{)-00-0--1-Figure 3 Burst mode time chart D31-Do

Claims (1)

【特許請求の範囲】[Claims] (1)ダイナミックRAMとCPU間でデータをバース
トモードで転送するバースト転送方式において、 前記ダイナミックRAMは2つのバンクに分け、各バン
クとCPU間には夫々データを一時保存するバッファを
設け、前記ダイナミックRAMのコントローラは、イン
ターリーフによるページモードアクセスで前記各バンク
を交互にアクセスすることを特徴とするバースト転送方
式。
(1) In a burst transfer method in which data is transferred between a dynamic RAM and a CPU in burst mode, the dynamic RAM is divided into two banks, and a buffer for temporarily storing data is provided between each bank and the CPU. A burst transfer method characterized in that a RAM controller alternately accesses each bank in page mode access using interleaf.
JP1302877A 1989-11-21 1989-11-21 Burst transfer system Pending JPH03163638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1302877A JPH03163638A (en) 1989-11-21 1989-11-21 Burst transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1302877A JPH03163638A (en) 1989-11-21 1989-11-21 Burst transfer system

Publications (1)

Publication Number Publication Date
JPH03163638A true JPH03163638A (en) 1991-07-15

Family

ID=17914178

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1302877A Pending JPH03163638A (en) 1989-11-21 1989-11-21 Burst transfer system

Country Status (1)

Country Link
JP (1) JPH03163638A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05241948A (en) * 1991-12-30 1993-09-21 Internatl Business Mach Corp <Ibm> Personal computer
JPH09128289A (en) * 1995-10-17 1997-05-16 Ind Technol Res Inst Method and system for interleaving of data at inside of multimemory bank partition as well as memory used for them
KR100293359B1 (en) * 1996-05-15 2001-09-17 박종섭 Method for controlling input/output of wide range dram

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05241948A (en) * 1991-12-30 1993-09-21 Internatl Business Mach Corp <Ibm> Personal computer
JPH09128289A (en) * 1995-10-17 1997-05-16 Ind Technol Res Inst Method and system for interleaving of data at inside of multimemory bank partition as well as memory used for them
KR100293359B1 (en) * 1996-05-15 2001-09-17 박종섭 Method for controlling input/output of wide range dram

Similar Documents

Publication Publication Date Title
US7519774B2 (en) Data processor having a memory control unit with cache memory
US7017022B2 (en) Processing memory requests in a pipelined memory controller
JPH0223591A (en) Computer system, method of reading and transferring memory in computer system, method of memory control and memory controller
GB2193017A (en) Improved memory access system
JP4199658B2 (en) Memory device performing addressing with different burst order in read and write operations
EP0307945B1 (en) Memory control apparatus for use in a data processing system
US20060059320A1 (en) Memory control device
US5860117A (en) Apparatus and method to improve primary memory latencies using an eviction buffer to store write requests
US6125425A (en) Memory controller performing a mid transaction refresh and handling a suspend signal
US5901298A (en) Method for utilizing a single multiplex address bus between DRAM, SRAM and ROM
US5802581A (en) SDRAM memory controller with multiple arbitration points during a memory cycle
JPH03163638A (en) Burst transfer system
EP1262988A2 (en) Embedded memory access method and system for application specific integrated circuits
US6192002B1 (en) Memory device with command buffer
JPH06282983A (en) Method for access to data in memory, memory system and memory control system
JPH08129881A (en) Sdram controller
JP3967921B2 (en) Data processing apparatus and data processing system
US7447830B2 (en) Information processing system and memory controller for controlling operation of memories
JPH07105081A (en) Method for controlling access of synchronous dram and device therefor
JP2004318500A (en) Memory circuit
JP3701951B2 (en) Processor system using processor, main memory controller and synchronous dynamic memory
JPH0469750A (en) Memory control system
JPS63163938A (en) Dynamic ram controller
JP2637319B2 (en) Direct memory access circuit
JPS62249246A (en) Memory system