JPH03259491A - Memory controller - Google Patents

Memory controller

Info

Publication number
JPH03259491A
JPH03259491A JP2056708A JP5670890A JPH03259491A JP H03259491 A JPH03259491 A JP H03259491A JP 2056708 A JP2056708 A JP 2056708A JP 5670890 A JP5670890 A JP 5670890A JP H03259491 A JPH03259491 A JP H03259491A
Authority
JP
Japan
Prior art keywords
data
memory
temporary storage
control circuit
storage memory
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
JP2056708A
Other languages
Japanese (ja)
Other versions
JP2909126B2 (en
Inventor
Kenichi Yamamoto
健一 山本
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.)
Toshiba TEC Corp
Original Assignee
Tokyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP2056708A priority Critical patent/JP2909126B2/en
Publication of JPH03259491A publication Critical patent/JPH03259491A/en
Application granted granted Critical
Publication of JP2909126B2 publication Critical patent/JP2909126B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To improve a processing speed by implementing the execution of an access request of an input and output channel provided to a tentative storage memory in the page mode when the number of data stored in the tentative storage memory reaches the preset number of data. CONSTITUTION:A dynamic RAM (random access memory) control circuit 17 executes sequentially an access request from channels CH1-CH4 based on a preset priority. Moreover, the dynamic RAM control circuit 17 sets the data in the tentative storage memory 21 so as to access it in the page mode such as high speed page mode to the dynamic RAM 16 when a 2-word data is stored in the tentative storage memory 21 connected to a reception circuit 13 via a data bus 20. Thus, the data is transferred from the reception circuit 13 to the dynamic RAM 16 not through a microprocessor 11 and no overhead for interrupt processing takes place. Thus, the processing speed is improved.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、レーザプリンタ等ダイナミック・ランダム・
アクセス・メモリを使用した機器において適用されるメ
モリ制御装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention is applicable to dynamic random printers such as laser printers.
The present invention relates to a memory control device applied to equipment using access memory.

[従来の技術] 例えばレーザプリンタには第5図に示すメモリ制御装置
が使用されている。このメモリ制御装置は、マイクロ・
プロセッサ1、ROM (読出し専用メモリ)2、ホス
トから送られてくる印字データ(印字される文字のコー
ド、プリンタコントロールの為のコード等)を受信する
受信回路3、他の機器とでデータ通信を行う通信回路4
、印字部へ画像データを出力する画像データ出力回路5
、ダイナミックRAM (ランダム・アクセス・メモリ
)6を制御するダイナミックRAMコントロール回路7
で構成されている。ダイナミックRAMコントロール回
路7はダイナミックRA M 6を正常に動作させるた
めに、アドレスの分割人力やリフレッシュのためRAS
(ラス信号)、cAs(ガス信号)、WE(ライトイネ
ーブル信号)などの信号タイミングを制御するようにな
っている。
[Prior Art] For example, a memory control device shown in FIG. 5 is used in a laser printer. This memory controller is a micro
Processor 1, ROM (read-only memory) 2, receiving circuit 3 that receives print data (codes of characters to be printed, codes for printer control, etc.) sent from the host, and data communication with other devices. Communication circuit 4
, an image data output circuit 5 that outputs image data to the printing section
, a dynamic RAM control circuit 7 that controls a dynamic RAM (random access memory) 6
It consists of In order to operate the dynamic RAM 6 normally, the dynamic RAM control circuit 7 uses RAS for address division and refreshing.
(rath signal), cAs (gas signal), WE (write enable signal), and other signal timings.

前記マイクロ・プロセッサ1、ROM2、受信回路3、
通信回路4、画像データ出力回路5、ダイナミックRA
Mコントロール回路7は互いにシステムデータバス8に
よって接続されている。
the microprocessor 1, ROM 2, receiving circuit 3,
Communication circuit 4, image data output circuit 5, dynamic RA
The M control circuits 7 are connected to each other by a system data bus 8.

受信回路3で受信された印字データは必ず6度ダイナミ
ックRAM6に書き込まれるが、その書き込み制御は以
下の通り行われていた。
The print data received by the receiving circuit 3 is always written into the dynamic RAM 6 six times, and the writing control is performed as follows.

受信回路3は印字データの読み込みが終了するとマイク
ロ・プロセッサ1に対して割り込み要求を発生する。
When the receiving circuit 3 finishes reading the print data, it issues an interrupt request to the microprocessor 1.

マイクロ・プロセッサ1は割り込み要求を受は取ると、
それまで実行していたルーチンの状態(すなわち、レジ
スタに記憶されているデータ、実行されているタスクの
ステータスなど)をダイナミックRAM6上に待避し、
その後割り込み処理ルーチンに制御を移す。(割り込み
前処理)割り込み処理ルーチンにおいてマイクロ・プロ
セッサ1は、まず受信回路3から受信したデータの読み
込みを行い、その後そのデータを記憶すべきアドレスを
算出し、ダイナミックRAM6に対して書き込みを行う
When microprocessor 1 receives an interrupt request,
The state of the routine being executed up to that point (that is, the data stored in registers, the status of the task being executed, etc.) is saved on the dynamic RAM 6,
Control is then transferred to the interrupt handling routine. (Interrupt Pre-Processing) In the interrupt processing routine, the microprocessor 1 first reads the data received from the receiving circuit 3, then calculates the address at which the data should be stored, and writes it into the dynamic RAM 6.

割り込み処理ルーチンが終了すると、マイクロ・プロセ
ッサ1は、以前実行していたルーチンの状態を再びダイ
ナミックRAM6から戻しそのルーチンに制御を移す。
When the interrupt handling routine ends, the microprocessor 1 returns the state of the previously executed routine from the dynamic RAM 6 and transfers control to that routine.

このように従来では受信回路3はダイナミックRAM6
に対して何等能動的な動作を行わす、受信回路3とダイ
ナミックRAM6とのデータ転送はすべてマイクロ・プ
ロセッサ1により行われていた。
In this way, conventionally, the receiving circuit 3 is configured using the dynamic RAM 6.
The microprocessor 1 performs all data transfer between the receiving circuit 3 and the dynamic RAM 6, which performs any active operation.

また従来てはダイナミックRAMコントロール回路7の
入出力チャネルが1チヤネルのみなので、システムデー
タバス8の使用権を持つ回路プロッり、すなわちマイク
ロ・プロセッサ1のみがダイナミックRA M 6をア
クセスできるようになっていた。
Furthermore, conventionally, the dynamic RAM control circuit 7 has only one input/output channel, so only the circuit that has the right to use the system data bus 8, that is, the microprocessor 1, can access the dynamic RAM 6. Ta.

そして従来のダイナミックRAMコントロール回路7は
、シングルモード(すなわち、リードサイクル、アーリ
ライトサイクル・デイレイドライドサイクル・リードモ
ディファイライトサイクル等、1サイクルのアクセスで
1ワードの読み出し又は書き込み、またはその両方を行
うモード)のみ実行可能なので、連続したアドレスに対
する書き込みもシングルモードの繰り返しを実行するこ
とになる。
The conventional dynamic RAM control circuit 7 reads or writes one word, or both, in one cycle of access such as a read cycle, early write cycle, delayed write cycle, read modify write cycle, etc. mode) can be executed, so writing to consecutive addresses also involves repeating the single mode.

従ってデータX及びデータYをダイナミックRAM6に
書き込む場合には第6図に示すタイミングとなる。すな
わち各データの書き込み毎にプリチャージ時間が介在す
ることになる。
Therefore, when data X and data Y are written into the dynamic RAM 6, the timing is shown in FIG. In other words, there is a precharge time for each write of data.

第7図はマイクロ・プロセッサ1による処理Aと、受信
回路3による印字データX、Yの受信処理が同時進行し
た場合のマイクロ・プロセッサ1の処理、受信回路3の
処理及びダイナミックRAM6の使用状況を示している
FIG. 7 shows the processing of the microprocessor 1, the processing of the receiving circuit 3, and the usage status of the dynamic RAM 6 when processing A by the microprocessor 1 and receiving processing of print data X and Y by the receiving circuit 3 proceed simultaneously. It shows.

例えばマイクロ・プロセッサ1による処理Aと受信回路
3によるデータXの受信が同時に始まったと想定すると
、データXの受信に必要な6定時間中マイクロ・プロセ
ッサ1は処理Aの為ダイナミックRAM6を使用する。
For example, assuming that processing A by the microprocessor 1 and reception of data X by the receiving circuit 3 start at the same time, the microprocessor 1 uses the dynamic RAM 6 for processing A during the 6 fixed times required to receive the data X.

そしてデータXの受信が終了すると受信回路3からマイ
クロ・プロセッサ1に割り込み要求が発生する。割り込
み要求を受は取るとマイクロ・プロセッサ1は受信回路
3が受信したデータXを、割り込み前処理、読出し、書
き込みの各処理、割り込み後処理を順次行ってダイナミ
ックRAM6に書き込む。
When the reception of data X is completed, an interrupt request is generated from the receiving circuit 3 to the microprocessor 1. Upon receiving an interrupt request, the microprocessor 1 writes the data X received by the receiving circuit 3 into the dynamic RAM 6 by sequentially performing interrupt preprocessing, readout, write processing, and postinterrupt processing.

受信回路3はマイクロ・プロセッサ1による受信データ
Xの読出しの終了と同時に動作可能となり次のデータY
の受信を開始する。
The receiving circuit 3 becomes operational at the same time that the microprocessor 1 finishes reading the received data X, and reads the next data Y.
Start receiving.

さらにデータYの受信が終了すると、受信回路3からマ
イクロ・プロセッサ1に割り込み要求が発生する。しか
しこの時点ではマイクロ・プロセッサ1はまだ割り込み
後処理の最中であるためすぐには次の割り込み処理ルー
チンを開始できない。
Further, when the reception of data Y is completed, an interrupt request is generated from the receiving circuit 3 to the microprocessor 1. However, at this point, the microprocessor 1 is still in the middle of post-interrupt processing and cannot immediately start the next interrupt processing routine.

その後割り込み要求が受は付けられると、マイクロ・プ
ロセッサ1は受信回路3が受信したデータYを、割り込
み前処理、読出し、書き込みの各処理、割り込み後処理
を順次行ってダイナミックRAM6に書き込む。
After that, when the interrupt request is accepted, the microprocessor 1 writes the data Y received by the receiving circuit 3 into the dynamic RAM 6 by sequentially performing interrupt pre-processing, read and write processing, and post-interrupt processing.

受信データX、Yに関する割り込み処理が全て終了する
と、中断していた処理Aの残りが実行される。
When all interrupt processing related to received data X and Y is completed, the rest of the interrupted processing A is executed.

[発明が解決しようとする課題] このように従来のメモリ制御装置では割り込み処理のオ
ーバヘッドが大きく、またシングルモードのみでダイナ
ミックRAMのアクセスを行うため、処理速度が遅く、
またアクセスを開始するまでの待ち時間が長く処理効率
が低い問題があった。
[Problems to be Solved by the Invention] As described above, in the conventional memory control device, the overhead of interrupt processing is large, and the processing speed is slow because the dynamic RAM is accessed only in single mode.
Additionally, there was a problem in that the waiting time before starting access was long and the processing efficiency was low.

そこで本発明は、処理速度及び処理効率を向上できるメ
モリ制御装置を提供しようとするものである。
Therefore, the present invention aims to provide a memory control device that can improve processing speed and processing efficiency.

[課題を解決するための手段] 請求項(1)対応の発明は、ダイナミック・ランダム・
アクセス・メモリと、複数の入出力チャネルを有し、メ
モリへのラス信号、ガス信号、ライトイネーブル信号等
の信号タイミングを制御しメモリをアクセス制御するダ
イナミック・ランダム・アクセス◆メモリコントロール
回路と、このダイナミック・ランダム・アクセス◆メモ
リコントロール回路の全ての入出力チャネルあるいは一
部の入出力チャネルに対してそれぞれ設けられた複数ワ
ード構成の複数の一時記憶用メモリと、この各一時記憶
用メモリの1つをシステムデータバスを介して制御しデ
ータの書込み、読出しを行うマイクロ・プロセッサと、
残りの一時記憶用メモリに対してデータの書込みあるい
は読出し又はその両方を行う回路ブロックからなり、ダ
イナミック・ランダム・アクセス・メモリコントロール
回路は、予め設定された優先順位に基づいて各入出力チ
ャネルからのアクセス要求を順次実行するとともに、一
時記憶用メモリを設けた入出力チャネルのアクセス要求
の実行をその一時記憶用メモリに格納されているデータ
数が予め設定されたデータ数になったときベージモード
で行うものである。
[Means for solving the problem] The invention corresponding to claim (1) is a dynamic random
A dynamic random access circuit that has multiple input/output channels and controls access to the memory by controlling the timing of signals such as the last signal, gas signal, and write enable signal to the memory. Dynamic Random Access ◆Multiple temporary storage memories with multiple word configurations provided for all or some of the input/output channels of the memory control circuit, and one of these temporary storage memories. a microprocessor that controls the data via a system data bus and writes and reads data;
Consisting of circuit blocks that write and/or read data from the remaining temporary storage memory, the dynamic random access memory control circuit handles data from each input/output channel based on preset priorities. In addition to executing access requests sequentially, the execution of access requests for input/output channels equipped with temporary storage memory is executed in page mode when the number of data stored in the temporary storage memory reaches a preset number of data. It is something to do.

請求項(2)対応の発明は、請求項(1)対応の発明に
おいてさらにダイナミック・ランダム・アクセス中メモ
リコントロール回路が一時記憶用メモリを設けた入出力
チャネルのアクセス要求をページモードで実行するとき
のその一時記憶用メモリにおける必要データ数をマイク
ロ・プロセッサにより設定自在としたものである。
The invention corresponding to claim (2) is the invention corresponding to claim (1), when the memory control circuit during dynamic random access executes an access request for an input/output channel provided with a temporary storage memory in page mode. The number of required data in the temporary storage memory can be freely set by a microprocessor.

請求項(3)対応の発明は、ダイナミック・ランダム・
アクセス・メモリコントロール回路は、予め設定された
優先順位に基づいて各入出力チャネルからのアクセス要
求を順次実行するとともに、一時記憶用メモリを設けた
入出力チャネルのアクセス要求の実行をその一時記憶用
メモリに複数のデータが揃っているときにはベージモー
ドで行い、かつその一時記憶用メモリに1つのデータし
かないときにはシングルモードで行うものである。
The invention corresponding to claim (3) is a dynamic random
The access/memory control circuit sequentially executes access requests from each input/output channel based on preset priorities, and executes access requests from input/output channels provided with temporary storage memory. When there is a plurality of data in the memory, the page mode is used, and when there is only one piece of data in the temporary storage memory, the single mode is used.

請求項(4)対応の発明は、請求項(3)対応の発明に
おいてダイナミック・ランダム・アクセス・メモリコン
トロール回路は、一時記憶用メモリに複数のデータが格
納され、かつその各データか書き込まれるべきアドレス
かダイナミック・ランダム・アクセス・メモリ上の同一
ページ内にあるときベージモードでアクセス要求の実行
を行うものである。
The invention corresponding to claim (4) is that in the invention corresponding to claim (3), the dynamic random access memory control circuit stores a plurality of data in the temporary storage memory, and each data is to be written. The access request is executed in page mode when the address is within the same page on the dynamic random access memory.

[作用] 請求項(1)対応の発明においては、マイクロ・プロセ
ッサや回路ブロックからのダイナミック・ランダム・ア
クセス・メモリコントロール回路に対するアクセス要求
はそれぞれ異なる入出力チャネルを使用して行われる。
[Operation] In the invention according to claim (1), access requests to the dynamic random access memory control circuit from the microprocessor or circuit block are made using different input/output channels.

そしてマイクロ・プロセッサや回路ブロックからのデー
タはそれぞれ対応するチャネルの一時記憶用メモリに記
憶される。
Data from the microprocessor or circuit block is then stored in the temporary storage memory of each corresponding channel.

ダイナミック・ランダム・アクセス・メモリコントロー
ル回路は各入出力チャネルからのダイナミック・ランダ
ム・アクセス・メモリに対するアクセス要求を予め設定
された優先順位に基づいて順次実行し、そのアクセス要
求の実行は対応するチャネルの一時記憶用メモリに記憶
されるデータが予め設定された数になったときベージモ
ードで行う。
The dynamic random access memory control circuit sequentially executes access requests to the dynamic random access memory from each input/output channel based on preset priorities, and the execution of the access requests is based on the priority of the corresponding channel. This is performed in the page mode when the number of data stored in the temporary storage memory reaches a preset number.

従って回路ブロックからダイナミック・ランダム・アク
セス・メモリへのデータ転送はマイクロ・プロセッサを
介さずに行うことができ割り込み処理のオーバヘッドは
発生しない。またマイクロ・プロセッサや回路ブロック
の並列動作か可能となり、かつアクセス要求の実行をベ
ージモードで行うので処理速度を向上できる。
Therefore, data transfer from the circuit block to the dynamic random access memory can be performed without going through the microprocessor, and no interrupt processing overhead occurs. In addition, parallel operation of microprocessors and circuit blocks is possible, and access requests are executed in page mode, improving processing speed.

また請求項(2)対応の発明においては、ベージモード
を実行するときの一時記憶用メモリにおけるデータの格
納数をマイクロ・プロセッサにより任意に設定できる。
Further, in the invention corresponding to claim (2), the number of data stored in the temporary storage memory when executing the page mode can be arbitrarily set by the microprocessor.

また請求項(3)対応の発明においては、アクセス要求
の実行時対応する一時記憶用メモリに記憶されているデ
ータ数が複数のときにはアクセスをベージモードで行い
、データ数が1つのときにはアクセスをシングルモード
で行う。
Furthermore, in the invention corresponding to claim (3), when the number of data stored in the corresponding temporary storage memory is plural when an access request is executed, the access is performed in the page mode, and when the number of data is one, the access is performed in the single mode. Do it in mode.

さらに請求項〈4〉対応の発明においては、一時記憶用
メモリに格納されている複数のデータが書き込まれるべ
きアドレスがダイナミック・ランダム・アクセス・メモ
リ上の同一ページ内にあるときにベージモードでアクセ
スすることになる。
Furthermore, in the invention corresponding to claim <4>, when the address to which a plurality of data stored in the temporary storage memory is to be written is within the same page on the dynamic random access memory, access is made in page mode. I will do it.

[実施例コ 以下、本発明の一実施例を図面を参照して説明する。[Example code] Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図に示すようにマイクロプロセッサ11、ROM 
(読出し専用メモリ)12、ホストから送られてくる印
字データ(印字される文字のコード、プリンタコントロ
ールの為のコード等)を受信する受信回路13、他の機
器とてデータ通信を行う通信回路14、レーザプリンタ
の印字部へ画像データを出力する画像データ出力回路1
5、ダイナミックRAM (ランダム・アクセス・メモ
リ)16を制御するダイナミックRAMコントロール回
路17をそれぞれ設けている。なお、前記受信回路13
、通信回路14及び画像データ出力回路15はそれぞれ
回路ブロックを構成している。
As shown in FIG. 1, a microprocessor 11, a ROM
(read-only memory) 12, receiving circuit 13 that receives print data (codes of characters to be printed, codes for printer control, etc.) sent from the host; communication circuit 14 that performs data communication with other devices; , an image data output circuit 1 that outputs image data to the printing section of a laser printer.
5. A dynamic RAM control circuit 17 for controlling a dynamic RAM (random access memory) 16 is provided. Note that the receiving circuit 13
, the communication circuit 14, and the image data output circuit 15 each constitute a circuit block.

前記ダイナミックRAMコントロール回路17はダイナ
ミックRAM16を正常に動作させるために、アドレス
の分割入力やリフレッシュのためRAS(ラス信号) 
、CAS (ガス信号)、WE(ライトイネーブル信号
)などの信号タイミングを制御するようになっている。
In order to operate the dynamic RAM 16 normally, the dynamic RAM control circuit 17 uses a RAS (rath signal) for divided address input and refreshing.
, CAS (gas signal), WE (write enable signal), and other signal timings.

前記ダイナミックRAMコントロール回路17は例えば
4本の入出力チャネルCH,,CH2゜CH3,CH4
を設け、入出力チャネルCH,には前記マイクロ・プロ
セッサ11及びROM12が接続されているシステムデ
ータバス18が4ワード構成の一時記憶用メモリ19を
介して接続され、また入出力チャネルCH2には前記受
信回路13が接続されているデータバス20が27−ド
構成の一時記憶用メモリ21を介して接続され、また入
出力チャネルCH,には前記通信回路14が接続されて
いるデータバス22が1ワード構成の一時記憶用メモリ
23を介して接続され、さらに入出力チャネルCH4に
は前記画像データ出力回路15が接続されているデータ
バス24か直接接続されている。
The dynamic RAM control circuit 17 has, for example, four input/output channels CH, CH2, CH3, CH4.
A system data bus 18 to which the microprocessor 11 and ROM 12 are connected is connected to the input/output channel CH, via a temporary storage memory 19 having a 4-word configuration, and the input/output channel CH2 is connected to the system data bus 18 to which the microprocessor 11 and ROM 12 are connected. A data bus 20 to which the receiving circuit 13 is connected is connected via a temporary storage memory 21 having a 27-code configuration, and a data bus 22 to which the communication circuit 14 is connected is connected to the input/output channel CH. The input/output channel CH4 is connected via a word-structured temporary storage memory 23, and a data bus 24 to which the image data output circuit 15 is connected is directly connected.

前記ダイナミックRAMコントロール回路17は予め設
定された優先順位に基づいて各チャネルCH1〜CH4
からのアクセス要求を順次実行するようになっている。
The dynamic RAM control circuit 17 controls each channel CH1 to CH4 based on a preset priority order.
The access requests from the server are executed sequentially.

また前記ダイナミックRAMコントロール回路17は受
信回路13とデータバス20を介して接続された一時記
憶用メモリ21に2ワードのデータか記憶されたときそ
の一時記憶用メモリ21のデータをダイナミックRAM
16に対してページモード、例えば高速ページモードで
アクセスするように設定されている。
Further, when two words of data are stored in the temporary storage memory 21 connected to the reception circuit 13 via the data bus 20, the dynamic RAM control circuit 17 transfers the data in the temporary storage memory 21 to the dynamic RAM.
16 is set to be accessed in page mode, for example, high speed page mode.

なお、ページモードとしては、高速ベージモードのほか
、スタティックカラムモード、ニブルモード等があり、
このモードは1サイクルのアクセスで複数ワードの読出
し、又は書込み、又はその両方を行うモードである。
In addition to high-speed page mode, there are other page modes such as static column mode and nibble mode.
This mode is a mode in which multiple words are read and/or written in one cycle of access.

前記マイクロ・プロセッサ11は第2図に示すように前
記ダイナミックRAMコントロール回路17に対して自
己も含めて各回路ブロック、すなわちマイクロ・プロセ
ッサ11、受信回路13、通信回路14及び画像データ
出力回路15の優先順位を設定制御し、さらに一時記憶
用メモリ21のデータをページモードでアクセスする場
合の必要データ数を設定制御してから処理Aを開始する
ようになっている。なお、マイクロ・プロセッサ11が
使用するチャネルCH,は最も優先順位が高く設定され
ている。
As shown in FIG. 2, the microprocessor 11 controls each circuit block including the dynamic RAM control circuit 17, that is, the microprocessor 11, the receiving circuit 13, the communication circuit 14, and the image data output circuit 15. Process A is started after setting and controlling the priority order and further setting and controlling the number of data required when accessing the data in the temporary storage memory 21 in page mode. Note that the channel CH used by the microprocessor 11 is set to have the highest priority.

このような構成の本実施例において、例えばマイクロ・
プロセッサ11による処理Aと受信回路13による印字
データX、Yの受信処理が同一進行した場合について述
べると、先ず受信回路13がデータXの受信に必要な6
定時間中マイクロ・プロセッサ11は処理Aの為ダイナ
ミックRA M16を使用する。
In this embodiment with such a configuration, for example, a micro-
Describing the case where the processing A by the processor 11 and the reception processing of print data
During a fixed period of time, the microprocessor 11 uses the dynamic RAM 16 for processing A.

そしてデータXの受信が終了すると受信回路13はデー
タバス20を介して一時記憶用メモリ21にデータXの
書き込みを行う。そしてデータXの書き込みが終了する
と次のデータYの受信を開始する。
When the reception of the data X is completed, the reception circuit 13 writes the data X into the temporary storage memory 21 via the data bus 20. When the writing of data X is completed, reception of the next data Y is started.

このときマイクロ・プロセッサ11による処理Aの優先
順位が高いためダイナミックRAM16に対するデータ
Xの書き込みは行われない。
At this time, since the processing A by the microprocessor 11 has a high priority, data X is not written to the dynamic RAM 16.

そしてデータYの受信が終了すると、受信回路13はデ
ータバス20を介して一時記憶用メモリ21にデータY
の書き込みを行う。
When the reception of the data Y is completed, the receiving circuit 13 stores the data Y in the temporary storage memory 21 via the data bus 20.
Write.

こうして一時記憶用メモリ21には2ワードのデータが
記憶されることになる。
In this way, two words of data are stored in the temporary storage memory 21.

この状態で優先的に実行されていた処理Aか終了すると
、ダイナミックRAMコントロール回路17はチャネル
CH2に接続されている一時記憶用メモリ2]に2ワー
ドのデータが記憶されていることを判断して高速ページ
モードによりダイナミックRAM16に対して書き込み
を行う。
When processing A, which was being executed preferentially in this state, ends, the dynamic RAM control circuit 17 determines that 2 words of data are stored in the temporary storage memory 2 connected to channel CH2. Writing is performed to the dynamic RAM 16 in high-speed page mode.

このときのマイクロ・プロセッサ11による処理A1受
信回路3による処理及びダイナミックRAM16の使用
状況を示せば第3図に示すようになる。
The processing by the microprocessor 11, the processing by the receiving circuit 3, and the usage status of the dynamic RAM 16 at this time are shown in FIG.

またダイナミックRAMコントロール回路17による高
速ページモードでのダイナミックRAM16に対する書
き込み制御をタイミング図で示せば第4図に示すように
なる。すなわちデータXとデータYの書き込みを行った
後に1回のプリチャージを行えばよい。
FIG. 4 is a timing diagram showing the write control of the dynamic RAM control circuit 17 in the dynamic RAM 16 in the high-speed page mode. That is, it is sufficient to perform precharging once after writing data X and data Y.

このように受信回路13が受信したデータX。Data X received by the receiving circuit 13 in this way.

Yをマイクロ・プロセッサ11を使用せずにダイナミッ
クRAMコントロール回路17に転送することかできる
。従って割り込み処理か不要となりそれによる待ち時間
は発生しない。
Y can be transferred to the dynamic RAM control circuit 17 without using the microprocessor 11. Therefore, no interrupt processing is required, and no waiting time occurs.

しかも受信回路13がデータを受信し一時記憶用メモリ
21に書き込んている間マイクロ・プロセッサ11は処
理Aを平行して実行することができる。そして一時記憶
用メモリ21に2ワードのデータが記憶され、マイクロ
・プロセッサ11による処理Aが終了すると直ちにダイ
ナミックRAMコントロール回路17によって一時記憶
用メモリ21のデータが高速ページモードでダイナミッ
クRAMI 6に書き込まれる。
Furthermore, while the receiving circuit 13 is receiving data and writing it into the temporary storage memory 21, the microprocessor 11 can execute processing A in parallel. Then, two words of data are stored in the temporary storage memory 21, and immediately after processing A by the microprocessor 11 is completed, the data in the temporary storage memory 21 is written to the dynamic RAM 6 by the dynamic RAM control circuit 17 in high-speed page mode. .

従って処理速度を向上てきるとともに処理効率を向上で
きる。
Therefore, it is possible to improve processing speed and processing efficiency.

なお、本実施例は受信回路13が受信するデータが常に
複数個であるようなデータの多重処理において極めて有
効となる。
Note that this embodiment is extremely effective in data multiplexing where the receiving circuit 13 always receives a plurality of pieces of data.

なお、前記実施例ではダイナミックRAMコントロール
回路17において優先順位の高いマイクロ・プロセッサ
11による処理Aが終了したときに一時記憶用メモリ2
1に2ワードのデータが記憶されていればそのデータを
ダイナミ・ンクRAM16に対して高速ページモードで
書き込むようにしたが必ずしもこれに限定されるもので
はなく、受信回路13が受信するデータが1個の場合の
ようにデータの単発処理が比較的多い場合には以下のデ
ータ処理を行えばよい。
In the above embodiment, when processing A by the microprocessor 11 having a high priority in the dynamic RAM control circuit 17 is completed, the temporary storage memory 2 is
If 2 words of data are stored in 1, the data is written to the dynamic RAM 16 in high-speed page mode, but this is not necessarily the case. If there is a relatively large number of single-shot data processes, such as in the case of 1, the following data processing may be performed.

すなわちダイナミックRAMコントロール回路として優
先順位の高いマイクロ・プロセッサ11による処理Aが
終了したときに一時記憶用メモリ21に記憶されている
データ数を判断し、データ数が複数でかつその各データ
が書き込まれるアドレスがダイナミックRAM16上の
同一ページ内にあるときにはそのデータをダイナミック
RAM16に対して高速ページモードで書き込み、また
データ数が1つのときにはそのデータをダイナミックR
AM16に対してシングルページモードで書き込むよう
にする。
That is, when processing A by the microprocessor 11, which has a high priority as a dynamic RAM control circuit, is completed, the number of data stored in the temporary storage memory 21 is determined, and if there is a plurality of data, each data is written. When the address is within the same page on the dynamic RAM 16, the data is written to the dynamic RAM 16 in high-speed page mode, and when the number of data is one, the data is written in the dynamic RAM 16 in the dynamic RAM 16.
Write to AM16 in single page mode.

このようにすれば、マイクロ・プロセッサ11による処
理Aが終了したときに一時記憶用メモリ21に1つのデ
ータしか記憶されていない場合でもダイナミックRAM
16に対するアクセスを直ちに実行できるので、データ
の多重処理と単発処理が混在し、かつ単発処理が比較的
多い場合には極めて有効となる。
In this way, even if only one piece of data is stored in the temporary storage memory 21 when the process A by the microprocessor 11 is finished, the dynamic RAM
Since access to 16 can be executed immediately, it is extremely effective when multiple data processing and single-shot processing are mixed, and there are relatively many single-shot processings.

また前記実施例では受信回路13に対応した一時記憶用
メモリ21を2ワード構成とし、通信回路14に対応し
た一時記憶用メモリ23を1ワード構成とし、高速ペー
ジモードでアクセスする場合の必要データ数の設定を一
時記憶用メモリ21が接続されたチャネルCH2に対し
て行ったが、例えば通信回路14に対応した一時記憶用
メモリ23も複数ワード構成とし、高速ページモードで
アクセスする場合の必要データ数の設定を一時記憶用メ
モリ21が接続されたチャネルCH2に対して行うか一
時記憶用メモリ23が接続されたチャネルCH,に対し
て行うかをマイクロ・プロセッサ11からの指令によっ
て変更できるようにしてもよい。
Further, in the above embodiment, the temporary storage memory 21 corresponding to the receiving circuit 13 has a 2-word configuration, and the temporary storage memory 23 corresponding to the communication circuit 14 has a 1-word configuration, and the number of data required when accessing in high-speed page mode. The following settings were made for the channel CH2 to which the temporary storage memory 21 is connected. For example, the temporary storage memory 23 corresponding to the communication circuit 14 also has a multi-word configuration, and the number of data required when accessing in high-speed page mode. Whether the setting is performed for the channel CH2 connected to the temporary storage memory 21 or for the channel CH connected to the temporary storage memory 23 can be changed by a command from the microprocessor 11. Good too.

[発明の効果コ 以上詳述したように本発明によれば、処理速度及び処理
効率を向上できるメモリ制御装置を提供できるものであ
る。
[Effects of the Invention] As detailed above, according to the present invention, it is possible to provide a memory control device that can improve processing speed and processing efficiency.

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

第1図乃至第4図は本発明の一実施例を示すもので、第
1図はブロック図、第2図はマイクロ・プロセッサによ
る要部処理を示す流れ図、第3図はマイクロ・プロセッ
サによる処理、受信回路による処理及びダイナミックR
AMの処理の手順を示す図、第4図は高速ページモード
によるダイナミックRAMに対するデータ書き込みタイ
ミングを示す図、第5図乃至第7図は従来例を示すもの
で、第5図はブロック図、第6図はシングルモードによ
るダイナミックRAMに対するデータ書き込みタイミン
グを示す図、第7図はマイクロ・プロセッサによる処理
、受信回路による処理及びダイナミックRAMの処理の
手順を示す図である。 11・・・マイクロ・プロセッサ、 1 3・・・受信回路 (回路ブロック) 6・・・ダイナミ クRAM。 7・・・ダイナミ クRA Mコン ト ロ ル回路、 19゜ 1 。 3・・・一時記憶用メモリ。
Figures 1 to 4 show an embodiment of the present invention; Figure 1 is a block diagram, Figure 2 is a flowchart showing main processing by a microprocessor, and Figure 3 is a process by a microprocessor. , processing by the receiving circuit and dynamic R
Figure 4 is a diagram showing the procedure of AM processing, Figure 4 is a diagram showing data write timing to dynamic RAM in high-speed page mode, Figures 5 to 7 are conventional examples, and Figure 5 is a block diagram. FIG. 6 is a diagram showing the timing of writing data to the dynamic RAM in single mode, and FIG. 7 is a diagram showing the procedure of processing by the microprocessor, processing by the receiving circuit, and processing of the dynamic RAM. 11... Microprocessor, 1 3... Receiving circuit (circuit block) 6... Dynamic RAM. 7...Dynamic RAM control circuit, 19°1. 3...Memory for temporary storage.

Claims (4)

【特許請求の範囲】[Claims] (1)ダイナミック・ランダム・アクセス・メモリと、
複数の入出力チャネルを有し、前記メモリへのラス信号
、ガス信号、ライトイネーブル信号等の信号タイミング
を制御し前記メモリをアクセス制御するダイナミック・
ランダム・アクセス・メモリコントロール回路と、この
ダイナミック・ランダム・アクセス・メモリコントロー
ル回路の全ての入出力チャネルあるいは一部の入出力チ
ャネルに対してそれぞれ設けられた複数ワード構成の複
数の一時記憶用メモリと、この各一時記憶用メモリの1
つをシステムデータバスを介して制御しデータの書込み
、読出しを行うマイクロ・プロセッサと、残りの一時記
憶用メモリに対してデータの書込みあるいは読出し又は
その両方を行う回路ブロックからなり、 前記ダイナミック・ランダム・アクセス・メモリコント
ロール回路は、予め設定された優先順位に基づいて各入
出力チャネルからのアクセス要求を順次実行するととも
に、一時記憶用メモリを設けた入出力チャネルのアクセ
ス要求の実行をその一時記憶用メモリに格納されている
データ数が予め設定されたデータ数になったときページ
モードで行うことを特徴とするメモリ制御装置。
(1) Dynamic random access memory,
A dynamic controller has a plurality of input/output channels and controls access to the memory by controlling the timing of signals such as a ras signal, a gas signal, and a write enable signal to the memory.
A random access memory control circuit, and a plurality of temporary storage memories each having a plurality of words and provided for all or some of the input/output channels of the dynamic random access memory control circuit. , 1 of each temporary storage memory
The dynamic random controller consists of a microprocessor that controls one via a system data bus to write and read data, and the other circuit block that writes and/or reads data to and from temporary storage memory. - The access/memory control circuit sequentially executes access requests from each input/output channel based on preset priorities, and also temporarily stores access requests from input/output channels provided with a temporary storage memory. A memory control device that operates in page mode when the number of data stored in a memory reaches a preset number of data.
(2)ダイナミック・ランダム・アクセス・メモリコン
トロール回路が一時記憶用メモリを設けた入出力チャネ
ルのアクセス要求をページモードで実行するときのその
一時記憶用メモリにおける必要データ数をマイクロ・プ
ロセッサにより設定自在としたことを特徴とする請求項
(1)記載のメモリ制御装置。
(2) When the dynamic random access memory control circuit executes an access request for an input/output channel provided with temporary storage memory in page mode, the number of data required in the temporary storage memory can be freely set by the microprocessor. The memory control device according to claim 1, characterized in that:
(3)ダイナミック・ランダム・アクセス・メモリと、
複数の入出力チャネルを有し、前記メモリへのラス信号
、ガス信号、ライトイネーブル信号等の信号タイミング
を制御し前記メモリをアクセス制御するダイナミック・
ランダム・アクセス・メモリコントロール回路と、この
ダイナミック・ランダム・アクセス・メモリコントロー
ル回路の全ての入出力チャネルあるいは一部の入出力チ
ャネルに対してそれぞれ設けられた複数ワード構成の複
数の一時記憶用メモリと、この各一時記憶用メモリの1
つをシステムデータバスを介して制御しデータの書込み
、読出しを行うマイクロ・プロセッサと、残りの一時記
憶用メモリに対してデータの書込みあるいは読出し又は
その両方を行う回路ブロックからなり、 前記ダイナミック・ランダム・アクセス・メモリコント
ロール回路は、予め設定された優先順位に基づいて各入
出力チャネルからのアクセス要求を順次実行するととも
に、一時記憶用メモリを設けた入出力チャネルのアクセ
ス要求の実行をその一時記憶用メモリに複数のデータが
揃っているときにはページモードで行い、かつその一時
記憶用メモリに1つのデータしかないときにはシングル
モードで行うことを特徴とするメモリ制御装置。
(3) Dynamic random access memory;
A dynamic controller has a plurality of input/output channels and controls access to the memory by controlling the timing of signals such as a ras signal, a gas signal, and a write enable signal to the memory.
A random access memory control circuit, and a plurality of temporary storage memories each having a plurality of words and provided for all or some of the input/output channels of the dynamic random access memory control circuit. , 1 of each temporary storage memory
The dynamic random controller consists of a microprocessor that controls one via a system data bus to write and read data, and the other circuit block that writes and/or reads data to and from temporary storage memory. - The access/memory control circuit sequentially executes access requests from each input/output channel based on preset priorities, and also temporarily stores access requests from input/output channels provided with a temporary storage memory. A memory control device characterized in that it operates in page mode when a plurality of pieces of data are available in a memory for temporary storage, and operates in a single mode when there is only one piece of data in its temporary storage memory.
(4)ダイナミック・ランダム・アクセス・メモリコン
トロール回路は、一時記憶用メモリに複数のデータが格
納され、かつその各データが書き込まれるべきアドレス
がダイナミック・ランダム・アクセス・メモリ上の同一
ページ内にあるときページモードでアクセス要求の実行
を行うことを特徴とする請求項(3)記載のメモリ制御
装置。
(4) A dynamic random access memory control circuit stores a plurality of data in a temporary storage memory, and the address to which each data is written is within the same page on the dynamic random access memory. 4. The memory control device according to claim 3, wherein the access request is executed in page mode.
JP2056708A 1990-03-09 1990-03-09 Memory controller Expired - Lifetime JP2909126B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2056708A JP2909126B2 (en) 1990-03-09 1990-03-09 Memory controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2056708A JP2909126B2 (en) 1990-03-09 1990-03-09 Memory controller

Publications (2)

Publication Number Publication Date
JPH03259491A true JPH03259491A (en) 1991-11-19
JP2909126B2 JP2909126B2 (en) 1999-06-23

Family

ID=13034979

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2056708A Expired - Lifetime JP2909126B2 (en) 1990-03-09 1990-03-09 Memory controller

Country Status (1)

Country Link
JP (1) JP2909126B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003079194A1 (en) * 2002-03-18 2003-09-25 Matsushita Electric Industrial Co., Ltd. Information processing apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003079194A1 (en) * 2002-03-18 2003-09-25 Matsushita Electric Industrial Co., Ltd. Information processing apparatus
CN1307556C (en) * 2002-03-18 2007-03-28 松下电器产业株式会社 Information processing apparatus

Also Published As

Publication number Publication date
JP2909126B2 (en) 1999-06-23

Similar Documents

Publication Publication Date Title
JPS6376044A (en) Bus master
JPS62149099A (en) Memory access controlling circuit
JP3803196B2 (en) Information processing apparatus, information processing method, and recording medium
JP2755039B2 (en) Register access control method
JPH03259491A (en) Memory controller
US5752267A (en) Data processing system for accessing an external device during a burst mode of operation and method therefor
JPH0628307A (en) Bus controller
JPH06231032A (en) Access controller
JP2625573B2 (en) Direct memory access controller
JPH04188345A (en) Memory controller
JP2606824Y2 (en) Multiport memory device
JPH03109662A (en) Memory controller
JPH01287767A (en) Control circuit for ram
JPH07281941A (en) Memory control method and device therefor
JPH06348581A (en) Memory access controller
JPH05173936A (en) Data transfer processing device
JPH03134750A (en) Dma data transfer device
JPH06324940A (en) Method and device for controlling memory
JPH02263248A (en) Memory device
JPH05197612A (en) Data access circuit
JPS62214769A (en) Memory control device
JPH04246764A (en) Data processor
JPS59189433A (en) Data erasing system by direct memory access
JPH05108538A (en) Memory access control system
JPH1011356A (en) Memory access system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080402

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090402

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100402

Year of fee payment: 11

EXPY Cancellation because of completion of term