JPH025286A - Memory controller - Google Patents

Memory controller

Info

Publication number
JPH025286A
JPH025286A JP63154179A JP15417988A JPH025286A JP H025286 A JPH025286 A JP H025286A JP 63154179 A JP63154179 A JP 63154179A JP 15417988 A JP15417988 A JP 15417988A JP H025286 A JPH025286 A JP H025286A
Authority
JP
Japan
Prior art keywords
read
write
priority
cycle
signal
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
JP63154179A
Other languages
Japanese (ja)
Inventor
Taiji Ishida
石田 泰二
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.)
Seiko Instruments Inc
Original Assignee
Seiko Instruments Inc
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 Seiko Instruments Inc filed Critical Seiko Instruments Inc
Priority to JP63154179A priority Critical patent/JPH025286A/en
Publication of JPH025286A publication Critical patent/JPH025286A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To smooth the reading and writing actions and to improve the data transfer efficiency to shorten the read and write cycle times of a dynamic RAM by means of a page mode and changing the priority in a refresh cycle at the read/write conflict. CONSTITUTION:The refresh request signals produced from a refresh request generating circuit 10 at a fixed interval are accepted by a memory control circuit 9 in the highest priority. The circuit 9 refreshes a dynamic RAM 3 and at the same time switches alternately the priority between the read and write request to hold the priority until the next refresh request is received. At the read/write request conflict, the circuit 9 performs the arbitration based on the priority set at the due time point to fix the priority at the refresh interval and uses a page mode having the high data transfer efficiency. Thus the smooth reading and writing actions are secured and the data transfer efficiency is improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、DRAM (ダイナミックラム)を用いた、
メモリ回路のリードリクエスト(読み出し要求)、ライ
ドリクエスト(書き込み要求)の競合における優先順位
の調停(以下アービトレーションと呼ぶ)を行うメモリ
制御回路に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides a method using a DRAM (dynamic RAM).
The present invention relates to a memory control circuit that performs priority arbitration (hereinafter referred to as arbitration) in conflicts between read requests and write requests of a memory circuit.

〔発明の概要〕[Summary of the invention]

本発明は、DRAMを用いたメモリ回路において、メモ
リ制御回路がリードリクエストとライドリクエストの受
けつけ及び実行の優先順位を一定時間ごとに切換え、リ
ードリクエストとライドリクエストが同時に発生した場
合や、リードサイクル(読み出し動作)中にライドリク
エストが発生した場合、またその逆、ライトサイクル(
書き込み動作)中にリードリクエストが発生した場合等
の競合時に、リードリクエストを優先的に受けつけ、ラ
イドリクエストは待たせたままで、リードサイクルを行
なったり、ライドリクエストを優先的に受けつけ、リー
ドリクエストは待たせたままで、ライトサイクルを行う
為の優先順位を決めるアービトレーションを行ない、D
RAMにロウアドレスを出力し、RAS(ロウアドレス
ストO−ブ)信号の立下りによりDRAM内部にラッチ
させ、以後RAS信号をロウレベルにしたままで、CA
S (カラムアドレスストローブ)信号を動作させ、カ
ラムアドレスを変えることによって連続してリードサイ
クル動作や連続してライトサイクル動作を行うことがで
きRAS信号の変化がなく、サイクル毎にロウアドレス
を設定せず通常サイクルにくらベリード、ライトのアド
レスが入力され、データの出力または入力が確実するま
でのアクセスタイムやサイクルタイムが小さくなるDR
AMの公知技術であるページモードを用いて、DRAM
(以下ダイナミックラムと述べる)のデータ転送効率を
上げることを目的としたものである。
The present invention provides a memory circuit using a DRAM in which a memory control circuit switches the priority order of acceptance and execution of read requests and ride requests at regular intervals, and when a read request and a ride request occur simultaneously, or when a read cycle ( If a ride request occurs during a read operation (read operation) and vice versa, a write cycle (
In the event of a conflict (such as when a read request occurs during a write operation), the read request is accepted with priority, the ride request is left waiting, and a read cycle is performed, or the ride request is accepted with priority, and the read request is left waiting. D
The row address is output to the RAM and latched inside the DRAM by the falling edge of the RAS (row address stave) signal. From then on, the CA
By operating the S (column address strobe) signal and changing the column address, continuous read cycle operations and continuous write cycle operations can be performed without changing the RAS signal, and the row address can be set every cycle. DR, where read and write addresses are input during normal cycles, and the access time and cycle time until data output or input is ensured is reduced.
Using the page mode, which is a well-known technology of AM, DRAM
(hereinafter referred to as dynamic RAM) is aimed at increasing data transfer efficiency.

〔従来の技術〕[Conventional technology]

従来のDRAMメモリ回路は、例えば、第2図に示すも
のであり、メモリ制御回路14とダイナミックラム13
とリードデータバッファ11とライトデータバッファ1
2よりなり、図示しない、例えばマイクロプロセッサシ
ステム(以下マイコンシステムと呼ぶ)により、メモリ
制御回路14はあらかじめアービトレーション設定をさ
れ、リードリクエスト信号または、ライドリクエスト信
号の入力により、ダイナミックラム13にRAS信号、
CAS信号、WR(ライト)信号、及びアドレスを出力
し、ダイナミックラム13よりり−ドバッファ11にリ
ードデータを出力するリードサイクルや、ダイナミック
ラム13にライi・バッファ12よりライトデータを入
力するライトサイクルを行い、それぞれのサイクルが終
了すると、その終了をリードリクエスト信号とライトア
クノリッジ信号によりマイコンシステムに知らせ、各リ
クエスト信号を終了するという構成であった。
A conventional DRAM memory circuit, for example, is shown in FIG. 2, and includes a memory control circuit 14 and a dynamic RAM 13.
and read data buffer 11 and write data buffer 1
The memory control circuit 14 is configured with arbitration settings in advance by, for example, a microprocessor system (hereinafter referred to as a microcomputer system) not shown, and upon input of a read request signal or a ride request signal, the dynamic RAM 13 receives the RAS signal,
A read cycle that outputs a CAS signal, a WR (write) signal, and an address, and outputs read data from the dynamic RAM 13 to the read buffer 11, and a write cycle that inputs write data from the write buffer 12 to the dynamic RAM 13. When each cycle is completed, the microcomputer system is notified of the completion by a read request signal and a write acknowledge signal, and each request signal is terminated.

この構成において、リードとライトの競合時における上
記アービトレーションには、(1)リードリクエストと
ライドリクエストの間に、優先順位は設けず、リードサ
イクルとライトサイクルを固定的に交互に行う方式(リ
ードサイクルの後にはかならずライトサイクルが、又ラ
イトサイクルの後にかならずリードサイクルが、サイク
ルの実行の有無にかかわらずある一定時間設けられてい
る。)、(2)リードリクエストを常に優先とする方式
(リード、ライト競合が生じた場合でも、ライトは待た
せリードサイクルを常に優先的に行う、)、(3)ライ
ドリクエストを常に優先とする方式(ライト、リード競
合が生じた場合でもリードは待たせライトサイクルを常
に優先的に行う、)の3つの方式があった。
In this configuration, the above-mentioned arbitration at the time of conflict between read and write includes (1) a method in which no priority is set between read requests and ride requests, and read cycles and write cycles are fixedly alternated (read cycle A write cycle is always followed by a write cycle, and a read cycle is always provided after a write cycle for a certain period of time regardless of whether the cycle is executed.) (2) A method in which read requests are always given priority (read, (3) A method that always gives priority to ride requests (even if there is a write/read conflict, the read cycle is made to wait for a write cycle). There were three methods: (1) always giving priority to

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

従来のDRAM回路のリードサイクル、ライトサイクル
は、第2図、第3図、第4図に示すように、メモリ制御
回路14からダイナミックラム13にロウアドレスが入
力され、RAS信号18の立ち下りによりダイナミツク
ラム13内部にラッチされ、次に、カラムアドレスが入
力され、CAS信号19の立ち下りにより内部にラッチ
されてアドレスが確定する。そして、メモリ制御回路1
4よりダイナミックラム13に出力されるWE傷信号、
ロウレベルの時、ライトデータバッファ12よりダイナ
ミックラム13にデータが書き込まれ(第4図に示すラ
イトサイクル時)、WE傷信号ハイレベルの時、リード
データバッファ11にダイナミックラム13よりデータ
が読み出され(第3図に示すリードサイクル時)、共に
出力されているRAS、CAS信号18.19が共にハ
イレベルに立ち上ることにより終了する。そして、再度
リードまたはライトサイクルを行う場合、第2図、第3
図に示す様に、前記サイクルのRAS、CAS信号18
.19が立ち上ってから、RASプリチャージT8時間
後でなければ、RAS信号18をロウレベルに下げ、次
のサイクルを始めることは出来ないという課題があった
。また、(1)前記、リードサイクルとライトサイクル
に優先順位を設けず、固定的に交互に行う方式において
、各サイクル後に前後プリチャージT、時間があり、ま
た、リードとライトが交互に行われる為、サイクルタイ
ムが、小さくなるベージモードを使用出来ず、同時に競
合が生じていない、リードだけの時またはライトだけの
時、リードサイクル後に空のサイクルがまたは、ライト
サイクル後に空のサイクルがかならず存在し、データ転
送効率が悪いという課題と、 (2)前記、リードリクエストを特徴とする特許におい
て、同様にプリチャージT宜時間と前記競合が生じた時
、リードリクエストの終了までライドリクエストは待た
され、リードサイクル終了後、ライドリクエストが受け
つけられライトサイクルが開始実行される。しかしリー
ドリクエストが、メモリ制御回路14に入力されると、
ライトサイクルが終了後に、再びリードサイクルが実行
され、ライドリクエストは再びリードリクエストが終了
するまで待たせられる。したがって、リードサイクルは
、集中的に実行されつづけ、その間、ライドリクエスト
は、待たされつづける場合が生じ、リード・ライトの平
滑化されず、データ転送効率が悪く、またこの方式で転
送効率を上げるには、高速で高価なメモリ回路となる課
題と、(3)前記、リードリクエストを優先とする方式
において、上記リードリクエスト潰先方式と同様に、プ
リチャージT+時間及び、ライドリクエスト優先による
連続的なライトサイクルの実行とリードリクエスト待機
により生ずるデータ転送効率の悪さと高速で高価なメモ
リ回路となる課題があつた。
In the read cycle and write cycle of a conventional DRAM circuit, as shown in FIGS. 2, 3, and 4, a row address is input from the memory control circuit 14 to the dynamic RAM 13, and the row address is input by the falling edge of the RAS signal 18. The column address is latched inside the dynamic frame 13, and then the column address is input, and when the CAS signal 19 falls, it is latched internally and the address is determined. And memory control circuit 1
4 outputs the WE scratch signal to the dynamic ram 13,
When the WE damage signal is at a low level, data is written from the write data buffer 12 to the dynamic RAM 13 (during the write cycle shown in FIG. 4), and when the WE scratch signal is at a high level, data is read from the dynamic RAM 13 to the read data buffer 11. (During the read cycle shown in FIG. 3), the RAS and CAS signals 18 and 19, which are both output, both rise to high level, and the process ends. Then, when performing a read or write cycle again, the
As shown in the figure, the RAS and CAS signals 18 of the cycle
.. There is a problem in that it is not possible to lower the RAS signal 18 to a low level and start the next cycle until an RAS precharge T8 time has elapsed after the RAS signal 19 rises. In addition, (1) in the above-mentioned method in which read cycles and write cycles are not prioritized and are fixedly performed alternately, there is a precharge time T and time before and after each cycle, and read and write cycles are performed alternately. Therefore, it is not possible to use the page mode, which reduces the cycle time, and when there is no contention at the same time, when only reading or only writing, there is always an empty cycle after a read cycle or an empty cycle after a write cycle. (2) In the aforementioned patent featuring a read request, when a conflict occurs with the precharge time, the ride request is forced to wait until the end of the read request. After the read cycle ends, a ride request is accepted and a write cycle is started and executed. However, when a read request is input to the memory control circuit 14,
After the write cycle ends, the read cycle is executed again, and the ride request is again made to wait until the read request ends. Therefore, read cycles continue to be executed intensively, and during that time, ride requests may continue to wait, leading to unsmoothed read/write operations and poor data transfer efficiency. (3) In the above-mentioned method that gives priority to read requests, similar to the above-mentioned read request crushing method, the precharge T + time and the continuous There were problems with poor data transfer efficiency caused by executing write cycles and waiting for read requests, and a high-speed and expensive memory circuit.

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

従来の課題を解決するために、本発明は、一定時間ごと
にダイナミックラムのリフレッシュを要求するリフレッ
シュリクエスト発生回路と、マイコンシステムにより、
ライトアドレス、リードアドレスが設定され、アドレス
がカウントUPする、ライトロウアドレスカウンター、
ライトカラムアドレスカウンター、リードロウアドレス
カウンター リードカラムアドレスカウンターと、前3
己カウンター郡の出力を選択するアドレスセレクタと、
データをリード、ライトするダイナミックラムと、デー
タを供給するリードバッファ、ライトバッファと、これ
ら各構成要素を制御するメモリ制御回路を具備する構成
とした。
In order to solve the conventional problems, the present invention utilizes a refresh request generation circuit that requests refreshing of the dynamic RAM at regular intervals and a microcomputer system.
Write address and read address are set, and the address counts up; a write row address counter;
Write column address counter, read row address counter, read column address counter, and front 3
An address selector for selecting the output of the own counter group,
The configuration includes a dynamic RAM that reads and writes data, a read buffer and a write buffer that supply data, and a memory control circuit that controls each of these components.

〔作用〕[Effect]

一定間隔でリフレッシュリクエスト発生回路から発生す
るリフレッシュリクエスト信号は、最優先でメモリ制御
回路に受けつけられる。メモリ制御回路は、ダイナミッ
クラムをリフレシュすると共に、リードリクエストとラ
イドリクエストの優先順位を交互に切換え次のリフレッ
シュリクエストが来るまで、優先順位を保持する。そし
て、リードリクエストとライドリクエストの競合時には
、その時刻における優先順位に従い、メモリ制御回路は
、前記アービトレーションを行い、このリフレッシュ間
隔での優先+1i1位は不変であることから、データ転
送効率のより前記ベージモードを使用する為に、ライト
ロウアドレスカウンターと、ライトカラムアドレスカウ
ンターとリードロウアドレスカウンターとリードカラム
アドレスカウンターにそれぞれアドレスをカウントUP
する信号と、ダイナミックラムに前記カウンタ郡(ライ
トロウアドレスカウンター、ライトカラムアドレスカウ
ンター リードロウアドレスカウンター、リードカラム
アドレスカウンター)の出力をアドレスとして、選択的
に与えるアドレスセレクタ及び、ダイナミックラムにデ
ータを供給又は、取り出すライトバッファ、リードバッ
ファのセレクト信号と、ダイナミックラムにリード、ラ
イトを行う、RAS信号、CAS信号、WE傷信号制御
する。したがって、この定期的なリフレッシュリクエス
ト信号による優先順位の切換えにより前記、競合時にも
連続的なリードサイクルと同様のライトサイクルが出来
るベージモードによってリードとライトの平、滑止がで
き、データ転送効率が上る。また当然のごとく、リード
優先期間でリードリクエストが発生しておらず、ライド
リクエストのみ発生している場合には、あくまで、その
期間においてリード優先ということなのでリードリクエ
ストが発生していないのであるからライトリクニスI・
はメモリ制卸回路に受けつけられ、ライトサイクルが実
行される。またリードとライトが逆の立場の時も同様で
ある。
Refresh request signals generated from the refresh request generation circuit at regular intervals are accepted by the memory control circuit with the highest priority. The memory control circuit refreshes the dynamic RAM, alternately switches the priority of read requests and ride requests, and maintains the priority until the next refresh request arrives. When a read request and a ride request conflict, the memory control circuit performs the arbitration according to the priority order at that time, and since the priority +1i 1st place at this refresh interval remains unchanged, the To use the mode, count up the addresses in the write row address counter, write column address counter, read row address counter, and read column address counter.
an address selector that selectively supplies the output of the counter group (write row address counter, write column address counter, read row address counter, read column address counter) to the dynamic RAM as an address, and supplies data to the dynamic RAM. Alternatively, it controls the select signals of the write buffer and read buffer to be taken out, and the RAS signal, CAS signal, and WE flaw signal for reading and writing to the dynamic RAM. Therefore, by switching the priorities using this periodic refresh request signal, the above-mentioned page mode, which allows write cycles similar to continuous read cycles even in the event of contention, can smooth out read and write operations and prevent slippage, improving data transfer efficiency. climb. Also, as a matter of course, if there are no read requests and only ride requests during the read priority period, this means that read priority is given during that period, and no read requests have occurred. Lyknis I.
is accepted by the memory control circuit, and a write cycle is executed. The same applies when the read and write positions are reversed.

〔実施例〕〔Example〕

以下、本発明の実施例を図面に基づき詳細な説明をする
。第1図は、本発明の一実施例を示す回路図である。第
5図、第6図はある一例のタイミング図であるリフレッ
シュリクエスト発生回路10より一定間隔でリフレッシ
ュ要求を示すリフレッシュリクエスト信号がメモリ制御
回路9に入力されており、メモリ制御回路9は、リフレ
ッシュリクエスト発生回路10にリフレッシュサイクル
が終った事を示すリフレッシュアクノリッジ信号を第5
図、第6図の■のタイミングで出力し、あらかじめライ
トスタートアドレスが設定されるライトロウアドレスカ
ウンタ5とライトカラムアドレス6には、それぞれカウ
ントUPするライトロウアドレスカウントUP信号及び
ライトカラムアドレスカウントUP信号を出力し、同様
に、あらかじめリードスタートアドレスが設定されるリ
ードロウアドレスカウンタ7とリードカラムアドレスカ
ウンタ8に、それぞれカランI−U Pするリードロウ
アドレスカランI−U P信号及びリードカラムアドレ
スカウントUP信号をそれぞれ出力し、上記アドレスカ
ウンタ郡(ライトロウアドレスカウンター、ライトカラ
ムアドレスカウンター リードロウアドレスカウンター
 リードカラムアドレスカウンター)より出力され4ラ
イトロウアドレス、ライトカラムアドレス、リードロウ
アドレス、リードカラムアドレスが入力するアドレスセ
レクタ4とライトデータをダイナミックラム3に入力す
るライトデータバッファ2とダイナミックラム3からの
リードデータを出力するリードデータバッファ1のそれ
ぞれを制御するリードセレクト信号、ライトセレクト信
号を出力し、アドレスセレクタ4よりダイナミックラム
3に入力されるアドレスのデータをリード、ライトする
、RAS信号、CAS信号、WR信号を出力する。第5
図に示す様にメモリ制御回路9がライト優先状態である
時、リードリクエスト信号とライドリクエスト信号の発
生により上記競合が発生すると、メモリ制御回路9は、
前記アービトレーションを行いライト優先期間であるこ
とからリードリクエスト信号を、待たせライドリクエス
ト信号を受付け、前記ベージモードのライトサイクルを
開始する。
Hereinafter, embodiments of the present invention will be described in detail based on the drawings. FIG. 1 is a circuit diagram showing one embodiment of the present invention. 5 and 6 are timing diagrams of an example. A refresh request signal indicating a refresh request is inputted to the memory control circuit 9 at regular intervals from the refresh request generation circuit 10. A fifth refresh acknowledge signal indicating that the refresh cycle has ended is sent to the generating circuit 10.
A write row address count UP signal and a write column address count UP signal are output at the timing of ■ in FIG. Similarly, the read row address counter 7 and the read column address counter 8, to which the read start address is set in advance, are output with the read row address counter I-UP signal and the read column address counter 8, respectively. The UP signal is output respectively, and the 4 write row address, write column address, read row address, and read column address are output from the above address counter groups (write row address counter, write column address counter, read row address counter, read column address counter). Outputs a read select signal and a write select signal that control the input address selector 4, the write data buffer 2 that inputs write data to the dynamic RAM 3, and the read data buffer 1 that outputs read data from the dynamic RAM 3, respectively; It outputs a RAS signal, a CAS signal, and a WR signal for reading and writing data at the address input from the address selector 4 to the dynamic RAM 3. Fifth
As shown in the figure, when the memory control circuit 9 is in the write priority state, when the above conflict occurs due to the generation of the read request signal and the ride request signal, the memory control circuit 9
Since the arbitration is performed and it is a write priority period, a read request signal and a waiting ride request signal are accepted, and a write cycle in the page mode is started.

まず、メモリ制御回路9は、ダイナミックラム3にライ
トロウアドレスを与える為に、アドレスセレクタ4にラ
イトセレクト信号を出力し、またダイナミックラム3に
RAS信号を■のタイミングで出力し、ダイナミックラ
ム3にライトロウアドレスが取り込まれると、次に、ラ
イトカラムアドレスを与える為に、アドレスセレクタ4
とライトデータバッファ2にライトセレクト信号を、ま
たダイナミックラム3に、WE倍信号びCAS信号を■
及び■のタイミングで出力し、ライトデータをダイナミ
ックラム3に、取り込む、その後、EAS信号、WE倍
信号■のタイミングで立ち上げ初期のライトサイクルを
終了する0次にメモリ制御回路9は、前記ページモード
を行う為に、RAS信号の出力を保持しつづけ、ライト
カラムアドレスカウントUP信号によりライトカラムア
ドレスカウンター6をURL、カウントtJPされたラ
イトカラムアドレスをライトセレクト信号によりダイナ
ミックラム3及びライトバッファ2に与え、さらにダイ
ナミックラム3にWE倍信号−CA S信号を■及び■
のタイミングで出力することにより、ライトバッファ3
より出力されるライトデータをダイナミックラム3に取
り込み、その後CAS信号、WE倍信号■のタイミング
で立ち上げる。この様にRAS信号及びライトロウアド
レスを保持したまま、ライトカラムアドレスカウンタ6
のカウントUPによるライトカラムアドレスの更新及び
、CAS信号、WE倍信号動作によるベージモードのラ
イトサイクルをライドリクエストが保持されているかぎ
り、優先順位が切換わるリフレッシュサイクルまで繰り
返し行う、リフレッシュ発生回路10よりリフレッシュ
リクエスト信号がメモリ制御回路9に入力されると、リ
フレッシュリクエストはit先で受けつけられ、ページ
モードライ1〜サイクル終了後、CAS信号、RAS信
号の順に■及び[相]のタイミングでダイナミックラム
3に出力し、リフレッシュするリフレッシュサイクルを
行い、同時に、リードとライトの優先順位の切換えを行
い、リフレッシュサイクル終了後、リフレッシュリクエ
スト発生回路10に、リフレッシュアクノリッジ信号を
■のタイミングで出力する。したがって、図5に示す様
に、リフレッシュサイクル終了後、リードサイクルが優
先となり、ライドリクエストが、メモリ制御回路9に入
力されていても、リードリクエストが入力されていれば
、ライドリクエストを持たせ優先的にリードリクエスト
が受付けられ、メモリ制御回路9は前記に述べたページ
ライトサイクル同様の、ページリードサイクロを開始す
る。まずメモリ制御回路9は、ダイナミックラム3にリ
ードロウアドレスを午える為に、アドレスセレクタ4に
リード上1/クト信号を出力し、またダイナミックラム
3にRAS信号を0のタイミングで出力し、ダイナミッ
クラム3にリードロウアドレスが取り込まれると、次に
リードカラムアドレスな手える為に、アドレスセレクタ
4及びリードデータを出力する為にリードデータバッフ
ァ1にり・−・ドセレクト信号を、またダイナミックラ
ム3にCAS信号及び、WE倍信号WE倍信号ハイレベ
ル)、を■のタイミングで出力し、リードデータをリー
ドバッファ1に出力した後、CAS信号を■のタイミン
グで立ち上げ初期のリードサイクルを実行する6次にメ
モリ制御回路9は、前記ページモードを行う為に、に、
RAS信号の出力を保持しつづけ、リードカラムアドレ
スカウントUP信号によりリードカラムアドレスカウン
ター8をURL、カウントUPされたアドレスをリード
セレクト信号によりダイナミックラム3及びリードバッ
ファ1に与え、さらにダイナミックラム3にCAS信号
、WE倍信号[相]のタイミングで出力することにより
、リードデータを、ダイナミックラム3より読み出し、
リードバッファ1に出力し、その後、CAS信号を■の
タイミングで立ち上げる。この様に、RAS信号及びリ
ードロウアドレスを保持したまま、リードカラムアドレ
スカウンター8のカランl−U Pにより、リードカラ
ムアドレス及び、CAS信号、WE倍信号動作によるベ
ージモードのリードサイクルをリードリクエストが保持
されているかぎり優先順位が切換わるリフレッシュサイ
クルまで繰り返し行う、また図6に示すように、ライト
優先の期間では、リードリクエストを待たせページモー
ドライトサイクルを実行し、リフレッシュサイクルによ
りルによって優先順位が切換わり、リード優先となりペ
ージモードリードサイクルが実行される。この時、ライ
ドリクエストは待たされるが、リード優先期間でページ
モードリードサイクルが終了した場合、(I9のタイミ
ングでリードリクエスト終了)当然のごとく、リードリ
クエストが発生していないから、リード優先の区間であ
っても、■のタイミングでライドリクエストが受付けら
れ、この期間で、リードリクエストが、メモリ制御回路
9に、入力されないかぎり、リフレッシュサイクルまで
、ページモードライトサイクルが実行される。
First, the memory control circuit 9 outputs a write select signal to the address selector 4 in order to give a write row address to the dynamic RAM 3, and also outputs a RAS signal to the dynamic RAM 3 at the timing (3). When the write row address is fetched, the address selector 4 is then used to give the write column address.
and the write select signal to the write data buffer 2, and the WE double signal and the CAS signal to the dynamic RAM 3.
The memory control circuit 9 outputs the write data at the timings of and (3) and captures the write data into the dynamic RAM 3. Thereafter, it starts up at the timing of the EAS signal and the WE double signal (2) to complete the initial write cycle. In order to perform the mode, the output of the RAS signal is held, the write column address counter 6 is set to URL by the write column address count UP signal, and the write column address counted by tJP is sent to the dynamic RAM 3 and write buffer 2 by the write select signal. In addition, the WE double signal - CAS signal is sent to the dynamic ram 3.
By outputting at the timing of write buffer 3
The write data output from the dynamic RAM 3 is taken in, and then raised at the timing of the CAS signal and the WE double signal (■). In this way, while holding the RAS signal and the write row address, the write column address counter 6
As long as the ride request is held, the refresh generation circuit 10 repeatedly updates the write column address by increasing the count of , and executes the page mode write cycle by the CAS signal and WE double signal operation until the refresh cycle in which the priority is switched. When a refresh request signal is input to the memory control circuit 9, the refresh request is accepted at the IT destination, and after page mode dry 1 to cycle completion, the dynamic ram 3 is sent in the order of CAS signal and RAS signal at the timing of ■ and [phase]. At the same time, the read and write priorities are switched, and after the refresh cycle is completed, a refresh acknowledge signal is output to the refresh request generation circuit 10 at the timing (3). Therefore, as shown in FIG. 5, after the refresh cycle ends, the read cycle takes priority, and even if a ride request is input to the memory control circuit 9, if a read request is input, the ride request is given priority. The read request is accepted immediately, and the memory control circuit 9 starts a page read cycle similar to the page write cycle described above. First, the memory control circuit 9 outputs a read on/off signal to the address selector 4 in order to transmit a read row address to the dynamic RAM 3, and also outputs a RAS signal to the dynamic RAM 3 at a timing of 0. When the read row address is fetched into the RAM 3, the read data buffer 1 is sent to the address selector 4 in order to obtain the next read column address, and the read data is output. 3, output the CAS signal and the WE double signal (WE double signal high level) at the timing ■, output the read data to the read buffer 1, then raise the CAS signal at the timing ■ and execute the initial read cycle. 6 Next, in order to perform the page mode, the memory control circuit 9 performs the following steps.
Continuing to hold the output of the RAS signal, give the read column address counter 8 to URL by the read column address count UP signal, give the counted up address to the dynamic RAM 3 and read buffer 1 by the read select signal, and then send the CAS to the dynamic RAM 3. By outputting the signal at the timing of the WE double signal [phase], read data is read from the dynamic ram 3,
It is output to the read buffer 1, and then the CAS signal is raised at the timing of (2). In this way, while holding the RAS signal and the read row address, the read column address, the CAS signal, and the read cycle in the page mode by the WE double signal operation are executed by the call l-UP of the read column address counter 8. As long as the priority is maintained, the process is repeated until the refresh cycle when the priority is changed. Also, as shown in Figure 6, during the write priority period, the read request is made to wait and a page mode write cycle is executed, and the priority is changed according to the refresh cycle. is switched, read priority is given, and a page mode read cycle is executed. At this time, the ride request is kept waiting, but if the page mode read cycle ends during the read priority period (the read request ends at the timing of I9), of course no read request has occurred, so the read priority period Even if there is a read request, the write request is accepted at the timing (3), and unless a read request is input to the memory control circuit 9 during this period, the page mode write cycle is executed until the refresh cycle.

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

以上、説明したように、本発明では、リード、ライトの
アクセスタイムやサイクルタイムが小さくなる。ベージ
モードを用いて、ダイナミックラムのリードサイクル、
ライトサイクルの時間を短くし、リード、ライト競合時
の優先順位を、一定間隔で行なわれるリフレッシュサイ
クルにより、切換えることにより、リードとライトを平
滑化しダイナミックラムのデータ転送効率を上げること
が出来る。
As described above, according to the present invention, read and write access times and cycle times are reduced. Dynamic RAM read cycle using basic mode,
By shortening the write cycle time and switching priorities during read and write conflicts using refresh cycles performed at regular intervals, read and write operations can be smoothed and the data transfer efficiency of the dynamic RAM can be increased.

【図面の簡単な説明】 第1図は、本発明のDRAM回路図、第2図は、従来の
DRAM回路図、第3図は、ダイナミックラム・リード
・サイクル・タイミング図、第4図は、ダイナミク・ラ
ム・ライトサイクル・タイミング図、第5図は、リード
とライトの競合時における優先順位切換えタイミング図
、第6図は、リード優先時にリードサイクルが終了し、
ライトサイクルが受付けられた時のタイミング図。 1 ・ 2 ・ 3 ・ 4 ・ 5 ・ 6 ・ 7 ・ 8 ・ 9 ・ ・リードデータバッファ ・ライトデータバッファ ・ダイナミックラム ・アドレスセレクタ ・ライトロウアドレスカウンター ・ライトカラムアドレスカウンター ・リードロウアドレスカウンター ・リードカラムアドレスカウンター ・メモリ制御回路 リフレッシュリフニス リードデータバッファ ライトデータバッファ ダイナミックラム メモリ制御回路 ト発生回路 出願人 セイコー電子工業株式会社 代理人 弁理士  林   敬 之 助データ 1ノードチー T1;了V祷;了り+マージ“竹閣 り゛イブさラフラム・リードサイクルフィミン7゛図第
3図 T1 、 はn3ごミコrワう−マー・i時1門デイj
ミv71ム・ライトゴイフルフイミソ7°図第4図
[BRIEF DESCRIPTION OF THE DRAWINGS] FIG. 1 is a DRAM circuit diagram of the present invention, FIG. 2 is a conventional DRAM circuit diagram, FIG. 3 is a dynamic RAM read cycle timing diagram, and FIG. Dynamic RAM write cycle timing diagram. Figure 5 is a timing diagram of priority switching when read and write conflicts occur. Figure 6 is a timing diagram of priority switching when read is given priority.
Timing diagram when a write cycle is accepted. 1 ・ 2 ・ 3 ・ 4 ・ 5 ・ 6 ・ 7 ・ 8 ・ 9 ・ ・Read data buffer ・Write data buffer ・Dynamic ram ・Address selector ・Write row address counter ・Write column address counter ・Read row address counter ・Read column Address counter/memory control circuit refresh refresh read data buffer write data buffer dynamic ram memory control circuit to generate circuit Applicant Seiko Electronics Co., Ltd. Agent Patent attorney Keiyuki Hayashi Suke Data 1 node Q T1; Merge “Takekaku Rei Eve Laflam Reed Cycle Fimin 7” Figure 3 T1
Mi v71 mu right goiful fuimiso 7° diagram Figure 4

Claims (1)

【特許請求の範囲】[Claims] ダイナミックラムを用いたメモリ回路と、前記メモリ回
路にアドレスを与えるアドレス選択回路と、前記アドレ
ス選択回路にアドレスを供給するカウンター回路と、前
記メモリ回路にデータを供給するデータバッファ回路と
、前記メモリ回路、アドレス選択回路、カウンター回路
、データバッファ回路を制御するメモリ制御回路と、メ
モリ制御回路に前記メモリ回路のリフレッシュを要求す
るリフレッシュ発生回路を有するメモリ制御装置。
A memory circuit using a dynamic RAM, an address selection circuit that provides an address to the memory circuit, a counter circuit that provides an address to the address selection circuit, a data buffer circuit that supplies data to the memory circuit, and the memory circuit. , a memory control circuit that controls an address selection circuit, a counter circuit, and a data buffer circuit; and a refresh generation circuit that requests the memory control circuit to refresh the memory circuit.
JP63154179A 1988-06-22 1988-06-22 Memory controller Pending JPH025286A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63154179A JPH025286A (en) 1988-06-22 1988-06-22 Memory controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63154179A JPH025286A (en) 1988-06-22 1988-06-22 Memory controller

Publications (1)

Publication Number Publication Date
JPH025286A true JPH025286A (en) 1990-01-10

Family

ID=15578563

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63154179A Pending JPH025286A (en) 1988-06-22 1988-06-22 Memory controller

Country Status (1)

Country Link
JP (1) JPH025286A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5507005A (en) * 1991-03-18 1996-04-09 Hitachi, Ltd. Data transferring system between host and I/O using a main buffer with sub-buffers where quantity of data in sub-buffers determine access requests
JP2006059518A (en) * 2004-07-29 2006-03-02 Magnachip Semiconductor Ltd Device for preventing process collision based on multiple input signals

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5507005A (en) * 1991-03-18 1996-04-09 Hitachi, Ltd. Data transferring system between host and I/O using a main buffer with sub-buffers where quantity of data in sub-buffers determine access requests
JP2006059518A (en) * 2004-07-29 2006-03-02 Magnachip Semiconductor Ltd Device for preventing process collision based on multiple input signals

Similar Documents

Publication Publication Date Title
JP3579461B2 (en) Data processing system and data processing device
JP3155545B2 (en) Memory refresh control circuit
JP2000251467A (en) Memory refresh controller and control method therefor
JPH08235856A (en) Dram refresh circuit
JP2007066490A (en) Semiconductor memory device
JPH025286A (en) Memory controller
JP2624388B2 (en) DMA device
JP4843216B2 (en) Memory control device
TWI442383B (en) Memory architecture for display device and control method thereof
JPS6129489A (en) Controll system of dynamic memory
JPH10222979A (en) Information processing apparatus
KR0183813B1 (en) Dram refresh controller
JPS63191398A (en) Information processor
JP3537786B2 (en) Data processing system
JP2617132B2 (en) Direct memory access method
JP2002207541A (en) Microcomputer and data processor
JP3303420B2 (en) Memory access control device
JPH0245274B2 (en)
JPH06111568A (en) Image memory device
JPH05174574A (en) Memory controller
JP2570271B2 (en) Semiconductor memory controller
JPH0620468A (en) Refresh request generating circuit, memory control circuit and memory device with this circuit
JPH04350755A (en) Data transfer device
JPH01201758A (en) Dma controller
JPH06290104A (en) Memory controller