JPH02230594A - Refresh control circuit - Google Patents

Refresh control circuit

Info

Publication number
JPH02230594A
JPH02230594A JP1051154A JP5115489A JPH02230594A JP H02230594 A JPH02230594 A JP H02230594A JP 1051154 A JP1051154 A JP 1051154A JP 5115489 A JP5115489 A JP 5115489A JP H02230594 A JPH02230594 A JP H02230594A
Authority
JP
Japan
Prior art keywords
refresh
address
bus
register
refresh operation
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
JP1051154A
Other languages
Japanese (ja)
Inventor
Chifuyu Saegusa
三枝 千冬
Satoru Morino
森野 悟
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
NEC Engineering Ltd
Original Assignee
NEC Corp
NEC Engineering 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 NEC Corp, NEC Engineering Ltd filed Critical NEC Corp
Priority to JP1051154A priority Critical patent/JPH02230594A/en
Publication of JPH02230594A publication Critical patent/JPH02230594A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dram (AREA)

Abstract

PURPOSE:To prevent a refresh operation from missing by storing a refresh address once by attaching a first-in first-out register, and executing the refresh operation after acquiring the right of using a bus. CONSTITUTION:When a timing pulse to instruct to perform the refresh operation at every constant interval by a timer circuit 1 is generated, a refresh counter 2 is counted up, and simultaneously, data before counting up is written on the first-in first-out register(FIFO register 3). Then, an output ready signal 13 goes to a high level, and requests the right of using the bus to a memory use right arbitrator 4. When the right of using the bus is acquired, the FIFO register 3 reads out the refresh address, and executes the refresh operation by outputting the content of the address to an address bus 11. Thereby, it is possible to prevent information from being missed due to the loss of the refresh address.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ダイナミックランダムアクセスメモリを使用
するパーソナルコンピュータ等の制御装置において、ダ
イナミックランダムアクセスメモリをRAS  ONL
Yリフレッシュする場合のリフレッシュアトレスを与え
るためのリフレッシュ制御回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention is a control device for a personal computer or the like that uses a dynamic random access memory, in which the dynamic random access memory is used as a RAS ONL.
The present invention relates to a refresh control circuit for providing a refresh address for Y refresh.

〔従来の技術〕[Conventional technology]

ダイナミックランダムアクセスメモリ(DRAM)は、
内部の電荷によって情報を記憶するものであるため、放
電によって失われる電荷をリフレッシュと呼ばれる再チ
ャージ動作によって補って情報の消失を防いでいる。こ
のリフレッシュ動作は、DRAMのマトリックスを列単
位にアクセスするRAS  ONLYリフレッシュ方式
が一般的に使用されている。この時、タイマによって一
定の時間間隔でDRAMにアクセスし、リフレッシュを
行なうアドレスを示すリフレッシュカウンタの内容によ
って中央処理装置(CPU)や入出力装置(I./O装
置)がメモリアクセスするタイミンクと衝突しないよう
にDRAMをアクセスしている。
Dynamic random access memory (DRAM) is
Since information is stored using internal charges, the charges lost due to discharge are compensated for by a recharging operation called refresh to prevent information from being lost. For this refresh operation, a RAS ONLY refresh method is generally used in which the DRAM matrix is accessed column by column. At this time, a timer accesses the DRAM at regular intervals, and the contents of the refresh counter, which indicates the address to be refreshed, conflict with the timing of memory access by the central processing unit (CPU) or input/output device (I./O device). The DRAM is being accessed to prevent

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

」二述のように、従来は他にメモリをアクセスしようと
するCPUやI/O装置等のメモリアクセス権を調整し
なからリフレッシュ制御回路かメモリの使用権を確保し
てリフレッシュを行なわなければならない。この場合、
リフレッシュ制御回路は簡単なタイマとカウンタとで構
成されているため、タイマによって駆動されるタイミン
グ間隔内にメモリ使用権を確保してリフレッシュ動作を
実行しないと、このカウンタが次のタイマの出力によっ
てカウントアップされ、このためリフレッシュすべきア
ドレスが失われてしまって情報の消失をまねくという欠
点かある。このため、一般にリフレッシュ制御回路のメ
モリ使用権の優先順位を高く設定し、確実にメモリ使用
権を獲得できるようにする必要があり、また他のCPU
またはI/O装置が連続してリフレッシュ間隔を越える
ような長時間のメモリの専有かてきない。
As mentioned in 2 above, in the past, it was necessary to adjust the memory access rights of other CPUs, I/O devices, etc. that were trying to access the memory, and then secure the right to use the refresh control circuit or memory to perform refresh. It won't happen. in this case,
The refresh control circuit consists of a simple timer and a counter, so if the memory usage right is not secured and a refresh operation is not executed within the timing interval driven by the timer, this counter will start counting based on the output of the next timer. This has the disadvantage that the address to be refreshed is lost, leading to information loss. For this reason, it is generally necessary to set the refresh control circuit's memory usage right at a high priority to ensure that it can acquire the memory usage right, and also to
Alternatively, the I/O device cannot continuously occupy memory for a long time that exceeds the refresh interval.

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

本発明のリフレッシュ制御回路は、一定時間毎に駆動さ
れてバス使用権を得てタイナミツクランタムアクセスメ
モリのリフレッシュを行なうリフレッシュ回路において
、リフレッシュずべきリフレッシュア1−レスをFIF
Oレジスタに書込んで記憶しておくことにより、リフレ
ッシュを行なうべき一定間隔内にハス使用権が確保てき
なくてもリフレッシュア1〜レスか失われないようにす
ることによって、タイナミックランタムアクセスメモリ
の記憶内容を保持して瞬間的なハスネックを解消するよ
うにしたものである。
The refresh control circuit of the present invention is a refresh circuit that is driven at regular intervals to obtain the right to use the bus and refresh a dynamic access memory.
By writing to the O register and storing it, even if the right to use the lotus is not secured within a certain interval at which refresh is required, the refresh address is not lost, thereby allowing dynamic random access. It is designed to retain the stored contents of the memory and eliminate momentary hustlenecks.

すなわち、本発明のリフレッシュ制御回路は、一定時間
間隔毎にリフレッシュ動作を行うことを指示するタイミ
ンクパルスを出力するタイマ回路と、前記タイミンクパ
ルスを入力してカウントアップすると同時にカウントア
ップ前のデータをファース1〜インクァーストアウI−
レシスタに書込むリフレッシュカウンタと、前記テータ
を入力してメモリ使用権調停器に対してバス使用権を要
求し前記メモリ使用権調停器がバス使用権を獲得したと
きリフレッシュアドレスを読出してアドレスハスに出力
する前記ファース1・インファース1〜アウ1〜レジス
タとを備えている。
That is, the refresh control circuit of the present invention includes a timer circuit that outputs a timing pulse instructing to perform a refresh operation at fixed time intervals, and a timer circuit that inputs the timing pulse and counts up, and at the same time fastens data before counting up. 1~Inquer Stow I-
The refresh counter to be written to the register and the data are input to request the bus usage right from the memory usage right arbiter, and when the memory usage right arbiter acquires the bus usage right, the refresh address is read and the address is assigned. It is provided with the above-mentioned first 1, first 1, first 1, first and second registers for outputting.

〔実施例〕〔Example〕

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

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

第1図において、タイマ回路1は、一定間隔(一iには
16μs程度)毎にリフレッシュ動作を行なうことを指
示ずるタイミングパルスを発生して出力する。リフレッ
シュカウンタ2は、このタイミングパルスによってカウ
ン1ヘアッフ゜ずると同時に、カウン}〜アップ前のデ
ータをファーストインファース1〜アウI・レジスタ(
F I FOレジスタ3)に書込む。データをFIFO
レシスタ3に書込むと、アウトプットレディ信号(OR
信号〉13がハイレベルとなってメモリ使用権調停器4
に対してバス使用権を要求する。バス使用権を獲得する
と、メモリ使用権調停器4は、FIFOレシスタ3のS
O端子に信号を返し、リフレッシュすべきアドレス(リ
フレッシュアトレス)を読出す。
In FIG. 1, a timer circuit 1 generates and outputs timing pulses instructing to perform a refresh operation at regular intervals (about 16 μs for one i). The refresh counter 2 shifts the count 1 hair by this timing pulse, and at the same time transfers the data before the count up to the first-in-first 1 register (
Write to FIFO register 3). FIFO data
When writing to register 3, output ready signal (OR
Signal〉13 becomes high level and memory use right arbitrator 4
request bus usage rights. When the bus usage right is acquired, the memory usage right arbiter 4 selects the S of the FIFO register 3.
A signal is returned to the O terminal and the address to be refreshed (refresh address) is read.

この読出したアトレスの内容をア1〜レスバス11−に
出力してリフレッシュ動作を実行ずる。
The content of the read address is output to address buses 11-11- to execute a refresh operation.

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

以上説明したように、本発明のリフレッシュ制御回路は
、一定の間隔で必ず行なう必要のあったリフレッシュ動
作を、FIFOレジスタを付加してリフレッシュアl’
レスを一旦記憶しておくことにより、CPUやI/O装
置がリフレッシュのための所定の間隔以」二の長い間メ
モリを使用したとき、それまて実行できなかったリフレ
ッシュ動作を、バス使用権を獲得してから実行すること
ができるため、リフレッシュ動作の脱落を防止すること
がてきるという効果があり、また、メモリの使用率は低
いか、瞬間的にはリフレッシュ動作の所定の間隔以上の
長時間に亘ってメモリを使用し続けるI/O装置も接続
できるという効果もある。
As explained above, the refresh control circuit of the present invention adds a FIFO register to perform a refresh operation that always needs to be performed at regular intervals.
By temporarily storing the response, when the CPU or I/O device uses the memory for a long time after the predetermined interval for refresh, the refresh operation that could not be executed before can be performed without having the right to use the bus. This has the effect of preventing the refresh operation from being omitted, and the memory usage rate is low or momentarily exceeds the predetermined interval of the refresh operation. Another advantage is that I/O devices that continue to use memory for a long time can also be connected.

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

第1図は本発明の一実施例を示すブロック図である。 1・・・タイマカウンタ、2・・・リフレッシュアドレ
スカウンタ、3・・・FIF○レジスタ、4・・・メモ
リ使用権調停器、5・・・バスドライバ。
FIG. 1 is a block diagram showing one embodiment of the present invention. 1... Timer counter, 2... Refresh address counter, 3... FIF○ register, 4... Memory use right arbitrator, 5... Bus driver.

Claims (1)

【特許請求の範囲】[Claims] 一定時間間隔毎にリフレッシュ動作を行うことを指示す
るタイミングパルスを出力するタイマ回路と、前記タイ
ミングパルスを入力してカウントアップすると同時にカ
ウントアップ前のデータをファーストインファーストア
ウトレジスタに書込むリフレッシュカウンタと、前記デ
ータを入力してメモリ使用権調停器に対してバス使用権
を要求し前記メモリ使用権調停器がバス使用権を獲得し
たときリフレッシュアドレスを読出してアドレスバスに
出力する前記ファーストインファーストアウトレジスタ
とを備えることを特徴とするリフレッシュ制御回路。
a timer circuit that outputs a timing pulse instructing to perform a refresh operation at regular time intervals, and a refresh counter that inputs the timing pulse, counts up, and at the same time writes data before counting up to a first-in-first-out register. , the first-in-first-out inputting the data and requesting the memory use right arbiter for the bus use right, and when the memory use right arbiter acquires the bus use right, reading the refresh address and outputting it to the address bus; A refresh control circuit comprising a register.
JP1051154A 1989-03-02 1989-03-02 Refresh control circuit Pending JPH02230594A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1051154A JPH02230594A (en) 1989-03-02 1989-03-02 Refresh control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1051154A JPH02230594A (en) 1989-03-02 1989-03-02 Refresh control circuit

Publications (1)

Publication Number Publication Date
JPH02230594A true JPH02230594A (en) 1990-09-12

Family

ID=12878906

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1051154A Pending JPH02230594A (en) 1989-03-02 1989-03-02 Refresh control circuit

Country Status (1)

Country Link
JP (1) JPH02230594A (en)

Similar Documents

Publication Publication Date Title
KR0176422B1 (en) Page-in Burst-Out Popo System
US4556952A (en) Refresh circuit for dynamic memory of a data processor employing a direct memory access controller
JPH08328941A (en) Memory access control circuit
US5319388A (en) VGA controlled having frame buffer memory arbitration and method therefor
US5287486A (en) DMA controller using a programmable timer, a transfer counter and an or logic gate to control data transfer interrupts
US6272583B1 (en) Microprocessor having built-in DRAM and internal data transfer paths wider and faster than independent external transfer paths
US20010016883A1 (en) Data transfer apparatus
US5627968A (en) Data transfer apparatus which allows data to be transferred between data devices without accessing a shared memory
JPH02230594A (en) Refresh control circuit
EP0794497A2 (en) Memory refresh control method and apparatus
EP0507954B1 (en) Device for controlling bus
JPS61217861A (en) Data processing system
JP3205992B2 (en) Direct memory access transfer controller
KR970011890B1 (en) Memory shared method of main processor and co-processor
JPS5931736B2 (en) Queue management method
JPH06325570A (en) Dynamic memory refresh circuit
JPH06111568A (en) Image memory device
JP3303420B2 (en) Memory access control device
JPS61131033A (en) Control system of ring buffer
JPH09297990A (en) Memory refresh control method and memory refresh control device
KR100541713B1 (en) Memory controller
JP2806405B2 (en) Microprocessor
JPH04232689A (en) Refresh controller for dram
JPH01258152A (en) Memory controller
JPH0561762A (en) Memory controller