JPS62214769A - Memory control device - Google Patents

Memory control device

Info

Publication number
JPS62214769A
JPS62214769A JP5727386A JP5727386A JPS62214769A JP S62214769 A JPS62214769 A JP S62214769A JP 5727386 A JP5727386 A JP 5727386A JP 5727386 A JP5727386 A JP 5727386A JP S62214769 A JPS62214769 A JP S62214769A
Authority
JP
Japan
Prior art keywords
memory
data
bus
selector
address
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
JP5727386A
Other languages
Japanese (ja)
Other versions
JPH0797814B2 (en
Inventor
Hitoshi Horie
堀江 等
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.)
Panasonic System Solutions Japan Co Ltd
Original Assignee
Matsushita Graphic Communication Systems Inc
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 Matsushita Graphic Communication Systems Inc filed Critical Matsushita Graphic Communication Systems Inc
Priority to JP61057273A priority Critical patent/JPH0797814B2/en
Publication of JPS62214769A publication Critical patent/JPS62214769A/en
Publication of JPH0797814B2 publication Critical patent/JPH0797814B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Storing Facsimile Image Data (AREA)

Abstract

PURPOSE:To attain high-speed switching of each memory of a memory bank by applying hardware processing to switch each memory by a pattern detection signal in a color facsimile equipment equipped with the memory bank comprising plural memories. CONSTITUTION:When a memory address is outputted to an address bus 41, data of the memory address is read from an address bus 38 onto R, G, B data buses 26, 25 24. An output signal 30 of a pattern detection section 29 selects a R memory 21 as the initial setting and data of the bus 26 is outputted to an input/output data bus 28 of a selector 27. In reading a specific pattern written on the memory, a pattern detection signal is generated in the inside of the detection section 29, the output of the selector 27 is changed to a G memory 23 and only the data on the bus 24 is outputted to the bus 28. The operation above is repeated and the specific pattern is detected, then the selective state of the selector 27 in the B memory 23 is changed. Through the repetition of above operations, the data in the memories 21-23 is outputted to the bus 28 at each line.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、複数個のメモリから成るメモリバンクを備え
た通信装置、特にカラーファクシミリ等に使用して好適
なメモリ制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a communication device equipped with a memory bank consisting of a plurality of memories, and particularly to a memory control device suitable for use in color facsimiles and the like.

従来の技術 従来のこの種のメモリ制御装置の一例を第6図に示す。Conventional technology An example of a conventional memory control device of this type is shown in FIG.

第6図はカラーファクシミリに適用された従来のメモリ
装置の概略構成を示すもので、この装置は、複数のダイ
ナミックメモリ(DRAM)、例えばRメモリ1、Gメ
モリ2及びBメモリ3を備えたメモリバンクと、そのリ
フレッシュ制御部4と、前記R,G、Bメモリ1,2.
3のリード/ライトを制御するリード/ライト制御部5
と、前記R9G、Bメモリ1,2.3の入出力データバ
ス6゜7.8を切替えるだめのセレクタ9等を備えて成
り、前記リード/ライト制御部5.!:セレクタ9に、
マイクロプロセッサ(CPU)(CPUバス10)カラ
のメモリ選択制御信号11を入力して、CPUのソフト
ウェア処理(CPUのプログラム実行)によって前記J
G、BメモIJ 1 、2 、3を切替える構成になっ
ている。
FIG. 6 shows a schematic configuration of a conventional memory device applied to a color facsimile. A bank, its refresh control unit 4, and the R, G, B memories 1, 2 .
Read/write control unit 5 that controls read/write of No. 3
and a selector 9 for switching the input/output data bus 6°7.8 of the R9G and B memories 1, 2.3, and the read/write controller 5. ! : to selector 9,
The memory selection control signal 11 of the microprocessor (CPU) (CPU bus 10) is input, and the J
It is configured to switch between G and B memos IJ 1, 2, and 3.

発明が解決しようとする問題点 このように、従来のメモリ制御装置では、メモリバンク
の各メモリの切換処理をCPUのプログラムで実行して
いるために、必然的に、メモリ切換時に数μsのメモリ
切換処理時間が必要となる。
Problems to be Solved by the Invention As described above, in the conventional memory control device, since the switching process of each memory of the memory bank is executed by the CPU program, it is inevitable that the memory switching process of several μs will occur when switching the memory. Switching processing time is required.

第7図は、このことを図示したものである。FIG. 7 illustrates this.

従ってこの種の従来のメモリ制御装置には、メモリ出力
データをセレクタ入出力データバス 12(第6図参照
)を介して高速の通信制御部(図示せず)にDMA転送
する場合に、各メモリ出力データの切れ目で転送処理時
間が長くなるという問題があった。
Therefore, in this type of conventional memory control device, when memory output data is DMA transferred to a high-speed communication control unit (not shown) via the selector input/output data bus 12 (see FIG. 6), each memory There is a problem in that the transfer processing time becomes longer due to breaks in the output data.

また、その問題を解決するためには、メモリ(セレクタ
入出力データバス12)からのデータの転送先である通
信制御部で、転送処理時間の変動を吸収するためのバッ
ファメモリを用意する必要がある。それがため、回路規
模が増大するといった問題が発生する。
In addition, in order to solve this problem, it is necessary to prepare a buffer memory to absorb fluctuations in transfer processing time in the communication control unit that is the destination of data transfer from the memory (selector input/output data bus 12). be. Therefore, a problem arises in that the circuit scale increases.

本発明は、上述の問題点に鑑みてなされたもので、回路
規模を増大させることなく、メモリバンクの各メモリを
ハードウェア処理で高速に切替えることができるメモリ
制御装置を提供することを目的きする。
The present invention has been made in view of the above-mentioned problems, and an object of the present invention is to provide a memory control device that can switch each memory of a memory bank at high speed by hardware processing without increasing the circuit scale. do.

問題点を解決するだめの手段 本発明は上述の問題点を解決するため、固有パターンが
周期的(−書込まれたメモリを同一アドレス空間上に複
数個配設して成るメモリバンクと、その複数個のメモリ
の入出力データバスを切替えるセレクタと、前記各メモ
リ内に書込まれた固有パターンを検出するパターン検出
部と、前記メモリの転送アドレスと転送語数を含む参照
ブロックの集合から成る参照テーブルを備えたダイレク
ト・メモリ・アクセス・コントローラ(DMAC) 、
:、前記パターン検出部からのパターン検出信号により
前記セレクタの入出力データバスの選択状態を変化せし
めてメモリ切替えを行う手段と、そのメモリ切替えと同
期して前記DMACの参照テーブルの参照ブロックを更
新せしめる手段とを備え、ハードウェア処理で前記パタ
ーン検出信号による各メモリの切替えを行うようにした
ものである。
Means for Solving the Problems In order to solve the above-mentioned problems, the present invention provides a memory bank in which a plurality of memories written in a periodic (-) memory are arranged in the same address space; A reference device comprising a selector for switching input/output data buses of a plurality of memories, a pattern detection section for detecting a unique pattern written in each of the memories, and a set of reference blocks including transfer addresses and the number of transfer words of the memories. Direct Memory Access Controller (DMAC) with table,
: means for changing the selected state of the input/output data bus of the selector in response to a pattern detection signal from the pattern detection section to perform memory switching; and updating a reference block of the reference table of the DMAC in synchronization with the memory switching. The pattern detection signal is used to switch each memory using hardware processing.

作    用 本発明は、上述の構成によって複数個のメモリがハード
ウェア処理で切替えられるため、従来のように各メモリ
を切替えるためのソフトウェアの処理時間を必要としな
い。従ってソフトウェアの処理時間の変動を吸収するた
めのバッファメモリも不要となる。このため、回路規模
を増大させることなく、データ転送の高速化を実現する
ことができる。
Effects The present invention uses the above-described configuration to switch between a plurality of memories by hardware processing, and therefore does not require software processing time to switch between each memory, unlike the conventional method. Therefore, there is no need for a buffer memory for absorbing fluctuations in software processing time. Therefore, high-speed data transfer can be achieved without increasing the circuit scale.

実施例 第1図は本発明に係るメモリ制御装置の一実施例を示す
概略構成ブロック図で、この実施例では、カーy−7ア
クシミリへの適用例を示したものである。
Embodiment FIG. 1 is a schematic block diagram showing an embodiment of a memory control device according to the present invention, and this embodiment shows an example of application to a car Y-7 axis.

第1図においては、21はRメモリ(DRAM )〜2
2はGメモリ(DRAM )、23はBメモリ(DRA
M)で、これらJG、Bメモリ21 、22 、23は
同一アドレス空間上に配設され、一般には、複数個配設
されるメモリバンクを構成している。尚、以下の説明に
おいて、単にメモリと称した場合には、前記各J()、
Bメモリ21 、22 、23 を含めた意味である。
In FIG. 1, 21 is R memory (DRAM) ~2
2 is G memory (DRAM), 23 is B memory (DRA)
In M), these JG and B memories 21, 22, and 23 are arranged in the same address space, and generally constitute a plurality of memory banks. In the following explanation, when simply referred to as memory, each of the above J(),
This includes the B memories 21, 22, and 23.

24は前記Bメモリ23の入出力データバス(以下、B
データバスという)、25は前記Gメモリ22の入出力
データバス(以下、Gデータバスという)、26は前記
Rメモリ21の入出力データバス(以下、Rデータバス
という)、27はこれら各データバス24 、25 、
26 (各々16ビツト)を前記メモリ内のデータ及び
メモリに書込まれたデータ(後述する)に基づいて選択
切替えするセレクタ、28はそのセレクタ27の入出力
データバスである。
24 is an input/output data bus of the B memory 23 (hereinafter referred to as B
25 is an input/output data bus of the G memory 22 (hereinafter referred to as a G data bus), 26 is an input/output data bus of the R memory 21 (hereinafter referred to as an R data bus), and 27 is a data bus for each of these data. Bus 24, 25,
26 (each 16 bits) is selectively switched based on data in the memory and data written in the memory (described later); 28 is an input/output data bus of the selector 27;

29 はメモリ内に書込まれたメモリ切替パターン(以
下、固有パターンという。詳細は後述する。)を検出す
るためのパターン検出部、3oはその検出部29の出力
信号で、前記セレクタ27とメモリのり一ド/ライト制
御部31への入力信号になる。
29 is a pattern detection unit for detecting a memory switching pattern written in the memory (hereinafter referred to as a unique pattern. Details will be described later); 3o is an output signal of the detection unit 29; This becomes an input signal to the glue read/write control section 31.

32はRメモリ21のリード/ライト制御信号(R■)
、33はGメモリ22のリード/ライト制御信号(GW
E )、34はBメモリ23のリード/ライト制御信号
(B■)、35はライトネーブル信号(WE)で、■3
5はコントロールバス36かう出力される。
32 is the read/write control signal (R ■) of the R memory 21
, 33 is a read/write control signal (GW
E), 34 is the read/write control signal (B■) of the B memory 23, 35 is the write enable signal (WE), and ■3
5 is outputted to the control bus 36.

37はメモリのリフレッシュ制御部、38はメモリにメ
モリアドレスを入力するアドレスバス、39゜40はメ
モリをアクセスするための制御信号(RAS。
37 is a memory refresh control unit; 38 is an address bus for inputting a memory address to the memory; 39; and 40 is a control signal (RAS) for accessing the memory.

CAS) 、41はアドレスバス、42は頭、 RAM
から成る記憶部、43はマイクロプロセッサ(CPU)
、44はダイレクト−メモリ・アクセス・コントローラ
(DMAC)、45はデータバスである。
CAS), 41 is address bus, 42 is head, RAM
43 is a microprocessor (CPU)
, 44 is a direct memory access controller (DMAC), and 45 is a data bus.

第2図は同一のメモリアドレスa1空間上に配設された
前記Rメモリ21、Gメモリ22及びBメモリ23のそ
れぞれ内部データの割轟て(構造)を示したものである
FIG. 2 shows the allocation (structure) of the internal data of the R memory 21, G memory 22, and B memory 23 arranged in the same memory address a1 space.

各JG、Bメモリ21 、22 、23の内部には、メ
モリ切替えのためのパターン、所謂固有パター721a
 、 21b 、 22a 、 22b 、 23a 
、 23bが周期的に、つまり所定のアドレス毎にメモ
リ内データに対して書込まれている。
Inside each JG, B memory 21, 22, 23, there is a pattern for memory switching, a so-called unique pattern 721a.
, 21b, 22a, 22b, 23a
, 23b are written to the data in the memory periodically, that is, at every predetermined address.

この実施例では、各ライン(第1ライン、第2ライン・
・・)毎に、各JG、Bメモリ 21゜22 、23の
内部データ(R成分第1ライン画データ、R成分第2ラ
イン画データ、G成分第1ライン画データ、・・・)に
対してその最後の部分に固有パターン21a 、 21
b 、・・・を書込んでいる。
In this example, each line (first line, second line,
...) for each JG, B memory 21, 22, 23 internal data (R component 1st line image data, R component 2nd line image data, G component 1st line image data,...) In the last part of the unique pattern 21a, 21
b, ... is written.

第3図は前記メモリの切替タイミングを示すタイムチャ
ートで、同図中、46は前記メモリ内に書込まれた固有
パターンの検出を指示するパターン検出部29内のパタ
ーン検出信号で、この信号46はパターン検出部29の
出力信号30に対応している。47〜49はメモリの入
出力データバス24〜26のどのデータバスを選択する
かを指示する制御信号で、47はRメモIJ21を選択
することを指示するセレクト信号、48はGメモリ22
を選択することを指示するセレクト信号、49はBメモ
リ23を選択することを指示するセレクト信号である。
FIG. 3 is a time chart showing the switching timing of the memory, and in the figure, 46 is a pattern detection signal within the pattern detection section 29 that instructs the detection of the unique pattern written in the memory; corresponds to the output signal 30 of the pattern detection section 29. 47 to 49 are control signals for instructing which data bus to select from memory input/output data buses 24 to 26, 47 is a select signal for instructing to select R memo IJ21, and 48 is G memory 22.
A select signal 49 instructs to select the B memory 23;

前記セレクト信号47中の斜線部分は、その区間で前記
パターン検出信号46によりRメモリ21の入出力デー
タバス24が選択されていることを示している。同様に
、前記セレクト信号48中の斜線部分は、Gメモリ22
の入出力データバス25が、また前記セレクト信号49
中の斜線部分はBメモリ23 の入出力データバス26
が、それぞれ選択されていることを示している。
A hatched portion in the select signal 47 indicates that the input/output data bus 24 of the R memory 21 is selected by the pattern detection signal 46 in that section. Similarly, the shaded portion in the select signal 48 corresponds to the G memory 22.
The input/output data bus 25 also receives the select signal 49.
The shaded area inside is the input/output data bus 26 of the B memory 23.
indicates that they are selected.

要するに、メモリからデータを読出す場合は、パターン
検出部29からのパターン検出信号46によってメモリ
の入出力データバス24〜26の選択状態が前記各斜線
部分の区間で変化する。つまり、ハードウェア処理によ
ってパターン検出によるメモリ切替えが行われる。
In short, when reading data from the memory, the selection states of the input/output data buses 24 to 26 of the memory change in each of the hatched sections according to the pattern detection signal 46 from the pattern detection section 29. In other words, memory switching is performed by pattern detection through hardware processing.

50はメモリからのデータ(第1ラインのデータAl、
A2.A3、第2ラインのデータBl 。
50 is data from the memory (first line data Al,
A2. A3, second line data Bl.

・・・)の転送と、その時にDMAC44が参照する参
照テーブル(以下、リンクアレイ・テーブルという)5
1(第4図参照)との対応関係を示したものである。
...) and the reference table (hereinafter referred to as link array table) 5 referred to by the DMAC 44 at that time.
1 (see FIG. 4).

前記リンクアレイ・テーブル51はDMAC44内に設
けられていて、そのDMAC44又はCPU43がメモ
リをアクセスしてデータ転送を行なう時に参照するもの
で、第4図に示すように、第1ラインのデータAl 、
A2 、A3、に対応した参照ブロックAI、A2.A
3と、第2ラインのデータBl、B2゜B3に対応した
参照ブロックBl、B2.B3といった具合に、各ライ
ンのデータの数に対応した参照ブロックを各ライン毎に
集合せしめて、これらを連設したものから成る。
The link array table 51 is provided in the DMAC 44 and is referred to when the DMAC 44 or the CPU 43 accesses the memory to transfer data.As shown in FIG.
Reference blocks AI, A2 . corresponding to A2 , A3 . A
3 and the reference blocks Bl, B2.B3 corresponding to the second line data Bl, B2°B3. It consists of reference blocks corresponding to the number of data on each line, such as B3, which are assembled for each line and arranged in series.

前記各参照ブロックAI、A2.・・・の内部構造は、
第4図(:示す如く、メモリアドレス(メモリの転送ア
ドレス)と、転送ワード数(転送語数)と、リンクアド
レスとから成る。
Each of the reference blocks AI, A2. The internal structure of...
As shown in FIG. 4, it consists of a memory address (memory transfer address), the number of transfer words (number of transfer words), and a link address.

前記メモリアドレスはDMAC44がデータ転送を開始
するアドレスであり、転送ワード数は前記メモリアドレ
スから何ワード転送するかを示すもので、所定のアドレ
ス、つまりメモリ内に書込まれた固有パターンの周期に
対応するように設定される。また、前記リンクアドレス
は例えば参照ブロックA1の転送を終了した後どのテー
ブルの参照プロ、りを参照すべきかを示すポインタであ
る。
The memory address is the address at which the DMAC 44 starts data transfer, and the number of transfer words indicates how many words are to be transferred from the memory address. be configured accordingly. Further, the link address is, for example, a pointer indicating which table's reference program should be referred to after the transfer of the reference block A1 is completed.

ここに参照ブロックA1〜A3のメモリアドレスには同
一のメモリアドレスa1が書かれている。
Here, the same memory address a1 is written in the memory addresses of the reference blocks A1 to A3.

つまり、参照ブロック例えばA (A= Al 、 A
2 。
That is, a reference block such as A (A= Al , A
2.

A3 )に書込まれたメモリアドレス(例えばal)は
、連続するn個の参照ブロック(例えばA1゜A2.A
3)に対して同一であって、メモリアドレスが同一とな
る参照ブロックがメモリの数だけ連続して参照されるよ
うになっている。
A memory address (for example, al) written in n consecutive reference blocks (for example, A1, A2, A
3), reference blocks that are the same and have the same memory address are successively referenced as many times as there are memories.

第5図はこの実施例におけるカラーファクシミリ内での
本発明に係るメモリ制御装置の位置付けを示したもので
ある。同図中、60はカラースキャナ、61 はカラー
プリンタ、62は発明に係るメモリ制御装置(第1図参
照)、63は通信制御部、64〜66はカラースキャナ
6oからメモリに書込まれるJG、Bデータ信号、67
〜69はメモリからカラープリンタ61へのJG、Bデ
ータ信号、70はメモリ制御部62への入出力データ信
号、71は回線への入出力データ信号である。回線上で
はその信号71はR、G 、 B 1ライン毎に伝送さ
れる。
FIG. 5 shows the positioning of the memory control device according to the present invention within the color facsimile machine in this embodiment. In the figure, 60 is a color scanner, 61 is a color printer, 62 is a memory control device according to the invention (see FIG. 1), 63 is a communication control unit, 64 to 66 are JGs written in the memory from the color scanner 6o, B data signal, 67
69 are JG and B data signals from the memory to the color printer 61, 70 is an input/output data signal to the memory control unit 62, and 71 is an input/output data signal to the line. On the line, the signal 71 is transmitted for each R, G, and B line.

次に以上のように構成されたメモリ制御装置(第1図〜
第4図参照)について、以下その動作を説明する。
Next, the memory control device configured as described above (Fig. 1~
(see FIG. 4), its operation will be explained below.

先ずRメモリ21、Gメモリ22、 Bメモリ23から
データを読出す場合はDMAC44からメモリアドレス
がアドレスバス41 に出力され、ライトイネーブル3
5はH”レベルとなる。この時リード/ライト制御部3
1の出力R■32.G■733゜BWB 34も全て”
H”レベルとなる。すなわち全てのメモリに対して読出
し状態となりRデータバス26、Gデータバス25、B
データバス24上にアドレスバス38からのメモリアド
レスのデータが読出される。
First, when reading data from the R memory 21, G memory 22, and B memory 23, the memory address is output from the DMAC 44 to the address bus 41, and the write enable 3 is output.
5 becomes H” level. At this time, the read/write control unit 3
1 output R■32. G■733゜BWB 34 all”
becomes H" level. In other words, all memories are in a read state and the R data bus 26, G data bus 25, and B
Data at a memory address from address bus 38 is read onto data bus 24 .

パターン検出部29の出力信号30(パターン検出信号
46)は、初期設定としてRメモリ21を選択する。従
ってセレクタ27の入出力データバス28にはRデータ
バス26のデータが出力する。
The output signal 30 (pattern detection signal 46) of the pattern detection section 29 selects the R memory 21 as an initial setting. Therefore, the data on the R data bus 26 is output to the input/output data bus 28 of the selector 27.

DMAC44は第4図のリンクアレイ・テーブル51 
に書かれた転送ワード数だけの転送が終了するまで、読
出すメモリアドレスを更新しながら、転送動作を続ける
The DMAC 44 is the link array table 51 in FIG.
The transfer operation continues while updating the memory address to be read until the transfer of the number of transfer words written in is completed.

一方、メモリ内に書込まれた固有パターン(第2図参照
)が読出されるまではメモリの選択状態は変化せずRメ
モリ21が選択された状態で、そのデータが前記データ
バス28上に出力される。
On the other hand, the selected state of the memory does not change until the unique pattern written in the memory (see FIG. 2) is read out, and the data is transferred onto the data bus 28 while the R memory 21 is selected. Output.

前記固有パターンが読出されると第3図のパターン検出
信号46が検出部29の内部で発生し、第3図のセレク
ト信号47 、48 +=示すようにセレクタ27出力
がRメモリ21からGメモリ23 に変化する。つまり
、パターン検出部29からのパターン検出信号・16に
よりメモリの入出力データバス24〜26の選択状態が
変化する(この場合、Gデータバス25を選択した状態
となっている。)同時にDMAC44はリンクアレイ・
テーブル51 の参照ブロックA1の参照を終了し、次
の参照ブロックA2を参照して転送を続行する。つまり
、DMAC44はリンクアレイ・テーブル51の参照ブ
ロックの更新を行いながらデータ転送を実行する。
When the unique pattern is read out, the pattern detection signal 46 shown in FIG. 3 is generated inside the detection unit 29, and the selector 27 output is transferred from the R memory 21 to the G memory as shown in FIG. Changes to 23. That is, the pattern detection signal 16 from the pattern detection section 29 changes the selected state of the input/output data buses 24 to 26 of the memory (in this case, the G data bus 25 is selected).At the same time, the DMAC 44 link array・
The reference to the reference block A1 of table 51 is finished, and the next reference block A2 is referenced to continue the transfer. That is, the DMAC 44 executes data transfer while updating the reference block of the link array table 51.

更新された参照ブロックA2のメモリアドレスは前記参
照ブロックA1と同様のメモリアドレスa1であるため
再度、同一のアドレス空間から転送を始める。
Since the memory address of the updated reference block A2 is the same memory address a1 as the reference block A1, transfer starts again from the same address space.

この時、セレクタ27 はGデータバス25の選択状態
となっているため、Rデータバス26、Gデータバス2
5、Bデータバス24のうちGデータバス24上のデー
タだけが、セレクタ27の入出力データパス28上に出
力される。
At this time, since the selector 27 is in the selected state of the G data bus 25, the R data bus 26 and the G data bus 2
5. Of the B data buses 24, only the data on the G data bus 24 is output onto the input/output data path 28 of the selector 27.

この動作を続はメモリ内に書込まれた固有パターンを検
出すると第3図のセレクト信号48 、49に示すよう
にGメモリ22からBメモリ23 にセレクタ27の選
択状態が変化する。
Continuing this operation, when the unique pattern written in the memory is detected, the selection state of the selector 27 changes from the G memory 22 to the B memory 23, as shown by select signals 48 and 49 in FIG.

これを繰り返すことにより、R,G、Bメモリ21 〜
23のデータは1ライン毎にセレクタ 27の入出力デ
ータパス28上(=出力される。
By repeating this, the R, G, B memory 21 ~
The data of 23 is output on the input/output data path 28 of the selector 27 for each line.

この間CPU 43は、メモリ切替えのためのプロクラ
ム処理を行なわない。つまり、ハードウエアの処理で、
メモリ内に書込まれた固有パターンの検出によるメモリ
切替えを実行している。それと同期してDMAC44の
リンクアレイ・テーブル51  もソフトウェア処理に
より切替わる。
During this time, the CPU 43 does not perform program processing for memory switching. In other words, hardware processing
Memory switching is performed by detecting a unique pattern written in memory. In synchronization with this, the link array table 51 of the DMAC 44 is also switched by software processing.

次にメモリへの書込み動作について説明する。Next, a write operation to the memory will be explained.

メモリ書込み時、入力データはセレクタ27の入出力デ
ータバス28から入力される。そのデータバス28上の
入力データはパターン検出部29の出力信号30(パタ
ーン検出信号46)に基づいてどのメモリデータバス2
4〜26に乗せるかが決定される。
During memory writing, input data is input from the input/output data bus 28 of the selector 27. The input data on the data bus 28 is transmitted to which memory data bus 2 based on the output signal 30 (pattern detection signal 46) of the pattern detection section 29.
It is decided whether to put it on numbers 4 to 26.

ここで、パターン検出部29の出力信号30は初期設定
としてRデータバス26を選択しているものとする。こ
のメモリ選択信号30は、リード/ライト制御部31に
も入力されていて、ここで、書込むメモリに対応した制
御信号R■32.GRE33゜BRE 34のうち何れ
かが”L”レベルになる。
Here, it is assumed that the output signal 30 of the pattern detection section 29 selects the R data bus 26 as an initial setting. This memory selection signal 30 is also input to the read/write control section 31, where a control signal R32. Any one of GRE33 and BRE34 becomes "L" level.

最初はRメモ1J21 が選択されているので借■32
が”L”レベルとなり、他は”H″レベルなる。従って
Rメモリ21に対しては書込み状態、他のG、BメモI
J 22 、23に対しては読出し状態となる。
Initially, R Memo 1J21 is selected, so borrow ■32
is at "L" level, and the others are at "H" level. Therefore, the R memory 21 is in the write state, and the other G and B memories I
J 22 and 23 are in a read state.

この場合、メモリへの書込みは前述した読出しの場合と
同様、第4図のリンクアレイ・テーブル51 を参照し
て行われる。
In this case, writing to the memory is performed with reference to the link array table 51 of FIG. 4, as in the case of reading described above.

パターン検出部29で固有パターンを検出すると、その
固有パターンをメモリに書込んだ後、セレクタ27の選
択状態がRメモリ選択状態からGメモリ選択状態(=変
わり、リンクアレイ・テーブル51の参照ブロックもA
1からA21=変わる。
When the pattern detection unit 29 detects a unique pattern, the unique pattern is written into the memory, and then the selection state of the selector 27 changes from the R memory selection state to the G memory selection state (== the reference block of the link array table 51 also changes). A
1 to A21 = change.

つまり固有パターンがメモリに書込まれると、ハードウ
ェア処理によりセレクタ27のメモリデータバス24〜
26の選択状態が変化しメモリ切替えが実行される。と
同時にDMAC44のリンクアレイ・テーブル51の参
照ブロックもソフトウェア処理により切替え更新される
In other words, when the unique pattern is written to the memory, the memory data buses 24 to 24 of the selector 27 are
The selection state of 26 changes and memory switching is executed. At the same time, the reference blocks of the link array table 51 of the DMAC 44 are also switched and updated by software processing.

この状態下においてセレクタ27からのデータがGメモ
リ23 に書込まれる。尚、ソフトウェア処理によるリ
ンクアレイ・テーブル51 の切替えとハードウェア処
理によるメモリデータバス 24〜26の切替動作は同
期せしめられている。
Under this state, data from the selector 27 is written to the G memory 23. Note that the switching of the link array table 51 by software processing and the switching of the memory data buses 24 to 26 by hardware processing are synchronized.

以上の動作を繰り返し実行することにより、メモリへの
書込みが行われる。その書込みがなされたメモリの内部
は、第2図に示すようなデータ構造となる。
By repeatedly performing the above operations, writing to the memory is performed. The inside of the memory to which the data has been written has a data structure as shown in FIG.

上述したように、メモリへの書込み動作時においても、
読出し時と同様に、CPU 43はメモリ切替えのため
のプログラム処理を実行していない。
As mentioned above, even when writing to memory,
As in the case of reading, the CPU 43 does not execute program processing for memory switching.

発明の効果 以上の説明から明らかなように、本発明はメモリバンク
の入出力データバスを、メモリ内のデータ及びメモリ内
に書込まれた固有パターンに基づいて切替えるようにし
たので、従来のようにメモリを切替えるためのソフトウ
ェア処理が不要となり、回路規模を増大させることなく
データ転送処理の高速化を実現し得るという効果を有す
るものである。
Effects of the Invention As is clear from the above explanation, the present invention switches the input/output data bus of the memory bank based on the data in the memory and the unique pattern written in the memory, so that it is possible to This eliminates the need for software processing to switch memory between memory locations, and has the effect of increasing the speed of data transfer processing without increasing the circuit scale.

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

第1図は本発明に係るメモリ制御装置の一実施例を示す
概略構成ブロック図、第2図はメモリ内部のデータ構造
の一例を示すデータ割当図、第3図はメモリの切替タイ
ミング図、第4図はリンクアレイ・テーブル(参照テー
ブル)の構造図、第5図は本発明が適用されたカラーフ
ァクシミリの概略構成を示すブロック図、第6図は従来
のメモリ制御装置の概略構成を示すブロック図、第7図
はメモリ切換の処理時間を説明するための概念図である
。 21・・・Rメモリ、22・・・Gメモリ、23・・・
Bメモリ、21a 、 21b 、 22a 、 22
b 、 23a 、 23b −・・固有パターン(メ
モリ切換パターン)、24・・・Bメモリの入出力デー
タバス(Bデータバス)、25・・・Gメモリの入出力
データバス(Gデータバス)、 26・・・Rメモリの
入出力データバス(Rデータバス)、27・・・セレク
タ、29・・・パターン検出部、31 ・・・リード/
ライト制御部、44・・・ダイレクト・メモリ・アクセ
ス・コントローラ(DMAC)、51・・・リンクアレ
イ・テーブル(参照テーブル)、al・・・メモリアド
レス(メモリの転送アドレス)。 代理人の氏名 弁理士 中 尾 敏 男 はか1名第2
7 第 3 図 第4図 第5図
FIG. 1 is a schematic configuration block diagram showing an embodiment of a memory control device according to the present invention, FIG. 2 is a data allocation diagram showing an example of the data structure inside the memory, FIG. 3 is a memory switching timing diagram, and FIG. FIG. 4 is a structural diagram of a link array table (reference table), FIG. 5 is a block diagram showing a schematic configuration of a color facsimile to which the present invention is applied, and FIG. 6 is a block diagram showing a schematic configuration of a conventional memory control device. 7 are conceptual diagrams for explaining the processing time for memory switching. 21...R memory, 22...G memory, 23...
B memory, 21a, 21b, 22a, 22
b, 23a, 23b - Unique pattern (memory switching pattern), 24... B memory input/output data bus (B data bus), 25... G memory input/output data bus (G data bus), 26...R memory input/output data bus (R data bus), 27...Selector, 29...Pattern detection unit, 31...Read/
Write control unit, 44... Direct memory access controller (DMAC), 51... Link array table (reference table), al... Memory address (memory transfer address). Name of agent: Patent attorney Toshio Nakao (1st person, 2nd person)
7 Figure 3 Figure 4 Figure 5

Claims (1)

【特許請求の範囲】[Claims] 固有パターンが周期的に書込まれたメモリを同一アドレ
ス空間上に複数個配設して成るメモリバンクと、その複
数個のメモリの入出力データバスを切替えるセレクタと
、前記各メモリ内に書込まれた固有パターンを検出する
パターン検出部と、前記メモリの転送アドレスと転送語
数を含む参照ブロックの集合から成る参照テーブルを備
えたダイレクト・メモリ・アクセス・コントローラ(D
MAC)とを有し、かつ前記パターン検出部からのパタ
ーン検出信号により前記セレクタの入出力データバスの
選択状態を変化せしめてメモリ切替えを行なう手段と、
そのメモリ切替えと同期して前記DMACの参照テーブ
ルの参照ブロックを更新せしめる手段とを備えたことを
特徴とするメモリ制御装置。
a memory bank consisting of a plurality of memories in which unique patterns are written periodically in the same address space; a selector for switching input/output data buses of the plurality of memories; a direct memory access controller (D
MAC), and means for changing the selection state of the input/output data bus of the selector in response to a pattern detection signal from the pattern detection section to perform memory switching;
A memory control device comprising means for updating a reference block of a reference table of the DMAC in synchronization with the memory switching.
JP61057273A 1986-03-14 1986-03-14 Memory controller Expired - Fee Related JPH0797814B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61057273A JPH0797814B2 (en) 1986-03-14 1986-03-14 Memory controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61057273A JPH0797814B2 (en) 1986-03-14 1986-03-14 Memory controller

Publications (2)

Publication Number Publication Date
JPS62214769A true JPS62214769A (en) 1987-09-21
JPH0797814B2 JPH0797814B2 (en) 1995-10-18

Family

ID=13050921

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61057273A Expired - Fee Related JPH0797814B2 (en) 1986-03-14 1986-03-14 Memory controller

Country Status (1)

Country Link
JP (1) JPH0797814B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58221561A (en) * 1982-06-17 1983-12-23 Matsushita Giken Kk Data type converter for color picture
JPS6062276A (en) * 1983-09-14 1985-04-10 Hitachi Ltd Full-color printer control circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58221561A (en) * 1982-06-17 1983-12-23 Matsushita Giken Kk Data type converter for color picture
JPS6062276A (en) * 1983-09-14 1985-04-10 Hitachi Ltd Full-color printer control circuit

Also Published As

Publication number Publication date
JPH0797814B2 (en) 1995-10-18

Similar Documents

Publication Publication Date Title
JPS62214769A (en) Memory control device
JPH10144073A (en) Access mechanism for synchronous dram
JPS61217858A (en) Data transmitting device
JP2534321B2 (en) Data transfer control method and apparatus
JPS592051B2 (en) Mutual exclusion request selection device
JP2909126B2 (en) Memory controller
JP2606824Y2 (en) Multiport memory device
JPH07319840A (en) Multi-cpu device
JP2000268169A (en) Picture information rotating device
RU1835551C (en) Data processor
JPH02259814A (en) Data processor
JPH08161119A (en) Device access controller
JP2000011645A (en) Semiconductor storage
JPS6383854A (en) Data transfer circuit
JPS63155347A (en) Auxiliary circuit for diagnosis of memory
JPS63259746A (en) Inter-bank-memory data transmission system
JPS63646A (en) Control circuit for memory access waiting
JPH04188345A (en) Memory controller
JPH02188856A (en) Memory access circuit
JPH05250256A (en) Memory access method
JPH09204393A (en) Information equipment
JPS63217458A (en) Direct memory access system
JPH03134750A (en) Dma data transfer device
JPH06202981A (en) Information processor and status data transfer control method in the same
JPH04256056A (en) Computer system

Legal Events

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