JPH086841A - Memory control unit - Google Patents

Memory control unit

Info

Publication number
JPH086841A
JPH086841A JP6139009A JP13900994A JPH086841A JP H086841 A JPH086841 A JP H086841A JP 6139009 A JP6139009 A JP 6139009A JP 13900994 A JP13900994 A JP 13900994A JP H086841 A JPH086841 A JP H086841A
Authority
JP
Japan
Prior art keywords
signal
refresh
memory
area
central processing
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.)
Granted
Application number
JP6139009A
Other languages
Japanese (ja)
Other versions
JP3250377B2 (en
Inventor
Kazumi Yamada
和美 山田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP13900994A priority Critical patent/JP3250377B2/en
Publication of JPH086841A publication Critical patent/JPH086841A/en
Application granted granted Critical
Publication of JP3250377B2 publication Critical patent/JP3250377B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Dram (AREA)

Abstract

PURPOSE:To obtain the high-speed memory system by reducing the wait state of a CPU even at DRAM refresh cycle as to a memory system which uses a DRAM. CONSTITUTION:When the DRAM area of a memory area is accessed, a data acknowledgement generating device 14 substantially stops the operation of the CPU and then refreshing operation is performed by using an RAS.CAS generating device 13; When write access is performed even when an area other than the DRAM area is accessed, the operation of the CPU is substantially stopped, refreshing operation is performed after a read/write signal controller 15 stops input operation for a write signal, but in other cases, the refreshing operation is performed without stopping the operation of the CPU and the input operation for the signal.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ダイナミックランダム
アクセスメモリ(以下「DRAM」という)、や疑似S
RAM等の動的メモリを含んだメモリシステムの制御を
行うメモリコントロール装置に関するものである。
BACKGROUND OF THE INVENTION The present invention relates to a dynamic random access memory (hereinafter referred to as "DRAM") and a pseudo S.
The present invention relates to a memory control device that controls a memory system including a dynamic memory such as a RAM.

【0002】[0002]

【従来の技術】一般に、DRAMがデータを記憶する場
合、キャパシタに蓄えた電荷の有無でハイ/ロウの記憶
状態を保持するが、保持時間の経過とともに漏れ電流な
どにより電荷が少しずつ失われるため、再度ハイ/ロウ
の電位に設定し直す動作(以下「リフレッシュ動作」と
いう)が必要になる。このDRAM等のリフレッシュ動
作はメモリコントロール装置による制御で行っている。
2. Description of the Related Art Generally, when a DRAM stores data, a high / low storage state is held depending on the presence / absence of charges stored in a capacitor, but the charge is gradually lost due to leakage current or the like with the lapse of the holding time. The operation of resetting the high / low potential again (hereinafter referred to as "refresh operation") is required. The refresh operation of the DRAM and the like is controlled by the memory control device.

【0003】従来のメモリコントロール装置について図
面を参照して説明する。図4は従来のメモリコントロー
ル装置の構成を示す。図4において、101はメモリコ
ントロール装置全体、102は中央演算処理装置(以下
「CPU」という)が発生するアドレス値がどのメモリ
を示しているかを判定するアドレスデコーダ、103は
CPUが発生するアドレス有効信号とアドレスデコーダ
が発生する値を入力し、実際のメモリチップにチップセ
レクト信号を発生するチップセレクト発生装置、104
は定められたタイミングでリフレッシュ要求信号を発生
するリフレッシュ要求発生装置、105はメモリへのア
クセスの終了を示すデータアクノリッジ信号を発生する
データアクノリッジ発生装置(DK発生装置)、106
はDRAMを制御するための信号であるRAS(ロウア
ドレスストローブ)信号、CAS(カラムアドレススト
ローブ)信号を発生するRAS・CAS発生装置、10
8はCPUが発生するアドレスデータ、109はアドレ
スデコーダ102が発生するメモリ領域信号、110は
メモリ領域信号バスのうちDRAM領域を示す信号、1
11はチップセレクト信号、112はアドレス有効信
号、113はリフレッシュ要求信号、114はRAS信
号、115はCAS信号、107はCPUに対してバス
権を要求するバス使用権要求信号発生装置、116はC
PUに対してバス権を要求するバス使用権要求信号、1
17はCPUから発せられるバス開放信号、118はリ
フレッシュサイクル開始指示信号である。
A conventional memory control device will be described with reference to the drawings. FIG. 4 shows the configuration of a conventional memory control device. In FIG. 4, 101 is an entire memory control device, 102 is an address decoder that determines which memory an address value generated by a central processing unit (hereinafter referred to as "CPU") indicates, and 103 is an address valid generated by the CPU. A chip select generator that inputs a signal and a value generated by an address decoder and generates a chip select signal in an actual memory chip.
Is a refresh request generator that generates a refresh request signal at a predetermined timing, 105 is a data acknowledge generator (DK generator) that generates a data acknowledge signal indicating the end of access to the memory, 106
Is a RAS / CAS generator for generating a RAS (row address strobe) signal and a CAS (column address strobe) signal which are signals for controlling DRAM.
8 is address data generated by the CPU, 109 is a memory area signal generated by the address decoder 102, 110 is a signal indicating the DRAM area of the memory area signal bus, 1
11 is a chip select signal, 112 is an address valid signal, 113 is a refresh request signal, 114 is a RAS signal, 115 is a CAS signal, 107 is a bus use right request signal generator for requesting a bus right to the CPU, and 116 is C
Bus right request signal for requesting bus right from PU, 1
Reference numeral 17 is a bus release signal issued from the CPU, and 118 is a refresh cycle start instruction signal.

【0004】以上のように構成されたメモリコントロー
ル装置では、DRAMの制御にRAS信号とCAS信号
が用いられるが、これら二つの信号の入力タイミングを
変えることにより、リフレッシュモードと通常の書き込
み/読み出しモードとを切り換えている。
In the memory control device configured as described above, the RAS signal and the CAS signal are used to control the DRAM. By changing the input timing of these two signals, the refresh mode and the normal write / read mode are used. And are switched.

【0005】図5に現在一般的に用いられているRAS
信号とCAS信号の入力タイミングを示す。同図(a)
は通常の書き込み/読み出しを行う場合を示し、図
(b)はリフレッシュを行う場合を示す。このようにD
RAMに入力する制御信号(RAS,CAS)のタイミ
ングを異ならせてモードを変えているので、DRAMを
リフレッシュしている最中に、CPUからDRAMに対
して書き込みや読み出しのアクセスをすることができな
い。したがって、DRAMのリフレッシュを行う場合に
はCPUの動作を停止する必要がある。
FIG. 5 shows a RAS currently generally used.
The input timing of a signal and a CAS signal is shown. FIG.
Shows a case where normal writing / reading is performed, and FIG. 7B shows a case where refreshing is performed. Like this
Since the mode is changed by changing the timing of the control signals (RAS, CAS) input to the RAM, the CPU cannot access the DRAM for writing or reading while refreshing the DRAM. . Therefore, it is necessary to stop the operation of the CPU when refreshing the DRAM.

【0006】このDRAMのリフレッシュを行う場合の
動作について説明する。CPUがメモリアクセスする際
に発するアドレスデータ108にもとづいて、アドレス
デコーダ102でどのメモリ領域をアクセスしているか
を判定し、メモリ領域信号109を出力する。このメモ
リ領域信号109とともにアクセスの開始を示すアドレ
ス有効信号112をチップセレクト発生装置103に入
力する。このとき、メモリ領域信号109の値がDRA
M領域以外の領域を示していれば、チップセレクト発生
装置103はアドレス有効信号112が有効を確認し、
各メモリ領域に配置されているメモリチップにチップセ
レクト信号111を発生する。また、メモリ領域信号1
09の値がDRAM領域を示していれば、DRAM領域
信号110によりRAS・CAS発生装置106はアド
レス有効信号112で有効を確認し、DRAMへRAS
・CASを発生しアクセスする。
The operation of refreshing the DRAM will be described. Based on the address data 108 issued when the CPU accesses the memory, the address decoder 102 determines which memory area is being accessed and outputs a memory area signal 109. An address valid signal 112 indicating the start of access is input to the chip select generator 103 together with the memory area signal 109. At this time, the value of the memory area signal 109 is DRA.
If the area other than the M area is shown, the chip select generation device 103 confirms that the address valid signal 112 is valid,
A chip select signal 111 is generated for the memory chips arranged in each memory area. Also, the memory area signal 1
If the value of 09 indicates the DRAM area, the DRAM area signal 110 allows the RAS / CAS generator 106 to confirm the validity by the address valid signal 112, and the RAS to the DRAM.
-Generate and access CAS.

【0007】一方、リフレッシュ要求発生装置104は
一定のタイミングでリフレッシュ要求信号113を発生
する。バス使用権要求信号発生装置107は、図6のタ
イミングチャートに示したように、リフレッシュ要求信
号113を受けると、CPUの動作を止めるためにCP
Uに対してバス開放要求信号116を発生する。この要
求に対して、CPUが現在バスにアクセスしていなけれ
ば、すぐにCPUが停止することを示す信号(バス開放
信号117)を出力する。もしCPUが現在バスにアク
セスしていれば、アクセス終了を待ってすぐにCPUが
バス開放信号117を出力する。このCPUを停止状態
を得るには、実際にCPUを止めるのではなく、データ
アクノリッジ(DK)信号発生装置105から出力する
データアクノリッジ信号をロウレベルにしてCPUに返
さないことで、CPUに対してメモリへのアクセスを終
了していないと認識させる。これによりCPUが実質的
に停止することになる。バス使用権要求信号発生装置1
07がバス開放信号117を受けるとリフレッシュサイ
クル開始信号118を発生する。リフレッシュサイクル
開始信号118がアクティブになると、リフレッシュ要
求発生装置104はリフレッシュ要求信号113をネゲ
ートし、RAS・CAS発生装置106は図5(b)に
示したリフレッシュ用のタイミングでRAS信号11
4、CAS信号115を出力しDRAMのリフレッシュ
を行う。
On the other hand, the refresh request generator 104 generates a refresh request signal 113 at a constant timing. When the bus right request signal generator 107 receives the refresh request signal 113 as shown in the timing chart of FIG.
A bus release request signal 116 is generated for U. In response to this request, if the CPU is not currently accessing the bus, it outputs a signal (bus release signal 117) indicating that the CPU will stop immediately. If the CPU is currently accessing the bus, the CPU outputs the bus release signal 117 immediately after the completion of the access. In order to obtain the stopped state of the CPU, the data acknowledge signal output from the data acknowledge (DK) signal generator 105 is set to the low level and is not returned to the CPU instead of actually stopping the CPU. Recognize that access to has not ended. This substantially stops the CPU. Bus right request signal generator 1
When 07 receives the bus release signal 117, the refresh cycle start signal 118 is generated. When the refresh cycle start signal 118 becomes active, the refresh request generator 104 negates the refresh request signal 113, and the RAS / CAS generator 106 causes the RAS signal 11 at the refresh timing shown in FIG. 5B.
4. Output the CAS signal 115 to refresh the DRAM.

【0008】[0008]

【発明が解決しようとする課題】しかしながら上記の構
成では、DRAMのリフレッシュサイクル時には、CP
Uに対してバス権を要求してCPUを停止させてからD
RAMリフレッシュを行うために、図4に示したタイミ
ングチャートの点線部の間、CPUが動作しないので、
システム全体の性能を劣化させてしまうという問題を有
していた。
However, in the above configuration, the CP is not refreshed during the DRAM refresh cycle.
After requesting bus right from U and stopping CPU, D
In order to perform the RAM refresh, the CPU does not operate during the dotted line portion of the timing chart shown in FIG.
There was a problem of degrading the performance of the entire system.

【0009】本発明は上記課題を解決するもので、DR
AMのリフレッシュサイクル時でもCPUを停止させる
ことを極力減らして、高速な動作の可能なメモリコント
ロール装置を提供することを目的とする。
The present invention is intended to solve the above-mentioned problems.
It is an object of the present invention to provide a memory control device capable of high-speed operation by minimizing CPU stop even during an AM refresh cycle.

【0010】[0010]

【課題を解決するための手段】本発明のメモリコントロ
ール装置は上記課題を解決するために、動的メモリのリ
フレッシュ動作を制御するリフレッシュ制御信号発生部
と、CPUの動作を制御するCPU制御部と、動的メモ
リ領域とそれ以外の領域とに共通に入力する信号(たと
えばライト信号)を制御する信号制御部とを有し、メモ
リ領域のうちの動的メモリ領域をアクセスする場合に、
CPU制御部によりCPUの動作を実質的に止めてリフ
レッシュ制御信号発生部を用いてリフレッシュ動作を行
い、また動的メモリ領域以外の領域をアクセスする場合
でも、動的メモリ領域と動的メモリ領域以外の領域とに
共通の信号を入力するときには、CPU制御部によりC
PUの動作を実質的に止めるとともに、信号制御部によ
り共通の信号の入力動作を実質的に止めてリフレッシュ
制御信号発生部を用いてリフレッシュ動作を行い、これ
ら以外の場合には、CPUの動作や信号の入力動作を止
めないでリフレッシュ動作を行うものである。
In order to solve the above-mentioned problems, a memory control device of the present invention comprises a refresh control signal generating section for controlling a refresh operation of a dynamic memory, and a CPU control section for controlling an operation of a CPU. A signal control unit that controls a signal (for example, a write signal) commonly input to the dynamic memory area and other areas, and when accessing the dynamic memory area of the memory area,
When the CPU control unit substantially stops the operation of the CPU and the refresh control signal generation unit performs the refresh operation, and also when accessing an area other than the dynamic memory area, it is not the dynamic memory area and the dynamic memory area. When a common signal is input to the area of
The operation of the PU is substantially stopped, the input operation of the common signal is substantially stopped by the signal control unit, and the refresh operation is performed using the refresh control signal generation unit. In other cases, the operation of the CPU and The refresh operation is performed without stopping the signal input operation.

【0011】[0011]

【作用】本発明は上記の構成により、CPUに対してバ
ス権を要求することがなく、CPUがDRAM領域にア
クセスあるいは他のメモリ領域にライトアクセスをしな
い限りCPUがウェイト状態にならない。
According to the present invention, the above configuration prevents the CPU from entering the wait state unless the CPU requests the bus right and the CPU accesses the DRAM area or the write access to another memory area.

【0012】[0012]

【実施例】以下、本発明の実施例について図面を参照し
ながら説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0013】図1は本発明のメモリコントロール装置を
用いたコンピュータシステム全体の構成の一例を示す。
同図において、1は一つの半導体チップを示し、このチ
ップ1の上にCPU2、メモリコントロール装置3、リ
ードオンリメモリ(ROM)やランダムアクセスメモリ
(RAM)5が載置されている。これらの構成部分はア
ドレスバス8やデータバス9を介してアドレスやデータ
のやりとりをする構成になっている。また、CPU2か
らはメモリコントロール装置3に対してアドレス有効信
号(DS)20やリード/ライト信号21を送り込む構
成になっている。チップ1の外側にはDRAM6等の動
的メモリやSRAM7等の静的メモリが各メモリ領域に
設けられ、メモリコントロール装置3で制御される。特
にDRAM6等の動的メモリについての動作は、メモリ
コントロール装置3から送られるRAS信号とCAS信
号で制御される。メモリコントロール装置3はDRAM
6やSRAM7に対して情報の書き込み信号や読み出し
信号であるリード/ライト信号を送るが、このうちライ
ト信号WRはDRAM6とSRAM7の両方に共通に送
られている。メモリコントロール装置3からはメモリ領
域へのアクセスの完了を示すデータアクノリッジ信号
(DK)26がCPU2に送られる。
FIG. 1 shows an example of the overall configuration of a computer system using the memory control device of the present invention.
In the figure, reference numeral 1 denotes one semiconductor chip, on which a CPU 2, a memory control device 3, a read only memory (ROM) and a random access memory (RAM) 5 are mounted. These components are configured to exchange addresses and data via the address bus 8 and the data bus 9. Also, the CPU 2 sends an address valid signal (DS) 20 and a read / write signal 21 to the memory control device 3. A dynamic memory such as DRAM 6 and a static memory such as SRAM 7 are provided in each memory area outside the chip 1, and are controlled by the memory control device 3. In particular, the operation of the dynamic memory such as the DRAM 6 is controlled by the RAS signal and the CAS signal sent from the memory control device 3. The memory control device 3 is a DRAM
6, a read / write signal that is a write signal or a read signal of information is sent to the SRAM 6 and the SRAM 7. Of these, the write signal WR is sent to both the DRAM 6 and the SRAM 7 in common. From the memory control device 3, a data acknowledge signal (DK) 26 indicating the completion of access to the memory area is sent to the CPU 2.

【0014】図2は本発明のメモリコントロール装置の
一実施例の構成を示す。同図において、10はCPUが
発生するアドレス値がどのメモリを示しているかを判定
するアドレスデコーダ、11はCPUが発生するアドレ
ス有効信号とアドレスデコーダが発生する値を入力し、
実際のメモリチップにチップセレクト信号を発生するチ
ップセレクト発生装置、12は定められたタイミングで
リフレッシュ要求信号を発生するリフレッシュ要求発生
装置、13はDRAMにRAS信号やCAS信号を所定
のタイミングで発生してリフレッシュ動作を制御するR
AS・CAS発生装置で、リフレッシュ制御信号発生部
として機能する。14はデータアクノリッジ発生装置
で、CPUにアクセスしたメモリのアクセスが終了した
ことを示すデータアクノリッジ信号を発生する。もし、
このデータアクノリッジ発生装置14からデータアクノ
リッジ信号を発生しなければ、CPUはアクセス終了を
認識することができないので、アクセス終了待ちの状態
となって、実質的に停止した状態となる。このデータア
クノリッジ発生装置14はCPU制御部として機能す
る。
FIG. 2 shows the configuration of an embodiment of the memory control device of the present invention. In the figure, 10 is an address decoder for determining which memory the address value generated by the CPU indicates, 11 is an address valid signal generated by the CPU and a value generated by the address decoder,
A chip select generator for generating a chip select signal to an actual memory chip, 12 is a refresh request generator for generating a refresh request signal at a predetermined timing, and 13 is a DRAM for generating a RAS signal or a CAS signal at a predetermined timing. To control refresh operation
The AS / CAS generator functions as a refresh control signal generator. Reference numeral 14 is a data acknowledge generator, which generates a data acknowledge signal indicating that the access to the memory that has accessed the CPU is completed. if,
Unless the data acknowledge signal is generated from the data acknowledge generator 14, the CPU cannot recognize the end of access, so the CPU waits for the end of access and is in a substantially stopped state. The data acknowledge generator 14 functions as a CPU controller.

【0015】15はOR回路からなり、CPUから出力
されるリード/ライト信号を実際のメモリチップに出力
可能かを判定し出力するリード/ライト信号制御装置
で、信号制御部として機能する。このリード/ライト信
号制御装置15に入力するリード/ライト信号21はC
PUから送られるハイ/ロウのデジタル信号で、ハイの
場合にはメモリをリードアクセスし、ロウの場合にはラ
イトアクセスする。リード/ライト信号制御装置15は
OR回路で構成しているので、リード/ライト信号21
のハイロウにかかわらず、リフレッシュサイクル信号2
5がハイ(アクティブ)になれば、出力のメモリリード
/ライト信号27はつねにハイになる。したがって、こ
のリード/ライト信号制御装置15によってライト信号
を止めて、つねにリード信号(ハイ)のみを出力するよ
うに制御できる。
Reference numeral 15 is an OR circuit, which is a read / write signal control device which determines whether the read / write signal output from the CPU can be output to the actual memory chip and outputs the read / write signal, which functions as a signal control unit. The read / write signal 21 input to the read / write signal controller 15 is C
It is a high / low digital signal sent from PU, and when it is high, it makes read access to the memory, and when it is low, it makes write access. Since the read / write signal control device 15 is composed of an OR circuit, the read / write signal 21
Refresh cycle signal 2 regardless of high or low
When 5 goes high (active), the output memory read / write signal 27 is always high. Therefore, the read / write signal control device 15 can be controlled to stop the write signal and always output only the read signal (high).

【0016】16はCPUが発生するアドレスデータ、
17はアドレスデコーダ10が発生するメモリ領域信号
バス、18はメモリ領域信号バス17のうちDRAM領
域を示す信号、19はチップセレクト信号、20はアク
セスの開始を示すアドレス有効信号、22はリフレッシ
ュ要求信号、23はRAS信号、24はCAS信号、2
5はリフレッシュサイクル実行を示すリフレッシュサイ
クル信号、26はデータアクノリッジ信号、27はメモ
リチップへ出力されるメモリリード/ライト信号であ
る。
16 is address data generated by the CPU,
Reference numeral 17 is a memory area signal bus generated by the address decoder 10, 18 is a signal indicating a DRAM area in the memory area signal bus 17, 19 is a chip select signal, 20 is an address valid signal indicating the start of access, and 22 is a refresh request signal. , 23 is a RAS signal, 24 is a CAS signal, 2
Reference numeral 5 is a refresh cycle signal indicating execution of a refresh cycle, 26 is a data acknowledge signal, and 27 is a memory read / write signal output to a memory chip.

【0017】上記構成の装置の動作を説明すると、アド
レスデコーダ10でCPUが出力するアドレスデータ1
6からどのメモリ領域をアクセスしているかを判定しメ
モリ領域判定信号17を出力する。その値がDRAM以
外の領域を示していれば、チップセレクト発生装置11
はアドレス有効信号20が有効であることを確認して、
各メモリ領域に配置されているメモリチップに各々チッ
プセレクト信号19を発生し、データアクノリッジ発生
装置14は各々のメモリチップに対応したタイミングで
データアクノリッジ信号26を発生する。
The operation of the device having the above-described structure will be described. Address data 1 output from the CPU by the address decoder 10
It is determined from 6 which memory area is being accessed and a memory area determination signal 17 is output. If the value indicates an area other than the DRAM, the chip select generator 11
Confirms that the address valid signal 20 is valid,
The chip select signal 19 is generated in each of the memory chips arranged in each memory area, and the data acknowledge generator 14 generates the data acknowledge signal 26 at a timing corresponding to each memory chip.

【0018】アドレスデコーダ10がアクセス領域をD
RAM領域と判定した場合には、メモリ領域判定信号1
7のうちのDRAM領域信号18がアクティブとなる。
DRAM領域信号18がアクティブになるとRAS・C
AS発生装置13はアドレス有効信号20で有効を確認
し、DRAMへ制御信号であるRAS信号23とCAS
信号24を発生する。また、データアクノリッジ信号発
生装置14はDRAMアクセス用のタイミングでデータ
アクノリッジ信号を発生する。
The address decoder 10 sets the access area to D
If it is determined to be the RAM area, the memory area determination signal 1
The DRAM area signal 18 of 7 becomes active.
When the DRAM area signal 18 becomes active, RAS.C
The AS generator 13 confirms the validity by the address valid signal 20, and sends to the DRAM the RAS signal 23 which is a control signal and the CAS signal.
Generate signal 24. The data acknowledge signal generator 14 also generates a data acknowledge signal at the timing for accessing the DRAM.

【0019】一方、リフレッシュ要求発生装置12は一
定のタイミングでリフレッシュ要求信号22を発生して
おり、RAS・CAS発生装置13は、このリフレッシ
ュ要求信号22を受けると、アドレス有効信号20から
現在メモリアクセスが実行されているかを判定する。判
定結果から、メモリアクセスが実行されていなければ、
ただちに、そしてメモリアクセスが実行されていれば、
データアクノリッジ信号26を受けてアクセス終了を確
認した後、リフレッシュサイクル信号25を出力して、
DRAMに対してリフレッシュ用のタイミング(すなわ
ち図5(b)に示したタイミング)でRAS信号23と
CAS信号24を発生する。
On the other hand, the refresh request generator 12 generates the refresh request signal 22 at a fixed timing, and when the RAS / CAS generator 13 receives the refresh request signal 22, the address valid signal 20 causes the current memory access. Is executed. From the judgment result, if the memory access is not executed,
Immediately, and if a memory access is being performed,
After receiving the data acknowledge signal 26 and confirming the end of access, the refresh cycle signal 25 is output,
The RAS signal 23 and the CAS signal 24 are generated at the refresh timing (that is, the timing shown in FIG. 5B) for the DRAM.

【0020】リフレッシュサイクル信号25が出力され
ると、リフレッシュ要求発生装置12はリフレッシュ要
求信号22をネゲートする。そして、リフレッシュサイ
クル実行中にCPUがメモリアクセスしてきた場合で
も、条件によってはCPUを止めずにデータアクノリッ
ジ発生装置14がデータアクノリッジ信号を出力する。
すなわち、データアクノリッジ発生装置14はメモリ領
域判定信号17からアクセス領域がDRAM以外であ
り、かつリード/ライト信号21からライトアクセスで
はないことを判定すると、図3のタイミングチャートの
リードサイクルに示したように、通常のアクセスと同じ
タイミングでデータアクノリッジ信号を出力する。
When the refresh cycle signal 25 is output, the refresh request generator 12 negates the refresh request signal 22. Then, even when the CPU accesses the memory during execution of the refresh cycle, the data acknowledge generator 14 outputs the data acknowledge signal without stopping the CPU depending on the condition.
That is, when the data acknowledge generator 14 determines from the memory area determination signal 17 that the access area is other than DRAM and the read / write signal 21 is not a write access, as shown in the read cycle of the timing chart of FIG. Then, the data acknowledge signal is output at the same timing as the normal access.

【0021】一方、アクセス領域がDRAM領域である
か、あるいはDRAM領域以外でも他の領域にライトア
クセスする場合には、図3のタイミングチャートのライ
トサイクルとして示したように、リフレッシュサイクル
終了後に、通常のアクセスを開始したタイミングでデー
タアクノリッジ信号26を出力する。すなわち、この場
合にはリフレッシュ動作が終わるまで、CPUにデータ
アクノリッジ信号26を送らないので、CPUはアクセ
ス終了の合図(データアクノリッジ信号)を待つ状態が
続き、CPUが実質的に停止した状態となる。また、リ
ード/ライト信号制御装置15は、リフレッシュサイク
ル期間中はメモリチップに対してリード信号のみを出力
して、ライト信号を出力しないように制御する。
On the other hand, when the access area is the DRAM area or when write access is made to other areas other than the DRAM area, as shown in the write cycle of the timing chart of FIG. The data acknowledge signal 26 is output at the timing when the access is started. That is, in this case, since the data acknowledge signal 26 is not sent to the CPU until the refresh operation is completed, the CPU continues to wait for the access end signal (data acknowledge signal) and the CPU is substantially stopped. . Further, the read / write signal control device 15 outputs only the read signal to the memory chip and does not output the write signal during the refresh cycle.

【0022】以上のような制御を行う理由は、DRAM
をリフレッシュするためにアクセスする場合と通常にD
RAM領域にアクセスする場合とでは、制御信号である
RAS信号とCAS信号のタイミングが異なるので、両
方の動作を同時には行えず、DRAMのリフレッシュ動
作中は、CPUを実質的に停止させてDRAM領域への
通常のアクセスを止めておく必要があるからである。リ
ード/ライト信号のうち、ライト信号はDRAM領域と
他のメモリ領域に共通に入力されるので、DRAM以外
の領域であってもリフレッシュ動作中にライトアクセス
することができず、この場合もCPUを実質的に止める
必要がある。また、ライト信号も止めておく必要があ
る。
The reason for performing the above control is that the DRAM
To access to refresh and normally D
Since the RAS signal and the CAS signal, which are control signals, have different timings when accessing the RAM area, both operations cannot be performed at the same time, and during the refresh operation of the DRAM, the CPU is substantially stopped and the DRAM area is accessed. This is because it is necessary to stop normal access to. Of the read / write signals, the write signal is commonly input to the DRAM area and the other memory areas, so that write access cannot be performed during the refresh operation even in areas other than the DRAM. You really need to stop. It is also necessary to stop the write signal.

【0023】一方、上記の条件に該当しない場合、すな
わち、アクセス領域がDRAM領域以外であり、かつ他
の領域へライトアクセスしない場合には、たとえDRA
Mのリフレッシュ動作中であっても、CPUを止めな
い。したがって、従来のようにリフレッシュ動作中に一
律にCPUの動作を止めていた場合と異なり、本実施例
ではCPUを停止させることの少ないメモリコントロー
ル装置を提供することができる。
On the other hand, if the above conditions are not met, that is, if the access area is other than the DRAM area and no write access is made to other areas, the DRA
Even during the refresh operation of M, the CPU is not stopped. Therefore, unlike the conventional case where the operation of the CPU is uniformly stopped during the refresh operation, this embodiment can provide a memory control device in which the CPU is hardly stopped.

【0024】なお、本実施例ではDRAMを例に説明し
たがこれに限らず、本発明は疑似SRAM等を含む動的
メモリ全てに適用できる。
In the present embodiment, the DRAM has been described as an example, but the present invention is not limited to this, and the present invention can be applied to all dynamic memories including pseudo SRAM and the like.

【0025】また、DRAM領域とそれ以外の領域に入
力する信号としてライト信号を例に説明したが必ずしも
これに限られるわけではない。
Although the write signal has been described as an example of the signal input to the DRAM area and the other areas, the signal is not limited to this.

【0026】[0026]

【発明の効果】本発明によれば、DRAMリフレッシュ
サイクル時でもCPUをウェイト状態にすることが軽減
され、メモリシステムのオーバーヘッドを小さくし、高
速なメモリシステムを実現でき、その実用的効果は大き
い。
According to the present invention, it is possible to reduce the CPU wait state even during the DRAM refresh cycle, reduce the overhead of the memory system, and realize a high-speed memory system, and its practical effects are great.

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

【図1】本発明のメモリコントロール装置を用いたシス
テム構成図
FIG. 1 is a system configuration diagram using a memory control device of the present invention.

【図2】本発明の一実施例におけるメモリコントロール
装置の構成図
FIG. 2 is a configuration diagram of a memory control device according to an embodiment of the present invention.

【図3】本発明のメモリコントロール装置でのDRAM
リフレッシュタイミング図
FIG. 3 is a DRAM in the memory control device of the present invention.
Refresh timing diagram

【図4】従来のメモリコントロール装置の構成図FIG. 4 is a block diagram of a conventional memory control device.

【図5】RAS信号とCAS信号のタイミング図FIG. 5 is a timing diagram of a RAS signal and a CAS signal.

【図6】従来のメモリコントロール装置でのDRAMリ
フレッシュタイミング図
FIG. 6 is a DRAM refresh timing diagram in a conventional memory control device.

【符号の説明】[Explanation of symbols]

1 半導体チップ 2 CPU 3 メモリコントロール装置 5 ROM、RAM 6 DRAM 7 SRAM 8 データバス 9 アドレスバス 10 アドレスデコーダ 11 チップセレクト発生装置 12 リフレッシュ要求発生装置 13 RAS・CAS発生装置 14 データアクノリッジ発生装置 15 リード/ライト信号制御装置 16 アドレスデータ 17 メモリ領域判定信号 18 DRAM領域判定信号 19 チップセレクト信号 20 アドレス有効信号 21 リード/ライト信号 22 リフレッシュ要求信号 23 RAS信号 24 CAS信号 25 リフレッシュサイクル信号 26 データアクノリッジ信号 27 メモリリード/ライト信号 107 バス使用権要求信号発生装置 116 バス開放要求信号 117 バス開放信号 118 リフレッシュサイクル開始要求信号 1 semiconductor chip 2 CPU 3 memory control device 5 ROM, RAM 6 DRAM 7 SRAM 8 data bus 9 address bus 10 address decoder 11 chip select generation device 12 refresh request generation device 13 RAS / CAS generation device 14 data acknowledge generation device 15 read / Write signal controller 16 Address data 17 Memory area judgment signal 18 DRAM area judgment signal 19 Chip select signal 20 Address valid signal 21 Read / write signal 22 Refresh request signal 23 RAS signal 24 CAS signal 25 Refresh cycle signal 26 Data acknowledge signal 27 Memory Read / write signal 107 Bus usage right request signal generator 116 Bus release request signal 117 Bus release signal 118 Refresh cycle Start request signal

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 動的メモリのリフレッシュ動作を制御す
るリフレッシュ制御信号発生部と、中央演算処理装置の
動作を実質的に制御する中央演算処理装置制御部と、動
的メモリ領域とそれ以外の領域とに共通に入力する信号
を制御する信号制御部とを有し、前記動的メモリ領域を
アクセスする場合には、前記中央演算処理装置制御部に
より前記中央演算処理装置の動作を実質的に止めて前記
リフレッシュ制御信号発生部を用いてリフレッシュ動作
を行い、また前記動的メモリ領域と動的メモリ領域以外
の領域とに共通の信号を入力する場合には、前記中央演
算処理装置制御部により中央演算処理装置の動作を実質
的に止めるとともに、前記信号制御部により前記共通の
信号の入力動作を実質的に止めて前記リフレッシュ制御
信号発生部を用いてリフレッシュ動作を行い、これら以
外の場合には、前記中央演算処理装置の動作や信号の入
力動作を止めないでリフレッシュ動作を行うことを特徴
とするメモリコントロール装置。
1. A refresh control signal generation unit for controlling a refresh operation of a dynamic memory, a central processing unit control unit for substantially controlling the operation of a central processing unit, a dynamic memory region and other regions. And a signal control unit for controlling a signal commonly input to, and when the dynamic memory area is accessed, the central processing unit control unit substantially stops the operation of the central processing unit. When performing a refresh operation using the refresh control signal generating section and inputting a common signal to the dynamic memory area and an area other than the dynamic memory area, the central processing unit control section performs central processing. By substantially stopping the operation of the arithmetic processing unit and substantially stopping the input operation of the common signal by the signal controller, the refresh control signal generator is used. A memory control device performing a refresh operation, and in other cases, the refresh operation is performed without stopping the operation of the central processing unit and the signal input operation.
【請求項2】 動的メモリのリフレッシュ動作を制御す
るリフレッシュ制御信号発生部と、中央演算処理装置に
対してメモリ領域へのアクセスの終了を示すデータアク
ノリッジ信号を発生するデータアクノリッジ発生部と、
動的メモリ領域とそれ以外の領域とに共通に入力するラ
イト信号を制御するライト信号制御部とを有し、前記動
的メモリ領域をアクセスする場合には、前記データアク
ノリッジ発生部からのデータアクノリッジ信号を止める
ことで前記中央演算処理装置の動作を実質的に止めて、
前記リフレッシュ制御信号発生部によりリフレッシュ動
作を行い、また動的メモリ領域以外の領域に前記ライト
信号を入力する場合には、前記データアクノリッジ発生
部を用いて中央演算処理装置の動作を実質的に止めると
ともに、前記ライト信号制御部により前記ライト信号の
入力動作を実質的に止めて、前記リフレッシュ制御信号
発生部でリフレッシュ動作を行い、これら以外の場合に
は、前記中央演算処理装置の動作や信号の入力動作を止
めないでリフレッシュ動作を行うことを特徴とするメモ
リコントロール装置。
2. A refresh control signal generator for controlling a refresh operation of a dynamic memory, and a data acknowledge generator for generating a data acknowledge signal indicating the end of access to the memory area to the central processing unit.
A write signal control unit for controlling a write signal commonly input to the dynamic memory region and the other regions, and when accessing the dynamic memory region, a data acknowledge from the data acknowledge generation unit By substantially stopping the operation of the central processing unit by stopping the signal,
When the refresh operation is performed by the refresh control signal generator and the write signal is input to an area other than the dynamic memory area, the operation of the central processing unit is substantially stopped by using the data acknowledge generator. At the same time, the write signal control unit substantially stops the input operation of the write signal and the refresh control signal generation unit performs the refresh operation. In other cases, the operation of the central processing unit and the signal A memory control device characterized by performing a refresh operation without stopping an input operation.
【請求項3】 中央演算処理装置から送られてくるアド
レスにもとづいて前記中央演算処理装置がアクセスする
領域がどの領域かを判定するアドレスデコーダと、前記
アドレスデコーダの出力値と前記中央演算処理装置から
のアクセス開始を示すアドレス有効信号とを入力し、前
記アクセスする領域内のメモリにチップセレクト信号を
出力するチップセレクト発生装置と、一定のタイミング
でリフレッシュ要求信号を出力するリフレッシュ要求発
生装置と、前記アドレスデコーダの出力値、前記アドレ
ス有効信号、前記リフレッシュ要求信号、およびアクセ
ス終了を示すデータアクノリッジ信号を入力し、前記リ
フレッシュ要求信号がディセーブルの場合には、前記ア
ドレスデコーダの出力が動的メモリ領域を示したときに
動的メモリアクセスタイミングでメモリ制御信号を発生
し、前記リフレッシュ要求信号がイネーブルの場合に
は、現在実行中のメモリアクセスがあればデータアクノ
リッジ信号発生を待ち、メモリアクセスがなければただ
ちに動的メモリリフレッシュタイミングでメモリ制御信
号を発生し、さらに動的メモリリフレッシュ用に前記メ
モリ制御信号を発生している間、リフレッシュサイクル
信号を出力するメモリ制御信号発生装置と、前記アドレ
スデコーダの出力値、前記アドレス有効信号、前記リー
ド/ライト信号、および前記リフレッシュサイクル信号
を入力し、リフレッシュサイクル期間中ではない場合に
は、アクセス領域のメモリシステムに応じてデータアク
ノリッジ信号を発生し、リフレッシュサイクル期間中の
場合には、動的メモリ領域をアクセスするときまたは他
の領域をライトアクセスするときにリフレッシュ終了後
アクセスを開始したタイミングでデータアクノリッジ信
号を発生し、それ以外の場合には、リフレッシュサイク
ル期間中でない場合と同じようにデータアクノリッジ信
号を発生するデータアクノリッジ発生装置と、前記リー
ド/ライト信号および前記リフレッシュサイクル信号を
入力し、リフレッシュサイクル期間中はメモリシステム
へのリード/ライト信号をつねにリード信号に固定し出
力するライト信号制御装置を備えたメモリコントロール
装置。
3. An address decoder for determining which area is accessed by the central processing unit based on an address sent from the central processing unit, an output value of the address decoder and the central processing unit. From the address valid signal indicating the start of access from, the chip select generator that outputs a chip select signal to the memory in the area to be accessed, a refresh request generator that outputs a refresh request signal at a fixed timing, The output value of the address decoder, the address valid signal, the refresh request signal, and a data acknowledge signal indicating the end of access are input, and when the refresh request signal is disabled, the output of the address decoder is a dynamic memory. Dynamic memory access when showing region When a memory control signal is generated at a timing and the refresh request signal is enabled, if there is a memory access that is currently being executed, the generation of a data acknowledge signal is awaited. If there is no memory access, the memory control is immediately performed at the dynamic memory refresh timing. A memory control signal generator that outputs a refresh cycle signal while generating a signal and further generating the memory control signal for dynamic memory refresh, an output value of the address decoder, the address valid signal, and the read / Write signal and the refresh cycle signal are input, a data acknowledge signal is generated according to the memory system of the access area when the refresh cycle period is not in progress, and a dynamic memory is generated when the refresh cycle period is in progress. Access the area At the same time, or when performing write access to another area, a data acknowledge signal is generated at the timing when access is started after the refresh is completed. In other cases, a data acknowledge signal is generated as in the case where the refresh cycle is not in progress. A memory having a data acknowledge generator and a write signal controller for inputting the read / write signal and the refresh cycle signal and for fixing the read / write signal to the memory system to the read signal and outputting the read signal during the refresh cycle. Control device.
JP13900994A 1994-06-21 1994-06-21 Memory control device Expired - Fee Related JP3250377B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13900994A JP3250377B2 (en) 1994-06-21 1994-06-21 Memory control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13900994A JP3250377B2 (en) 1994-06-21 1994-06-21 Memory control device

Publications (2)

Publication Number Publication Date
JPH086841A true JPH086841A (en) 1996-01-12
JP3250377B2 JP3250377B2 (en) 2002-01-28

Family

ID=15235353

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13900994A Expired - Fee Related JP3250377B2 (en) 1994-06-21 1994-06-21 Memory control device

Country Status (1)

Country Link
JP (1) JP3250377B2 (en)

Also Published As

Publication number Publication date
JP3250377B2 (en) 2002-01-28

Similar Documents

Publication Publication Date Title
KR100816053B1 (en) Memory device, memory system and dual port memory device with self-copy function
JP2909592B2 (en) Computer memory system
CN107257964B (en) DRAM circuit, computer system and method for accessing DRAM circuit
US6321313B1 (en) Memory system, memory control system and image processing system
JP3728468B2 (en) Memory control device
US7536519B2 (en) Memory access control apparatus and method for accomodating effects of signal delays caused by load
US20050182868A1 (en) Apparatus and method for controlling memory
JP2000020451A (en) Device and method for processing information and provision method
JP3250377B2 (en) Memory control device
JP2004071097A (en) Semiconductor storage device, and control method and test method of semiconductor storage device
JP3967921B2 (en) Data processing apparatus and data processing system
JP3962850B2 (en) Control device for SDRAM
JP3489497B2 (en) Memory controller
JP3317592B2 (en) Memory system and image forming system
JP3136681B2 (en) Data processing device
JP2004318500A (en) Memory circuit
JPH06325570A (en) Dynamic memory refresh circuit
JP3588405B2 (en) Memory controller
KR20020040150A (en) Sdram controller
JPH05101650A (en) Refreshing method for dynamic memory
KR0161471B1 (en) Page mode method for dram
JP3314395B2 (en) Memory controller
JPH04372030A (en) Memory access system for processor
JPH08161887A (en) Memory refresh control method and device therefor
JPH11176155A (en) Dram-refreshing circuit

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071116

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081116

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091116

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091116

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101116

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees