JPH05128851A - Dram control system - Google Patents

Dram control system

Info

Publication number
JPH05128851A
JPH05128851A JP3315143A JP31514391A JPH05128851A JP H05128851 A JPH05128851 A JP H05128851A JP 3315143 A JP3315143 A JP 3315143A JP 31514391 A JP31514391 A JP 31514391A JP H05128851 A JPH05128851 A JP H05128851A
Authority
JP
Japan
Prior art keywords
dram
mpu
unit
bus cycle
refresh
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
JP3315143A
Other languages
Japanese (ja)
Inventor
Takeyuki Okada
健行 岡田
Mitsuhiro Watabe
光博 渡部
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
Original Assignee
NEC Corp
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 filed Critical NEC Corp
Priority to JP3315143A priority Critical patent/JPH05128851A/en
Publication of JPH05128851A publication Critical patent/JPH05128851A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dram (AREA)

Abstract

PURPOSE:To efficiently realize the refreshing of a DRAM as a storing part without affecting the performance of an MPU and the design of an F/W. CONSTITUTION:An MPU 1 performs the read and write operation through a DRAM control part 5 to a DRAM part 6, and a refreshing request generating part 4 gives a request signal to perform the refreshing of the DRAM part 6 to the DRAM control part 5. At this time, a timer part 8 to perform a timer action considering the refreshing cycle period varied by the capacity of the DRAM part 6 and kind of using element and an MPU bus cycle checking part 7 considering the bus cycle of the MPU 1 give the refreshing request generating part 4.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はDRAM制御方式に関
し、特に、DRAM部のリフレッシュに係るDRAM制
御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a DRAM control system, and more particularly to a DRAM control system for refreshing a DRAM section.

【0002】[0002]

【従来の技術】一般に、DRAM制御方式は、図2に示
すように、MPU1によってラッチ部2およびDRAM
制御部5を介してDRAM部6に必要なデータの書込
み,読出しを行なっている。
2. Description of the Related Art Generally, as shown in FIG. 2, a DRAM control system uses an MPU 1 to latch a latch unit 2 and a DRAM.
Required data is written to and read from the DRAM section 6 via the control section 5.

【0003】従来、このDRAM制御方式において、D
RAM部6のリフレッシュはMPU1からのアドレス情
報を入力とするデコーダ部3の出力信号により、リフレ
ッシュ要求発生部4を介してDRAM部6のリフレッシ
ュを起動する構成であった。すなわち、デコーダ部3の
出力によりリフレッシュ要求発生部4を介してリフレッ
シュサイクルの実行が要求され、DRAM部6にとって
必要な時間内(例えば8mS)に実行している。
Conventionally, in this DRAM control system, D
The refreshing of the RAM unit 6 is configured to activate the refreshing of the DRAM unit 6 via the refresh request generating unit 4 by the output signal of the decoder unit 3 which receives the address information from the MPU 1. That is, the execution of the refresh cycle is requested by the output of the decoder unit 3 via the refresh request generation unit 4, and is executed within the time required for the DRAM unit 6 (for example, 8 mS).

【0004】[0004]

【発明が解決しようとする課題】しかしながら、この従
来のDRAM制御方式にあっては、MPU1が出力する
アドレス信号をデコードし、そのデコード出力結果のみ
でリフレッシュ動作を行なっているので、サブブロック
DMA転送ができない等のF/W(マイクロプログラ
ム)上の制約があった。
However, in this conventional DRAM control system, since the address signal output from the MPU 1 is decoded and the refresh operation is performed only by the decoded output result, the sub-block DMA transfer is performed. There was a limitation on F / W (microprogram) such as not being possible.

【0005】本発明は、上記の問題点にかんがみてなさ
れたもので、MPUの性能,F/Wの設計に影響を与え
ないよう、DRAM部のリフレッシュを効率良く実現す
るようにしたDRAM制御方式の提供を目的とする。
The present invention has been made in view of the above problems, and a DRAM control system for efficiently refreshing a DRAM section so as not to affect the performance of an MPU and the design of F / W. For the purpose of providing.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
本発明のDRAM制御方式は、MPUによってDRAM
部に必要なデータの書込み,読出しを行なうとともに、
DRAM部のリフレッシュを行なうDRAM制御方式に
おいて、DRAM部に対するリフレッシュサイクル時間
を制御するタイマー部と、MPUのバスサイクルの種類
を判断するとともに該バスサイクルの種類の判断結果に
基づいてリフレッシュサイクルを開始させるMPUバス
サイクルチェック部とを備えた構成としてある。
In order to achieve the above object, the DRAM control system of the present invention uses a DRAM by an MPU.
Necessary data is written in and read from
In a DRAM control method for refreshing a DRAM section, a timer section for controlling a refresh cycle time for the DRAM section, a type of a bus cycle of an MPU are determined, and a refresh cycle is started based on the determination result of the type of the bus cycle. The MPU bus cycle check unit is provided.

【0007】そして、必要に応じ、上記MPUバスサイ
クルチェック部は、MPUがDRAM部をアクセスしな
いバスサイクルを待ってリフレッシュサイクルを開始さ
せる機能を備えた構成としてある。
If necessary, the MPU bus cycle check unit has a function of starting a refresh cycle after waiting for a bus cycle in which the MPU does not access the DRAM unit.

【0008】[0008]

【作用】上記構成からなるDRAM制御方式によれば、
タイマー部が常時DRAM部のリフレッシュを行なうべ
き時間を監視制御しており、MPUバスサイクルチェッ
ク部がMPUのバスサイクルの種類を判断し、このバス
サイクルの種類の判断結果により、DRAM部に対する
リフレッシュを開始させる。
According to the DRAM control system having the above structure,
The timer unit constantly monitors and controls the time for refreshing the DRAM unit, the MPU bus cycle check unit determines the type of MPU bus cycle, and the DRAM unit is refreshed based on the determination result of the type of bus cycle. Let it start.

【0009】[0009]

【実施例】以下、本発明の実施例について図面を参照し
て説明する。図1は本発明の一実施例に係るDRAM制
御方式を示す回路ブロック図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a circuit block diagram showing a DRAM control system according to an embodiment of the present invention.

【0010】図1において、1はMPU、2はラッチ部
であり、ラッチ部2はMPU1からのアドレス信号をラ
ッチする。3はデコーダ部であり、ラッチ部2の出力を
入力とし、チップセレクト信号を出力する。5はDRA
M制御部であり、DRAM部6に対する制御信号を発生
する。DRAM部6は通常のDRAMで構成される記憶
回路である。
In FIG. 1, 1 is an MPU, 2 is a latch unit, and the latch unit 2 latches an address signal from the MPU 1. A decoder unit 3 receives the output of the latch unit 2 and outputs a chip select signal. 5 is DRA
The M control unit generates a control signal for the DRAM unit 6. The DRAM section 6 is a memory circuit composed of a normal DRAM.

【0011】また、8はタイマー部であり、DRAM部
6をリフレッシュする時間を監視するものであり、所定
のサイクルでリフレッシュ要求信号をリフレッシュ要求
発生部4に出力する。7はMPUバスサイクルチェック
部であり、MPU1のバスサイクルの種類を判断し、リ
フレッシュサイクルが可能か否かを示す信号を出力す
る。実施例においては、MPUバスチェック部7は、M
PU1がDRAM部6をアクセスしないバスサイクルを
待ってリフレッシュサイクルを開始させる信号をリフレ
ッシュ要求発生部4に送出する。
A timer unit 8 monitors the time for refreshing the DRAM unit 6 and outputs a refresh request signal to the refresh request generating unit 4 in a predetermined cycle. Reference numeral 7 denotes an MPU bus cycle check unit which determines the type of bus cycle of the MPU 1 and outputs a signal indicating whether a refresh cycle is possible. In the embodiment, the MPU bus check unit 7 uses the M
The PU 1 sends a signal for starting the refresh cycle to the refresh request generating section 4 after waiting for a bus cycle in which the DRAM section 6 is not accessed.

【0012】また、リフレッシュ要求発生部4は、MP
Uバスサイクルチェック部7からの出力およびデコーダ
部3からのデコード出力がともにあったとき、DRAM
制御部5にリフレッシュ動作を行なうよう要求するもの
である。
Further, the refresh request generation unit 4 uses the MP
When the output from the U-bus cycle check unit 7 and the decode output from the decoder unit 3 are both present, the DRAM
The control unit 5 is requested to perform the refresh operation.

【0013】次に、実施例の動作について詳細に説明す
る。MPU1は、DRAM部6に必要なデータの書込
み,読出しを行なう。その場合、アドレス信号,デー
タ,アドレスストローブ信号,リード/ライト制御信号
により、MPU1のバスサイクルにしたがいDRAM制
御部5がローアドレス,カラムアドレス等の制御信号を
DRAM部6に供給する。
Next, the operation of the embodiment will be described in detail. The MPU 1 writes and reads necessary data in the DRAM section 6. In that case, the DRAM control unit 5 supplies control signals such as a row address and a column address to the DRAM unit 6 according to the address signal, data, address strobe signal, and read / write control signal in accordance with the bus cycle of the MPU 1.

【0014】DRAM部6は、周期的にリフレッシュが
必要である。MPU1がアクセスできるアドレス空間内
に、DRAMもマッピングされているが、MPU1のバ
スサイクルにおいて、DRAM部6をアクセスしていな
い場合にリフレッシュが実行される。デコーダ部3はM
PU1からのアドレス信号をデコードし、MPU1がそ
のバスサイクルにおいてDRAM部6をアクセスしてい
ないことを示す情報を出力し、リフレッシュ要求発生部
4を起動する。
The DRAM section 6 needs to be refreshed periodically. Although the DRAM is also mapped in the address space accessible by the MPU1, refresh is executed when the DRAM unit 6 is not accessed in the bus cycle of the MPU1. Decoder unit 3 is M
The address signal from PU1 is decoded, information indicating that MPU1 is not accessing DRAM section 6 in the bus cycle is output, and refresh request generating section 4 is activated.

【0015】タイマー部8は、DRAM部6のDRAM
に対してリフレッシュが必要であることを示す情報を出
力し、リフレッシュ要求発生部4を起動する。DRAM
として1Mビットの容量を有する素子が使用されている
場合、8mS以内に512回のリフレッシュサイクルが
必要である。したがって、タイマー部8は、15.6μ
s毎にリフレッシュ要求信号を出力する。
The timer unit 8 is a DRAM of the DRAM unit 6.
, The information requesting refreshing is output, and the refresh request generator 4 is activated. DRAM
If a device having a capacity of 1 Mbit is used as, a refresh cycle of 512 times is required within 8 mS. Therefore, the timer unit 8 is 15.6μ.
A refresh request signal is output every s.

【0016】MPU1は、固有のアドレス空間を有して
おり、その空間内どこでもアクセス可能であり、リード
サイクル,ライトサイクル等のバスサイクルを実行す
る。MPUバスサイクルチェック部7は、MPU1の実
行しているバスサイクルがDRAM部6をアクセスして
いないことを検出する。したがって、DRAM制御部5
によるリフレッシュが可能であり、リフレッシュ要求発
生部4を起動する。
The MPU 1 has a unique address space, can be accessed anywhere in the space, and executes bus cycles such as read cycles and write cycles. The MPU bus cycle check unit 7 detects that the bus cycle executed by the MPU 1 is not accessing the DRAM unit 6. Therefore, the DRAM controller 5
The refresh request generating unit 4 is activated.

【0017】リフレッシュ要求発生部4は、MPUバス
サイクルチェック部7からのリフレッシュ起動信号およ
びデコーダ部3からのデコード出力を入力とし、DRA
M制御部5にリフレッシュ動作を行なうよう要求する。
この2種の入力条件がともにリフレッシュを要求する場
合のみリフレッシュサイクルを実行する。
The refresh request generation unit 4 receives the refresh start signal from the MPU bus cycle check unit 7 and the decode output from the decoder unit 3 as input, and receives the DRA.
Request the M control unit 5 to perform the refresh operation.
The refresh cycle is executed only when both of these two input conditions require refresh.

【0018】また、タイマー部8からのリフレッシュ要
求信号はMPU1の処理能力のロスが発生するが、確実
に周期的に受け付けられリフレッシュサイクルを起動す
るためのもので記憶データの保障上不可欠である。
Further, the refresh request signal from the timer unit 8 causes a loss in the processing capability of the MPU 1, but it is surely received periodically to activate the refresh cycle, which is indispensable for guaranteeing the stored data.

【0019】すなわち、MPU1がDRAM制御部5を
介し、DRAM部6に対し、READ,WRITE動作
を行なうが、その他にリフレッシュ要求発生部4はDR
AM部6のリフレッシュを行なうリクエスト信号をDR
AM制御部5に与える。このとき、DRAM制御部5
は、CASビフォアRASリフレッシュを行なう。
That is, the MPU 1 performs the READ and WRITE operations on the DRAM section 6 via the DRAM control section 5, but the refresh request generating section 4 also performs DR.
DR request signal for refreshing AM section 6
It is given to the AM control unit 5. At this time, the DRAM controller 5
Performs CAS before RAS refresh.

【0020】そして、リフレッシュ要求発生部4に対
し、DRAM部6の容量,使用素子により異なるリフレ
ッシュサイクル周期を考慮したタイマー動作を行なうタ
イマー部8と、MPU1のバスサイクルを考慮したMP
Uバスサイクルチェック部7とがリフレッシュ要求を出
すことにより、F/Wの制約を防ぐ。
Then, the refresh request generation unit 4 performs a timer operation in consideration of the refresh cycle period which differs depending on the capacity of the DRAM unit 6 and the element used, and the MP operation in consideration of the bus cycle of the MPU 1.
By issuing a refresh request with the U-bus cycle check unit 7, the limitation of F / W is prevented.

【0021】[0021]

【発明の効果】以上説明したように本発明のDRAM制
御方式によれば、タイマー部によりリフレッシュサイク
ル時間を制御し、MPUバスサイクルチェック部により
MPUのバスサイクルの動作を考慮してリフレッシュ要
求を起動するので、リフレッシュを効率良く行なうこと
ができ、サブブロックDMA転送等におけるF/W上の
制約をなくすることができるという効果を有する。
As described above, according to the DRAM control method of the present invention, the refresh cycle time is controlled by the timer section and the refresh request is activated by the MPU bus cycle check section in consideration of the operation of the MPU bus cycle. Therefore, there is an effect that the refresh can be efficiently performed and the limitation on F / W in the sub-block DMA transfer and the like can be eliminated.

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

【図1】本発明の一実施例に係るDRAM制御方式を示
すブロック図である。
FIG. 1 is a block diagram showing a DRAM control method according to an embodiment of the present invention.

【図2】従来のDRAM制御方式を示すブロック図であ
る。
FIG. 2 is a block diagram showing a conventional DRAM control method.

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

1 MPU 2 ラッチ部 3 デコーダ部 4 リフレッシュ要求発生部 5 DRAM制御部 6 DRAM部 7 MPUバスサイクルチェック部 8 タイマー部 1 MPU 2 Latch section 3 Decoder section 4 Refresh request generation section 5 DRAM control section 6 DRAM section 7 MPU bus cycle check section 8 Timer section

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 MPUによってDRAM部に必要なデー
タの書込み,読出しを行なうとともに、DRAM部のリ
フレッシュを行なうDRAM制御方式において、DRA
M部に対するリフレッシュサイクル時間を制御するタイ
マー部と、MPUのバスサイクルの種類を判断するとと
もに該バスサイクルの種類の判断結果に基づいてリフレ
ッシュサイクルを開始させるMPUバスサイクルチェッ
ク部とを備えたことを特徴とするDRAM制御方式。
1. A DRAM control system in which a MPU writes and reads necessary data to and from a DRAM section and refreshes the DRAM section.
A MPU bus cycle check unit for determining a refresh cycle time for the M unit and a MPU bus cycle check unit for determining the type of the MPU bus cycle and starting the refresh cycle based on the determination result of the type of the bus cycle. Characteristic DRAM control method.
【請求項2】 上記MPUバスサイクルチェック部は、
MPUがDRAM部をアクセスしないバスサイクルを待
ってリフレッシュサイクルを開始させる機能を備えたこ
とを特徴とする請求項1記載のDRAM制御方式。
2. The MPU bus cycle check unit comprises:
2. The DRAM control method according to claim 1, wherein the MPU has a function of starting a refresh cycle after waiting for a bus cycle in which the DRAM section is not accessed.
JP3315143A 1991-11-05 1991-11-05 Dram control system Pending JPH05128851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3315143A JPH05128851A (en) 1991-11-05 1991-11-05 Dram control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3315143A JPH05128851A (en) 1991-11-05 1991-11-05 Dram control system

Publications (1)

Publication Number Publication Date
JPH05128851A true JPH05128851A (en) 1993-05-25

Family

ID=18061931

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3315143A Pending JPH05128851A (en) 1991-11-05 1991-11-05 Dram control system

Country Status (1)

Country Link
JP (1) JPH05128851A (en)

Similar Documents

Publication Publication Date Title
US7193919B2 (en) Selective bank refresh
US20060152983A1 (en) Memory device and method having low-power, high write latency mode and high-power, low write latency mode and/or independently selectable write latency
JPH04219692A (en) Memory card
JP2000021162A (en) Volatile memory and embedded dynamic random-access memory
JPH09180438A (en) Memory control device
US7536519B2 (en) Memory access control apparatus and method for accomodating effects of signal delays caused by load
JP3705276B2 (en) Refresh control and internal voltage generation in semiconductor memory devices
JPH10134569A (en) Synchronous-type dynamic random access memory
KR100831491B1 (en) Address decode
JPH05128851A (en) Dram control system
JPH0714382A (en) Microcomputer
KR100710644B1 (en) SDRAM Controller
JPH06325570A (en) Dynamic memory refresh circuit
KR0183813B1 (en) Dram refresh controller
JP3588405B2 (en) Memory controller
JP3182174B2 (en) DRAM refresh method in Neumann CPU
JPH0636558A (en) Method for refreshing dram
JP3250377B2 (en) Memory control device
JPH05101650A (en) Refreshing method for dynamic memory
JP4207905B2 (en) Refresh control and internal voltage generation in semiconductor memory devices
JP2000113667A (en) Dram device
JPH09297990A (en) Memory refresh control method and memory refresh controller
KR20000046884A (en) Device for controlling data of personal handy terminal
JPH08273354A (en) Self-refresh control circuit for dram
JPH04254985A (en) Dram controller