JPH056639Y2 - - Google Patents

Info

Publication number
JPH056639Y2
JPH056639Y2 JP1984151612U JP15161284U JPH056639Y2 JP H056639 Y2 JPH056639 Y2 JP H056639Y2 JP 1984151612 U JP1984151612 U JP 1984151612U JP 15161284 U JP15161284 U JP 15161284U JP H056639 Y2 JPH056639 Y2 JP H056639Y2
Authority
JP
Japan
Prior art keywords
input
output
refresh
signal
terminal
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.)
Expired - Lifetime
Application number
JP1984151612U
Other languages
Japanese (ja)
Other versions
JPS6168400U (en
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 filed Critical
Priority to JP1984151612U priority Critical patent/JPH056639Y2/ja
Publication of JPS6168400U publication Critical patent/JPS6168400U/ja
Application granted granted Critical
Publication of JPH056639Y2 publication Critical patent/JPH056639Y2/ja
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【考案の詳細な説明】 〈技術分野〉 本考案は、データメモリにダイナミツクRAM
を用いた制御装置に係り、詳しくはダイナミツク
RAMのリフレツシユを自動的に行うようにした
回路に関する。
[Detailed explanation of the invention] <Technical field> This invention uses dynamic RAM as data memory.
Regarding the control device using
This article concerns a circuit that automatically refreshes RAM.

〈従来技術〉 従来のこの種の制御装置として、例えば、Z−
80DMAを利用したコンピユータがある。このコ
ンピユータにおいて、データメモリとしてダイナ
ミツクRAMを使用する場合には、所定間隔ごと
にリフレツシユを行う必要がある。ところが、
DMAの場合には、命令フエツチサイクルがない
ので、リフレツシユを行うことなく連続的にアク
セスが繰り返される。従つて、入出力サイクルが
長く続いた場合にはDMAの動作を一時的に打ち
切つてリフレツシユサイクルを挿入せねばならな
い。
<Prior art> As a conventional control device of this type, for example, Z-
There is a computer that uses 80DMA. When using dynamic RAM as data memory in this computer, it is necessary to refresh the memory at predetermined intervals. However,
In the case of DMA, since there is no instruction fetch cycle, accesses are continuously repeated without refreshing. Therefore, if the input/output cycle continues for a long time, it is necessary to temporarily stop the DMA operation and insert a refresh cycle.

このため、スループツトが著しく低下し、
DMAの持つ高速性を充分生かすことができなく
なる。しかも、入出力デバイスが応答速度の遅い
ものであると、入出力サイクルが長くなつて、リ
フレツシユサイクルを自由に挿入することができ
なくなり、メモリ内容が消え去ることがあるとい
う難点があつた。
This results in a significant decrease in throughput and
You will not be able to take full advantage of the high speed that DMA has. Moreover, if the input/output device has a slow response speed, the input/output cycle becomes long, making it impossible to freely insert a refresh cycle, resulting in the problem that memory contents may be erased.

〈考案の目的〉 本考案は、上述の問題点に鑑みてなされたもの
であつて、DMAの入出力サイクル中にも自動的
にダイナミツクRAMをリフレツシユできるよう
にして、応答速度の遅い入出力デバイスに対して
もDMAが直接アクセスできるようにすることを
目的とする。
<Purpose of the invention> The present invention was devised in view of the above-mentioned problems, and it is possible to automatically refresh the dynamic RAM even during the DMA input/output cycle, thereby improving the performance of input/output devices with slow response speeds. The purpose is to allow DMA to directly access .

〈考案の構成〉 本考案は、上述の目的を達成するために、ダイ
ナミツクRAMと、入出力デバイスに対して入出
力要求信号を出力する入出力要求端子を有すると
ともに、エムワン信号を出力するエムワン出力端
子を有するDMAとを備えた制御装置において、
前記ダイナミツクRAMとDMAとの間に前記
DMAの入出力要求端子から出力される入出力要
求信号がアクテイブであつて、かつ、前記エムワ
ン出力端子から出力されるエムワン信号がノンア
クテイブであるときにのみ、システムクロツクに
応答してリフレツシユ信号を出力するリフレツシ
ユ回路を設け、このリフレツシユ回路から出力さ
れるリフレツシユ信号に基づいて入出力サイクル
中に前記ダイナミツクRAMをリフレツシユする
ようにしたものである。
<Configuration of the invention> In order to achieve the above-mentioned object, the present invention has a dynamic RAM, an input/output request terminal that outputs an input/output request signal to an input/output device, and an M1 output that outputs an M1 signal. In a control device equipped with a DMA having a terminal,
Between the dynamic RAM and DMA, the
Only when the input/output request signal outputted from the input/output request terminal of the DMA is active and the M1 signal outputted from the M1 output terminal is inactive, a refresh signal is generated in response to the system clock. The dynamic RAM is refreshed during an input/output cycle based on a refresh signal output from the refresh circuit.

〈実施例〉 以下、本考案を図面に示す実施例に基づいて詳
細に説明する。
<Example> Hereinafter, the present invention will be described in detail based on an example shown in the drawings.

第1図は、この実施例に係る制御装置の構成図
である。同図において、符号1は制御装置、2は
ダイナミツクRAM、4はDMA、6はダイナミ
ツクRAM2とDMA4との間に設けられたリフ
レツシユ回路である。
FIG. 1 is a configuration diagram of a control device according to this embodiment. In the figure, numeral 1 is a control device, 2 is a dynamic RAM, 4 is a DMA, and 6 is a refresh circuit provided between the dynamic RAM 2 and DMA 4.

上記DMA4は、ダイナミツクRAM2にメモ
リ要求信号aを出力するメモリ要求端子、
入出力デバイスに対して入出力要求信号cを出力
する入出力要求端子、システムクロツクb
を入力するクロツク入力端子Φ、マシンサイクル
時のエムワン信号eを出力するエムワン出力端子
M1とを有する。そして、各メモリ要求端子
MREQ、入出力要求端子およびエムワン出
力端子1は負論理で、ローレベルでアクテイブ
である。
The DMA 4 includes a memory request terminal that outputs a memory request signal a to the dynamic RAM 2;
An input/output request terminal that outputs an input/output request signal c to an input/output device, a system clock b
The M1 output terminal M1 outputs an M1 signal e during a machine cycle. And each memory request terminal
MREQ, input/output request terminal, and M1 output terminal 1 have negative logic and are active at low level.

また、ダイナミツクRAM2は、リフレツシユ
信号dを入力するリフレツシユ入力端子と
メモリ要求信号aを入力する入力端子とを
備えるとともに、図示省略したリフレツシユアド
レスカウンタを内蔵している。
The dynamic RAM 2 also includes a refresh input terminal for inputting a refresh signal d and an input terminal for inputting a memory request signal a, and also incorporates a refresh address counter (not shown).

リフレツシユ回路6は、本例の場合Jフリツ
プフロツプ8であつて、3つの入力端子J,,
CKの内、1つの入力端子Jがクリア端子CLRと
ともにハイレベルに設定され、他の1つの入力端
子がDMA4の入出力要求端子に接続さ
れ、またクロツク入力端子CKがDMA4のクロ
ツク入力端子Φとともにシステムクロツク端子1
0に共通に接続されている。一方、Jフリツプ
フロツプ8の2つの出力端子Q,の内、一方の
出力端子QがダイナミツクRAM2のリフレツシ
ユ入力端子に接続されている。
The refresh circuit 6 is a J flip-flop 8 in this example, and has three input terminals J, , .
One input terminal J of CK is set to high level together with the clear terminal CLR, the other input terminal is connected to the input/output request terminal of DMA4, and the clock input terminal CK is connected together with the clock input terminal Φ of DMA4. System clock terminal 1
0 in common. On the other hand, one of the two output terminals Q of the J flip-flop 8 is connected to the refresh input terminal of the dynamic RAM 2.

次に、この制御装置1のダイナミツクRAM2
に対するリフレツシユ動作について、第2図のタ
イミングチヤートを参照して説明する。ここで、
第2図のタイミングチヤートについて説明する
と、A側方向は、割り込み要求アクノリツジ中で
ないときであり、B側方向は、割り込み要求アク
ノリツジ中である。
Next, the dynamic RAM 2 of this control device 1
The refresh operation will be explained with reference to the timing chart of FIG. here,
To explain the timing chart in FIG. 2, the A side direction is when an interrupt request is not being acknowledged, and the B side direction is when an interrupt request is being acknowledged.

ここで、割り込み要求アクノリツジ中とは、
Z80DMAに通常使用されている用語であつて、
DMA4がCPUに割り込み要求し、CPUがこれを
許可することを意味するものである。
Here, the interrupt request is being acknowledged.
A term commonly used for Z80DMA,
This means that the DMA4 requests an interrupt to the CPU, and the CPU grants the request.

割り込み要求アクノリツジ中でないときは、エ
ムワン出力端子1からのエムワン信号eは、ハ
イレベルであり、割り込み要求アクノリツジ中で
あるときは、DMA4のエムワン出力端子1か
らのエムワン信号eがローレベルであるととも
に、同じくDMA4の入出力要求端子から
の入出力要求信号cがローレベルとなつている。
When an interrupt request is not being acknowledged, the M1 signal e from the M1 output terminal 1 is at a high level, and when an interrupt request is being acknowledged, the M1 signal e from the M1 output terminal 1 of the DMA 4 is at a low level. Similarly, the input/output request signal c from the input/output request terminal of the DMA 4 is at a low level.

この割り込み要求アクノリツジ中においては、
セルフリフレツシユ機能によつてダイナミツク
RAM2は、セルフリフレツシユされる。
During this interrupt request acknowledgment,
Dynamic with self-refresh function
RAM2 is self-refreshed.

DMA4が入出力デバイスとアクセスする入出
力サイクル中は、メモリ要求端子から出
力されるメモリ要求信号aは常にハイレベルなの
で、ダイナミツクRAM2の入力端子もハイ
レベルに保たれる。この状態で、入出力デバイス
に対する入出力データの読み出し、書き込みのた
めの実行入出力アドレスがアドレスバスに乗る
と、入出力要求端子から出力される入出力
要求信号cがローレベルとなり、従つて、Jフ
リツプフロツプ8の入力端子J,の内、一方の
入力端子Jがハイレベルに、他方の入力端子が
ローレベルにそれぞれ設定される。また、このと
き、エムワン出力端子1から出力されるエムワ
ン信号eは、ハイレベル、すなわち、ノンアクテ
イブである。
During the input/output cycle in which the DMA 4 accesses the input/output device, the memory request signal a output from the memory request terminal is always at a high level, so the input terminal of the dynamic RAM 2 is also kept at a high level. In this state, when the execution input/output address for reading and writing input/output data to the input/output device gets on the address bus, the input/output request signal c output from the input/output request terminal becomes low level, and therefore, Among the input terminals J of the J flip-flop 8, one input terminal J is set to a high level, and the other input terminal is set to a low level. Further, at this time, the M1 signal e output from the M1 output terminal 1 is at a high level, that is, inactive.

このため、システムクロツクbがクロツク入力
端子CKに入力されるたびに、出力端子Qからは
このシステムクロツクbの立ち上がりタイミング
に応答して反転を繰り返すリフレツシユ信号dが
出力される。
Therefore, every time the system clock b is input to the clock input terminal CK, the output terminal Q outputs a refresh signal d which repeats inversion in response to the rising timing of the system clock b.

したがつて、入出力サイクル中に入出力デバイ
スが未だDMA4とアクセスできないときには、
システムクロツクbにウエイトサイクルTwが自
動的に挿入されるが、この時にもJフリツプフ
ロツプ8からはリフレツシユ信号dが出力される
ことになる。
Therefore, if the I/O device still cannot access DMA4 during the I/O cycle,
A wait cycle Tw is automatically inserted into the system clock b, and the refresh signal d is output from the J flip-flop 8 at this time as well.

そして、このリフレツシユ信号dが、ダイナミ
ツクRAM2のリフレツシユ入力端子に与
えられる。ダイナミツクRAM2は、入力端子
RASに加わるDMA4からのメモリ要求信号aが
ハイレベルの状態の下で、リフレツシユ入力端子
RFSHにリフレツシユ信号dが入力されると、リ
フレツシユ信号dがローレベルに立ち下がるたび
にアクテイブとなつて自動的にリフレツシユがな
され、またリフレツシユ信号dがハイレベルに立
ち上がるたびにリフレツシユアドレスカウンタが
インクリメントされる。このように、ダイナミツ
クRAM2は入力されるリフレツシユ信号dがロ
ーレベルに立ち下がるたびに順次リフレツシユさ
れることになる。
This refresh signal d is then applied to the refresh input terminal of the dynamic RAM 2. Dynamic RAM2 is an input terminal
When the memory request signal a from DMA4, which is applied to RAS, is at a high level, the refresh input terminal
When the refresh signal d is input to RFSH, it becomes active and refreshes automatically every time the refresh signal d falls to low level, and the refresh address counter increments every time the refresh signal d rises to high level. be done. In this way, the dynamic RAM 2 is sequentially refreshed each time the input refresh signal d falls to a low level.

そして、本考案においては、DMA4が割り込
み要求アクノリツジ中でないときは、ダイナミツ
クRAM2は上述のようにしてリフレツシユ回路
6から与えられるリフレツシユ信号dがローレベ
ルに立ち下がるたびにリフレツシユされるが、割
り込み要求アクノリツジ中であるときには、第2
図のB側方向のようにDMA4の入出力要求端子
IORQからの入出力要求信号cとエムワン出力端
子1からのエムワン信号eとが共にローレベル
となつてJフリツプフロツプ8にそれぞれ与え
られ、しかも、このときは、Jフリツプフロツ
プ8のJ端子は常にハイレベルに設定されている
から、結局、この割り込み要求アクノリツジ中で
は、該Jフリツプフロツプ8からのリフレツシ
ユ信号dは第2図のようにハイレベルに保持され
て出力されない結果、ダイナミツクRAM2に対
するリフレツシユが停止される。
In the present invention, when the DMA 4 is not in the process of acknowledging an interrupt request, the dynamic RAM 2 is refreshed each time the refresh signal d given from the refresh circuit 6 falls to low level as described above. When it is inside, the second
DMA4 input/output request terminal as shown in the B side direction of the diagram
Both the input/output request signal c from IORQ and the M1 signal e from the M1 output terminal 1 become low level and are applied to the J flip-flop 8, and at this time, the J terminal of the J flip-flop 8 is always at a high level. Therefore, during this interrupt request acknowledgment, the refresh signal d from the J flip-flop 8 is held at a high level as shown in FIG. 2 and is not output, so that the refresh to the dynamic RAM 2 is stopped. .

なお、この割り込み要求アクノリツジ中におい
ては、上述のようにダイナミツクRAM2は、セ
ルフリフレツシユされる。
Note that during this interrupt request acknowledgment, the dynamic RAM 2 is self-refreshed as described above.

〈考案の効果〉 以上のように本考案によれば、ダイナミツク
RAMとDMAとの間に、前記DMAの入出力要求
端子から出力される入出力要求信号がアクテイブ
であつて、かつ、前記エムワン出力端子から出力
されるエムワン信号がノンアクテイブであるとき
にのみ、システムクロツクに応答してリフレツシ
ユ信号を出力するリフレツシユ回路を設け、この
リフレツシユ回路から出力されるリフレツシユ信
号に基づいて入出力サイクル中に前記ダイナミツ
クRAMを自動的にリフレツシユできるようにし
たので、応答速度の遅い入出力デバイスに対して
も、DMAに余分な負荷を加えることなく、リフ
レツシユ信号を生成できるとともに、セルフリフ
レツシユが行われる割込み要求アクノリツジ中に
は、リフレツシユ信号は出力されないので、ダイ
ナミツクRAMのリフレツシユを最適に行うこと
ができ、従来に比較して入出力デバイスに対する
適用範囲が広がるという優れた効果を奏する。
<Effects of the invention> As described above, according to the invention, the dynamic
Between the RAM and DMA, only when the input/output request signal output from the input/output request terminal of the DMA is active and the M1 signal output from the M1 output terminal is non-active, A refresh circuit that outputs a refresh signal in response to the system clock is provided, and the dynamic RAM can be automatically refreshed during the input/output cycle based on the refresh signal output from the refresh circuit, resulting in faster response times. Even for slow input/output devices, a refresh signal can be generated without adding an extra load to the DMA, and since no refresh signal is output during interrupt request acknowledgment when self-refresh is performed, dynamic RAM Refreshing can be performed optimally, and the application range for input/output devices is expanded compared to the conventional method, which is an excellent effect.

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

図面は本考案の実施例を示し、第1図は制御装
置の構成図、第2図は同装置のリフレツシユ動作
を説明するためのタイミングチヤートである。 1……制御装置、2……ダイナミツクRAM、
4……DMA、6……リフレツシユ回路。
The drawings show an embodiment of the present invention, and FIG. 1 is a block diagram of a control device, and FIG. 2 is a timing chart for explaining the refresh operation of the device. 1...Control device, 2...Dynamic RAM,
4...DMA, 6...Refresh circuit.

Claims (1)

【実用新案登録請求の範囲】 ダイナミツクRAMと、入出力デバイスに対し
て入出力要求信号を出力する入出力要求端子を有
するとともに、エムワン信号を出力するエムワン
出力端子を有するDMAとを備えた制御装置にお
いて、 前記ダイナミツクRAMとDMAとの間に前記
DMAの入出力要求端子から出力される入出力要
求信号がアクテイブであつて、かつ、前記エムワ
ン出力端子から出力されるエムワン信号がノンア
クテイブであるときにのみ、システムクロツクに
応答してリフレツシユ信号を出力するリフレツシ
ユ回路を設け、 このリフレツシユ回路から出力されるリフレツ
シユ信号に基づいて入出力サイクル中に前記ダイ
ナミツクRAMをリフレツシユすることを特徴と
する制御装置。
[Claims for Utility Model Registration] A control device equipped with a dynamic RAM and a DMA having an input/output request terminal that outputs an input/output request signal to an input/output device and an M1 output terminal that outputs an M1 signal. In this case, there is a connection between the dynamic RAM and the DMA.
Only when the input/output request signal outputted from the input/output request terminal of the DMA is active and the M1 signal outputted from the M1 output terminal is inactive, a refresh signal is generated in response to the system clock. What is claimed is: 1. A control device comprising: a refresh circuit that outputs a refresh signal; and refreshes the dynamic RAM during an input/output cycle based on a refresh signal output from the refresh circuit.
JP1984151612U 1984-10-05 1984-10-05 Expired - Lifetime JPH056639Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1984151612U JPH056639Y2 (en) 1984-10-05 1984-10-05

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1984151612U JPH056639Y2 (en) 1984-10-05 1984-10-05

Publications (2)

Publication Number Publication Date
JPS6168400U JPS6168400U (en) 1986-05-10
JPH056639Y2 true JPH056639Y2 (en) 1993-02-19

Family

ID=30709720

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1984151612U Expired - Lifetime JPH056639Y2 (en) 1984-10-05 1984-10-05

Country Status (1)

Country Link
JP (1) JPH056639Y2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58159292A (en) * 1982-03-17 1983-09-21 Hitachi Ltd Memory refreshing method
JPS5965998A (en) * 1982-10-07 1984-04-14 Mitsubishi Electric Corp Refreshing system of dynamic memory

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58159292A (en) * 1982-03-17 1983-09-21 Hitachi Ltd Memory refreshing method
JPS5965998A (en) * 1982-10-07 1984-04-14 Mitsubishi Electric Corp Refreshing system of dynamic memory

Also Published As

Publication number Publication date
JPS6168400U (en) 1986-05-10

Similar Documents

Publication Publication Date Title
JPH056639Y2 (en)
JPS6190390A (en) Controlling device
JPH07320481A (en) Refresh control circuit of storage device
JPH0668671A (en) Memory device
JPH04168543A (en) Dynamic memory control circuit
KR900004014Y1 (en) Dram refresh circuit
JPS61222091A (en) Refreshing system for dynamic memory
JPS6199996A (en) Dynamic ram controlling system
JPH0420698U (en)
JPH06325570A (en) Dynamic memory refresh circuit
JPS63191398A (en) Information processor
JPS6134791A (en) Memory refreshing control system
JPS6128320Y2 (en)
JPH0253291A (en) Semiconductor memory
JPH01224994A (en) Refreshing device for dynamic ram
JPH05303886A (en) Memory device
JPS61997A (en) Dynamic memory refresh circuit
JPS5968892A (en) Refresh system at high speed memory using dynamic ram
JPS62295091A (en) Display circuit
JPH0457286A (en) Refresh system for dram
JPH0250899U (en)
JPH04114391A (en) Refresh system for memory
JPH0322288A (en) Dynamic semiconductor storage device
JPH06332788A (en) Memory accessing method and device therefor
JPH06290104A (en) Memory controller