JPH01290192A - Refresh control system for d-ram - Google Patents

Refresh control system for d-ram

Info

Publication number
JPH01290192A
JPH01290192A JP63119168A JP11916888A JPH01290192A JP H01290192 A JPH01290192 A JP H01290192A JP 63119168 A JP63119168 A JP 63119168A JP 11916888 A JP11916888 A JP 11916888A JP H01290192 A JPH01290192 A JP H01290192A
Authority
JP
Japan
Prior art keywords
refresh
cpu
access
request signal
signal
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
JP63119168A
Other languages
Japanese (ja)
Other versions
JP2691560B2 (en
Inventor
Yasufumi Uchiyama
靖文 内山
Masaru Kawarasaki
河原崎 優
Junichi Shirai
潤一 白井
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.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP63119168A priority Critical patent/JP2691560B2/en
Publication of JPH01290192A publication Critical patent/JPH01290192A/en
Application granted granted Critical
Publication of JP2691560B2 publication Critical patent/JP2691560B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Storing Facsimile Image Data (AREA)
  • Dram (AREA)

Abstract

PURPOSE:To simplify circuit constitution by selectively determining priority with being matched to a device in an access requesting signal oscillating side when the refresh operation of a CPU and a memory access request compete. CONSTITUTION:When an access requesting signal P1 and a refresh requesting signal P3 of the CPU compete, the refresh operation is executed with the priority. In such a case, since the access of the CPU is executed on the basis of program control, it is easy to delay the access requesting signal P1 and to interrupt the signal to the idle time of the refresh. On the other hand, since the dynamic memory access operation of the device is a kind of a high speed transferring work to be executed by a hardware, to which the CPU is not related, on the basis of exclusive direct access control, etc., the memory access operation can be enough executed in the necessary cycle of the refresh. Thus, the circuit constitution can be simplified.

Description

【発明の詳細な説明】 1゛産業上の利用分野」 本発明はダイナミックメモリ(以下D−RAMという)
のリフレッシュ制御方式に係り、特にD−RAMのリフ
レッシュ要求信号と、CPU及びCPu以外のアクセス
要求信号とが夫々非同期に発振されている装器における
D−RAMのリフレッシュ制御方式に関する。
[Detailed Description of the Invention] 1. Field of Industrial Application The present invention relates to dynamic memory (hereinafter referred to as D-RAM).
In particular, the present invention relates to a D-RAM refresh control method in a device in which a D-RAM refresh request signal and access request signals for a CPU and a device other than CPU are respectively oscillated asynchronously.

「従来の技術」 従来より、高速プリンタその他の制御システムに使用さ
れるメモリには、高集積密度で且つ消費電力の少ないD
−RAMが多く用いられているが、ローRAMはゲート
のストレーキャパシティを利用して電荷を蓄積する構成
を採る為に、リーク電流等によって前記電荷が時間とと
もに消失してしまう。
``Prior Art'' Conventionally, memory used in high-speed printers and other control systems has a high integration density and low power consumption.
-RAM is widely used, but since low RAM adopts a structure in which charge is accumulated using the stray capacitance of the gate, the charge disappears over time due to leakage current or the like.

この為前記D−RAMを組込んだ制御システムにおいて
は所定時間内に周期的にクロックパルスを加えて電荷を
おぎなう、いわゆるリフレッシュ処理が必要になる。
For this reason, in a control system incorporating the D-RAM, a so-called refresh process is required in which clock pulses are periodically applied within a predetermined period of time to recharge the charge.

このようなリフレッシュ処理を行う為に、一般にリフレ
ジシュ要求信号を所定時間毎に強制的にD−RAM側に
送イδしリフレッシュを行うようにしているが、リフレ
ッシュサイクルは極めて短い時間間隔で行われ、而もリ
フレジシュ要求信号の為のクロック系を通常のアクセス
命令の為のクロ7り系と別系統で構成している為に、必
然的にCPUその他のデバイスのメモリアクセス動作と
リフレッシュ動作が競合し易い。
In order to perform such refresh processing, a refresh request signal is generally forcibly sent to the D-RAM side at predetermined intervals to perform refresh, but refresh cycles are performed at extremely short time intervals. Moreover, since the clock system for the refresh request signal is configured in a separate system from the clock system for normal access commands, the memory access operation of the CPU and other devices inevitably conflicts with the refresh operation. Easy to do.

「発明が解決しようとするW18」 この為かかる競合が生じた場合はメモリアクセス要求を
ウェイトさせてその間にリフレッシュ動作を行っている
が、確かにD−RAMとのメモリアクセスがCPUを経
由して又はCPUの制御下に行われる装はの場合には、
前記メモリアクセス要求をウェイトさせる事はソフト的
にも又ハード的にも容易であるが1例えばページプリン
タのようにD−RAMからなるビデオメモリ装置を用い
、該ビデオメモリへの画像データの転送をCPUの動作
とは独立させてDMAコントローラで行うようにした装
置や、又プリントエンジン側の制御に基づいて前記ビデ
オメモリとメモリアクセスを行うような装置のようにD
−RAMがCPU以外のデバイスと直接アクセス(以下
0Mアクセスという)する装置の場合には該叶アクセス
要求をウェイトさせるのが極めて困難な場合がある。
"W18 that the invention attempts to solve" For this reason, when such a conflict occurs, memory access requests are made to wait and refresh operations are performed during that time, but it is true that memory access with D-RAM is performed via the CPU. Or, in the case of installation under the control of the CPU,
Waiting the memory access request is easy in terms of both software and hardware.1 For example, it is possible to use a video memory device such as a page printer consisting of a D-RAM and transfer image data to the video memory. D.
- In the case of a device in which the RAM directly accesses a device other than the CPU (hereinafter referred to as 0M access), it may be extremely difficult to wait for the access request.

即ち前記装置においては、前記DMアクセス要求信号は
CPUよりのプログラム制御によりソフト的に制御され
るものではなく DMAコントローラ等に基づいてハー
ドウェア的に制御される為に自由度がなく、従って該要
求信号をウェイトさせる場合必然的にその回路構成が複
雑化するのみならず、特に前記要求信号を他のデバイス
の制御信号として利用する場合やプリントエンジン側の
制御下に基づいて前記メモリアクセス要求信号が発振さ
れる構成の制御システムにおいては、アクセス要求信号
をウェイトさせる事が不可能な場合がある。
That is, in the device, the DM access request signal is not controlled by software under program control from the CPU, but is controlled by hardware based on a DMA controller, etc., so there is no degree of freedom; Waiting a signal not only inevitably complicates the circuit configuration, but also particularly when the request signal is used as a control signal for another device or when the memory access request signal is controlled by the print engine. In a control system configured to generate oscillations, it may not be possible to wait the access request signal.

本発明はかかる従来技術の欠点に鑑み、リフレッシュ動
作とメモリアクセス要求が競合した場合に、いずれか−
の動作を一律に選択するのではなく、アクセス要求信号
発振側のデバイスに合わせて選択的に優先順位を決定し
、これによりD−RAMのリプレー2シユ動作、CPu
のアクセス及びCPu以外のデバイスのアクセス動作が
夫々鰻も好ましい時期に行い得、特に高速プリンタの制
御システムのようにCPU及びCPU以外のデバイスの
アクセス動作が混在して頻繁に生じるシステムに有効な
リフレッシュ制御方式を提供する事を目的とする。
In view of the shortcomings of the prior art, the present invention provides that when a refresh operation and a memory access request conflict, one of the
Rather than uniformly selecting the operation of
The access operations of the CPU and the access operations of devices other than the CPU can be performed at favorable times, and this refresh is particularly effective in systems where access operations of the CPU and devices other than the CPU frequently occur together, such as the control system of a high-speed printer. The purpose is to provide a control method.

「課題を解決する為の手段」 前記したように、リフレッシュ要求信号と。"Means to solve problems" As mentioned above, the refresh request signal.

CPU及びCPU以外のデバイスのアクセス要求信号と
が夫々非同期に発振されている装置においては、前記し
たようにリフレーアシュサイクルは4〜18m5ec程
度の極めて短い時間間隔で行われる為に、 cpuのア
クセス要求信号とリフレッシュ要求信号、及びデバイス
のアクセス要求信号とリフレッシュ要求信号が競合する
場合が多々ある。しかしながらCPUと他のデバイス間
においては、−般的にI1MAコントローラを介してC
PU側で前記デバイスとD−RAMのREA口/WRI
TE処理を一任する構成を取る為に、両者の競合を考慮
する必要がなく、前二者の競合についてのみ考慮すれば
よい。
In a device in which the access request signals of the CPU and devices other than the CPU are oscillated asynchronously, the refresh cycle is performed at extremely short time intervals of about 4 to 18 m5ec, as described above, so that the CPU access There are many cases where a request signal and a refresh request signal, and a device access request signal and a refresh request signal conflict. However, between the CPU and other devices - typically via an I1MA controller
REA port/WRI of the device and D-RAM on the PU side
Since the configuration is such that TE processing is left to the discretion of the user, there is no need to consider the conflict between the two, and only the conflict between the former two needs to be considered.

即ち本発明の特徴とする所は、リフレッシュ要求信号と
、CPIJ及びCPU以外のデバイスのアクセス要求信
号とが夫々非同期に発振されている装置において、リフ
レッシュ動作とメモリアクセス要求が競合した場合に、
いずれか−の動作を一律に選択するのではなく、アクセ
ス要求信号発振側のデバイスに合わせて選択的に優先順
位を決定し、これによりEl−RAMのリフレッシュ動
作、CPUのアクセス及びCPU以外のデバイスのアク
セス動作が最も好ましい時期に行う点にある。
That is, the feature of the present invention is that in a device in which a refresh request signal and an access request signal of a device other than the CPIJ and the CPU are respectively oscillated asynchronously, when a refresh operation and a memory access request conflict,
Rather than uniformly selecting one of the two operations, the priority order is selectively determined according to the device on the access request signal oscillation side. The access operation is performed at the most favorable time.

次に本発明の特徴を順を追って詳細に説明する。Next, the features of the present invention will be explained in detail in order.

先ずCPUのアクセス動作は、例えばCPUより出力さ
れるアドレス信号に基づいてフォントメモリ等よりデー
タをREAD LなからD−RAMに書込み動作を行う
等、プログラム制御に基づいて行われる。為に、−命令
の実行時間は必然的に長くなり、リフレッシュ必要サイ
クルタイムを超えてしまう。
First, the access operation of the CPU is performed based on program control, such as writing data from a font memory or the like from READ L to D-RAM based on an address signal output from the CPU. Therefore, the execution time of the - instruction inevitably becomes longer and exceeds the required refresh cycle time.

従って前記CPuのアクセス要求信号とリフレッシュ要
求信号が競合した場合には前記リフレッシュ動作を優先
して実行する事を本発明の第1の特徴とする。
Therefore, the first feature of the present invention is to execute the refresh operation with priority when there is a conflict between the access request signal of the CPU and the refresh request signal.

この場合CPUのアクセスはプログラム制御に基づいて
行われる為に、前記アクセス要求信号を遅延させ、リフ
レッシュの空き時間に割り込ませる:バは容易である。
In this case, since the CPU access is performed based on program control, it is easy to delay the access request signal and interrupt the idle refresh time.

一方、前記デバイスの[+−RAMアクセス動作は。On the other hand, the [+-RAM access operation of the device is as follows.

専用のDMAコントローラ等に基づ< CPUが関与し
ないハードウェアで行う一種の高速転記作業である為に
、リフレッシュ必要サイクル内に十分行う事が可能であ
る。
Since this is a type of high-speed transcription work performed by hardware that does not involve the CPU, based on a dedicated DMA controller, etc., it can be completed within the required refresh cycle.

そこで本発明の第2の特徴とする所は、前記デバイスの
D−RAMアクセス要求信号とリフレッシュ要求信号が
競合した場合には前記デバイスのアクセス動作を優先し
て実行するものであり、そして前記デバイスのアクセス
動作終了と同時にリフレッシュ動作を行なうようにすれ
ばリフレッシュ処理に同等支障が生じる余地がない。
Therefore, a second feature of the present invention is that when there is a conflict between the D-RAM access request signal and the refresh request signal of the device, the access operation of the device is executed with priority; If the refresh operation is performed at the same time as the access operation ends, there is no possibility that the same problem will occur in the refresh process.

而もハードウェアにより行われる前記デバイスのD−R
AIIIアクセス動作を優先する為に、ウェイト等を行
うハードウェアが不要になり、回路構成が単純化すると
ともに、前記要求信号を他のデバイスの制御信号として
利用する場合や外部装置例えばプリントエンジン側の制
御下に基づいて前記メモリアクセス要求信号が発振され
る構成の制御システムにおいても適用可能であり極めて
汎用性を有す。
Moreover, the D-R of the device is performed by hardware.
Since priority is given to the AIII access operation, hardware that performs wait etc. is not required, the circuit configuration is simplified, and the request signal can be used as a control signal for other devices or for external devices such as the print engine side. The present invention can also be applied to a control system configured to oscillate the memory access request signal based on control, and is extremely versatile.

「実施例」 以下、図面を参照して本発明の好適な実施例を例示的に
詳しく説明する。ただしこの実施例に記載されている4
1!成部品の寸法、材質、形状、その相対配置などは特
に特定的な記載がない限りは。
"Embodiments" Hereinafter, preferred embodiments of the present invention will be described in detail by way of example with reference to the drawings. However, the 4 described in this example
1! Dimensions, materials, shapes, relative positions of component parts, etc., unless otherwise specified.

この発明の範囲をそれのみに限定する趣旨ではなく、単
なる説明例に過ぎない。
This is not intended to limit the scope of the invention, but is merely an illustrative example.

第1図は本発明の実施例に係るリフレッシュ制御部の回
路構成を示すブロック図である。
FIG. 1 is a block diagram showing the circuit configuration of a refresh control section according to an embodiment of the present invention.

図中11はバッファ、12はリフレッシュ禁止パルス発
生回路、13は入力否定インバータ、14はアンドゲー
ト、15及びI6はいずれもリフレッシュ終了信号に基
づいてリセットされるフリップフロー2プ、18は、リ
クエスト要求信号が出力された場合にCPUアクセス要
求信号を無効とする判定回路である。
In the figure, 11 is a buffer, 12 is a refresh inhibit pulse generation circuit, 13 is an input inverter, 14 is an AND gate, 15 and I6 are both flip-flow 2 pins that are reset based on the refresh end signal, and 18 is a request request. This is a determination circuit that invalidates the CPU access request signal when the signal is output.

次にかかる実施例の作用を第2図のタイムチャート図に
基づいて説明する。
Next, the operation of this embodiment will be explained based on the time chart of FIG. 2.

CPυ以外のデバイスよりのDMアクセス要求信号P1
が、所定周期サイクルでバッファ11を介してリフレッ
シュ禁止パルス発生回路12に入力されると、該発生回
路12内で前記要求信号PIのパルス幅t5とリフレッ
シュ動作信号のパルス部上〇の和にほぼ等しいパルス@
t7を有するパルス信号を生成するとともに、該信号の
サイクル間隔をD)1アクセス要求信号P1とその立下
がり(終了)時期と一致させたリフレッシュ禁止信号p
2を出力させる。そして該発生回路12より出力された
リフレッシュ禁止信号P2は入力否定インバータ13に
より反転P2° されてアンドゲート14に入力される
DM access request signal P1 from a device other than CPυ
is input to the refresh inhibit pulse generating circuit 12 via the buffer 11 at a predetermined cycle, the pulse width t5 of the request signal PI and the pulse portion of the refresh operation signal are approximately equal to the sum of the pulse width t5 of the refresh operation signal in the generating circuit 12. Equal pulse @
D) A refresh prohibition signal p that generates a pulse signal having a time of t7 and makes the cycle interval of the signal coincide with D)1 access request signal P1 and its fall (end) timing.
Output 2. The refresh inhibit signal P2 outputted from the generating circuit 12 is inverted by the input inverter 13 and input to the AND gate 14.

一方前記DHアクセス要求信号PIと非同期で周期的に
発振しているリフレッシュ要求信号P3はフリップフロ
ップ15によりホールドP3’された状態で、アンドゲ
ート14の他の入力端子に入力される。この際リフレッ
シュ禁止信号P2は入力否定インバータ13により反転
P2’ された状態で、アンドゲート14に入力されて
いる為に、該禁止信号P2が非アクティブ(La)の場
合のみリフレッシュ許可信号P4がフリップフロップ1
6に入力され、該フリップフロップ16よりリフレッシ
ュ動作信号P5が出力される事になる。そしてリフレフ
シュ動作終了と同時に前記両フリップフロップ15.1
8にリセット信号RFが送信されて前記各信号P4のホ
ールド状態が解消され、以下前記動作を繰り返す。
On the other hand, the refresh request signal P3, which periodically oscillates asynchronously with the DH access request signal PI, is input to the other input terminal of the AND gate 14 while being held P3' by the flip-flop 15. At this time, since the refresh prohibition signal P2 is inverted by the input negation inverter 13 and input to the AND gate 14, the refresh permission signal P4 is input to the flip-flop only when the prohibition signal P2 is inactive (La). P1
6, and the refresh operation signal P5 is output from the flip-flop 16. Then, at the same time as the refresh operation ends, both flip-flops 15.1
8, a reset signal RF is transmitted to release the hold state of each signal P4, and the above operations are repeated thereafter.

一方前記ホールドされているリフレッシュ要求信号P3
’は判定回路18にも出力され、該要求信号P3’が出
力されている間、CPUアクセス要求信号p8は判定回
路18にて無効又はウェイトさせ、該要求信号P3°が
非アクティブ(La)になった後CPUアクセス動作を
行う、尚前記判定回路18はCPt1内に設けてもよい
On the other hand, the held refresh request signal P3
' is also output to the determination circuit 18, and while the request signal P3' is being output, the CPU access request signal p8 is invalidated or waited in the determination circuit 18, and the request signal P3 is inactive (La). Note that the determination circuit 18, which performs the CPU access operation after the CPU is reached, may be provided within the CPt1.

尚かかる実施例によれば、誤って開アクセス要求信号P
1とCPUアクセス要求信号P8が競合した場合におい
ても、開アクセス要求信号P!が優先して実行されるよ
うに、判定回路18の入力側にオア回路17を設け、リ
フレッシュ要求信号Pl’とともに13Mアクセス要求
信号p1が入力されるよう構成してもよい。
According to this embodiment, the open access request signal P
Even if there is a conflict between the open access request signal P!1 and the CPU access request signal P8, the open access request signal P! The OR circuit 17 may be provided on the input side of the determination circuit 18 so that the 13M access request signal p1 is inputted together with the refresh request signal Pl' so that the determination circuit 18 is executed with priority.

従ってかかる実施例によれば第3図(a)のメインルー
チン図に示すように、DMアクセス要求信号ptが出さ
れておらず(STEP 10) 、又CPUアクセス要
求信号P8も出されていない状態(STEP 20)で
、リフレッシュ要求信号p3が出された場合には(ST
EP 30)公知のように、リフレッシュアドレスカウ
ンタ4によりアドレス更新しながらリフレッシュアドレ
スバス3A及びセレクタ3a、3bを介して対応するD
−RAM 2a、2bのリフレッシュ動作を行う、 (
STI!P 31) 一方DMアクセス要求信号Piが出されている場合は、
第3図(b)のサブルーチン図に移行し、ここでDMア
クセス要求信号P1とリフレッシュ要求信号P3との競
合の有無を判断し、リフレッシュ要求信号P3が出され
ていない場合(STEP II)は、夫々対応するアク
セス動作をD−RAM 2a、2bとの間で行う(ST
EP 12)とともに、DMアクセス実行完了後第3図
(a)のメインルーチンに戻る。 (STEP一方、前
記両信号PI、P3が競合した場合は、反転されたリフ
レッシュ禁止信号P2°がアンドゲート14に入力され
ているために、リフレッシュ要求信号P3はフリップフ
ロップ15によりホールド且つアンドゲート14の入力
側で待機された状態で外部デバイスとの0Mアクセスが
なされ(STEP 13) 、そしてONアクセスが完
了した段階で、これと同期してリフレッシュ禁止信号P
2がLO−になるためにアンドゲート14よりリフレッ
シュ許可信号P4が出力され、これによりD)1アクセ
ス絆了と同時に自動的にリフレッシュ動作を行うことが
出来る(STEP14)そしてリフレッシュ動作実行完
了後は第3図(a)のメインルーチンに戻る。 (ST
EP 15)そして前記メインルーチン移行後(STE
P 20)cpuアクセス要求信号P8が出されている
場合は、第3図(C)のサブルーチン図に移行し、ここ
でCPUアクセス要求信号P8とリフレッシュ要求信号
P3° との競合の有無を判断し、リフレッシュ要求信
号P3°が出されていない場合(STEP 21)は、
CPUアクセス動作をD−RAM 2a、2bとの間で
行う(STEP 22)とともに、 cpuアクセス実
行完了後第3C4(a)のメインルーチンに戻る。(S
TEP一方、前記両信号P8 、P3°が競合した場合
は1判定回路18にてCPυアクセス要求をホールドし
た状態(STEP 22)で、リフレーアシュ動作を完
了させ(STEP 23)た後、 cpuアクセス動作
を行う。
Therefore, according to this embodiment, as shown in the main routine diagram of FIG. 3(a), the DM access request signal pt is not issued (STEP 10), and the CPU access request signal P8 is also not issued. In (STEP 20), if the refresh request signal p3 is issued, (STEP 20)
EP 30) As is well known, while updating the address by the refresh address counter 4, the corresponding D is updated via the refresh address bus 3A and selectors 3a and 3b.
-Perform refresh operation of RAM 2a and 2b, (
STI! P31) On the other hand, if the DM access request signal Pi is issued,
Moving to the subroutine diagram of FIG. 3(b), it is determined here whether there is a conflict between the DM access request signal P1 and the refresh request signal P3, and if the refresh request signal P3 is not issued (STEP II), Corresponding access operations are performed with the D-RAMs 2a and 2b (ST
With EP 12), after the DM access execution is completed, the process returns to the main routine of FIG. 3(a). (STEP) On the other hand, if the two signals PI and P3 conflict, the refresh request signal P3 is held by the flip-flop 15 and the refresh request signal P3 is held by the AND gate 14 because the inverted refresh prohibition signal P2° is input to the AND gate 14. A 0M access is made to the external device while the device is on standby on the input side (STEP 13), and when the ON access is completed, the refresh prohibition signal P is synchronized with this.
2 becomes LO-, the refresh permission signal P4 is output from the AND gate 14, and as a result, the refresh operation can be performed automatically at the same time as D) 1 access is completed (STEP 14), and after the completion of the refresh operation, The process returns to the main routine shown in FIG. 3(a). (ST
EP 15) and after the transition to the main routine (STE
P20) If the CPU access request signal P8 is being output, the process moves to the subroutine diagram of FIG. 3(C), where it is determined whether there is a conflict between the CPU access request signal P8 and the refresh request signal P3°. , if the refresh request signal P3° is not issued (STEP 21),
The CPU access operation is performed between the D-RAMs 2a and 2b (STEP 22), and after the CPU access is completed, the process returns to the main routine of 3C4(a). (S
TEP On the other hand, if the two signals P8 and P3° conflict, the 1 judgment circuit 18 holds the CPυ access request (STEP 22), completes the refresh operation (STEP 23), and then starts the CPU access operation. conduct.

(STEP 24) 第4図は前記リフレッシュ制御部10を用いたプリント
コントローラの回路構成を示すブロー2り図で、その*
*を簡単に説明するに、1は所定のプロクラムにもとづ
いてコントローラシステム全体を制御するCPo 、 
 2はD−RAMメモリ憤域2a 、 2bを二つに分
割して構成された画像メモリ装置で、−方のメモリ領域
2a又は2bでDMAアドレスバス2Aヲ介してDMA
アクセスが行われている間、他方の領域をCPUアドレ
スバスIAを介してCPU I とアクセス可能に構成
している。これによりDMAコントローラ8により前記
メモリ領域2a、2bの−のメモリ領域2aとアクセス
している間、CPU 1が他のメモリ領域2bとアクセ
スする事が出来、DMAアクセスとCPUアクセスを並
行して行う事が出来る。尚図中9は前記領域指定を行う
ゲート回路である。
(STEP 24) FIG. 4 is a two-dimensional blow diagram showing the circuit configuration of a print controller using the refresh control section 10.
To briefly explain *, 1 is a CPo that controls the entire controller system based on a predetermined program;
Reference numeral 2 denotes an image memory device constructed by dividing a D-RAM memory area 2a and 2b into two, and the - memory area 2a or 2b is configured to perform DMA processing via a DMA address bus 2A.
While being accessed, the other area is configured to be accessible to CPU I via CPU address bus IA. As a result, while the DMA controller 8 is accessing the - memory area 2a of the memory areas 2a and 2b, the CPU 1 can access the other memory area 2b, and DMA access and CPU access are performed in parallel. I can do things. Note that 9 in the figure is a gate circuit for specifying the area.

3a、3bは、CPuアドレスバスIA、 DMAアド
レスバス2A、及びリフレッシュアドレスバス3Aと、
前記一対のメモリ領域2a、2bとを選択的に接続させ
る為のアドレスセレクタである。
3a and 3b are a CPU address bus IA, a DMA address bus 2A, and a refresh address bus 3A;
This is an address selector for selectively connecting the pair of memory areas 2a and 2b.

4はリフレッシュアドレスカウンタで、リフレッシュ終
了信号に基づいて順次アドレス更新されたアドレス信号
をバス3Aを介してアドレスセレクタ3a、3b側に入
力させている。5はDMAアドレスカウンタで、DMA
コントローラ8よりの信号に基づいて順次アドレス更新
されたアドレス信号をバス2Aヲ介してアドレスセレク
タ3a、3b側に入力させている。
Reference numeral 4 denotes a refresh address counter, which inputs address signals whose addresses are sequentially updated based on the refresh end signal to the address selectors 3a and 3b via the bus 3A. 5 is a DMA address counter,
Address signals whose addresses are sequentially updated based on signals from the controller 8 are inputted to the address selectors 3a and 3b via the bus 2A.

6はリフレッシュタイマで、CPU 1を介して所定周
期のリフレッシュ要求信号p3をリフレッシュ制御部l
Oに送信する。
6 is a refresh timer which sends a refresh request signal p3 of a predetermined period via the CPU 1 to the refresh control unit l.
Send to O.

かかるコントローラ8によれば、切換回路7を介してア
ドレスセレクタ3aを切り替えながら、DMAコントロ
ーラ8により前記メモリ領域2a、2bに順次−ページ
分の画像データの書込みを行った後、該画像データをプ
リントエンジン側の制御信号に基づいてシリアルに読出
す訳であるが、一方のメモリ領域2aの読出しが終了し
た場合には、そのメモリ領域のアドレスセレクタ3aを
切り替えてCPU 1 とアクセスする事が出来る。
According to this controller 8, while switching the address selector 3a via the switching circuit 7, the DMA controller 8 sequentially writes -pages worth of image data into the memory areas 2a and 2b, and then prints the image data. It is read out serially based on a control signal from the engine side, but when reading from one memory area 2a is completed, the address selector 3a of that memory area can be switched to access the CPU 1.

一方、リフレッシュ動作については、前記したようにD
MAコントローラ8より出力されたDMA要求信号と、
CPU 1を介してリフレッシュタイマGよりのリフレ
ッシュ要求信号P3とを夫々リフレッシュ制御部lOに
送信し、該制御部lO内で前記両要求信号が競合しない
場合はそのまま切換回路7を介してアドレスセレクタ3
a、3bに出力し、又両要求信号が競合した場合は、D
MAアクセス要求信号を優先させつつ該DMAとメモリ
領域2a、2bとのアクセス終了と同時に前記したリフ
レッシュ用要求信号を切換回路7を介してアドレスセレ
クタ3a、3bに夫々出力し、該信号に基づいてDMA
アドレスバス2A、及びリフレッシュアドレスバス3A
と対応するダイナミックメモリ領域2a、2bとが選択
的に接続され、所定のアクセス動作が行われる。
On the other hand, regarding the refresh operation, as mentioned above, D
A DMA request signal output from the MA controller 8,
The refresh request signal P3 from the refresh timer G is sent to the refresh control unit IO via the CPU 1, and if there is no conflict between the two request signals within the control unit IO, the refresh request signal P3 from the refresh timer G is sent directly to the address selector 3 via the switching circuit 7.
a, 3b, and if both request signals conflict, D
While giving priority to the MA access request signal, the refresh request signal described above is outputted to the address selectors 3a and 3b via the switching circuit 7 at the same time as the access between the DMA and the memory areas 2a and 2b is completed, and based on the signal, D.M.A.
Address bus 2A and refresh address bus 3A
The corresponding dynamic memory areas 2a and 2b are selectively connected, and a predetermined access operation is performed.

一方、CPU Iよりのアクセス要求信号とリフレッシ
ュ要求信号P3とが競合した場合は、CPU l内の判
定回路又は制御部10内の判定回路18にてリフレッシ
ュ要求信号P3を優先させつつ該リフレッシュ終了と同
時にCPU 1よりアクセス要求信号をアドレスセレク
タ3a、3bに出力し、該信号に基づいてCPUアドレ
スバスIA及びリフレッシュアドレスバス3Aが対応す
るダイナミックメモリ領域2a、2bと選択的に接続さ
れ、所定のアクセス動作が行われる。
On the other hand, if there is a conflict between the access request signal from CPU I and the refresh request signal P3, the determination circuit in CPU I or the determination circuit 18 in the control unit 10 determines whether the refresh is completed while giving priority to the refresh request signal P3. At the same time, the CPU 1 outputs an access request signal to the address selectors 3a, 3b, and based on this signal, the CPU address bus IA and the refresh address bus 3A are selectively connected to the corresponding dynamic memory areas 2a, 2b, and a predetermined access is performed. An action is taken.

「効果」 以上記載した如く本発明によれば、リフレッシュ動作と
CPU及びCPU以外のデバイスのアクセス要求信号と
が競合した場合に、いずれか−の動作を−Vに選択する
のではなく、アクセス要求信号発振側のデバイスに合わ
せて選択的に優先順位を決定し、これによりD−RAM
のリフシー2シユ動作、CPuのアクセス及びCPU以
外のデバイスのアクセス動作が最も好ましい時期に行い
得、これにより前記デバイスの処理部力が低下する事な
く円滑にリフレッシュ動作が行い得るとともに、自由度
の少ないCPU以外のデバイスにリフレッシュ処理を行
う為の特別な遅延その他の制御回路が不要になり、回路
構成が簡単化する。
"Effects" As described above, according to the present invention, when a refresh operation and an access request signal of a CPU or a device other than the CPU conflict, instead of selecting one of the operations as -V, the access request signal is By selectively determining the priority order according to the device on the signal oscillation side, D-RAM
The refresh operation, the CPU access, and the access operation of devices other than the CPU can be performed at the most favorable time.This allows smooth refresh operation without reducing the processing power of the device, and also increases the degree of freedom. A special delay or other control circuit for performing refresh processing on a small number of devices other than the CPU is not required, and the circuit configuration is simplified.

又請求項3)においては、前記デバイスのアクセス動作
中、競合したリフレーアシュ要求信号をホールドしてお
き、前記デバイスのアクセス動作終了と同時にリフレッ
シュ動作を行なうようにした為に、CPU側で前記アク
セスが終了した番を判断する事なく而もリフレッシュ要
求信号を再度発信させる必要もなく、これにより一層の
回路構成の簡単化とCPUの負担軽減につながる。
Further, in claim 3), the conflicting refresh request signal is held during the access operation of the device, and the refresh operation is performed at the same time as the access operation of the device ends, so that the access is not executed on the CPU side. There is no need to judge which number has ended, and there is no need to send a refresh request signal again, which further simplifies the circuit configuration and reduces the burden on the CPU.

更に請求項2)においては、切換可能な複数のメモリ領
域を有するD−RAMメモリ装置を用い、CPUとCP
U以外のデバイスのアクセス要求信号を並行して送信す
るようにした為に、−層の高速化処理が可能となる。
Furthermore, in claim 2), a D-RAM memory device having a plurality of switchable memory areas is used, and the CPU and the CPU
Since the access request signals of devices other than U are transmitted in parallel, high-speed processing of the − layer is possible.

等の種々の著効を有す。It has various effects such as

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

第1図は本発明の実施例に係るリフレッシュ制御部の回
路構成を示すブロック図、第2図及び第3図(a)(b
)(c)はその作用を示すタイムチャート図とフローチ
ャート図である。第4図は前記リフレッシュ制御部を用
いたプリントコントローラの回路構成を示すブローツク
図である。 特許出卯人:京セラ株式会社 第1図 1つ 第2図 →t5← P8.r−7、、i”−ffi、− 第3因 (a) 第3回 (b) 第3図 (C)
FIG. 1 is a block diagram showing the circuit configuration of a refresh control section according to an embodiment of the present invention, and FIGS. 2 and 3 (a) and (b).
) and (c) are a time chart and a flow chart showing the effect. FIG. 4 is a block diagram showing the circuit configuration of a print controller using the refresh control section. Patent source: Kyocera Corporation Figure 1 Figure 2 → t5 ← P8. r-7,, i”-ffi, - Third cause (a) Third (b) Figure 3 (C)

Claims (1)

【特許請求の範囲】 1)リフレッシュ要求信号と、CPU及びCPU以外の
デバイスのアクセス要求信号とが夫々非同期に発振され
ている装置におけるD−RAMのリフレッシュ制御方式
において、前記デバイスのアクセス要求信号とリフレッ
シュ要求信号が競合した場合には前記デバイスのアクセ
ス動作を優先して実行し、一方前記CPUのアクセス要
求信号とリフレッシュ要求信号が競合した場合には前記
リフレッシュ動作を優先して実行するようにした事を特
徴とするリフレッシュ制御方式 2)切換可能な複数のメモリ領域を有するD−RAMメ
モリ装置を用い、CPUとCPU以外のデバイスのアク
セス要求信号を並行して送信するようにした請求項1)
記載のリフレッシュ制御方式 3)前記CPU以外のデバイスのアクセス要求信号とリ
フレッシュ要求信号が競合した場合には前記リフレッシ
ュ要求信号をホールドした状態でデバイスのアクセス動
作を優先して実行するとともに該デバイスのアクセス動
作終了と同時に前記ホールドしたリフレッシュ要求信号
に基づいてリフレッシュ動作を行なうようにした事を特
徴とする請求項1)記載のリフレッシュ制御方式
[Scope of Claims] 1) In a D-RAM refresh control method in a device in which a refresh request signal and an access request signal of a CPU and a device other than the CPU are respectively oscillated asynchronously, When the refresh request signals conflict, the access operation of the device is executed with priority, and on the other hand, when the access request signal of the CPU and the refresh request signal conflict, the refresh operation is executed with priority. 2) A refresh control method characterized by: 2) A D-RAM memory device having a plurality of switchable memory areas is used, and access request signals for a CPU and a device other than the CPU are transmitted in parallel.
Refresh control method described in 3) If the access request signal of a device other than the CPU conflicts with the refresh request signal, the access operation of the device is executed with priority while the refresh request signal is held, and the access operation of the device is The refresh control method according to claim 1, wherein the refresh operation is performed based on the held refresh request signal at the same time as the operation ends.
JP63119168A 1988-05-18 1988-05-18 Refresh control method for D-RAM Expired - Fee Related JP2691560B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63119168A JP2691560B2 (en) 1988-05-18 1988-05-18 Refresh control method for D-RAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63119168A JP2691560B2 (en) 1988-05-18 1988-05-18 Refresh control method for D-RAM

Publications (2)

Publication Number Publication Date
JPH01290192A true JPH01290192A (en) 1989-11-22
JP2691560B2 JP2691560B2 (en) 1997-12-17

Family

ID=14754594

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63119168A Expired - Fee Related JP2691560B2 (en) 1988-05-18 1988-05-18 Refresh control method for D-RAM

Country Status (1)

Country Link
JP (1) JP2691560B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11345165A (en) * 1997-12-05 1999-12-14 Texas Instr Inc <Ti> Traffic controller using priority and burst control for reducing access times

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5829197A (en) * 1981-08-12 1983-02-21 インタ−ナシヨナル・ビジネス・マシ−ンズ・コ−ポレ−シヨン Dynamic memory refleshing circuit
JPS60151894A (en) * 1984-01-20 1985-08-09 Hitachi Ltd Refresh circuit of dynamic ram
JPS61122994A (en) * 1984-11-19 1986-06-10 Fujitsu Ltd Dynamic type semiconductor storage device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5829197A (en) * 1981-08-12 1983-02-21 インタ−ナシヨナル・ビジネス・マシ−ンズ・コ−ポレ−シヨン Dynamic memory refleshing circuit
JPS60151894A (en) * 1984-01-20 1985-08-09 Hitachi Ltd Refresh circuit of dynamic ram
JPS61122994A (en) * 1984-11-19 1986-06-10 Fujitsu Ltd Dynamic type semiconductor storage device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11345165A (en) * 1997-12-05 1999-12-14 Texas Instr Inc <Ti> Traffic controller using priority and burst control for reducing access times

Also Published As

Publication number Publication date
JP2691560B2 (en) 1997-12-17

Similar Documents

Publication Publication Date Title
US4953103A (en) Page printer
KR0133236B1 (en) Shared memory system and arbitration method and system
JP2000047974A (en) Bus arbitrating method of bus controller, bus controller, and system of electronic equipment
JP3601872B2 (en) Data processing apparatus and operation method thereof
JPH01290192A (en) Refresh control system for d-ram
JPH07295947A (en) Equipment and method for data transfer management
JP2681484B2 (en) Refresh control method
JP4633334B2 (en) Information processing apparatus and memory access arbitration method
JP3205992B2 (en) Direct memory access transfer controller
JPH10320349A (en) Processor and data transfer system using the processor
US6304931B1 (en) Access limiting bus control system and method
JP3240863B2 (en) Arbitration circuit
KR930000670B1 (en) Interface circuit of common ram between main cpu and sub-cpu
KR0145932B1 (en) Dma controller in high speed computer system
JPS63155254A (en) Information processor
JPH05165541A (en) Electronic circuit
JPH09138780A (en) Bus arbitration circuit
JP2001125880A (en) Real time multi-processor system
JPH07146839A (en) Dma circuit
JPH03282667A (en) Computer device
JPH04211854A (en) Computer device
JPH0991246A (en) Bus control device and method
JPH10161970A (en) Recording device
JPH02284254A (en) Data transfer system for multiprocessor system
JPH03263253A (en) Multiprocessor numerical controller

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees