[go: up one dir, main page]

JPH01227299A - Memory refresh control method - Google Patents

Memory refresh control method

Info

Publication number
JPH01227299A
JPH01227299A JP63052622A JP5262288A JPH01227299A JP H01227299 A JPH01227299 A JP H01227299A JP 63052622 A JP63052622 A JP 63052622A JP 5262288 A JP5262288 A JP 5262288A JP H01227299 A JPH01227299 A JP H01227299A
Authority
JP
Japan
Prior art keywords
memory
cpu
bank
signal
access
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
JP63052622A
Other languages
Japanese (ja)
Inventor
Yoshiaki Kageyama
蔭山 芳明
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63052622A priority Critical patent/JPH01227299A/en
Publication of JPH01227299A publication Critical patent/JPH01227299A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dram (AREA)

Abstract

PURPOSE:To prevent the occurrence of access waiting to the memory of a CPU due to the refresh of the memory by banking the structure of the memory, dividing it into plural pieces and refreshing the memory of a bank which is not accessed. CONSTITUTION:A DRAM is divided into (n) units of bank structures by addresses. When an access is made by the CPU through an address bus 4, one of banks 0-n to which the address to be accessed belongs is selected by a RAM selecting circuit 3. A CAS signal and a CAS signal are supplied from a RAS/CAS generating circuit 4 to the DRAM of the selected bank and a nor mal memory access can be attained. Only RAS signal is supplied from the generating circuit 4 to the banks which are not selected. In this case, DRAMs of these banks are refreshed in the access timing of the selected bank accessed by the CPU.

Description

【発明の詳細な説明】 〔概 要〕 CPUとそのメモリとしてダイナミックRAMを具備す
る装置におけるメモリのリフレッシュ制御方式に関し、 メモリのリフレッシュによるCPUのメモリに対するア
クセス待ちを発生しないようにし、CPUの処理性能を
向上させることを目的とし、CPUとメモリとしてダイ
ナミックRAMを具備する装置におけるメモリのリフレ
ッシュ制御方式において、前記メモリの構成をバンク化
して複数個に分割し、前記CPUがメモリをほぼ周期的
にアクセスするよう制御し、該アクセスタイミングで前
記CPUがアクセスしていないバンクのメモリに、リフ
レッシュを行うように構成される。
[Detailed Description of the Invention] [Summary] Regarding a memory refresh control method in a device equipped with a CPU and a dynamic RAM as its memory, it is possible to prevent the CPU from waiting for access to the memory due to memory refresh, and improve the processing performance of the CPU. In a memory refresh control method for a device equipped with a CPU and a dynamic RAM as memory, the memory configuration is divided into banks and divided into a plurality of parts, and the CPU accesses the memory almost periodically. The CPU is configured to refresh memory in a bank that is not accessed by the CPU at the access timing.

〔産業上の利用分野〕[Industrial application field]

本発明は中央処理装置(CP U)とその記憶装置(メ
モリ)としてダイナミックRAM (ランダムアクセス
メモリ)を具備する装置における該メモ〕ノのリフレッ
シュ(活性化)を行うメモリのリフレッシュ制御方式に
関する。
The present invention relates to a memory refresh control method for refreshing (activating) memory in an apparatus equipped with a central processing unit (CPU) and a dynamic RAM (random access memory) as its storage device (memory).

〔従来の技術〕[Conventional technology]

マイクロコンピュータをCPUとする情報処理装置の主
記憶は、小形の必要がある。ため一般にダイナミノクR
AMで構成される。ダイナミックRAMは、定期的にリ
フレッシュを行って記憶内容を保持する必要がある。例
えば15マイクロ秒に一度数百ナノ秒程度のリフレッシ
ュのための時間を必要とする。このため、CPUの性能
が向上するにつれ、リフレッシュによるバス占有が無視
できないものとなった。すなわち、リフレッシュの期間
とCPUアクセスが重なって、CPUのアクセスを遅延
させねばならない頻度が増加するようになった。
The main memory of an information processing device using a microcomputer as a CPU needs to be small. Generally Dynaminoku R
Consists of AM. Dynamic RAM needs to be periodically refreshed to retain its stored contents. For example, a refresh time of several hundred nanoseconds is required once every 15 microseconds. For this reason, as the performance of CPUs improves, bus occupancy due to refresh has become impossible to ignore. In other words, the refresh period and CPU access overlap, increasing the frequency at which CPU access must be delayed.

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

前述のように、CPUの性能が向上すると、リフレッシ
ュによるバス占有の発生によって装置の処理性能が10
0%発揮できないという課題が発生した。
As mentioned above, when the CPU performance improves, the processing performance of the device increases by 10% due to bus occupancy caused by refresh.
The issue arose of not being able to perform at 0%.

本発明の目的は、メモリのリフレッシュによるCPUの
メモリに対するアクセス待ちを発生しないようにし、C
PUの処理性能を向上させることにある。
An object of the present invention is to prevent the CPU from waiting for access to memory due to memory refresh, and
The objective is to improve the processing performance of the PU.

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

本発明においては、中央処理装置とメモリとしてダイナ
ミックRAMを具備する装置におけるメモリのリフレッ
シュ制御方式において、メモリの構成をバンク化して複
数個に分割し、中央処理装置がメモリをほぼ周期的にア
クセスするよう制御し、該アクセスタイミングで中央処
理装置がアクセスしていないバンクのメモリに、リフレ
ッシュを行うように構成される。
In the present invention, in a memory refresh control method for a device equipped with a central processing unit and a dynamic RAM as memory, the memory configuration is divided into banks and divided into a plurality of pieces, and the central processing unit accesses the memory almost periodically. The memory of the bank that is not accessed by the central processing unit at the access timing is refreshed.

〔作 用〕[For production]

前述の方式を用いれば、高速処理を行うCPUにおいて
も、CPUがメモリをアクセスする時には、そのメモリ
以外のメモリをリフレ・ノシュするように構成されるか
ら、メモリのリフレッシュによるCPUの待ち時間をな
くすことができる。
If the above-mentioned method is used, even in a CPU that performs high-speed processing, when the CPU accesses memory, it is configured to refresh and nosh memory other than that memory, thereby eliminating the CPU wait time due to memory refresh. be able to.

〔実施例〕〔Example〕

本発明の方式を行う装置の構成が第1図に示される。図
において、アドレスバス1およびデータバスに接続され
るべきCPUは省略されている。
The configuration of an apparatus for carrying out the method of the present invention is shown in FIG. In the figure, the CPU to be connected to the address bus 1 and the data bus is omitted.

この装置はCPU、アドレスバス11データバス2のほ
かに、メモリとしてのダイナミックRAM(D −RA
M) 50から5nとRAM選択回路3とRAS ・C
AS発生回路4を具備する。D−RAMはアドレスによ
りn単位のバンク構成に分割されている。CPUからア
ドレスバス1を介してD−RAMをアクセスする時は、
RAM選択回路3により、アクセスするアドレスの属す
るバンク0からn迄のうちの1つが選択される。この選
択されたバンクのD−RAMに対しては、RAS −C
AS発生回路4からRAS信号およびCAS信号が供給
され、通常のメモリアクセスが可能となる。選択されな
かったバンクに対しては、RAS −CAS発生回路4
からRAS信号のみ供給される。この場合は、これらの
バンクのD−RAMは、CP Uからアクセスされた前
記選択されたバンクのアクセスタイミングでリフレッシ
ュされる。
In addition to the CPU, address bus 11 and data bus 2, this device also has a dynamic RAM (D-RA) as memory.
M) 50 to 5n, RAM selection circuit 3 and RAS・C
An AS generating circuit 4 is provided. The D-RAM is divided into n bank configurations based on addresses. When accessing D-RAM from the CPU via address bus 1,
The RAM selection circuit 3 selects one of banks 0 to n to which the address to be accessed belongs. For the D-RAM of this selected bank, RAS-C
The RAS signal and the CAS signal are supplied from the AS generating circuit 4, allowing normal memory access. For unselected banks, RAS-CAS generation circuit 4
Only the RAS signal is supplied from. In this case, the D-RAMs of these banks are refreshed at the access timing of the selected bank accessed by the CPU.

本発明の一実施例としてのメモリのリフレッシュ制御方
式を行う装置のブロック回路図が第2図に示され、第2
図の回路に用いられる制御信号の作成回路が第3図に示
される。第4図は上記制御信号のタイミングチャートを
示す図である。
A block circuit diagram of an apparatus for performing a memory refresh control method as an embodiment of the present invention is shown in FIG.
A control signal generating circuit used in the circuit shown in the figure is shown in FIG. FIG. 4 is a diagram showing a timing chart of the control signals.

この装置は32ビツトのデータバス構成であって、cp
u <図示せず)、バンク0からバンク3までの4個の
バンクに分割されたD−RA)1と該バンクに対応して
設けられたD−RAMアドレス制御I11回路0  (
21)からD−RAMアドレス制御回路3  (24)
とこれらを接続するアドレスバス1、データバス2、お
よびその他のバスを具備する。
This device has a 32-bit data bus configuration, with cp
u <not shown), D-RA) 1 divided into four banks from bank 0 to bank 3, and D-RAM address control I11 circuit 0 (
21) to D-RAM address control circuit 3 (24)
and an address bus 1, a data bus 2, and other buses that connect these.

CPUからのメモリをアクセスするためのアドレス信号
はアドレスバス1を介してD−RAMアドレス制御回路
21 、22 、23 、24に供給される。鎖線で囲
まれたD−RAMアドレス制御回路21から24は同一
の構成であるため第2図ではD−RAMアドレス制御回
路0 (21)についてのみ、その内部構成が示される
。D−RAMアドレス制御回路はマルチプレクサ(MP
X)61および62、リフレッシュアドレスカウンタ(
REF、ADD、C,)63 、オアゲート64、およ
びインバータ65を具備する。アドレスバスはMPX6
1に接続される。MPX61の選択入力にはASELS
EL信号され、この信号によりアドレスバスからの信号
がMPX61にとり込まれる。MPX61の出力はMP
X62に供給される。MPX62の他の1つの人力はリ
フレッシュアドレスカウンタ63の出力が供給される。
Address signals for accessing the memory from the CPU are supplied to D-RAM address control circuits 21, 22, 23, and 24 via the address bus 1. Since D-RAM address control circuits 21 to 24 surrounded by chain lines have the same configuration, only the internal configuration of D-RAM address control circuit 0 (21) is shown in FIG. The D-RAM address control circuit uses a multiplexer (MP
X) 61 and 62, refresh address counter (
REF, ADD, C, ) 63, an OR gate 64, and an inverter 65. Address bus is MPX6
Connected to 1. ASELS is used as the selection input for MPX61.
An EL signal is generated, and the signal from the address bus is taken into the MPX 61 by this signal. The output of MPX61 is MP
Supplied to X62. Another input of the MPX 62 is supplied with the output of the refresh address counter 63.

MPX62は選択信号SEL OからSEL 3によっ
て−PX61の出力を選択するか、リフレ・ノシュアド
レスカウンタ63の出力を選択するかのいずれかとなる
。この例ではSEL信号が「1」の時、リフレッシュア
ドレスカウンタ63の出力が選択され、「0」の時、M
PX61の出力が選択されcpUアクセス状態となる。
The MPX 62 selects either the output of -PX 61 or the output of the refre/nosure address counter 63 according to the selection signals SEL O to SEL 3. In this example, when the SEL signal is "1", the output of the refresh address counter 63 is selected, and when the SEL signal is "0", the M
The output of PX61 is selected and enters the cpU access state.

リフレッシュはメモリのロー(行)単位で行われるから
、リフレッシュアドレスカウンタはローを指定する。リ
フレ・ノシュアドレスカウンタはSEL信号が「1」で
本RAS信号が入力されると1だけ加算される。
Since refresh is performed in memory row units, the refresh address counter specifies the row. When the SEL signal is "1" and the RAS signal is input, the refre/nosure address counter is incremented by 1.

この装置では、メモリのアドレスのAOからANの各ビ
ットのうち、AOとA1は使用せず、A2とA3でバン
クを選択する。これが第3図の論理回路によって行われ
、A2.A3の入力を受けて、SEL OからSEL 
3の信号が出力される。D−RAMにおいてはネRAS
信号を受は本CAS信号を受けると(第4図第1段およ
び第2段参照)読み出しがなされ、本RAS信号のみで
*CAS信号がない(高レベル)とリフレッシュされる
。従って第3図の回路において、本CAS Oから*C
AS 3の信号は対応するSEL Oから3の信号が「
1」の時は出力されない(高レベル)。第4図において
記号Hは高レベルを示し、記号りは低レベルを示す。各
バンクに供給される本RAS Oから*RAS 3の信
号はCPUからの本RAS信号が用いられる。
In this device, among the bits AO to AN of the memory address, AO and A1 are not used, and a bank is selected using A2 and A3. This is done by the logic circuit of FIG. 3, and A2. After receiving the input of A3, SEL O to SEL
3 signals are output. In D-RAM, neRAS
When the signal receiver receives this CAS signal (see the first and second stages in FIG. 4), it is read out, and when there is no *CAS signal (high level) with only this RAS signal, it is refreshed. Therefore, in the circuit shown in Figure 3, from this CAS O to *C
The AS 3 signal is the corresponding SEL O to 3 signal.
1", there is no output (high level). In FIG. 4, the symbol H indicates a high level, and the symbol H indicates a low level. The main RAS signal from the CPU is used as the main RAS O to *RAS 3 signals supplied to each bank.

第4図のタイムチャートにおいては、バンク0がCPU
からアクセスされている状態を説明する図である。従っ
て本CAS OはCPUからの本CAS信号のタイミン
グで低レベルとなり、他の本CAS 1から本CAS 
3の信号は高レベルのままである。リフレッシュアドレ
スカウンタはバンク1からバンク3において*CAS 
O信号の終了時に1だけ加算更新される。SEL O信
号は低レベル、SEL 1からSEL 3の信号は高レ
ベルである。
In the time chart in Figure 4, bank 0 is the CPU
FIG. Therefore, this CAS O becomes low level at the timing of the main CAS signal from the CPU, and the other main CAS 1 to this main CAS
The signal at No. 3 remains at a high level. The refresh address counter is *CAS in bank 1 to bank 3.
At the end of the O signal, it is updated by adding 1. The SEL O signal is low, and the SEL 1 to SEL 3 signals are high.

本発明では第1図のようにD−RAMをアドレスにより
n単位のバンク構成にし、CPUアクセスはいずれか1
つのD−RAMバンクを選択する。CPUのD−RAM
アクセスは命令を取り込むフェッチが大半を占め、しか
も随時実行型のCPUでは、このバンクをサイクリック
にアクセスするように動作する。従って特にCPUのア
クセスが1つのバンクのみに集中することを避けるよう
考慮する必要は実用上ないと考えられる。
In the present invention, as shown in FIG.
Select one D-RAM bank. CPU D-RAM
Most of the accesses are fetches that take in instructions, and in an as-needed CPU, this bank is accessed cyclically. Therefore, it is considered that there is no practical need to take particular measures to avoid concentration of CPU accesses on only one bank.

〔発明の効果〕 本発明によれば、メモリのリフレッシュによるCPtJ
のアクセス待ちをなくすことができ、CPUの処理能力
を向上することができる。
[Effects of the Invention] According to the present invention, CPtJ by memory refresh
Waiting for access can be eliminated, and the processing capacity of the CPU can be improved.

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

第1図は本発明のメモリのリフレッシュ制御方式を行う
装置のブロック図、 第2図は本発明の一実施例としてのメモリのリフレッシ
ュ制御力式を行う装置のブロック回路図、第3図は第2
図の装置の制御信号作成回路を示す回路図、および 第4図は第2図の装置の制御信号のタイミングチャート
を示す図である。 図において、 1・・・アドレスバス、  2・・・データバス、3・
・・RAM31沢回路、4・・・RAS −CAS発生
回路、21・・・D−RAMアドレス制御回路0.22
・・・D−RAMアドレス制御回路1.23・・・ロー
RA?Iアドレス制御回路2.24・・・D−RAMア
ドレス制御回路3.25・・・バンク0、  26・・
・バンク1.27・・・バンク2、  28・・・バン
ク3.31 、32・・・インバータ、 33 、34 、35 、36・・・ナントゲート、3
7 、38 、39 、40・・・オアゲート、50・
・・D−RA門バンク0. 51・・・D−RAMバンク1. 52・・・D−RAMバンク2. 5 n −D−RAMバンクn1 61 、62・・・マルチプレクサ、 63・・・リフレッシュアドレスカウンタ、64・・・
オアゲート、 65・・・インバータ。
FIG. 1 is a block diagram of a device that performs the memory refresh control method of the present invention, FIG. 2 is a block circuit diagram of a device that performs the memory refresh control method as an embodiment of the present invention, and FIG. 2
FIG. 4 is a circuit diagram showing a control signal generation circuit of the apparatus shown in FIG. 2, and FIG. 4 is a diagram showing a timing chart of control signals of the apparatus shown in FIG. In the figure, 1... address bus, 2... data bus, 3...
...RAM31 circuit, 4...RAS-CAS generation circuit, 21...D-RAM address control circuit 0.22
...D-RAM address control circuit 1.23...Low RA? I address control circuit 2.24...D-RAM address control circuit 3.25...Bank 0, 26...
・Bank 1.27... Bank 2, 28... Bank 3.31, 32... Inverter, 33, 34, 35, 36... Nantes gate, 3
7, 38, 39, 40... or gate, 50.
...D-RA gate bank 0. 51...D-RAM bank 1. 52...D-RAM bank 2. 5 n-D-RAM bank n1 61, 62... multiplexer, 63... refresh address counter, 64...
OR gate, 65...inverter.

Claims (1)

【特許請求の範囲】 中央処理装置とメモリとしてダイナミックRAMを具備
する装置におけるメモリのリフレッシュ制御方式におい
て、 前記メモリの構成をバンク化して複数個に分割し、 前記中央処理装置がメモリをほぼ周期的にアクセスする
よう制御し、該アクセスタイミングで前記中央処理装置
がアクセスしていないバンクのメモリに、リフレッシュ
を行うようにしたことを特徴とするメモリのリフレッシ
ュ制御方式。
[Claims] In a memory refresh control method in a device equipped with a central processing unit and a dynamic RAM as memory, the configuration of the memory is divided into a plurality of banks, and the central processing unit refreshes the memory approximately periodically. 1. A memory refresh control method, characterized in that a memory in a bank that is not accessed by the central processing unit is refreshed at the access timing.
JP63052622A 1988-03-08 1988-03-08 Memory refresh control method Pending JPH01227299A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63052622A JPH01227299A (en) 1988-03-08 1988-03-08 Memory refresh control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63052622A JPH01227299A (en) 1988-03-08 1988-03-08 Memory refresh control method

Publications (1)

Publication Number Publication Date
JPH01227299A true JPH01227299A (en) 1989-09-11

Family

ID=12919906

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63052622A Pending JPH01227299A (en) 1988-03-08 1988-03-08 Memory refresh control method

Country Status (1)

Country Link
JP (1) JPH01227299A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5229970A (en) * 1991-04-15 1993-07-20 Micron Technology, Inc. Circuit for synchronizing refresh cycles in self-refreshing drams having timing circuit shutdown
JP2007035151A (en) * 2005-07-26 2007-02-08 Elpida Memory Inc Semiconductor memory device and refresh control method of memory system
JP2007109366A (en) * 2005-09-16 2007-04-26 Toshiba Corp Semiconductor storage device
KR100805359B1 (en) * 2001-04-03 2008-02-20 주식회사 하이닉스반도체 Refresh mechanism in dynamic memory

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5277640A (en) * 1975-12-24 1977-06-30 Nippon Telegr & Teleph Corp <Ntt> Refresh control system
JPS5419619A (en) * 1977-07-15 1979-02-14 Toshiba Corp Refresh control system
JPS6139298A (en) * 1984-07-27 1986-02-25 Yokogawa Hokushin Electric Corp Control device of dynamic random access memory

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5277640A (en) * 1975-12-24 1977-06-30 Nippon Telegr & Teleph Corp <Ntt> Refresh control system
JPS5419619A (en) * 1977-07-15 1979-02-14 Toshiba Corp Refresh control system
JPS6139298A (en) * 1984-07-27 1986-02-25 Yokogawa Hokushin Electric Corp Control device of dynamic random access memory

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5229970A (en) * 1991-04-15 1993-07-20 Micron Technology, Inc. Circuit for synchronizing refresh cycles in self-refreshing drams having timing circuit shutdown
KR100805359B1 (en) * 2001-04-03 2008-02-20 주식회사 하이닉스반도체 Refresh mechanism in dynamic memory
JP2007035151A (en) * 2005-07-26 2007-02-08 Elpida Memory Inc Semiconductor memory device and refresh control method of memory system
JP2007109366A (en) * 2005-09-16 2007-04-26 Toshiba Corp Semiconductor storage device

Similar Documents

Publication Publication Date Title
US10049716B2 (en) Refresh request queuing circuitry
JP2851503B2 (en) Integrated circuit storage device
US6381190B1 (en) Semiconductor memory device in which use of cache can be selected
US8369168B2 (en) Devices and system providing reduced quantity of interconnections
US6046953A (en) Decoded autorefresh mode in a DRAM
US6226755B1 (en) Apparatus and method for enhancing data transfer to or from a SDRAM system
KR930017028A (en) Semiconductor memory device having a plurality of RAS signals
US6518595B2 (en) Semiconductor memory device for reducing power consumption during refresh
US8225063B2 (en) Synchronous dynamic random access memory interface and method
US9368175B2 (en) Semiconductor memory device receiving multiple commands simultaneously and memory system including the same
US5005157A (en) Apparatus for selectively providing RAS signals or RAS timing and coded RAS address signals
JPWO2002080180A1 (en) DRAM and access method
JPH01227299A (en) Memory refresh control method
EP0607668B1 (en) Electronic memory system and method
US6854041B2 (en) DRAM-based separate I/O memory solution for communication applications
JP2003151273A (en) Storage device, storage device internal control method, system, and storage device control method in system
RU93052160A (en) SEMICONDUCTOR MEMORY
KR100773063B1 (en) How Dual Port Memory Devices, Memory Devices, and Dual Port Memory Devices Work
KR0154717B1 (en) Memory management system
JPH05101650A (en) Refreshing method for dynamic memory
JP2025036234A (en) MEMORY CONTROLLER WITH ROWHAMMERS TRACKING DEVICE - Patent application
KR100773065B1 (en) How Dual Port Memory Devices, Memory Devices, and Dual Port Memory Devices Work
KR0161471B1 (en) Page mode method for dram
KR100455372B1 (en) Synchronous DRAM with reduced auto refresh time
JPH0561769A (en) Memory access method