JPH08106782A - Dynamic ram refreshing control circuit - Google Patents

Dynamic ram refreshing control circuit

Info

Publication number
JPH08106782A
JPH08106782A JP6238723A JP23872394A JPH08106782A JP H08106782 A JPH08106782 A JP H08106782A JP 6238723 A JP6238723 A JP 6238723A JP 23872394 A JP23872394 A JP 23872394A JP H08106782 A JPH08106782 A JP H08106782A
Authority
JP
Japan
Prior art keywords
dram
signal
dynamic ram
refresh
address strobe
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
JP6238723A
Other languages
Japanese (ja)
Inventor
Masaru Tanoshita
勝 田ノ下
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.)
Fuji Facom Corp
Original Assignee
Fuji Facom 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 Fuji Facom Corp filed Critical Fuji Facom Corp
Priority to JP6238723A priority Critical patent/JPH08106782A/en
Publication of JPH08106782A publication Critical patent/JPH08106782A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To prevent the lowering of a processing speed of a microprocessor by performing a refreshing while shifting the timing for every group in the refreshing dynamic RAMs. CONSTITUTION: A control circuit comprising delay circuits 9 and 10 and logical circuits 7 and 8 is added to a DRAM controller 2 to control the reading/writing and refreshing operation of DRAMs 4-6 by an instruction from an MPU 1. The DRAMs 4-to are refreshed in order of from the DRAM 4 to the DRAM 6 continuously in sequence by setting a column address strobe signal (RAS1) signal 12 to '0' at time t12.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、電子制御装置における
ダイナミックRAMを複数のグループに分割し、グルー
プ毎に順次リフレッシュするダイナミックRAMリフレ
ッシュ制御回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dynamic RAM refresh control circuit for dividing a dynamic RAM in an electronic control unit into a plurality of groups and sequentially refreshing each group.

【0002】[0002]

【従来の技術】ダイナミックRAM(以下、DRAMと
略称する)は、記憶したデータを保持するため、定めら
れた一定周期内毎にリフレッシュ動作をさせる必要があ
る。しかし、多数のDRAMを使用している場合、全て
のDRAMを同時にリフレッシュさせると、瞬間的に消
費電流が大きくなり、回路に供給される電源電圧やグラ
ンドレベルが不安定となり、誤動作の原因となる。この
ため、従来技術では全てのDRAMのリフレッシュを同
時に行わないで、DRAMを複数のグループに分け、グ
ループごとにリフレッシュを行う様にしている。
2. Description of the Related Art A dynamic RAM (hereinafter, abbreviated as DRAM) holds stored data, so that it is necessary to perform a refresh operation within a predetermined fixed period. However, when a large number of DRAMs are used, if all the DRAMs are refreshed at the same time, the current consumption will momentarily increase and the power supply voltage and the ground level supplied to the circuit will become unstable, causing malfunctions. . Therefore, in the conventional technique, all the DRAMs are not refreshed at the same time, but the DRAMs are divided into a plurality of groups and refreshed for each group.

【0003】図5はDRAMを多数使用している一般的
な電子制御装置の構成を示すブロック線図であり、図6
は従来技術によるリフレッシュ動作のタイムチャートで
ある。図5において、電子制御装置は、この電子装置全
体の制御を司るマイクロプロセッサ(以下、マイクロプ
ロセッサをMPUと略称する)1と、複数(図示例では
3つ)のグループに分割されたDRAM(4〜6)と、
これらのDRAMを制御するDRAMコントローラ2
と、これらのMPU1とDRAM(4〜6)とDRAM
コントローラ2との間をバス接続する内部バス3と、か
ら構成される。
FIG. 5 is a block diagram showing the structure of a general electronic control unit using a large number of DRAMs.
3 is a time chart of a refresh operation according to a conventional technique. In FIG. 5, the electronic control unit includes a microprocessor (hereinafter, microprocessor is abbreviated as MPU) 1 that controls the entire electronic device, and a DRAM (4 in the illustrated example) divided into groups (4). ~ 6),
DRAM controller 2 for controlling these DRAMs
And these MPU1 and DRAM (4-6) and DRAM
The internal bus 3 is connected to the controller 2 by a bus.

【0004】図6は従来技術によるリフレッシュ動作の
タイミング関係を示し、横軸に時間軸をとり、縦軸上段
に、DRAM(4〜6)へのアクセスモードを図示し、
縦軸下段に、DRAM(4〜6)をリフレッシュすると
きのリフレッシュ期間(R4〜R6)部分を拡大図示し、D
RAM(4〜6)のリフレッシュのタイミングの関係を
説明するものである。図6において、縦軸上段は、1リ
フレッシュ周期(t41〜t71)をDRAM(4〜6)がグル
ープ毎に分割されたグループ数に分割し、期間Aで示さ
れるMPU1によるDRAM(4〜6)へのアクセス期
間の間に、R4,R5,R6で示されるグループ毎に分割された
DRAM(4〜6)のリフレッシュ期間が挿入されてい
る。図示例では、期間(t43〜t51)、(t53〜t61)、(t63〜
t71)が期間Aに相当し、MPU1による電子制御装置と
しての本来の制御を行うためのメモリアクセス可能期間
である。また、R4,R5,R6で示される期間(t41〜t43)、(t
51〜t53)、(t61〜t63)が、グループ毎に分割されたDR
AM4、DRAM5、DRAM6のリフレッシュ期間で
ある。DRAM(4〜6)のリフレッシュ周期は、例え
ば、DRAM4のリフレッシュ期間R4からリフレッシュ
期間R5、R6を経て、次のリフレッシュ期間R4が相当し、
このリフレッシュ周期(t41〜t71)が、定められた一定周
期内毎(例えば、2ms程度) にリフレッシュ動作が行わ
れる。
FIG. 6 shows the timing relationship of a refresh operation according to the prior art, in which the horizontal axis represents the time axis and the vertical axis represents the access mode to the DRAM (4 to 6).
The lower part of the vertical axis shows an enlarged view of the refresh period (R4 to R6) when refreshing the DRAM (4 to 6), and D
The relationship between the refresh timings of the RAMs (4 to 6) will be described. In FIG. 6, the upper part of the vertical axis divides one refresh cycle (t41 to t71) into the number of groups obtained by dividing the DRAM (4 to 6) into groups, and the DRAM (4 to 6) by the MPU 1 shown in the period A. The refresh period of the DRAMs (4 to 6) divided into groups represented by R4, R5, and R6 is inserted during the access period to. In the illustrated example, the periods (t43 to t51), (t53 to t61), (t63 to
t71) corresponds to the period A and is a memory accessible period for performing the original control of the MPU 1 as the electronic control unit. Also, the period (t41 to t43) indicated by R4, R5, and R6, (t
51-t53), (t61-t63) are divided into DRs for each group
This is the refresh period of AM4, DRAM5, and DRAM6. The refresh period of the DRAMs (4 to 6) corresponds to, for example, the refresh period R4 of the DRAM 4 through the refresh periods R5 and R6 to the next refresh period R4,
This refresh cycle (t41 to t71) is refreshed every predetermined fixed cycle (for example, about 2 ms).

【0005】図6の縦軸下段は、リフレッシュ動作期間
を拡大図示したもので、説明の簡単化のため、R4で示さ
れるDRAM4のリフレッシュ期間(t41〜t43)を中心に
説明する。DRAM4のリフレッシュ動作の制御は、後
述するストローブ制御入力端子、バーCAS(column addre
ss strobe)およびバーRAS(row address strobe) に"0"
入力を加えることによりアクティブになる。即ち、時刻
t41 でDRAM4のバーCAS 端子に加える列アドレスス
トローブ信号CAS を"0" にし、時刻t42 でバーRAS 端子
に加える行アドレスストローブ信号RAS を"0" にする。
The lower part of the vertical axis of FIG. 6 is an enlarged view of the refresh operation period. For the sake of simplicity, the refresh period (t41 to t43) of the DRAM 4 indicated by R4 will be mainly described. The refresh operation of the DRAM 4 is controlled by a strobe control input terminal, a bar CAS (column addre) which will be described later.
"0" in ss strobe) and bar RAS (row address strobe)
Activated by adding input. That is, the time
At t41, the column address strobe signal CAS applied to the bar CAS pin of DRAM4 is set to "0", and at time t42, the row address strobe signal RAS applied to the bar RAS pin is set to "0".

【0006】列アドレスストローブ信号CAS を"0" にす
ることにより、列アドレスの取込みを制御するととも
に、列デコーダ、出力バッファ、データ入力回路などが
制御され、行アドレスストローブ信号RAS を"0" にする
ことにより、行アドレスの取込みを制御するとともに、
行デコーダ、センスアンプが制御される。即ち、DRA
M4のメモリ内容は、メモリアクセスモード信号をリフ
レッシュに設定し、上述の列・行アドレスストローブ信
号CAS 、RAS を"0" にすることにより、期間(t42〜t43)
の間でDRAM4をリフレッシュすることができる。
By setting the column address strobe signal CAS to "0", the column address fetch is controlled, the column decoder, the output buffer, the data input circuit, etc. are controlled, and the row address strobe signal RAS is set to "0". By controlling the fetching of the row address,
The row decoder and sense amplifier are controlled. That is, DRA
The memory contents of M4 are set for the period (t42 to t43) by setting the memory access mode signal to refresh and setting the above-mentioned column / row address strobe signals CAS and RAS to "0".
The DRAM 4 can be refreshed in the meantime.

【0007】同様に、R5、R6で示されるDRAM5、6
のリフレッシュも、列・行アドレスストローブ信号CAS
、RAS を"0" にすることにより、期間(t52〜t53)の間
でDRAM5を、期間(t62〜t63)の間でDRAM6をリ
フレッシュすることができる。
Similarly, DRAMs 5 and 6 designated by R5 and R6
Refreshing the column / row address strobe signal CAS
, RAS to "0", the DRAM 5 can be refreshed during the period (t52 to t53) and the DRAM 6 can be refreshed during the period (t62 to t63).

【0008】[0008]

【発明が解決しようとする課題】上述の従来技術では、
複数のDRAMの内リフレッシュ動作を同時に行うDR
AMのグループを複数組に分割すると、予め定められた
1リフレッシュ周期内に実施すべきリフレッシュ期間
は、DRAMを複数グループに分割した数だけ倍率的に
増加する。1リフレッシュ周期内に占めるリフレッシュ
期間の増加は、電子制御装置として、MPUからの通常
のアクセス動作ができる時間の減少となり、MPUの処
理速度が落ちる欠点がある。
In the above-mentioned prior art,
DR for simultaneously performing refresh operations in multiple DRAMs
When the AM group is divided into a plurality of groups, the refresh period that should be executed within one predetermined refresh cycle is multiplied by the number obtained by dividing the DRAM into a plurality of groups. An increase in the refresh period occupied in one refresh cycle results in a decrease in the time during which the MPU can perform a normal access operation as an electronic control device, and there is a drawback that the processing speed of the MPU is reduced.

【0009】本発明は上記の点にかんがみてなされたも
のであり、その目的は前記した課題を解決して、DRA
Mを複数グループに分割した数が増加しても、1リフレ
ッシュ周期内に実施しなければならない、全DRAMの
リフレッシュ期間の増加を最小限度に止め、MPUの処
理速度の低下を防止するダイナミックRAMリフレッシ
ュ制御回路を提供することにある。
The present invention has been made in view of the above points, and an object thereof is to solve the above-mentioned problems and to provide a DRA.
Even if the number of divisions of M into a plurality of groups increases, a dynamic RAM refresh that must be performed within one refresh cycle and that minimizes the increase in the refresh period of all DRAMs and prevents the processing speed of the MPU from decreasing. It is to provide a control circuit.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に、本発明においては、マイクロプロセッサと、複数の
ダイナミックRAMと、マイクロプロセッサからの命令
に基づきダイナミックRAMの読書き動作やリフレッシ
ュ動作を制御するDRAMコントローラと、からなる電
子制御装置のダイナミックRAMリフレッシュ制御回路
において、電子制御装置は、複数のグループに分割され
たダイナミックRAMを備え、DRAMコントローラ
は、複数のグループに分割されたダイナミックRAMを
リフレッシュするとき、各々のグループのダイナミック
RAMごとに行アドレスストローブ信号がアクティブに
なるタイミングを順次ずらす遅延回路と論理回路とから
なる遅延手段を備えるものとする。
In order to achieve the above object, in the present invention, a microprocessor, a plurality of dynamic RAMs, and a read / write operation and a refresh operation of the dynamic RAM are controlled based on an instruction from the microprocessor. In the dynamic RAM refresh control circuit of an electronic control device, the electronic control device includes a dynamic RAM divided into a plurality of groups, and the DRAM controller refreshes the dynamic RAM divided into a plurality of groups. At this time, each dynamic RAM of each group is provided with a delay circuit including a delay circuit and a logic circuit for sequentially shifting the timing at which the row address strobe signal becomes active.

【0011】また、複数のグループに分割されたDRA
Mをリフレッシュするとき、DRAMコントローラにア
クセスモード信号でリフレッシュ動作を知らせ、全DR
AMの列アドレスストローブ信号をアクティブにし、次
に、行アドレスストローブ信号をアクティブにし、この
行アドレスストローブ信号をアクティブにすることによ
り、遅延手段により順次DRAMをリフレッシュするも
のとする。
Further, the DRA divided into a plurality of groups
When refreshing M, notify the DRAM controller of the refresh operation by the access mode signal, and
It is assumed that the column address strobe signal of AM is activated, the row address strobe signal is activated, and the row address strobe signal is activated, so that the DRAM is sequentially refreshed by the delay means.

【0012】[0012]

【作用】上記構成手段により、DRAMコントローラ
は、複数のグループに分割されたDRAMをリフレッシ
ュするとき、各グループ毎にDRAMに入力される行ア
ドレスストローブ信号がアクティブになるタイミングを
順次ずらす遅延回路と論理回路とからなる遅延手段を備
えることにより、次の手順で全DRAMのリフレッシュ
制御を行うことができる。
With the above-mentioned configuration means, the DRAM controller, when refreshing the DRAM divided into a plurality of groups, sequentially delays the timing at which the row address strobe signal input to the DRAM becomes active for each group and a logic circuit. By providing the delay means including a circuit, refresh control of all DRAMs can be performed in the following procedure.

【0013】まず、複数のグループに分割されたDRA
Mをリフレッシュするとき、DRAMコントローラにア
クセスモード信号でリフレッシュ動作を知らせ、全DR
AMの列アドレスストローブ信号をアクティブにする。
次に、行アドレスストローブ信号をアクティブにする。
この行アドレスストローブ信号をアクティブにすること
により、最初のDRAMをリフレッシュし、続いて、上
記遅延手段によりこの最初のDRAMをリフレッシュす
る時間経過後、次のDRAMをリフレッシュし、以下順
次全DRAMをリフレッシュすることができる。
First, the DRA divided into a plurality of groups
When refreshing M, notify the DRAM controller of the refresh operation by the access mode signal, and
The column address strobe signal of AM is activated.
Next, the row address strobe signal is activated.
By activating this row address strobe signal, the first DRAM is refreshed, then, after the elapse of the time for refreshing the first DRAM by the delay means, the next DRAM is refreshed, and then all the DRAMs are sequentially refreshed. can do.

【0014】[0014]

【実施例】図1は本発明による一実施例のDRAMコン
トローラに付加される遅延手段のブロック回路図、図2
は図1の遅延手段の内に使用する論理回路の真理値対応
図、図3は実施例によるリフレッシュ動作時のタイミン
グチャート、図4は1リフレッシュ周期中のタイムチャ
ートであり、図5、図6に対応する同一機能部材には同
じ符号が付してある。
1 is a block circuit diagram of a delay means added to a DRAM controller according to an embodiment of the present invention, FIG.
Is a truth value correspondence diagram of a logic circuit used in the delay means of FIG. 1, FIG. 3 is a timing chart at the time of refresh operation according to the embodiment, FIG. 4 is a time chart during one refresh cycle, and FIGS. The same functional members corresponding to are given the same reference numerals.

【0015】図1の実施例は、3組のグループに分割さ
れたDRAM(4〜6)のリフレッシュ動作を行うDR
AMコントローラ2に付加される遅延手段のブロック回
路図であり、以下、特に断らなければ、3組のグループ
分割数で説明する。図1において、MPU1からの命令
によりDRAM(4〜6)の読書き動作やリフレッシュ
動作を制御するDRAMコントローラ2は、遅延回路
9、10と、図2の真理値対応図に示される論理特性を有
する論理回路7、8と、からなる制御回路が付加されて
構成される。
The embodiment shown in FIG. 1 is a DR for refreshing DRAMs (4 to 6) divided into three groups.
FIG. 3 is a block circuit diagram of a delay unit added to the AM controller 2, and hereinafter, unless otherwise specified, description will be made by using three sets of group division numbers. In FIG. 1, the DRAM controller 2 that controls the read / write operation and the refresh operation of the DRAM (4 to 6) by the instruction from the MPU 1 has delay circuits 9 and 10 and the logical characteristics shown in the truth value correspondence diagram of FIG. A control circuit composed of the logic circuits 7 and 8 is added.

【0016】また、この電子制御装置のDRAMは、D
RAM4,DRAM5,DRAM6の3つに分割され、
各々、バーCAS 端子とバーRAS 端子とを備えている。D
RAM(4〜6)のバーCAS 端子は、並列に接続され、
列アドレスストローブ信号(CAS) 信号11が入力される。
DRAM4のバーRAS 端子は、行アドレスストローブ信
号(RAS1)信号12が入力され、この(RAS1)信号12は同時に
遅延回路9および論理回路7、8の入力端子Aに入力さ
れる。遅延回路9の出力信号は論理回路7の入力端子B
および遅延回路10に入力され、この遅延回路10の出力信
号は論理回路8の入力端子Bに入力される。
Further, the DRAM of this electronic control unit is
RAM4, DRAM5, DRAM6 is divided into three,
Each has a bar CAS terminal and a bar RAS terminal. D
RAM (4-6) bar CAS terminals are connected in parallel,
A column address strobe signal (CAS) signal 11 is input.
A row address strobe signal (RAS1) signal 12 is input to the bar RAS terminal of the DRAM 4, and this (RAS1) signal 12 is simultaneously input to the delay circuit 9 and the input terminals A of the logic circuits 7 and 8. The output signal of the delay circuit 9 is the input terminal B of the logic circuit 7.
And the delay circuit 10, and the output signal of the delay circuit 10 is input to the input terminal B of the logic circuit 8.

【0017】論理回路7、8の入力端子Dは、DRAM
(4〜6)の動作モードを読書き動作またはリフレッシ
ュ動作に制御するアクセスモード信号13が入力され、論
理回路7の出力端子Eは、DRAM5の行アドレススト
ローブ信号として(RAS2X)信号16をDRAM5のバーRA
S 端子に入力される。同様に、論理回路8の出力端子E
は、DRAM6の行アドレスストローブ信号として(RA
S3X)信号17をDRAM6のバーRAS 端子に入力される。
また、論理回路7、8の入力端子Cは、DRAM5、6
の読書き動作時に使用する行アドレスストローブ信号(R
AS2)信号14および(RAS3)信号15が各々該当する入力端子
Cに入力される。
The input terminal D of the logic circuits 7 and 8 is a DRAM.
The access mode signal 13 for controlling the read / write operation or the refresh operation in the operation modes (4 to 6) is input, and the output terminal E of the logic circuit 7 outputs the (RAS2X) signal 16 of the DRAM 5 as the row address strobe signal of the DRAM 5. Bar RA
Input to S terminal. Similarly, the output terminal E of the logic circuit 8
As a row address strobe signal of the DRAM 6 (RA
The S3X) signal 17 is input to the bar RAS terminal of DRAM6.
The input terminals C of the logic circuits 7 and 8 are connected to the DRAMs 5 and 6 respectively.
Row address strobe signal (R
The AS2) signal 14 and the (RAS3) signal 15 are input to the corresponding input terminals C, respectively.

【0018】かかる構成において、この遅延手段の動作
を説明する。まず、図2で論理回路7、8の真理値対応
図を説明する。図2において、入力(A〜D)欄の
"0"、"1" の値に対応した出力値がE欄に出力される。
また、入力値Xは、Xの記号が記載された箇所の "0"、
"1" の値に無関係に出力値が定まり、この結果がE欄に
出力される。論理回路7、8の入力端子Dに、DRAM
(4〜6)を読書き動作で使用するアクセスモード信号
13が "0"のとき、出力Eは論理回路7、8の入力端子C
に入力された値と同じ値が出力される。即ち、アクセス
モード信号13が "0"でDRAM(4〜6)を読書き動作
で使用するとき、行アドレスストローブ信号(RAS1)信号
12、(RAS2)信号14、(RAS3)信号15は直接該当するDRA
M(4〜6)のバーRAS 端子に入力され、該当するDR
AMをアクティブとし、必要な読書き動作の制御を行
う。
The operation of the delay means having the above structure will be described. First, a truth value correspondence diagram of the logic circuits 7 and 8 will be described with reference to FIG. In FIG. 2, in the input (A to D) columns
The output value corresponding to the value of "0" or "1" is output to the E column.
Also, the input value X is "0" at the place where the symbol X is written,
The output value is determined regardless of the value of "1", and the result is output to the E column. A DRAM is connected to the input terminals D of the logic circuits 7 and 8.
Access mode signal using (4-6) in read / write operation
When 13 is "0", the output E is the input terminal C of the logic circuits 7 and 8.
The same value that is input to is output. That is, when the access mode signal 13 is "0" and the DRAM (4 to 6) is used in the read / write operation, the row address strobe signal (RAS1) signal
12, (RAS2) signal 14, (RAS3) signal 15 directly correspond to DRA
It is input to the bar RAS terminal of M (4 to 6) and the corresponding DR
The AM is activated and necessary read / write operations are controlled.

【0019】次に、論理回路7、8の入力端子Dに、D
RAM(4〜6)をリフレッシュ動作で使用するアクセ
スモード信号13が "1"のとき、出力Eは各論理回路7、
8の入力端子A,Bの論理和が出力される。即ち、アク
セスモード信号13が "1"のときは、論理回路7、8の入
力端子Cに入力される(RAS2)信号14、(RAS3)信号15とは
無関係な制御動作を行う。
Next, at the input terminals D of the logic circuits 7 and 8, D
When the access mode signal 13 which uses the RAM (4 to 6) in the refresh operation is "1", the output E is the logic circuit 7,
The logical sum of the eight input terminals A and B is output. That is, when the access mode signal 13 is "1", the control operation is performed regardless of the (RAS2) signal 14 and (RAS3) signal 15 input to the input terminals C of the logic circuits 7 and 8.

【0020】リフレッシュ動作を図1、図3を併用して
説明する。アクセスモード信号13を"1" とし、列アドレ
スストローブ信号(CAS) 信号11を時刻t11 で"0" にセッ
トする。この状態で、DRAM(4〜6)は、列アドレ
スの取込みを制御すると共に、列デコーダ、出力バッフ
ァ、データ入力回路などが制御される。DRAMメモリ
の種類で定まる所定の時間経過後、時刻t12 で、行アド
レスストローブ信号(RAS1)信号12を "0"にセットする。
(RAS1)信号12はDRAM4をアクセスし、DRAM4は
直ちにリフレッシュ動作を開始し、時刻t13 までにリフ
レッシュ動作を完了する。時刻t12 で、行アドレススト
ローブ信号"0" がセットされた(RAS1)信号12は、遅延回
路9を介してΔT の時間遅延して、時刻t13 で論理回路
7の入力端子Bに信号値 "1"から"0" の変化が生じる。
この信号変化を受け、論理回路7の出力端子Eに(RAS2
X) 信号16の信号値が"1" から"0" に変化し、DRAM
5のリフレッシュ動作が開始する。さらにΔT の時間経
過後、時刻t14 では遅延回路10の出力が変化し、論理回
路8の入力端子Bに信号値 "1"から"0" の変化が生じ
る。この信号変化を受け、論理回路8の出力端子Eに(R
AS3X) 信号17の信号値が"1" から"0" に変化し、DRA
M6のリフレッシュ動作が開始する。即ち、時刻t12
で、行アドレスストローブ信号(RAS1)信号12を "0"のセ
ットすることにより、DRAM(4〜6)は、順次、D
RAM4からDRAM5、DRAM6までのリフレッシ
ュ処理を継続して実行する。
The refresh operation will be described with reference to FIGS. The access mode signal 13 is set to "1", and the column address strobe signal (CAS) signal 11 is set to "0" at time t11. In this state, the DRAMs (4 to 6) control fetching of column addresses, and also control column decoders, output buffers, data input circuits, and the like. The row address strobe signal (RAS1) signal 12 is set to "0" at time t12 after a predetermined time determined by the type of DRAM memory has elapsed.
The (RAS1) signal 12 accesses the DRAM 4, and the DRAM 4 immediately starts the refresh operation and completes the refresh operation by time t13. At time t12, the row address strobe signal “0” (RAS1) signal 12 is delayed by ΔT via the delay circuit 9 and the signal value “1” is input to the input terminal B of the logic circuit 7 at time t13. The change from "to" 0 "occurs.
In response to this signal change, the output terminal E of the logic circuit 7 (RAS2
X) The signal value of signal 16 changes from "1" to "0", and the DRAM
Refresh operation 5 starts. Further, after the elapse of ΔT, the output of the delay circuit 10 changes at time t14, and the signal value "1" changes to "0" at the input terminal B of the logic circuit 8. In response to this signal change, (R
AS3X) The signal value of signal 17 changes from "1" to "0", and DRA
The refresh operation of M6 starts. That is, time t12
Then, by setting the row address strobe signal (RAS1) signal 12 to "0", the DRAMs (4 to 6) are sequentially set to D
The refresh process from the RAM 4 to the DRAM 5 and the DRAM 6 is continuously executed.

【0021】図4はこのときの1リフレッシュ周期中の
タイムチャートを示したものであり、Rで図示される時
刻t11 からt15 のリフレッシュ期間で、分割されたグル
ープDRAM(4〜6)ごとにタイミングをずらして行
アドレスストローブ信号(RAS) 信号をアクティブにする
ことにより、全DRAM(4〜6)のフレッシュ処理を
行い、残りの期間(t15〜t21)をMPU1からのアクセス
可能期間にできる。
FIG. 4 shows a time chart in one refresh cycle at this time. In the refresh period from time t11 to time t15 shown by R, the timing is given for each divided group DRAM (4 to 6). By shifting the row address strobe signal (RAS) signal to be active, all the DRAMs (4 to 6) are refreshed, and the remaining period (t15 to t21) can be made accessible by the MPU 1.

【0022】本発明によれば、図3に示される様に、時
刻t11 で(CAS) 信号11を"0" にセットし、列アドレスス
トローブ信号をアクティブにし、続いて時刻t12 で(RAS
1)信号12を"0" にセットすれば、順次タイミングをずら
しながら行アドレスストローブ信号がアクティブになる
ので、行アドレスストローブ信号をアクティブにするま
での待機期間が、複数のグループに分割されたDRAM
を有しても、最初の1回だけで済む。複数のグループに
分割された数だけのDRAMをリフレッシュする正味時
間ΔT はやむを得ないものであるが、通常このリフレッ
シュ正味時間ΔT は、前述のメモリへのアクセス時間
(待機期間)に較べて短くて済むので、MPU1の処理
速度の低下を防止することができる。
According to the present invention, as shown in FIG. 3, the (CAS) signal 11 is set to "0" at time t11 to activate the column address strobe signal, and then at time t12 (RAS).
1) If the signal 12 is set to "0", the row address strobe signal becomes active while sequentially shifting the timing, so the waiting period until the row address strobe signal becomes active is divided into multiple groups of DRAMs.
Even if you have, you only have to do the first time. The net time ΔT for refreshing only the number of DRAMs divided into a plurality of groups is unavoidable, but this refresh net time ΔT is usually shorter than the above-mentioned memory access time (waiting period). Therefore, it is possible to prevent the processing speed of the MPU 1 from decreasing.

【0023】また、図1の図示例では、DRAMをグル
ープに分割したグループ数を3組で説明したが、分割し
たグループ数が n組のときは、9、10で図示される遅延
回路の個数を (n-1)組、7、8で図示される論理回路の
個数を (n-1)組備えることで本発明の遅延手段を構成す
ることができる。
In the example shown in FIG. 1, the DRAM is divided into groups, and the number of groups is three. However, when the number of divided groups is n, the number of delay circuits 9 and 10 is shown. (N-1) sets, and (n-1) sets of the number of logic circuits shown by 7 and 8 are provided, whereby the delay means of the present invention can be configured.

【0024】[0024]

【発明の効果】以上述べたように本発明によれば、多数
のダイナミックRAMを備える電子制御装置のダイナミ
ックRAMを、複数のグループに分割し、このダイナミ
ックRAMのリフレシュ時、グループごとにタイミング
をずらしてリフレッシュを行うことにより、電子制御装
置内に瞬間的に大きな消費電流が流れることを防止しつ
つ、1リフレッシュ周期内に実施しなければならない、
全DRAMのリフレッシュ期間の増加を最小限度に止
め、マイクロプロセッサの処理速度の低下を防止するこ
とができる。
As described above, according to the present invention, the dynamic RAM of the electronic control unit having a large number of dynamic RAMs is divided into a plurality of groups, and the timing of each group is shifted when the dynamic RAM is refreshed. By performing refreshing in this manner, it is necessary to prevent a momentary large consumption current from flowing in the electronic control unit and to perform the refreshing within one refresh cycle.
It is possible to minimize the increase in the refresh period of all DRAMs and prevent the decrease in the processing speed of the microprocessor.

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

【図1】本発明による一実施例のDRAMコントローラ
に付加される遅延手段のブロック回路図
FIG. 1 is a block circuit diagram of a delay means added to a DRAM controller according to an embodiment of the present invention.

【図2】図1の遅延手段の内に使用する論理回路の真理
値対応図
FIG. 2 is a truth value correspondence diagram of a logic circuit used in the delay means of FIG.

【図3】実施例によるリフレッシュ動作時のタイミング
チャート
FIG. 3 is a timing chart during a refresh operation according to the embodiment.

【図4】1リフレッシュ周期中のタイムチャートFIG. 4 is a time chart during one refresh cycle.

【図5】DRAMを多数使用している一般的な電子制御
装置のブロック線図
FIG. 5 is a block diagram of a general electronic control unit using many DRAMs.

【図6】従来技術によるリフレッシュ動作のタイムチャ
ート
FIG. 6 is a time chart of a refresh operation according to a conventional technique.

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

1 MPU 2 DRAMコントローラ 3 内部バス 4〜6 DRAM 7、8 論理回路 9、10 遅延回路 11 CAS 信号 12 RAS1信号 13 アクセスモード信号 14 RAS2信号 15 RAS3信号 16 RAS2X 信号 17 RAS3X 信号 A MPUのアクセス期間 R DRAM4、5、6のリフレッシュ期間 R4 DRAM4のリフレッシュ期間 R5 DRAM5のリフレッシュ期間 R6 DRAM6のリフレッシュ期間 t11 〜t73 時刻 1 MPU 2 DRAM controller 3 Internal bus 4 to 6 DRAM 7, 8 Logic circuit 9, 10 Delay circuit 11 CAS signal 12 RAS1 signal 13 Access mode signal 14 RAS2 signal 15 RAS3 signal 16 RAS2X signal 17 RAS3X signal A MPU access period R Refresh period of DRAMs 4, 5 and 6 R4 Refresh period of DRAM 4 R5 Refresh period of DRAM 5 R6 Refresh period of DRAM 6 t11 to t73 Time

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】マイクロプロセッサと、複数のダイナミッ
クRAMと、前記マイクロプロセッサからの命令に基づ
き前記ダイナミックRAMの読書き動作やリフレッシュ
動作を制御するDRAMコントローラと、からなる電子
制御装置のダイナミックRAMリフレッシュ制御回路に
おいて、 電子制御装置は、複数のグループに分割されたダイナミ
ックRAMを備え、 DRAMコントローラは、 前記複数のグループに分割されたダイナミックRAMを
リフレッシュするとき、各々のグループのダイナミック
RAMごとに行アドレスストローブ信号がアクティブに
なるタイミングを順次ずらす遅延回路と論理回路とから
なる遅延手段を備える、 ことを特徴とするダイナミックRAMリフレッシュ制御
回路。
1. A dynamic RAM refresh control for an electronic control device comprising a microprocessor, a plurality of dynamic RAMs, and a DRAM controller for controlling read / write operations and refresh operations of the dynamic RAM based on instructions from the microprocessor. In the circuit, the electronic control device includes a dynamic RAM divided into a plurality of groups, and the DRAM controller refreshes the dynamic RAM divided into the plurality of groups, and a row address strobe for each dynamic RAM of each group. A dynamic RAM refresh control circuit, comprising: a delay circuit including a delay circuit that sequentially shifts the timing at which a signal becomes active and a logic circuit.
【請求項2】請求項1に記載のダイナミックRAMリフ
レッシュ制御回路において、 複数のグループに分割されたDRAMをリフレッシュす
るとき、 DRAMコントローラにアクセスモード信号でリフレッ
シュ動作を知らせ、 全DRAMの列アドレスストローブ信号をアクティブに
し、 次に、行アドレスストローブ信号をアクティブにし、こ
の行アドレスストローブ信号をアクティブにすることに
より、前記遅延手段により順次DRAMをリフレッシュ
する、 ことを特徴とするダイナミックRAMリフレッシュ制御
回路。
2. The dynamic RAM refresh control circuit according to claim 1, wherein when refreshing a DRAM divided into a plurality of groups, a DRAM controller is informed of a refresh operation by an access mode signal, and a column address strobe signal for all DRAMs. Is activated, then the row address strobe signal is activated, and the row address strobe signal is activated, whereby the DRAM is sequentially refreshed by the delay means, and the dynamic RAM refresh control circuit is characterized.
JP6238723A 1994-10-03 1994-10-03 Dynamic ram refreshing control circuit Pending JPH08106782A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6238723A JPH08106782A (en) 1994-10-03 1994-10-03 Dynamic ram refreshing control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6238723A JPH08106782A (en) 1994-10-03 1994-10-03 Dynamic ram refreshing control circuit

Publications (1)

Publication Number Publication Date
JPH08106782A true JPH08106782A (en) 1996-04-23

Family

ID=17034308

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6238723A Pending JPH08106782A (en) 1994-10-03 1994-10-03 Dynamic ram refreshing control circuit

Country Status (1)

Country Link
JP (1) JPH08106782A (en)

Similar Documents

Publication Publication Date Title
US7349277B2 (en) Method and system for reducing the peak current in refreshing dynamic random access memory devices
US8369168B2 (en) Devices and system providing reduced quantity of interconnections
US20060143372A1 (en) Directed auto-refresh synchronization
US6973008B2 (en) Apparatus for flexible deactivation of word lines of dynamic memory modules and method therefor
JPH0325870B2 (en)
JPH04243085A (en) Semiconductor storage device
JPS63155494A (en) Pseudo static memory device
US20030007407A1 (en) Semiconductor memory device, method for controlling same, and electronic information apparatus
JPS59140694A (en) Refresh method of dynamic ram
WO1998018130A1 (en) Intelligent refresh controller for dynamic memory devices
US5235691A (en) Main memory initializing system
US7778103B2 (en) Semiconductor memory device for independently selecting mode of memory bank and method of controlling thereof
JPH08106782A (en) Dynamic ram refreshing control circuit
JP4225223B2 (en) Memory control apparatus and method
JPH0660647A (en) Semiconductor storage system
JPH04153984A (en) Method for controlling dynamic memory
JPH05101650A (en) Refreshing method for dynamic memory
JPH0525331B2 (en)
JP3314395B2 (en) Memory controller
JPH0528760A (en) Semiconductor memory
KR0161471B1 (en) Page mode method for dram
JPH05282858A (en) Semiconductor memory device
JPH04274082A (en) Semiconductor memory device
JPH0279290A (en) Memory refreshing circuit
JPH04364295A (en) Dynamic ram control circuit device