JPS60163167A - Memory controller - Google Patents

Memory controller

Info

Publication number
JPS60163167A
JPS60163167A JP59018306A JP1830684A JPS60163167A JP S60163167 A JPS60163167 A JP S60163167A JP 59018306 A JP59018306 A JP 59018306A JP 1830684 A JP1830684 A JP 1830684A JP S60163167 A JPS60163167 A JP S60163167A
Authority
JP
Japan
Prior art keywords
address
transfer
data
signal
counter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP59018306A
Other languages
Japanese (ja)
Inventor
Susumu Tsuhara
津原 進
Tetsuo Machida
哲夫 町田
Kuniaki Tabata
邦晃 田畑
Hiroaki Kamibayashi
弘明 上林
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP59018306A priority Critical patent/JPS60163167A/en
Publication of JPS60163167A publication Critical patent/JPS60163167A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/60Memory management

Abstract

PURPOSE:To prevent generation of the overhead due to the software by executing a segmentation and synthesis processing of plural partial pictures in a memory so as to attain one start processing thereby avoiding a bus neck. CONSTITUTION:A central processing unit 1000 forms a two-dimension block transfer control table T, sets a head address of a transfer control table T, the number of words per one line of a transfer control table and the number of partial pictures to be converted to a table address counter 2001 in a main memory controller 2000, a table word number register 2002 and a transfer block number counter 2003 so as to start the titled device. This device sets a data for the first one line of the transfer control table T to counters and registers in the device and segments/synthesizes one partial picture based on the said data. The data for one line's share is fetched sequentially in the controller 2000, the segmentation/synthesis is attained and when the segmentation and synthesis is finished as to all partial pictures, an end interruption is applied to the central processing unit 1000.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、計算機のメモリ制御装置に係り、特に、複数
の部分画像の切出・合成処理を高速に行なうのに好適な
メモリ制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a memory control device for a computer, and particularly to a memory control device suitable for performing cutting and combining processing of a plurality of partial images at high speed.

〔発明の背景〕[Background of the invention]

このような切出・合成処理を高速に実行する装置として
、発明者らは、既に「文書画像データの切出・合成装置
」(特開昭56−98’60号〕。
As a device for performing such cutting and combining processing at high speed, the inventors have already developed a ``Document Image Data Cutting and Combining Device'' (Japanese Unexamined Patent Publication No. 56-98'60).

「メモリ制御装置」(特願昭56−101238)を発
明したが、この装置は、部分画像1ケの切出・合成処理
を行なうのに、装置起動・停止のためのソフトウェア・
オーバヘッドを1回必要とするため、部分画像の数が多
い場合、ソフトウェア処理時間が長くなり、切出・合成
処理を高速化できないという欠点があった。
We invented a ``memory control device'' (Japanese Patent Application No. 101238/1982), but this device requires software to start and stop the device in order to cut out and combine one partial image.
Since overhead is required once, when there are many partial images, the software processing time becomes long, and there is a drawback that the cutting and combining processing cannot be speeded up.

〔発明9目的〕 本発明の目的は、上記の欠点を解消し、1回のソフトウ
ェアオーバ、ヘッドのみで、複数の部分画像を連続して
、切出・合成する装置を提供するにある。
[9th Object of the Invention] An object of the present invention is to eliminate the above-mentioned drawbacks and to provide an apparatus that can successively cut out and synthesize a plurality of partial images with only one software override and one head.

〔発明の概要〕[Summary of the invention]

上記目的を達成するため、主記憶装置内に、2次元ブロ
ック転送制御テーブルを設け、上記テーブルの先頭アド
レス、転送すべき部分画像の数を記憶するカウンタなど
を、本装置内に設けた。
In order to achieve the above object, a two-dimensional block transfer control table is provided in the main memory, and a counter for storing the top address of the table and the number of partial images to be transferred is provided in this device.

第1図に、本装置による複数部分画像の連続転送の説明
図を示す。中央処理装置1000は、上記2次元ブロッ
ク転送制御テーブルTを作成し、本メモリ制御装置20
00内のテーブルアドレス働カウンタ2001と、テー
ブル語数レジスタ2002と、転送ブロック数カウンタ
2003に、上記転送制御テーブルTの先頭アドレスと
上記転送制御テーブル1行当シの語数と転送すべき部分
画像の数をセットして、本装置に起動をかける。
FIG. 1 shows an explanatory diagram of continuous transfer of a plurality of partial images by this apparatus. The central processing unit 1000 creates the two-dimensional block transfer control table T, and the memory control device 20
The start address of the transfer control table T, the number of words per row of the transfer control table, and the number of partial images to be transferred are stored in the table address working counter 2001 in 00, the table word count register 2002, and the transfer block number counter 2003. Set the settings and start the device.

本装置は、上記転送制御テーブルTの最初の一行分のデ
ータを、装置内のカウンタ、レジスタ類にセットした後
、このデータに基づく部分画像1ケの切出・合成を行な
う。終了後、直ちに、終了側υ込みを中央処理装置にか
けるのではなく、上記転送制御テーブルの次の一行分の
データを、装置2000内に取シ込み、部分画像の切出
・合成を行なう。このようにして、指定されたすべての
部分画像の切出・合成が終了した時、中央処理装置10
00に終了割り込みをかける。なお、第1図における記
号の意味は次の通シである。
This device sets the first row of data of the transfer control table T in counters and registers within the device, and then cuts out and combines one partial image based on this data. Immediately after the end, the data for the next line of the transfer control table is input into the device 2000, and the partial images are cut out and combined, instead of being processed by the central processing unit. In this way, when all the specified partial images have been cut out and combined, the central processing unit 10
Apply end interrupt to 00. The meanings of the symbols in FIG. 1 are as follows.

As:転送元の先頭アドレス エs :転送元における有効データの間隔AD:転送先
の先頭アドレス エp :転送先における有効データの間隔W :転送す
べきデータ(有効データ)の横長さ H:有効データを転送する繰返し回数(有効データの縦
長さ) また、同図の3000aおよび3000bはメモリであ
シ、斜線で示したブロックはそれぞれ部分画像に対応す
る。
As: Start address of transfer source s: Interval of valid data at transfer source AD: Start address of transfer destination Ep: Interval of valid data at transfer destination W: Width of data to be transferred (valid data) H: Valid Number of repetitions to transfer data (vertical length of valid data) In addition, 3000a and 3000b in the figure are memories, and the blocks shown with diagonal lines correspond to partial images, respectively.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明を、実施例を用いて詳細に説明する。第2
図に、本発明によるメモリ制御装置の構成を示す。図中
、点線で囲った部分がメモリ制御装置2000である。
Hereinafter, the present invention will be explained in detail using examples. Second
The figure shows the configuration of a memory control device according to the present invention. In the figure, the part surrounded by a dotted line is the memory control device 2000.

これは、中央処理装置1000とメモリ3000との間
に位置し、中央処理装置とはアドレス・バス1100、
データ・バス1200、コントロール・バス1300と
Kよって接続される。
It is located between the central processing unit 1000 and the memory 3000, and the central processing unit includes an address bus 1100,
A data bus 1200 and a control bus 1300 are connected by K.

メモリ制御装置2000は、アドレススイッチ2100
、アドレス制御部2200、リード・ライト制御部23
00、リード・ライトスイッチ2400、コントロール
部2500、リード・ライトバツファ2600とから成
る。
The memory control device 2000 includes an address switch 2100
, address control section 2200, read/write control section 23
00, a read/write switch 2400, a control section 2500, and a read/write buffer 2600.

アドレススイッチ2100は、コントロール部2500
から送られるモード信号2700がモード1(メモリを
中央処理装置の主記憶装置として用いるモード)を示し
ている時は、アドレス・データとして、アドレスバス1
100がら送られるデータを、メモリ3000に送出す
る。モード信号がモード2(メモリを部分画像の切出・
合成装置として用いるモード)を示している時は、アド
レス制御部2200から送出されるデータをアドレスデ
ータとしてメモリ3000に送出する。
The address switch 2100 is connected to the control section 2500.
When the mode signal 2700 sent from
The data sent from 100 is sent to memory 3000. The mode signal is mode 2 (memory is used to cut out partial images and
When the mode (used as a synthesizer) is indicated, data sent from the address control section 2200 is sent to the memory 3000 as address data.

リード中ライトバッファ26oouメモリ3000をリ
ード、あるいはライトする時のバッファである。
Write buffer 26oou during read is a buffer used when reading from or writing to the memory 3000.

リードライトスイッチ2400は、コントロール部25
00から送られるモード信号2700がモード1を示し
ている時は、コントロール部から送出されるリード・ラ
イト信号2800をリード・ライト・バッファ2600
およびメモリ3000に送出する。モード信号がモード
2を示している時は、リード・ライト制御部2300か
ら送出されるリード・ライト信号290(1、リード・
ライト−バッファ2600およびメモリ3000に送出
する。
The read/write switch 2400 is connected to the control unit 25
When the mode signal 2700 sent from 00 indicates mode 1, the read/write signal 2800 sent from the control section is sent to the read/write buffer 2600.
and sends it to memory 3000. When the mode signal indicates mode 2, the read/write signal 290 (1, read/write) sent from the read/write control section 2300 is
Write - Send to buffer 2600 and memory 3000.

アドレス制御部2200は、モード2の時、メモリ30
00のアドレスを計算する。その詳細な構成を第3図に
示す。図中、2202,2204゜2206は、2次元
ブロック転送制御テーブルのメモリ内先頭アドレヌ、上
記テーブル1行分の語数、転送すべき部分画像の数を収
めるレジスタまたはカウンタであり、それぞれ、テーブ
ル・アドレス・カウンタ、テーブル語数カウンタおよび
転送ブロック数カウンタである。これらは、データバス
(第2図1200)を介して中央処理装置(第2図10
00)から送られる初期データ2208f:、コントロ
ール部2500から送られる初期セット信号2210に
同期して取り込む。
In mode 2, the address control unit 2200 controls the memory 30
Calculate the address of 00. Its detailed configuration is shown in FIG. In the figure, 2202, 2204, and 2206 are registers or counters that store the starting address in memory of the two-dimensional block transfer control table, the number of words for one line of the table, and the number of partial images to be transferred, respectively. - Counter, table word number counter, and transfer block number counter. These are connected to the central processing unit (FIG. 2 10) via a data bus (FIG. 2 1200).
Initial data 2208f sent from 00): is captured in synchronization with the initial set signal 2210 sent from the control unit 2500.

2212〜2222は、第1図に示した各パ2メタを収
めるレジスタ、またはカウンタであり、それぞれ、転送
先アドレスカウンタ、転送元間隔レジスタ、転送先アド
レスカウンタ、転送先間隔レジスタ、語数レジスタおよ
び繰シ返し回数レジスタである。これらは、メモリ30
00から、リード会ライトバッファ2600を経由して
送られるデータ2224を、リード・ライト制御部23
00から送られる初期ロード信号2226に同期して取
り込む。すなわち、同期信号の第1周期で、メモリ30
00から、リード・ライトバッファ2600に、転送元
アドレスデータを読み込み、第2周期で、これを転送元
アドレスカウンタ2212に取り込む。第3周期では、
転送元間隔データをメモリから、リード・ライトバッフ
ァに読み込み、第4周期で、これを転送元間隔レジスタ
2214に取シ込む。以下、同様にして、2次元ブロッ
ク転送制御テーブルの1行分のデータを上記レジスタま
たはカウンタに収める。
2212 to 2222 are registers or counters that store each parameter shown in FIG. This is the return count register. These are memory 30
00, the data 2224 sent via the read session write buffer 2600 is sent to the read/write control unit 23.
It is captured in synchronization with the initial load signal 2226 sent from 00. That is, in the first period of the synchronization signal, the memory 30
Transfer source address data is read into the read/write buffer 2600 from 00, and taken into the transfer source address counter 2212 in the second cycle. In the third period,
The transfer source interval data is read from the memory into the read/write buffer, and taken into the transfer source interval register 2214 in the fourth cycle. Thereafter, data for one row of the two-dimensional block transfer control table is stored in the register or counter in the same manner.

アドレス慟セレクタ2228は、フラグ・レジスタ22
30がゝO#を示している時、同期信号2232の奇数
番目の周期で、テーブル・アドレスカウンタ2202の
内容をアドレス・スイッチ2100に送る。同期信号の
偶数番目の周期では何もしない。アドレス・スイッチ2
100へのアドレス送出に同期して、テーブル語数カウ
ンタ2234、テーブル−アドレス・カウンタ2202
の内容を1ずつカウントアツプする。テーブル語数レジ
スタ2204の内容と、テーブル語数カウンタ2234
の内容とが一致した時、比較器2236はこれを検出し
、キャリー信号をフラグレジスタ2230およびテーブ
ル語数カウンタ2234に送出する。フラグ・レジスタ
はこれを受取ると、その内容を“0〃からゝゝ1“に変
える。
The address selector 2228 is the flag register 22
30 indicates O#, the contents of the table address counter 2202 are sent to the address switch 2100 at odd-numbered cycles of the synchronization signal 2232. Nothing is done in the even numbered cycles of the synchronization signal. address switch 2
100, table word number counter 2234, table-address counter 2202
Count up the contents of 1 by 1. The contents of the table word count register 2204 and the table word count counter 2234
When the contents match, comparator 2236 detects this and sends a carry signal to flag register 2230 and table word counter 2234. When the flag register receives this, it changes its contents from "0" to "1".

テーブル語数カウンタ2234は、その内容を初期値0
にクリアする。
The table word number counter 2234 sets its contents to an initial value of 0.
Clear to.

また、アドレス・セレクタ2228は、フラグ参レジス
タ2230がゝゝ1“を示している時、同期信号223
2の奇数番目の周期で、転送元アドレス・カウンタ22
12の内容を、偶数番目の周期で、転送先アドレス・カ
ウンタ2216の内容を、それぞれ選択してアドレス争
スイッチ2100に送る。アドレス送出後、選択された
方のアドレス・カウンタの内容を1ずつカウントアツプ
する。語数カウンタ2238は転送先アドレス−カウン
タ2216のカウントアツプと同期して1ずつカウント
アツプし、有効データの転送語数をカウントする。
Further, when the flag reference register 2230 indicates "1", the address selector 2228 selects the synchronization signal 223.
2, the transfer source address counter 22
12, the contents of the transfer destination address counter 2216 are selected and sent to the address contention switch 2100 in even-numbered cycles. After sending the address, the contents of the selected address counter are counted up one by one. The word counter 2238 counts up by 1 in synchronization with the count up of the transfer destination address counter 2216, and counts the number of transferred words of valid data.

語数カウンタ2238の内容と語数レジスタ2220の
内容とが一致した時、比較器2240はこれを検出し、
キャリー信号を、各々、加算器2242および2244
、語数カウンタ2238および繰り返し回数カウンタ2
246に送出する。
When the contents of the word count counter 2238 and the contents of the word count register 2220 match, the comparator 2240 detects this;
carry signals to adders 2242 and 2244, respectively.
, word counter 2238 and repetition counter 2
246.

加算器2242はキャリー信号を受取ると転送元アドレ
ス・カウンタ2212の内容と、転送元間隔レジスタ2
214の内容とを加算し、その結果を再び転送元アドレ
ス・カウンタ2212に戻す。
When the adder 2242 receives the carry signal, it adds the contents of the transfer source address counter 2212 and the transfer source interval register 2.
214 and the result is returned to the transfer source address counter 2212 again.

加算器2244も同様に、キャリー信号を受取ると転送
先アドレス・カウンタ2216の内容と転送先間隔レジ
スタ2218の内容とを加算し、その結果を再び転送先
アドレス・カウンタ2216に戻す。このように、転送
元アドレス・カウンタおよび転送先アドレスカウンタの
内容を、データ転送の途中でスキツプさせることによっ
て、不連続データの転送を連続的に実行することが可能
になる。
Similarly, when adder 2244 receives a carry signal, adder 2244 adds the contents of destination address counter 2216 and the contents of destination interval register 2218, and returns the result to destination address counter 2216 again. In this way, by skipping the contents of the transfer source address counter and the transfer destination address counter during data transfer, it becomes possible to transfer discontinuous data continuously.

語数カウンタ2238は、キャリー信号を受取ると、そ
の内容を初期値Oにクリアする。更に同じくキャリー信
号によって、繰返し回数カウンタ2246の内容に1を
加算する。
Word number counter 2238 clears its contents to the initial value O upon receiving the carry signal. Furthermore, 1 is added to the contents of the repetition counter 2246 by the same carry signal.

以後、上記の動作を繰返す。この繰返しによって繰返し
例数カウンタ2246の内容は、初期値0から順次カウ
ントアツプされる。この値が、繰返し回数レジスタ22
22の内容と一致すると、それを比較器2248が検出
し、キャリー信号を、フラグレジスタ2230および、
転送ブロック数カウンタ2206に送出する。フラグ・
レジスタは、この信号を受取るとその内容を11“から
1ゝ0″に変える。また、転送ブロック数カウンタは、
この信号を受け取ると、その内容を1カウント・ダウン
し、さらに、その結果が10“になつた時、終了信号2
25Gをコントロール部2500に送出する。
Thereafter, repeat the above operation. Through this repetition, the contents of the repetition example counter 2246 are sequentially counted up from the initial value 0. This value is the number of repetitions register 22.
22, the comparator 2248 detects it and sends the carry signal to the flag register 2230 and
It is sent to the transfer block number counter 2206. flag·
When the register receives this signal, it changes its contents from 11" to 1.0". In addition, the transfer block number counter is
When this signal is received, the contents are counted down by 1, and when the result reaches 10", the end signal is 2.
25G to the control section 2500.

前述第2図のリード・ライト制御部2300Fi、モー
ド2の時、メモリ3000のリード・ライト信号290
0と、アドレス制御部2200内のレジスタやカウンタ
に、2次元ブロック転送制御テーブル1行分のデータを
取り込むための初期ロード信号2226とを発生する。
When the read/write control unit 2300Fi in FIG. 2 is in mode 2, the read/write signal 290 of the memory 3000
0 and an initial load signal 2226 for loading data for one row of the two-dimensional block transfer control table into a register or counter in the address control unit 2200.

その詳細な構成を第4図に示す。即ち、このリード・ラ
イト制御部2300はコントロール部2500より送出
される同期信号2232に同期して、メモリ(第2図、
aooo)のリード−ライト信号2900、および、上
記レジスタ、カウンタへの初期ロード信号2226を発
生する。
Its detailed configuration is shown in FIG. That is, this read/write control section 2300 synchronizes with the synchronization signal 2232 sent from the control section 2500 to read/write the memory (FIG. 2,
aooo) read-write signal 2900 and an initial load signal 2226 for the registers and counters.

セレクタ2310は、アドレス制御部2200内のフラ
グレジスタ(第3図、2230)がゝゝ0“を示してい
る時、同期信号2232の奇数番目の周期で、リード信
号を選択してリード・ライト・スイッチ2400に送る
。同期信号の偶数番目の周期では、初期ロード信号を選
択して、アドレス制御部内の特定のレジスタまたはカウ
ンタに送る。
When the flag register (2230 in FIG. 3) in the address control unit 2200 indicates "0", the selector 2310 selects the read signal and performs read/write operations at odd-numbered cycles of the synchronization signal 2232. Switch 2400. On even cycles of the synchronization signal, the initial load signal is selected and sent to a particular register or counter in the address control.

どのレジスタまたはカウンタに送るべきかは、アドレス
制御部内のテーブル語数カウンタ2234の内容で決め
る。すなわち、テーブル語数カラ/りの内容がゝ′″0
“なら、転送元アドレス・カウンタ2212へ、1“な
ら転送元間隔レジスタ2214へ、2“なら転送先アド
レス・カウンタ2216へ SS 3 Nなら転送先間
隔レジスタ2218へ、4“なら語数レジスタ2220
へ、1″″5“なら繰返し回数レジスタ2222へ、初
期ロード信号2226を送出する。
Which register or counter should be sent is determined by the contents of the table word number counter 2234 in the address control section. In other words, the content of the table word count is ゝ′″0.
If “,” go to the source address counter 2212, “1” go to the source interval register 2214, “2” go to the destination address counter 2216. SS 3 “N” go to the destination interval register 2218, “4” go to the word count register 2220.
If it is 1″″5″, an initial load signal 2226 is sent to the repetition count register 2222.

また、セレクタ2310は、アドレス制御部2200内
のフラグレジスタ2230がゝゝ1“を示している時、
同期信号2232の奇数番目の周期でリード信号を、ま
た偶数番目の周期でライト信号を選択し、リード・ライ
ト・スイッチ2400へ送出する。
Further, when the flag register 2230 in the address control unit 2200 indicates "1", the selector 2310 selects
A read signal is selected in the odd-numbered cycle of the synchronization signal 2232, and a write signal is selected in the even-numbered cycle and sent to the read/write switch 2400.

前記第2図のコントロール部2500は、アドレス・ス
イッチ2100、アドレス制御部2200リード・ライ
トIIJ御部2300 、リード・ライト・スイッチ2
400をコントロールする部分である。
The control section 2500 in FIG. 2 includes an address switch 2100, an address control section 2200, a read/write IIJ control section 2300, and a read/write switch 2.
This is the part that controls 400.

その詳細を第5図に示す。コントロール部は、命令デコ
ーダ2510、同期信号発生部2520、割込信号発生
部2530から成る。
The details are shown in FIG. The control section includes an instruction decoder 2510, a synchronization signal generation section 2520, and an interrupt signal generation section 2530.

命令デコーダ2510は、中央処理装置(第2図100
0)7)=らコントロールバス1300t−介して送ら
れる制御信号を解読し、その制御信号のモードを判定し
、モード信号2700を発生する。
The instruction decoder 2510 is connected to the central processing unit (100 in FIG.
0)7) = decodes the control signal sent via the control bus 1300t-, determines the mode of the control signal, and generates the mode signal 2700.

これを同期信号発生部2520、リード・ライト・スイ
ッチ2400、アドレス壷スイッチ2100に送出する
。更にモード1の時には、コントロール・バス1300
を介して送られる制御信号をそのまま、−切加工せずに
、リード・ライト・スイッチ2400に送る。一方、モ
ード2の時は、制御信号をデコードし、初期セット信号
2210として、アドレス制御部2200に送出する。
This is sent to the synchronization signal generator 2520, read/write switch 2400, and address pot switch 2100. Furthermore, in mode 1, the control bus 1300
The control signal sent via the switch is sent to the read/write switch 2400 as it is without any cutting. On the other hand, in mode 2, the control signal is decoded and sent to the address control section 2200 as an initial set signal 2210.

同期信号発生部2520は、命令デコーダから送られる
モード信号2700と、中央処理装置1000からコン
トロール・バス1300を介して送られるタイミング信
号2540とを受取る。
Synchronization signal generator 2520 receives mode signal 2700 sent from the instruction decoder and timing signal 2540 sent from central processing unit 1000 via control bus 1300.

モード2の時のみタイミング信号を分周し、それを同期
信号2232として、リード・ライト制御部2300、
アドレス制御部2200に送出する。
Only in mode 2, the timing signal is frequency-divided and used as the synchronization signal 2232, and the read/write control unit 2300
It is sent to address control section 2200.

モード1の時は、同期信号を発生しない。In mode 1, no synchronization signal is generated.

割込信号発生部2530は、アドレス制御部2200か
ら送られる終了信号225(l受け、これを中火処理装
置1000への割込信号2550に変換して、コントロ
ール・バス1300へ1する。
The interrupt signal generation unit 2530 receives the end signal 225 (l) sent from the address control unit 2200, converts it into an interrupt signal 2550 to the medium heat processing device 1000, and sends it to the control bus 1300.

以上説明したごとく、本発明のメモリ制御装置によれば
、モード1の場合、中央処理装置1000とメモリ30
00との間では、通常の主記憶装置の場合と全く同様に
、すべての制御信号とデータとが一切加工されずにやり
とシされる。したがって、モード1では、メモリは通常
の主記憶装置と同様の役割を果す。
As explained above, according to the memory control device of the present invention, in the case of mode 1, the central processing unit 1000 and the memory 30
00, all control signals and data are passed through without any processing, just as in the case of a normal main memory device. Therefore, in mode 1, the memory plays a role similar to normal main storage.

一方、モード2では、フラグ・レジスタ2230の値は
最初ゝゝ0“なのでメモリは、最初リード状態となり、
アドレスとしてテーブル・アドレス・カウンタ2202
の値が指示されるので2次元ブロック転送制御テーブル
の第1行目の第1パラメタ(A8 :転送元の先頭アド
レス〕が、リード・ライト・バッファ2600に取シ込
まれる。次の周期では、このデータが、転送元アドレス
・カウンタ2212に取シ込まれる。このようにして、
上記転送制御テーブルの第1行目の全パラメタが所定の
レジスタまたはカウンタに取シ込まれると、フラグ・レ
ジスタ2230の値がゝゝO〃から(11rtに切替る
。この時、メモリは、最初リード状態となシ、アドレス
として転送元アドレス・カウンタ2212の値が指示さ
れるので、転送元のデータがリード・ライトφバッファ
2600に取り込まれる。次の周期では、メモリはライ
ト状態に切替り、アドレスとして転送先アドレスカウン
タ2216の値が指示されるので、リード瞭ライト・バ
ッファ2600内のデータは、転送先に格納される。こ
のように、メモリ内のデータ転送が、各種のバスを使用
することなく高速に実行される。
On the other hand, in mode 2, the value of the flag register 2230 is "0" at first, so the memory is initially in the read state.
Table address counter 2202 as address
Since the value of is specified, the first parameter (A8: starting address of the transfer source) in the first row of the two-dimensional block transfer control table is taken into the read/write buffer 2600.In the next cycle, This data is captured in the transfer source address counter 2212. In this way,
When all the parameters in the first row of the transfer control table are loaded into a predetermined register or counter, the value of the flag register 2230 switches from ゝゝO〃 to (11rt. At this time, the memory When in the read state, the value of the transfer source address counter 2212 is specified as the address, so the transfer source data is taken into the read/write φ buffer 2600.In the next cycle, the memory switches to the write state, Since the value of the transfer destination address counter 2216 is specified as the address, the data in the read/write buffer 2600 is stored at the transfer destination.In this way, data transfer in the memory uses various buses. It runs fast without any problems.

更に、転送元アドレス・カウンタ2212.9よび転送
先アドレス・カウンタ2216の値は、転送のたびに1
ずつカウントアツプされるだけではなく、一定間隔で各
々予め指定された値(Is。
Furthermore, the values of the transfer source address counter 2212.9 and the transfer destination address counter 2216 are incremented by 1 for each transfer.
Not only is it counted up by a certain value, but it is also counted up by a predetermined value (Is) at regular intervals.

ID)を加算するので、データのアドレス・スキップ転
送(部分画像の切出合成)が可能になる。
ID), address skip transfer of data (cutting out and combining partial images) becomes possible.

本メモリ制御装置によって、複数部分画像の切出・合成
を行なうには、次の手1哩による。。
In order to cut out and combine a plurality of partial images with this memory control device, the following steps are taken. .

(1)モード1の状態で、メモリ3000内に2次元ブ
ロック転送制御テーブルを作成する。
(1) Create a two-dimensional block transfer control table in the memory 3000 in mode 1.

(2)転送に必要ンテデータ(2次元ブロック転送制御
テーブルの先頭アドレス、上記テーブル1行当りの語数
、転送する部分画像の数)を初期セットする。初期セッ
トの方法は、中央処理装置1000のレジスタに、指定
する値をセットし、その後、各データ・七ツト用の制御
信号をメモリ制御装置2000に送る。この、データΦ
セット用用の制御信号は、モード2の信号であるので、
コントロール部内の命令デコーダは、各制御信号を解読
し、各対応した初期セット信号2210を発生する。こ
れによって、アドレス制御部2200内の、テーブル語
数レジスタ2204、テーブル・アドレス・カウンタ2
202、転送ブロック数カウンタ220Gに、それぞれ
初期値がセットされる。
(2) Initial setting of data necessary for transfer (starting address of the two-dimensional block transfer control table, number of words per line of the table, number of partial images to be transferred) is performed. The initial setting method is to set a specified value in the register of the central processing unit 1000, and then send a control signal for each data set to the memory control unit 2000. This data Φ
The control signal for setting is a mode 2 signal, so
An instruction decoder within the control unit decodes each control signal and generates each corresponding initial set signal 2210. As a result, the table word count register 2204 and the table address counter 2 in the address control unit 2200
202, initial values are set in the transfer block number counter 220G.

(3)モード2のデータ転送の開始を指示する制御信号
を、中央処理装置1000から送出する。
(3) A control signal instructing the start of mode 2 data transfer is sent from central processing unit 1000.

これによって、コントロール部2500内の同期信号発
生部2520が動作を開始し、アドレス制御部2200
、リード書ライト制御部2300へ同期信号2232を
送出する。この同期信号によって、まず、2次元ブロッ
ク転送制御テーブルの1行分のデータが、アドレス制御
部内のレジスタまたはカウンタに取り込まれ、次いで、
部分画像1ケの切出合成のデータ転送が実行される。
As a result, the synchronization signal generation section 2520 in the control section 2500 starts operating, and the address control section 2200
, sends a synchronization signal 2232 to the read/write control unit 2300. By this synchronization signal, data for one row of the two-dimensional block transfer control table is first taken into a register or counter in the address control section, and then,
Data transfer for cutting and combining one partial image is executed.

(4)指定されたH回のデータ転送が終了すると、繰返
し回数カウンタ2246の内容が、繰返し回数レジスタ
2222の内容と一致する。この一致を比較器2248
が検出し、フラグ・レジスタ2230、転送ブロック数
カウンタ2206に信号を送る。フラグ・レジスタは、
この信号を受け取るとその値を11“からIS 01に
変え、2次元ブロック転送制御テーブルの次の1行分の
データ取り込みに備える。また、転送ブロック数カウン
タは、この信号を受け取ると、その値を1カウント・ダ
ウンする。
(4) When the designated H number of data transfers are completed, the contents of the repetition number counter 2246 match the contents of the repetition number register 2222. Comparator 2248
is detected and sends a signal to the flag register 2230 and transfer block number counter 2206. The flag register is
When this signal is received, the value is changed from 11" to IS 01, and preparations are made to import data for the next row of the two-dimensional block transfer control table. Also, when the transfer block number counter receives this signal, the value is changed from 11" to IS 01. count down by 1.

(5)指定されたN部分画像の転送が終了すると、転送
ブロック数カウンタ2206の内容がゝゝ0“となる。
(5) When the transfer of the designated N partial images is completed, the content of the transfer block number counter 2206 becomes "0".

この時、コントロール部2500に対して終了信号22
50を出す。コントロール部内の割込信号発生部253
0は終了信号を受取ると同期信号発生部2520の動作
を停止させ、かつ、中央処理装置1000に対して終了
割込2550を送出する。中央処理装置は、この終了割
込によってデータ転送の終了を知る。
At this time, an end signal 22 is sent to the control unit 2500.
Roll out 50. Interrupt signal generation section 253 in the control section
0 stops the operation of the synchronizing signal generator 2520 upon receiving the end signal, and sends an end interrupt 2550 to the central processing unit 1000. The central processing unit knows the end of data transfer by this end interrupt.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、複数部分画像の切出・合成機能が、1
回の起動処理で実現できる。このため、ソフトウェアに
よるオーバーヘッドが発生しないので、処理を高速化で
きる。さらに、切出・合成処理をメモリ内で実行するの
で、バス・ネックを生じさせない。
According to the present invention, the function of cutting out and combining multiple partial images is
This can be achieved with one startup process. Therefore, no software overhead is generated, so processing speed can be increased. Furthermore, since the extraction and synthesis processing is executed in memory, no bus neck occurs.

第6図に、本装置の第1の応用例を示す。メモリ300
0上にピット・マツプ展開された、各々の文字パタンを
部分画像として扱うことによシ、文字の縦横変換、字間
隔、行間隔の変更を高速に行なうことができる。また、
文字列訂正、挿入、削除などの処理も高速化できる。
FIG. 6 shows a first application example of this device. memory 300
By treating each character pattern developed as a pit map on 0 as a partial image, character vertical/horizontal conversion, character spacing, and line spacing can be changed at high speed. Also,
Processing such as character string correction, insertion, and deletion can also be sped up.

また、第7図に、本装置の第2の応用例を示す。Further, FIG. 7 shows a second application example of this device.

これは、マルチウィンドウの処理例でるる。転送元メモ
リ3000には、ビット・マツプ展開された3枚の異な
る文書(文書S、 、S2 、 S3 )が存在する。
This is an example of multi-window processing. In the transfer source memory 3000, there are three different documents (documents S, , S2, and S3) that have been subjected to bit map development.

各文書の一部分W、 、 W2. W、(これをウィン
ドウと呼ぶ)を切シ出して転送先メモリ3000bに転
送すれば、マルチ・ウィンドウ表示が実現できる。ここ
で、ビュー・ボートVlヲビューボートv3の下へブツ
シュφダウンする時、ハツチングを施した部分(これを
セグメントと呼ぶ)のみを転送すればよい。この他にも
、ピユーボートのポツプ・アップ、削除、移動など種々
の処理が考えられるが、いずれの場合でも転送が必要な
セグメント(複数の部分画像)をめ、2次元ブロック転
送制御テーブルに、各パラメタをセットした後、本装置
を起動すれば、処理が高速化できる。
A portion of each document W, , W2. Multi-window display can be realized by cutting out W, (this is called a window) and transferring it to the destination memory 3000b. Here, when moving the bush φ down from the view boat Vl to the view boat v3, only the hatched portion (this is called a segment) needs to be transferred. In addition to this, various other processes such as pop-up, deletion, and movement of PewBoat can be considered, but in any case, determine the segments (multiple partial images) that need to be transferred, and write each segment in the two-dimensional block transfer control table. If you start this device after setting the parameters, you can speed up the processing.

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

第1図は、複数部分画像の連続転送の説明図、第2図は
、メモリ制徊j装置の構成図、第3図は、メモリ制御装
置中のアドレス制御部についてのブロック構成図、第4
図は、メモリ制御装置中のリード・ライト制御部につい
てのブロック構成図、第5図は、メモリ制御装置中のコ
ントロール部についてのブロック構成図、第6図は、メ
モリ制御装置の第1の応用例を示す図、嬉7図は、メモ
リ制御装置の第2の応用例を示す図でおる。 1000・・・中央処理装置、2000・・・メモリ制
御装置、3000・・・メモリ、1100・・・アドレ
ス争バス、1200・・・データΦバス、1300・・
・コンl−ロール・バス、2100・・・アドレス昏ス
イッチ、2200・・・アドレス制御部、2300・・
・リード・ライト制御部、2400・・・リード・ライ
ト・スイッチ、2500・・・コントロール部、260
0・・・リード・ライト・バッファ、2700・・・モ
ード信号、2800・・・リード・ライト信号、290
0 ・・・リード・ライト信号、2202・・・テーブ
ル・アドレス−カウンタ、2204・・・テーブル語数
レジスタ、2206・・・転送ブロック数カウンタ、2
208・・・初期データ、2210・・・初期上ツト信
号、2212・・・転送元アドレス−カウンタ、221
4・・・転送元間隔レジスタ、2216・・・転送先ア
ドレス・カウンタ、2218・・・転送先間隔レジスタ
、2220・・・語数レジスタ、2222・・・繰返し
回数レジスタ、2224・・・データ、2226・・・
初期ロード信号、2228・・・アドレスψセレクタ、
2230・・・フラグjレジスタ、2232・・・同期
信号、2234・・・テーブル語数カウンタ、2236
・・・比較器、2238・・・語数カウンタ、2240
・・・比較器、2242・・・加算器、2244・・・
加算器、2246・・・繰返し回数カラ/り、2248
・・・比較器、2250・・・終了信号、2310・・
・セレクタ、2320・・・リード信号発生部、233
0・・・ライト信号発生部、2340・・・初期ロード
信号発生部、2510・・・命令デコーダ、2520・
・・同期信号発生部、2530・・・割込信号発生部、
2540・・・り第 4 図 Z 5 図 冨 乙 凹 菜7図
FIG. 1 is an explanatory diagram of continuous transfer of multiple partial images, FIG. 2 is a block diagram of the memory control device, FIG. 3 is a block diagram of the address control unit in the memory control device, and FIG.
FIG. 5 is a block diagram of the read/write control section in the memory control device, FIG. 5 is a block diagram of the control section in the memory control device, and FIG. 6 is the first application of the memory control device. Figure 7, which shows an example, is a diagram showing a second application example of the memory control device. 1000...Central processing unit, 2000...Memory control unit, 3000...Memory, 1100...Address conflict bus, 1200...Data Φ bus, 1300...
- Control bus, 2100... Address control switch, 2200... Address control unit, 2300...
- Read/write control section, 2400... Read/write switch, 2500... Control section, 260
0... Read/write buffer, 2700... Mode signal, 2800... Read/write signal, 290
0...Read/write signal, 2202...Table address counter, 2204...Table word number register, 2206...Transfer block number counter, 2
208...Initial data, 2210...Initial top signal, 2212...Transfer source address-counter, 221
4... Transfer source interval register, 2216... Transfer destination address counter, 2218... Transfer destination interval register, 2220... Word count register, 2222... Repeat count register, 2224... Data, 2226 ...
Initial load signal, 2228...address ψ selector,
2230...Flag j register, 2232...Synchronization signal, 2234...Table word number counter, 2236
... Comparator, 2238 ... Word counter, 2240
...Comparator, 2242...Adder, 2244...
Adder, 2246...Number of repetitions, 2248
...Comparator, 2250...End signal, 2310...
・Selector, 2320... Read signal generation section, 233
0... Write signal generation unit, 2340... Initial load signal generation unit, 2510... Instruction decoder, 2520...
...Synchronization signal generation section, 2530...Interrupt signal generation section,
2540...ri No. 4 Figure Z 5 Figure 7

Claims (1)

【特許請求の範囲】[Claims] 1、計算機のメモリを制御する装置において、通常の主
記憶装置としての機能の他に、複数の部分画像をソフト
ウェアの介入なしに連続的に転送(切出・合成)する機
能を付加するため、データ転送制御のためのパラメタを
収めた2次元ブロック転送制御テーブルの先頭アドレス
、上記テーブル1行当シの語数、転送すべき部分画像の
数を記憶するレジスタまたはカウンタを設けたことを特
徴とするメモリ制御装置。
1. In a device that controls the memory of a computer, in addition to the function as a normal main memory device, in order to add a function to continuously transfer (cut out and combine) multiple partial images without software intervention, A memory characterized by being provided with a register or a counter for storing the start address of a two-dimensional block transfer control table containing parameters for data transfer control, the number of words in one row of the table, and the number of partial images to be transferred. Control device.
JP59018306A 1984-02-06 1984-02-06 Memory controller Pending JPS60163167A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59018306A JPS60163167A (en) 1984-02-06 1984-02-06 Memory controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59018306A JPS60163167A (en) 1984-02-06 1984-02-06 Memory controller

Publications (1)

Publication Number Publication Date
JPS60163167A true JPS60163167A (en) 1985-08-26

Family

ID=11967926

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59018306A Pending JPS60163167A (en) 1984-02-06 1984-02-06 Memory controller

Country Status (1)

Country Link
JP (1) JPS60163167A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006206037A (en) * 2004-12-27 2006-08-10 Gifu Plast Ind Co Ltd Body for truck

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006206037A (en) * 2004-12-27 2006-08-10 Gifu Plast Ind Co Ltd Body for truck

Similar Documents

Publication Publication Date Title
JP2594897B2 (en) Video image display device
US4511962A (en) Memory control unit
JPH05292331A (en) Method for decoding run length code, video controller, and data processing system
JPS58178470A (en) Memory controller
JP2006215886A (en) Signal processor, signal processing system and signal processing method
JPS60163167A (en) Memory controller
JPH09312828A (en) Reproducing device and data processor
JPS5893095A (en) Memory address controller
EP0514926B1 (en) A moving image processor
US5732164A (en) Parallel video processor apparatus
JP2861053B2 (en) Image processing device
JP3005500B2 (en) Graphic processing system
US20010015727A1 (en) Image data display control method and an image display device thereof
JP2002101376A (en) Line memory
KR100308586B1 (en) Image regeneration device
JP2922519B2 (en) Video synthesizer
US7714935B2 (en) Data structure for waveform synthesis data and method and apparatus for synthesizing waveform
JP2599045B2 (en) Vertical expansion circuit
JP2001273245A (en) Electronic equipment
JP2003143474A (en) Image signal processing system
JPS62113193A (en) Memory circuit
JP5213394B2 (en) Image transfer device
JP2512945B2 (en) Image memory device
JPS62145339A (en) Interleaving type storage device
JPS5897086A (en) Data transfer circuit for image memory