JPH0239383A - Image processor - Google Patents

Image processor

Info

Publication number
JPH0239383A
JPH0239383A JP18980588A JP18980588A JPH0239383A JP H0239383 A JPH0239383 A JP H0239383A JP 18980588 A JP18980588 A JP 18980588A JP 18980588 A JP18980588 A JP 18980588A JP H0239383 A JPH0239383 A JP H0239383A
Authority
JP
Japan
Prior art keywords
data
memory
image
image memory
cpu
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
JP18980588A
Other languages
Japanese (ja)
Inventor
Hiroshi Nonoshita
野々下 博
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP18980588A priority Critical patent/JPH0239383A/en
Publication of JPH0239383A publication Critical patent/JPH0239383A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Bus Control (AREA)

Abstract

PURPOSE:To facilitate the execution of a multi-task by constituting the title process of an image memory for storing at least a one-screen portion or more, a data bus used exclusively for the image memory, an access port from a CPU, a data length converting circuit, a memory controller and an external i/f. CONSTITUTION:A CPU 2 executes a font development of a character and a dot pattern development of graphic data and image data to an image memory A8 through a CPU access port 6. Subsequently, a start is applied to a DMAC 12, data is read out of the image memory A8 and through a data bus A 14, access width of the memory and data width of an external i/f 13 are brought to matching by a data length converting circuit 11 and image data is transferred to a printer. On the other hand, the CPU develops image data of the second page to an image memory B9 after having applied a start to the DMAC 12. This time data of the image memory B9 is transferred to the external i/f 13 by the DMAC 12, and image data of the third page is developed to the memory A8. In such a way, plural pages can be printed out at a high speed.

Description

【発明の詳細な説明】 〔技術分野〕 本発明はコンピュータにスキャナ、プリンタ。[Detailed description of the invention] 〔Technical field〕 The present invention can be applied to computers, scanners, and printers.

ファックス等を接続し、高速の画像データ転送を行う画
像処理装置に関するものである。
The present invention relates to an image processing device that is connected to a fax machine or the like and performs high-speed image data transfer.

〔従来の技術〕[Conventional technology]

従来、第5図に示したように画像データ専用メモリを持
たず1ine単位のdouble  buffer構成
が多く見受けられる。構成の詳細は後述する。しかし、
この様な構成は以下の様な欠点を有している。
Conventionally, as shown in FIG. 5, there are many double buffer configurations that do not have a dedicated memory for image data and are arranged in 1-ine units. The details of the configuration will be described later. but,
Such a configuration has the following drawbacks.

第5図に示した従来例においては、スピード等の制約で
イメージメモリ47と外部i / f 13の間で直接
データの受は渡しが行えない為、バッファリングする必
要が有り、ラインバッファA42.B43を持っていた
。この場合、DMAコントローラ46によりイメージメ
モリ47のデータをシステムバス1経由でラインバッフ
ァ42又は43に書き込み、ラインバッファから外部i
 / f 13へ送る。又は、外部i / f 13か
らラインバッファへ書き込みラインバッファからシステ
ムバスI経由でイメージメモリ47へ書き込む事になる
。従って、イメージメモリ47と外部i / f 13
の間でデータ転送を実行する場合、システムバスlが転
送に専有され、CPU2がメモリ3.イメージメモリ4
7等にアクセスする事は非常に困難であった。つまりマ
ルチタスクが困難であったという欠点があった。以上か
ら明らかな様に従来では、 (1)外部deviceの転送速度に合わせて装置内部
のデータ転送を行う必要があり、転送速度によってはC
PU動作が遅くて追従できない場合が生じる。
In the conventional example shown in FIG. 5, data cannot be directly transferred between the image memory 47 and the external I/F 13 due to speed constraints, so buffering is required, and the line buffer A42. I had a B43. In this case, the DMA controller 46 writes the data in the image memory 47 to the line buffer 42 or 43 via the system bus 1, and writes the data from the line buffer to the external i
/ f Send to 13. Alternatively, data can be written from the external I/F 13 to the line buffer, and from the line buffer to the image memory 47 via the system bus I. Therefore, image memory 47 and external i/f 13
When performing data transfer between 3 and 3, system bus 1 is dedicated to the transfer, and CPU 2 transfers data between memories 3 and 3. image memory 4
It was extremely difficult to access 7th grade. In other words, the drawback was that multitasking was difficult. As is clear from the above, in the past, (1) it was necessary to transfer data within the device in accordance with the transfer speed of the external device;
There may be cases where the PU operation is too slow to follow up.

(2)画像データ転送中はシステムバスが占有される。(2) The system bus is occupied during image data transfer.

(3)画像データ転送中はCPUがデータ転送に占有さ
れる。
(3) During image data transfer, the CPU is occupied with data transfer.

(4)上記(2)、  (3)より、マルチタスクが困
難となる。
(4) Due to (2) and (3) above, multitasking becomes difficult.

〔目 的〕〔the purpose〕

以上の点に鑑み、本発明の目的は、少なくとも1画面分
以上の画像メモリを持ち、この画像メモリと外@1/f
との間にDMACを設ける事で外部deviceの転送
速度で確実に画面単位の転送が実行できる画像処理装置
を提供することにある。
In view of the above points, it is an object of the present invention to have an image memory for at least one screen, and to have an image memory and an external @1/f
An object of the present invention is to provide an image processing apparatus that can reliably perform screen-by-screen transfer at the transfer speed of an external device by providing a DMAC between the two.

本発明の目的は画像メモリを2つ以上有し、CPUから
のaccess  port、データ長変換回路と画像
メモリとの間のデータバスを制御可能なメモリコントロ
ーラを設け、DMACによる画像データ転送中のCPU
からの同時accessを可能とし、プリンタ等へ画像
データ出力中に次画面のデータ展開等を行え、トータル
なスピードアップを図る事ができる画像処理装置を提供
することにある。
An object of the present invention is to provide a memory controller that has two or more image memories, can control an access port from the CPU, a data bus between the data length conversion circuit and the image memory, and provides a memory controller that can control an access port from the CPU, a data bus between the data length conversion circuit and the image memory, and
It is an object of the present invention to provide an image processing device that can simultaneously access the image data from the computer, develop data for the next screen, etc. while outputting image data to a printer, etc., and increase overall speed.

本発明の目的は、1画面分以上の画像メモリと外部i/
fとの間にDMACを設ける事で画像データ転送中にシ
ステムバスは開放されており、cPUは他の処理を行え
、マルチタスクが容易に実行できる画像処理装置を提供
することにある。
The purpose of the present invention is to provide an image memory for one screen or more and an external I/O
By providing a DMAC between the cPU and the cPU, the system bus is open during image data transfer, and the cPU can perform other processing, thereby providing an image processing device that can easily perform multitasking.

本発明の目的は、画像メモリを2つ以上有し、DMAC
を設ける事で2つの画像メモリのデータを連続して転送
し、倍画面のデータ入出力を可能にした画像処理装置を
提供することにある。
An object of the present invention is to have two or more image memories,
An object of the present invention is to provide an image processing device which can continuously transfer data from two image memories by providing a double-screen data input/output.

〔実施例〕〔Example〕

第1図は本発明の特徴を最も良く表わす図面であり、■
は標準仕様のVER3A  VME等のシステムバス、
2は装置全体の制御、処理を行うCPU、3はプログラ
ムメモリ、4はデイスプレィ表示用のビデオメモリ、5
はCRTデイスプレィ、6はCPUアクセスポート、7
は制御信号インターフェース、8は画像メモリA、9は
画像メモリB510はメモリコントローラ、11はデー
タ長変換回路、12はDMAC。
Figure 1 is a drawing that best represents the features of the present invention.
is a standard specification system bus such as VER3A VME,
2 is a CPU that controls and processes the entire device; 3 is a program memory; 4 is a video memory for display; 5
is CRT display, 6 is CPU access port, 7 is
1 is a control signal interface, 8 is an image memory A, 9 is an image memory B 510 is a memory controller, 11 is a data length conversion circuit, and 12 is a DMAC.

13は外部インターフェース(以下、外部i / fと
記す)、14は画像メモリ八8用のデータバスA115
は画像メモリB9用のデータバスB116はメモリ制御
信号A、17はメモリ制御信号B、18はCPU受付信
号、19はCPU要求信号、20はDMA要求信号、2
1はDMA受付信号、22はデータ長変換制御信号、2
3は外部要求信号、24は外部受付信号である。外部d
eviceとしてページプリンタが接続された場合を例
にとって、各部の動作について説明する。
13 is an external interface (hereinafter referred to as external I/F), and 14 is a data bus A115 for the image memory 88.
The data bus B116 for the image memory B9 is a memory control signal A, 17 is a memory control signal B, 18 is a CPU acceptance signal, 19 is a CPU request signal, 20 is a DMA request signal, 2
1 is a DMA acceptance signal, 22 is a data length conversion control signal, 2
3 is an external request signal, and 24 is an external acceptance signal. external d
The operation of each part will be explained by taking as an example a case where a page printer is connected as the device.

CPU2は印刷する文字のフォント展開や図形データ、
画像データのドツトパターン展開をCPUアクセスポー
ト6を通して画像メモリA8に行う。画像メモリ八8へ
の書き込みが終了した時点でDMAC12に起動をかけ
、画像メモリA8からデータを読み出しデータバスAI
4を通して、データ長変換回路11でメモリのアクセス
幅と外部i / f 13のデータ幅を整合させてプリ
ンタへ画像データを転送する。
CPU2 develops the font of characters to be printed, graphic data,
Dot pattern development of the image data is performed in the image memory A8 through the CPU access port 6. When the writing to the image memory A8 is completed, the DMAC 12 is activated, reads the data from the image memory A8, and transfers the data to the data bus AI.
4, the data length conversion circuit 11 matches the access width of the memory with the data width of the external I/F 13, and transfers the image data to the printer.

一方、CPUはDMAC12に起動をかけた後、画像メ
モリB9に2ページ目の画像データを展開する。
On the other hand, after activating the DMAC 12, the CPU develops the second page of image data in the image memory B9.

画像メモリA8のDMACによるデータ転送と画像メモ
リB9への展開が終了すれば、今度は画像メモリB9の
データをD M A C12により外部i / f 1
3へ転送し、画像メモリA8に3ページ目の画像データ
を展開する。これにより、複数ページのプリントアウト
を高速に行う事ができる。
When data transfer from image memory A8 by DMAC and expansion to image memory B9 are completed, data in image memory B9 is transferred to external I/F1 by DMAC12.
3, and develops the image data of the third page in the image memory A8. This allows multiple pages to be printed out at high speed.

ここでメモリコントローラ10はCPU要求信号19、
DMA要求信号20及びメモリコントローラ内部で作ら
れるリフレッシュ要求信号の3者の状態を見て優先順位
に従ってメモリサイクルを決定する。
Here, the memory controller 10 receives a CPU request signal 19,
The memory cycle is determined according to the priority by looking at the states of the DMA request signal 20 and the refresh request signal generated inside the memory controller.

例えば優先順位を優位な方から順にリフレッシュ>DM
A>CPUとすれば、リフレッシュ要求とCPU要求信
号19が同時に発生した場合、まず、リフレッシュ動作
を行った後、CPUよりの書き込み/読み出しの動作を
行う。また、CPU2と画像メモリA8の間の書き込み
/読み出しサイクルの時はCPUアクセスポート6とデ
ータバスA14を接続し、DMAによる書き込み/読み
出しのサイクルの時はデータ長変換回路11とデータバ
スAI4を接続する。
For example, refresh the priorities in descending order of priority>DM
If A>CPU, when a refresh request and a CPU request signal 19 are generated simultaneously, a refresh operation is performed first, and then a write/read operation from the CPU is performed. Also, during a write/read cycle between the CPU 2 and the image memory A8, the CPU access port 6 and the data bus A14 are connected, and during a write/read cycle by DMA, the data length conversion circuit 11 and the data bus AI4 are connected. do.

尚、メモリコントローラ10で画像メモリ八8用と画像
メモリB9用の2系統の制御部を持ち、データパスA1
4とデータバスB15とを分離する事で、CPUアクセ
スポート6とデータバスA14.データ長変換回路11
とデータバスB15を接続し、CPU2が画像メモリA
8をDMACI2が画像メモリB9を全く同時にアクセ
スする事が可能である。従って上記構成により画像メモ
リA8及び画像メモリB9はdual  portかつ
double  bufferの性格を持つ事となり、
データ転送しながらデータ書換といった効率良いメモリ
アクセスが容易に実現できる。
Note that the memory controller 10 has two control units for image memory 88 and image memory B9, and has a data path A1.
By separating CPU access port 6 and data bus A14.4 from data bus B15, CPU access port 6 and data bus A14. Data length conversion circuit 11
and data bus B15, and CPU2 connects image memory A.
8 and DMACI2 can access the image memory B9 at the same time. Therefore, with the above configuration, image memory A8 and image memory B9 have the characteristics of dual ports and double buffers,
Efficient memory access such as data rewriting while transferring data can be easily achieved.

上記動作のフローチャートを第2図に示す。A flowchart of the above operation is shown in FIG.

3ページの文書ファイルを印刷する場合を例にとって説
明する。先ず、Slで1ページ目の内容を印字のドツト
パターンに展開して、画像メモリAに書き込む。展開が
終了したら、S2で画像メモリAのデータをデータ長変
換回路11を通して外部i/[13へ転送開始する。S
3ではまだ2ページ残っている為S4へ移り、2ページ
目の内容を今度は画像メモリBの方へ展開を開始する。
An example of printing a three-page document file will be explained. First, the contents of the first page are developed into a printed dot pattern using Sl and written into the image memory A. When the expansion is completed, the data in the image memory A is started to be transferred to the external i/[13] through the data length conversion circuit 11 in S2. S
3, since there are still two pages left, the process moves to S4, and the contents of the second page are started to be developed in the image memory B.

S5及びS6で1ページ目の画像メモリAのデータを転
送終了し、2ページ目の画像メモリBの内容を展開終了
したならば、S7で2ページ目の画像メモリBのデータ
を転送開始する。S8ではまだ1ページ残っている為S
9へ移り、3ページ目を再び画像メモリAに展開を始め
る。SIO,Sllで2ページ目の画像メモリBのデー
タ転送が終了し、3ページ目の画像メモリAの内容を展
開終了したならばS2へ移り、画像メモリAのデータを
転送開始する。S3では3ペ一ジ分全て展開終了した為
、S12へ移り、現在転送中のデータが転送終了する迄
待ち、転送終了で印刷を完了する。
After the transfer of the data of the first page of image memory A is completed in S5 and S6 and the expansion of the contents of the second page of image memory B is completed, transfer of the data of the second page of image memory B is started in S7. There is still one page left in S8, so S
9, the third page starts to be developed in the image memory A again. When the data transfer of the second page of the image memory B is completed at SIO and Sll, and the contents of the third page of the image memory A are completed, the process moves to S2 and the transfer of the data of the image memory A is started. In S3, all three pages have been developed, so the process moves to S12 and waits until the data currently being transferred is completed, and printing is completed at the end of the transfer.

次にデータ長変換回路の動作について説明する。Next, the operation of the data length conversion circuit will be explained.

データ長変換回路11の実施例として第3図に示した構
成を挙げる事ができる。
An example of the data length conversion circuit 11 is the configuration shown in FIG.

ここで、25.26..27 28は8ビツトのデータ
をラッチできる出力コントロール付双方向ラッチ回路で
あり、29は8ビツトデータバス、30. 31は8ビ
ツトの双方向データドライバ、32. 33. 34゜
35は双方向ラッチ回路25〜28のトライステート出
力コントロール信号である。36. 37. 38. 
39は双方向ラッチ回路25〜28のラッチ信号であり
、40は双方向ラッチ回路25〜28及び双方向データ
ドライバ30.31のデータの向きを制御する信号、4
1は画像メモリにアクセスする時のアドレスの進行方向
を示す信号である。
Here, 25.26. .. 27 and 28 are bidirectional latch circuits with output control that can latch 8-bit data, 29 is an 8-bit data bus, 30. 31 is an 8-bit bidirectional data driver; 32. 33. 34.degree. 35 are tri-state output control signals of the bidirectional latch circuits 25-28. 36. 37. 38.
39 is a latch signal for the bidirectional latch circuits 25 to 28; 40 is a signal for controlling the direction of data in the bidirectional latch circuits 25 to 28 and the bidirectional data driver 30.31;
1 is a signal indicating the advancing direction of the address when accessing the image memory.

ここでは、画像メモリA8側について例を示す。Here, an example will be shown regarding the image memory A8 side.

画像メモリB9側についても、同様のラッチ回路が8ビ
ツトデータバス29に接続されている。まず、外部i 
/ f 13から画像メモリム8ヘデータを書き込む場
合について説明する。DIR40によってデータの向き
を設定しておき、メモリアクセスのアドレス進行が通常
の時はADINC41により双方向データドライバの3
1をイネーブルにし、30をディセーブルにする。外部
i / f 13からきたデータはデータドライバ31
を通って8ビツトデータバス29へと次々と流れてくる
。そこでデータが来るのに合わせて、WRTO36,W
RTI  37.WRT2 38゜WRT3 39の順
にラッチ信号を発生させる。WRT339によるラッチ
が終了すると外部i / f 13からの32ビツトの
データがラッチされた事になるので、このデータバスA
14上にある32ビツトのデータを画像メモリA8へ書
き込む。そして再びWRTOからラッチを繰り返し4回
に1回メモリへ書き込みを行う。
A similar latch circuit is connected to the 8-bit data bus 29 on the image memory B9 side as well. First, external i
The case where data is written from /f 13 to image memory 8 will be explained. The direction of data is set by DIR40, and when the address progression of memory access is normal, ADINC41 is used to set the direction of the data.
1 to enable and 30 to disable. Data coming from external I/F 13 is sent to data driver 31
The data flows through the 8-bit data bus 29 one after another. As the data came in, WRTO36, W
RTI 37. Latch signals are generated in the order of WRT2 38°WRT3 39. When the latching by WRT339 is completed, the 32-bit data from external I/F 13 is latched, so this data bus A
The 32-bit data on A14 is written to the image memory A8. Then, latching is repeated from WRTO again, and writing to the memory is performed once every four times.

アドレスの進行方向が逆の場合はデータドライバ30を
イネーブルにし、31をディセーブルにする。ここで3
0は31に対してデータがスワップされてデータバス2
9と接続されている。外部i / f 13からきたデ
ータはデータドライバ30を通してデータバス29に表
われる。これを今度はWRT3 39゜WRT2 38
.WRTI  37.WRTO36の順にラッチしてメ
モリへ書き込む。これはスキャナから画像を読み込む場
合、上記動作を行えば180゜回転した画像となる。ま
た、転送開始アドレスが4byte境界だけでな(by
te境界でも可能である。
If the address is in the opposite direction, the data driver 30 is enabled and the data driver 31 is disabled. here 3
Data is swapped for 0 and 31 and data bus 2
9 is connected. Data coming from external I/F 13 appears on data bus 29 through data driver 30. This time WRT3 39°WRT2 38
.. WRTI 37. The data is latched in the order of WRTO36 and written to memory. This means that when reading an image from a scanner, if the above operation is performed, the image will be rotated by 180 degrees. Also, if the transfer start address is on a 4-byte boundary only (byte
It is also possible at the te boundary.

例えば上記動作等は画像メモリA8のアドレス0番地、
4番地、8番地・・・等から始まる場合を示したが、ア
ドレス1番地、5番地・・・等から始まる場合には、最
初はWRTI  37.WRT2 38.WRT3 3
9の順にラッチ、3byteラツチした時点で画像メモ
リ八8へ書き込む。2回目以降はWRTO36,WRT
I37.WRT2 38.WRT3 39の順にラッチ
し、メモリ書き込みを繰り返せば良い訳である。同様に
1番地、5番地・・・から始まる場合でアドレスが逆方
向の場合は最初はWRTO36をラッチしてメモリへ書
き込み、以降はWRT3 39.WRT2 38.−W
RTI  37.WRTO36の順にラッチしてメモリ
へ書き込めば良い事になる。
For example, the above operations are performed at address 0 of image memory A8,
The case where the address starts from address 4, address 8, etc. is shown, but when the address starts from address 1, address 5, etc., the first address is WRTI 37. WRT2 38. WRT3 3
The data is latched in the order of 9, and when 3 bytes are latched, it is written to the image memory 88. From the second time onwards, WRTO36, WRT
I37. WRT2 38. It is sufficient to latch the data in the order of WRT3 to WRT39 and repeat the memory writing. Similarly, when starting from address 1, address 5, etc., if the address is in the opposite direction, WRTO36 is latched and written to the memory at first, and then WRT3 is written.39. WRT2 38. -W
RTI 37. All you have to do is latch it in the order of WRTO36 and write it to memory.

画像メモリA8から外部i / f l 3へのデータ
転送も同様でDIR40を上記と逆にし、WRTO−W
RT3の代わりに旧コ32〜旧コ35を制御すれば良い
Data transfer from image memory A8 to external i/f l3 is the same, with DIR40 reversed to the above, and WRTO-W
It is sufficient to control the old parts 32 to 35 instead of RT3.

これら動作のフローチャートを第4図に示す。A flowchart of these operations is shown in FIG.

画像メモリと外部i / f 13の間でデータ転送を
行う際のフローチャートを示したもので、先ず、外部i
 / f 13から画像メモリへデータを取り込む時に
ついて説明する。
This is a flowchart for transferring data between the image memory and the external i/f 13.
/ f 13 to the image memory will be explained.

S13から314へ移り、メモリのアドレスを増加させ
る転送の場合はS15へ移り、第3図中のデータドライ
バ31を有効とし、データドライlく30を無効にして
S17へ移る。ここで転送開始アドレスが0.4.8の
ように4n (n==0. 1.2 ・・・)で表わさ
れる場合はS23へ移り、第1図における外部要求信号
23(以下DRQと記述する)が来ればS24へ移りW
RTOを発生して第3図中の25がデータをラッチする
。以下DRQが来る毎にWRTI、WRT2゜WRT3
を発生して4byteのデータをラッチする。
The process moves from S13 to 314, and if the transfer is to increase the memory address, the process moves to S15, where the data driver 31 in FIG. 3 is enabled and the data driver 30 is disabled, and the process moves to S17. If the transfer start address is expressed as 4n (n==0.1.2...) like 0.4.8, the process moves to S23 and the external request signal 23 (hereinafter referred to as DRQ) in FIG. ) comes, move to S24 W
RTO is generated and 25 in FIG. 3 latches the data. After that, every time DRQ comes, WRTI, WRT2゜WRT3
is generated and latches 4 bytes of data.

S31でDMA要求信号20を発生してメモリコントロ
ーラ10からDMA受付信号21を受は取ると823へ
戻り、転送が終了するまで上記動作を繰り返す。
When the DMA request signal 20 is generated in S31 and the DMA acceptance signal 21 is received from the memory controller 10, the process returns to 823 and the above operations are repeated until the transfer is completed.

S17で転送開始アドレス1. 5. 9・・・のよう
に4n+ 1 (n = 0 、 1 、2− )で表
わされる場合は、S23゜S24を飛び越して325へ
移り、WRTI、WRT2゜WRT3を発生し、3by
teデータをラッチした所で331でメモリへDMA要
求信号を発生する。受は付けられると、今度はS23へ
移りWRTO,WRTI。
In S17, transfer start address 1. 5. When expressed as 4n+1 (n = 0, 1, 2-) like 9..., it skips S23゜S24 and moves to 325, generates WRTI, WRT2゜WRT3, and 3by
After latching the te data, a DMA request signal is generated to the memory in step 331. Once the reception is confirmed, the process moves to S23 and WRTO, WRTI.

WRT2.WRT3を発生する。転送開始アドレスが2
 、 6 、 ・・・のように4n+2 (n=o、 
 1−)で表わされる場合は、S27から始まり、WR
T2.WRT3を発生して2 b y t’eラッチし
た時点で最初のメモリ書込を実行する。転送開始アドレ
スが3,7.・・・のように4n+3 (n=o、  
1.・・・)で表わされる場合はS29へ移り、WRT
3を発生し、Ibyteデータをラッチして最初のメモ
リ書込を行う。以降はS23から前記動作を転送終了す
るまで繰り返す。
WRT2. Generates WRT3. Transfer start address is 2
, 6, ... 4n+2 (n=o,
1-), it starts from S27 and the WR
T2. When WRT3 is generated and 2 by t'e is latched, the first memory write is executed. The transfer start address is 3, 7. 4n+3 (n=o,
1. ), the process moves to S29 and the WRT
3, latches the Ibyte data, and performs the first memory write. Thereafter, the above operations from S23 are repeated until the transfer is completed.

次にS14でアドレスが減少するモードを設定された場
合にはS16へ移り、データドライノく30を有効とし
、31を無効とする。
Next, if the mode in which the address decreases is set in S14, the process moves to S16, and the data driver 30 is enabled and 31 is disabled.

第4図(b)と第4図(c)はラッチ信号の順番が逆に
なってWRT3.WRT2.WRTI、WRTOの順に
ラッチする以外は同様であり、前記動作で説明したのと
同様に、転送開始アドレスにより始まりが変化するだけ
で、転送終了まで、繰り返し前記動作を実行する。
4(b) and 4(c), the order of the latch signals is reversed and WRT3. WRT2. The process is the same except that WRTI and WRTO are latched in that order, and the above operation is repeatedly executed until the transfer ends, except that the start changes depending on the transfer start address, in the same way as described in the above operation.

次に画像メモリから外部i / f 13ヘデータを転
送する時の動作を説明する。
Next, the operation when transferring data from the image memory to the external I/F 13 will be explained.

先ず、S13から341へ移り、DMA要求信号20を
発生する。メモリからデータが読み出されDMA受付信
号21を受は取ると、S42へ移り、メモリからのデー
タを4byteラツチする。アドレスの増加モードを設
定されると343から344へ移り、データドライバ3
1を有効にし、30を無効にする。転送開始アドレスが
0.4.8.・・・のように4n (n=+0゜1.2
.・・・)で表わされる場合はS45から354へ移り
、DRQが来ると355でRDOを発生して、双方向ラ
ッチ25が保持してるデータをデータドライバ31を通
して外部i / f l 3へ送出する。
First, the process moves from S13 to 341, where a DMA request signal 20 is generated. When the data is read from the memory and the DMA acceptance signal 21 is received, the process moves to S42 and latches 4 bytes of data from the memory. When the address increase mode is set, the process moves from 343 to 344, and the data driver 3
Enable 1 and disable 30. The transfer start address is 0.4.8. 4n (n=+0゜1.2
.. ...), the process moves from S45 to 354, and when DRQ arrives, RDO is generated in 355, and the data held by the bidirectional latch 25 is sent to the external I/F l 3 through the data driver 31. .

次にDRQが来る毎に旧汀、T月、扉を発生し、S52
へ移り、DMA要求信号20を発生し、次のアドレスの
データを読み出し、S53以降上記動作を転送終了する
まで繰返す。転送開始アドレスが40+1で表わされる
場合はS46から356へ移り、旧汀、旧買、旧河を発
生し、3byte分転送後、S52で2回目のメモリ読
出しを要求し、以下4byteずつ転送を繰返す。
Next, every time DRQ comes, the old shore, T month, and door are generated, and S52
Then, the DMA request signal 20 is generated, data at the next address is read, and the above operations are repeated from S53 until the transfer is completed. If the transfer start address is expressed as 40+1, the process moves from S46 to 356, generates the old line, old buy, and old river, and after transferring 3 bytes, requests the second memory read in S52, and repeats the transfer every 4 bytes. .

転送開始アドレスが4n+2で表わされる場合はRD2
.RD3により2byteを転送後、2回目以降4by
te単位で転送を実行する。転送開始アドレスが4n+
3で表わされる場合もRD3により1byte転送後、
2回目以降4byte単位で転送を行う。アドレスが減
少モードの転送の場合はS43から348へ移り、デー
タドライバ30を有効にし、31を無効にして、上記動
作と同様でRDO〜RD3の発生順に逆にした動作を行
う。
If the transfer start address is expressed as 4n+2, RD2
.. After transferring 2 bytes by RD3, 4 bytes from the second time onwards
Transfer is executed in units of te. Transfer start address is 4n+
Even in the case represented by 3, after 1 byte transfer by RD3,
Transfer is performed in 4-byte units from the second time onwards. In the case of transfer in address decreasing mode, the process moves from S43 to 348, the data driver 30 is enabled, the data driver 31 is disabled, and the same operation as described above is performed with the order of occurrence of RDO to RD3 reversed.

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

以上、詳述した様に本発明により、 1、外部deviceのデータ転送速度に依存しない。 As detailed above, according to the present invention, 1. Does not depend on the data transfer speed of the external device.

2、外部deviceとのデータ転送中にCPUがシス
テムバスを占有する事が出来、並列動作が容易に可能。
2. The CPU can occupy the system bus during data transfer with an external device, making parallel operation possible.

3、CPUは画像データ転送の面側を見る必要が無い。3. The CPU does not need to see the image data transfer side.

という効果を有しています。It has this effect.

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

第1図は本発明を実施したワークステーションのブロッ
ク図、第2図は本発明の効果を出す動作を示したフロー
チャート、第3図は第1図中のデータ長変換回路の具体
的実施例を示す図、第4図(a)〜(「)は第3図に示
した実施例の動作を示すフローチャート、第5図は従来
例のブロック図。
FIG. 1 is a block diagram of a workstation implementing the present invention, FIG. 2 is a flowchart showing the operation that produces the effects of the present invention, and FIG. 3 is a specific example of the data length conversion circuit shown in FIG. FIGS. 4(a) to 4(a) are flowcharts showing the operation of the embodiment shown in FIG. 3, and FIG. 5 is a block diagram of the conventional example.

Claims (1)

【特許請求の範囲】[Claims] (1)画像データの入力、編集及び保存等の処理、出力
を行う装置において、少なくとも1画面分以上記憶する
画像メモリ、画像メモリ専用のデータバス、CPUから
のaccessport、DMAC、データ長変換回路
、メモリコントローラ、外部i/fで構成される画像処
理装置。
(1) In a device that processes and outputs image data such as input, editing, and storage, an image memory that stores at least one screen, a data bus dedicated to the image memory, an access port from the CPU, a DMAC, a data length conversion circuit, An image processing device consisting of a memory controller and external I/F.
JP18980588A 1988-07-29 1988-07-29 Image processor Pending JPH0239383A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18980588A JPH0239383A (en) 1988-07-29 1988-07-29 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18980588A JPH0239383A (en) 1988-07-29 1988-07-29 Image processor

Publications (1)

Publication Number Publication Date
JPH0239383A true JPH0239383A (en) 1990-02-08

Family

ID=16247504

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18980588A Pending JPH0239383A (en) 1988-07-29 1988-07-29 Image processor

Country Status (1)

Country Link
JP (1) JPH0239383A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7118044B2 (en) 1997-06-04 2006-10-10 Sony Corporation External storage apparatus and control apparatus thereof, and data transmission/reception apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7118044B2 (en) 1997-06-04 2006-10-10 Sony Corporation External storage apparatus and control apparatus thereof, and data transmission/reception apparatus
US7360715B2 (en) 1997-06-04 2008-04-22 Sony Corporation External storage apparatus and control apparatus thereof, and data transmission/reception apparatus

Similar Documents

Publication Publication Date Title
US6272583B1 (en) Microprocessor having built-in DRAM and internal data transfer paths wider and faster than independent external transfer paths
US20020018238A1 (en) Printer, print control apparatus and method
JPH0239383A (en) Image processor
JPH0535442A (en) Image data converting circuit
JPH09231164A (en) Bus bridge and computer system equipped with the bus bridge
JP2828643B2 (en) Straight line drawing device
JPS62173526A (en) Page buffer control system
JP3204297B2 (en) DMA transfer control device
JPH09186836A (en) Digital copying machine
JP2830239B2 (en) Input display control device
JP2581144B2 (en) Bus control device
JP2002014782A (en) Image output device and ink jet printer
JP2004110501A (en) Display controller
JP2642087B2 (en) Data transfer processing mechanism between main storage devices
JPH0635630A (en) Image processor
JP2001018463A (en) Dma controller and dma controlling method
JP3210598B2 (en) Print control device and print control method
JPH11115258A (en) Apparatus and method for controlling output
JP2001239707A (en) Printer controller and method for transferring data
JP2001243170A (en) Data transfer device
JPS60136824A (en) Printer control device
JPH03164850A (en) Direct memory access device
JPH0567983B2 (en)
JPH0516452A (en) Printer
JPS61226833A (en) Displaying system for picture information