JPH0359736A - Image information processor - Google Patents

Image information processor

Info

Publication number
JPH0359736A
JPH0359736A JP1195707A JP19570789A JPH0359736A JP H0359736 A JPH0359736 A JP H0359736A JP 1195707 A JP1195707 A JP 1195707A JP 19570789 A JP19570789 A JP 19570789A JP H0359736 A JPH0359736 A JP H0359736A
Authority
JP
Japan
Prior art keywords
address
access
data
memory
width
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
JP1195707A
Other languages
Japanese (ja)
Inventor
Masami Taoda
政美 垰田
Akira Saito
明 斉藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP1195707A priority Critical patent/JPH0359736A/en
Publication of JPH0359736A publication Critical patent/JPH0359736A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dram (AREA)
  • Image Input (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、光ディスク等の記憶媒体に蓄積記憶された図
面や文書の画像を表示したり、印刷したり、通信手段を
用いて他に伝送したり、さらには編集したりする総合的
な処理を電子的に行なう画像情報処理装置に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention is useful for displaying and printing images of drawings and documents stored in storage media such as optical disks, and for using communication means. The present invention relates to an image information processing apparatus that electronically performs comprehensive processing such as using the image information to transmit the information to others, and furthermore, to edit it.

(従来の技術) 近年、一般文書や図面などの文書画像を例えば光ディス
ク等の大容量記憶媒体に格納しておき、これを電子的に
管理し、表示、印刷、伝送したり、これに文字や図形を
書き加える等、文書画像を統合的に取り扱うシステムか
注目されている。
(Prior art) In recent years, document images such as general documents and drawings are stored in large-capacity storage media such as optical disks, and these can be electronically managed, displayed, printed, transmitted, and can be used to add text or text to them. A system that handles document images in an integrated manner, such as by adding graphics, is attracting attention.

このようなシステムにおいて、上記大容量記憶媒体に記
憶された画像情報は、例えばRAM (ランダムアクセ
スメモリ)等で構成されるビットマツプメモリにロード
され、このビットマツプメモリ上で編集その他種々の処
理を施した後、表示、印刷、伝送等に供されるようにな
っている。
In such a system, the image information stored in the large-capacity storage medium is loaded into a bitmap memory composed of, for example, RAM (random access memory), and edited and other various processes are performed on this bitmap memory. After being applied, it can be used for display, printing, transmission, etc.

このようなビットマツプメモリへのアクセスは頻繁に生
じるので、そのアクセス速度の早遅や処理効率の良否は
画像情報処理装置全体の性能を左右する重要な要因とな
っている。したがって、上記アクセスの高速化や処理効
率の向上を図るために種々の対策がとられているが、こ
れらの処理を統合的にユーザの要求を満たすべく効率よ
く処理するシステムはなかった。
Since such accesses to the bitmap memory occur frequently, the access speed and processing efficiency are important factors that influence the performance of the entire image information processing apparatus. Therefore, various measures have been taken to speed up the access and improve processing efficiency, but there has been no system that efficiently processes these processes in an integrated manner to meet user demands.

また、2バンクの構成のみで扱う場合、任意のビットア
ドレスからの1〜N/2ビットのデータアクセスが可能
であり、ビットマツプメモリの処理においてアドレスや
データ処理の制御が容易であるが、メモリ構成において
Nビットのデータ幅を必要とするためデータ線が多く必
要となり、またNビットのメモリ構成であるのにN/2
ビットまでのアクセスしかできないという欠点があった
Furthermore, when dealing with only a 2-bank configuration, it is possible to access 1 to N/2 bits of data from any bit address, and it is easy to control addresses and data processing in bitmap memory processing. Since the configuration requires a data width of N bits, many data lines are required, and even though the memory configuration is N bits, the data width is N/2.
The drawback was that it could only access bits.

また、メモリを1バンクの構成にした場合、Nビットの
アクセスが可能であるが、任意のビットアドレスからの
1〜Nビットのアクセスを行う際、ビットアドレス及び
アクセスデータ幅によるデータ処理制御が複雑になるだ
けでなく、ワード境界に跨ってアクセスを行った場合、
アクセスデータ幅が短い場合であってもアドレスを変更
してメモリアクセスを2回実行する必要があり、アクセ
ス速度が遅くなるという欠点があった。
In addition, when the memory is configured as one bank, N bits can be accessed, but when accessing 1 to N bits from an arbitrary bit address, data processing control based on the bit address and access data width is complicated. If you access across word boundaries, not only
Even when the access data width is short, it is necessary to change the address and perform memory access twice, which has the disadvantage of slowing down the access speed.

(発明が解決しようとする課題) この発明は、上記の事情に鑑みてなされたもので、簡単
な構成でより高速かつ効率的なビ・ントマップ処理が可
能な画像情報処理装置を提供することを目的とする。
(Problems to be Solved by the Invention) The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an image information processing device capable of faster and more efficient vitomap processing with a simple configuration. With the goal.

[発明の構成] (課題を解決するための手段) 本発明の画像情報処理装置は、入力装置で入力された画
像情報を記憶媒体に記憶しておき、必要に応じて前記画
像情報を記憶媒体から読み出して出力する画像情報処理
装置において、アクセスデータ幅がN/2ビットである
第1のアクセス単位とアクセスデータ幅がN/2ビ・ソ
トである第2のアクセス単位とにて成り、これら第1、
第2のアクセス単位に同時にアクセスすることによりア
クセスデータ幅がNビットとなる前記画像情報を記憶す
る記憶手段と、この記憶手段に供給するアドレスを発生
するアドレス発生手段と、このアドレス発生手段で発生
されたアドレスをインクリメントする加算手段と、前記
記憶手段へのアクセスが1ビット幅からN/2ビット幅
までのデータアクセスであるかNビット幅のデータアク
セスであるかを切り替える切替手段と、この切替手段が
1ビット幅からN/2ビット幅までのデータアクセスに
切り替えられた際、前記アドレス発生手段が発生するア
ドレスが前記第1のアクセス単αを指定している場合は
そのアドレスを前記第1及び第2のアクセス単位に供給
し、前記アドレス発生手段が発生するアドレスが前記第
2のアクセス単位を指定している場合は、そのアドレス
を前記第2のアクセス単位に、前記加算手段によりイン
クリメントしたアドレスを前記第1のアクセス単1立に
供給し、前記切替手段がNビット幅のデータアクセスに
切り替えられた際、前記アドレス発生手段が発生するア
ドレスを前記第1及び第2のアクセス単位に供給する制
御手段とを具備したことを特徴とする。
[Structure of the Invention] (Means for Solving the Problems) An image information processing device of the present invention stores image information input with an input device in a storage medium, and transfers the image information to the storage medium as necessary. In an image information processing device that reads and outputs data from a computer, the first access unit has an access data width of N/2 bits and the second access unit has an access data width of N/2 bits. First,
storage means for storing the image information whose access data width becomes N bits by simultaneously accessing the second access unit; address generation means for generating an address to be supplied to the storage means; an addition means for incrementing a given address; a switching means for switching whether the access to the storage means is a data access from a 1-bit width to an N/2-bit width or an N-bit width data access; When the means is switched from 1-bit width to N/2-bit width data access, if the address generated by the address generation means specifies the first access unit α, that address is and a second access unit, and if the address generated by the address generation means specifies the second access unit, the address is incremented by the addition means to the second access unit. supplies an address to the first access unit, and supplies an address generated by the address generation unit to the first and second access units when the switching unit switches to N-bit width data access; The invention is characterized in that it is equipped with a control means.

(作用) 本発明は、例えば第1のアクセス単位と第2のアクセス
単位とから成り、1バンク構成又は2バンク構成のいず
れにも対応可能な記憶手段を用い、アクセス領域の大き
な例えば矩形領域にアクセスする際、つまり、1バンク
構成特のデータ幅をNとすると任意のビットアドレスか
らのNビットアクセスの際には記憶手段を1バンク構成
として扱い、一方、例えばアフィン変換など複雑なアド
レスによるアクセス、つまり任意のビットアドレスから
の1〜N/2ビットのデータアクセスにおいては2バン
ク構成として扱うように切替制御可能にしたので、1バ
ンク構成の場合はアドレス生成が容易となり、また、高
速でがっ比較的簡単な制御にて処理が可能であり、2バ
ンク構成の場合はデータ処理を簡単に行うことができ、
高速な処理ができるものとなっている。
(Operation) The present invention uses a storage means that is composed of, for example, a first access unit and a second access unit and is compatible with either a one-bank configuration or a two-bank configuration, and stores data in a large access area, such as a rectangular area. When accessing, that is, when N bits are accessed from an arbitrary bit address, assuming the data width in a 1-bank configuration is N, the storage means is treated as having a 1-bank configuration.On the other hand, when accessing by a complex address such as affine transformation, for example, In other words, when accessing data from 1 to N/2 bits from any bit address, it is possible to switch so that it is handled as a 2-bank configuration, which makes it easier to generate addresses in the case of a 1-bank configuration, and it is also faster and faster. Processing is possible with relatively simple control, and in the case of a 2-bank configuration, data processing can be performed easily.
It is capable of high-speed processing.

(実施例) 以下、図面を参照して本発明の1実施例について説明す
る。第1図は本発明にかかる画像情報処理装置の構成を
示す図である。
(Example) Hereinafter, one example of the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing the configuration of an image information processing apparatus according to the present invention.

図中1は、中央演算処理部(以下、rCP UJという
)であり、本画像情報処理装置の各モジュールの制御・
管理・演算処理等を行うものである。
1 in the figure is a central processing unit (hereinafter referred to as rCP UJ), which controls and controls each module of this image information processing device.
It performs management, calculation processing, etc.

2はダイレクトメモリアクセス制御部(以下、「DMA
Jという)であり、外部装置とプログラムメモリ装置3
との間、あるいはプログラムメモリ装置3内で高速にデ
ータ転送を実行するものである。
2 is a direct memory access control unit (hereinafter referred to as “DMA
J), and includes an external device and a program memory device 3.
This is to execute data transfer at high speed between the program memory device 3 or within the program memory device 3.

上記外部装置としては、ハードディスク装置16とそれ
を制御するハードディスク制御部(IDC)4、フロッ
ピーディスク装置17とそれを制御するフロッピーディ
スク制御部(FDC)5、ユーザが本装置に指示を与え
たり文章を入力する目的で用いられるキーボード18や
、デイスプレィ上に表示されている画面に対してその特
定部位を指示するためのポインティングデバイスである
マウス19とそれらを制御しデータの受信を行なう周辺
入出力制御部(PI○)6が用意されている。これらは
周辺データ入出力用バス(以下、rP I Oバスjと
いう)26に接続され、上述したCPUI及びDMA2
の制御のもとで、プログラムメモリ装置3との間で高速
データ転送が可能となっている。また、CPUバス制御
論理制御部(CBL)7は、上記データ転送をシステム
バス25を経由して他の機器・制御部分にも可能ならし
めるもので、それらが並行して実行されるべく、バスの
アービトレーションを制御するものであり、例えば第2
図に示すような構成になっている。すなわち、バスアー
ビタ(ARBT)30の制御のもとに、ゲート32a〜
32fを開閉してCPUI、DMA2、プログラムメモ
リ装置3、システムバス25、またはPIOバス26の
間を相互に接続するものである。
The above-mentioned external devices include a hard disk device 16 and a hard disk controller (IDC) 4 that controls it, a floppy disk device 17 and a floppy disk controller (FDC) 5 that controls it, and a user who can give instructions to this device and write text. A keyboard 18 used for inputting information, a mouse 19 which is a pointing device for pointing a specific part of the screen displayed on the display, and peripheral input/output control that controls them and receives data. Part (PI○) 6 is prepared. These are connected to a peripheral data input/output bus (hereinafter referred to as rPIO bus j) 26, and are connected to the above-mentioned CPUI and DMA2.
Under the control of the program memory device 3, high-speed data transfer is possible. In addition, the CPU bus control logic controller (CBL) 7 enables the above-mentioned data transfer to other devices/control units via the system bus 25. For example, the second
The configuration is as shown in the figure. That is, under the control of the bus arbiter (ARBT) 30, the gates 32a to
32f is opened and closed to interconnect the CPUI, DMA 2, program memory device 3, system bus 25, or PIO bus 26.

通信処理制御部8は、外部の他の装置と通信回線20を
経由してデータの送受信を行なうためのプロトコル制御
、データのバッケティング/アンパッケティング等の処
理を行なうものである。データは上述したCPUI、D
MA2の制御によってプログラムメモリ装置3等との間
で授受される。
The communication processing control unit 8 performs processing such as protocol control for transmitting and receiving data to and from other external devices via the communication line 20, and data bucketing/unpacking. The data is the CPUI, D
It is exchanged with the program memory device 3 and the like under the control of MA2.

光デイスク制御部9は、光デイスク装置21を制御する
ものである。
The optical disk control section 9 controls the optical disk device 21.

表示制御部10は、イメージデータを格納するデュアル
ポートメモリデバイスから成るメモリ(以下、rDPM
Jという)11の一部分を表示部22に表示させるため
に、DPMI 1の表示部位から表示データを読み出し
、同期信号とともに表示部22に送り出す機能を持って
いる。また、上記DPMI 1は、単にイメージデータ
を格納するメモリとしての機能だけではなく、種々の描
画機能を有している(詳説後述)。イメージ処理部12
は、イメージデータの線密度変換、拡大・縮小変換等の
画像変換処理、及びイメージデータの圧縮・伸長処理等
の符号化・復号化処理を行なうものである。また、スキ
ャナ制御部13はイメージデータを紙面等より読取り入
力するイメージスキャナ装置(以下、「スキャナ」とい
う)23を制御し、DPMI 1へデータの転送を行な
うものである。プリンタ制御部は、DPMllからデー
タを読み込み、イメージプリンタ装置(以下、「プリン
タ」という)24にイメージデータを転送して紙面に印
刷出力する制御を行なうものである。
The display control unit 10 includes a memory (hereinafter referred to as rDPM) consisting of a dual port memory device that stores image data.
In order to display a part of 11 (referred to as J) on the display section 22, the DPMI 1 has a function of reading out display data from the display section of the DPMI 1 and sending it to the display section 22 together with a synchronization signal. Furthermore, the DPMI 1 has not only a function as a memory for simply storing image data, but also various drawing functions (details will be described later). Image processing section 12
performs image conversion processing such as linear density conversion and enlargement/reduction conversion of image data, and encoding/decoding processing such as compression/expansion processing of image data. Further, the scanner control unit 13 controls an image scanner device (hereinafter referred to as "scanner") 23 that reads and inputs image data from paper, etc., and transfers the data to the DPMI 1. The printer control section reads data from the DPMll, transfers the image data to an image printer device (hereinafter referred to as "printer") 24, and performs control to print it out on paper.

上記スキャナ制御部13、プリンタ制御部14は、イメ
ージデータ入出力用バス(以下、rl 10バス」とい
う)27に接続され、DPMllとの間で高速データ転
送が可能になっている。また、イメージバス制御論理制
御部(以下、rlBLjという)15は、システムバス
25を経由して行われる他の機器・制御部とのデータの
授受をも含め、イメージデータにかかるこれら全てのデ
ータ転送を可能ならしめるもので、それらが並行して実
行されるべく、バスのアービトレーションを制御するで
あり、例えば第3図に示すような構成になっている。す
なわち、バスアービタ(ARBT)3Bの制御のもとに
、ゲート36a〜36gを開閉してDPMI 1、イメ
ージ処理部12、システムバス25、または110バス
26の間を相互に接続するものである。
The scanner control unit 13 and printer control unit 14 are connected to an image data input/output bus (hereinafter referred to as RL10 bus) 27, and are capable of high-speed data transfer with the DPMll. In addition, the image bus control logic control unit (rlBLj hereinafter) 15 handles all data transfer related to image data, including data exchange with other devices and control units via the system bus 25. The bus arbitration is controlled so that these operations can be executed in parallel, and has a configuration as shown in FIG. 3, for example. That is, under the control of the bus arbiter (ARBT) 3B, the gates 36a to 36g are opened and closed to interconnect the DPMI 1, the image processing unit 12, the system bus 25, or the 110 bus 26.

次に、DPMI 1の詳細について第4図を参照しつつ
説明する。メモリ50は、表示メモリDMとページメモ
リPMの2つの部分より構成され、イメージデータやコ
ードデータを記憶する。上記表示メモリDMはデュアル
ポートメモリにより構成され、シリアルボートSDより
ビデオデータの読み出しを行ない、表示部22に表示す
るようになっている。また、上記ページメモリPMは、
汎用のDRAM (ダイナミックランダムアクセスメモ
リ)で構成され、1次元メモリとして扱うことができる
ようになっている。また、メモリ50は2バンク構成と
なっており、偶数(EVEN)バンク(第1のアクセス
単位)と奇数(OD D)バンク(第2のアクセス単位
)とに分けられている。
Next, details of DPMI 1 will be explained with reference to FIG. 4. The memory 50 is composed of two parts, a display memory DM and a page memory PM, and stores image data and code data. The display memory DM is constituted by a dual port memory, and is adapted to read video data from the serial port SD and display it on the display section 22. In addition, the page memory PM is
It is composed of general-purpose DRAM (dynamic random access memory) and can be treated as a one-dimensional memory. The memory 50 has a two-bank configuration, and is divided into an even bank (first access unit) and an odd bank (second access unit).

アドレス発生部51は、メモリ50にアクセスする際の
アドレスを発生するものである。このアドレス発生部5
1は、第5図に示すように、4系統の独立したアドレス
発生器70,71,72゜73を有しており、これらが
発生するアドレス、または、CPU1からシステムバス
25を介して送られてくるシステムアドレスの中から選
択を行なって出力することができる構成になっている。
The address generator 51 generates an address when accessing the memory 50. This address generation section 5
1 has four systems of independent address generators 70, 71, 72, 73, as shown in FIG. The configuration is such that it is possible to select from among the system addresses that come and output them.

上記アドレス発生器70.71,72.73は、それぞ
れ2次元のアドレス発生器であり、アフィン変換等のビ
ットアドレスを発生することができるものである。セレ
クタ74はアドレス発生器70.71,72.73にお
いて発生された2次元アドレスとシステムアドレスとの
中から1つのアドレスを選択するものである。ここで選
択された2次元アドレスは、2次元−1次元変換器75
、ウィンドウ信号発生器76、及びアクセス幅制御部7
7に供給される。2次元−1次元変換器75においては
、2次元アドレスを必要に応じて1次元アドレスに変換
する処理を行なう。すなわち、XアドレスをXADSY
アドレスをYAD、X方向の走査幅をXWとすると、r
XW*YAD十XADJで1次元アドレスを求めること
ができる。
The address generators 70, 71 and 72, 73 are two-dimensional address generators, respectively, and are capable of generating bit addresses using affine transformation or the like. The selector 74 selects one address from the two-dimensional addresses and system addresses generated by the address generators 70.71 and 72.73. The two-dimensional address selected here is processed by the two-dimensional to one-dimensional converter 75.
, window signal generator 76, and access width control section 7
7. The two-dimensional to one-dimensional converter 75 performs a process of converting a two-dimensional address into a one-dimensional address as necessary. In other words, X address is XADSY
If the address is YAD and the scanning width in the X direction is XW, then r
A one-dimensional address can be obtained by XW*YAD×XADJ.

また、ウィンドウ信号発生器76においては、予めセッ
トされたウィンドウアドレスと比較を行なうことにより
、ウィンドウ信号、つまりウィンドウ内を表わすWND
信号、ウィンドウの左端をアクセスしていることを示す
LWND信号、ウィンドウの右端をアクセスしているこ
とを示すRWND信号を生成する。本実施例ではこのウ
ィンドウ信号を各チャンネルに対応じて2系統有してい
る。アクセス幅制御部77は、生成されたアドレスに対
してアクセスするデータ幅を制御するものである。また
、セレクタ78は2次元−1次元変換器75からのアド
レスまたは1次元のシステムアドレスの選択を行なうも
のである。加算器79は、メモリ50を2つのバンクに
分割した際の片方のバンクに対して次のアドレスを与え
るためのアドレス計算を行う演算器である。そして、セ
レクタ80は現アドレス、または加算器79で計算した
メモリ50の次のアドレスのいずれかを選択するもので
ある。
In addition, in the window signal generator 76, by comparing with a preset window address, the window signal, that is, the WND representing the inside of the window is generated.
A signal, an LWND signal indicating that the left edge of the window is being accessed, and an RWND signal indicating that the right edge of the window is being accessed are generated. In this embodiment, two systems of window signals are provided corresponding to each channel. The access width control unit 77 controls the data width to be accessed for the generated address. Further, the selector 78 selects an address from the two-dimensional to one-dimensional converter 75 or a one-dimensional system address. The adder 79 is an arithmetic unit that performs address calculation to provide the next address to one bank when the memory 50 is divided into two banks. The selector 80 selects either the current address or the next address in the memory 50 calculated by the adder 79.

第4図に示すラッチ56.61は、それぞれ、アドレス
発生部51からのアドレスのうち、メモリ50の奇数バ
ンクのアドレスを記憶するラッチ56と偶数バンクのア
ドレスを記憶するラッチ61である。
The latches 56 and 61 shown in FIG. 4 are a latch 56 that stores addresses in odd banks of the memory 50 and a latch 61 that stores addresses in even banks among the addresses from the address generator 51, respectively.

データ処理部52は、第6図に示すように構成されるも
ので、拡大、縮小、3項演算、クリッピング等のデータ
処理を行なう。また、この際、任意のビットアドレスか
らの1〜32ビットあるいは、64ビットのデータ処理
が可能である。ラッチ88はメモリ50から読みだされ
たデータを一時記憶するものであり、パターンRAM8
6はメモリ50に描画するためのパターンを記憶するも
のである。このパターンRAM86の内容は書換えが可
能となっている。データ処理ユニット85は、データを
一時記憶するためのレジスタ、オフセットアドレスによ
ってデータのシフトを行なうバレルシフタ、拡大縮小処
理を行う拡大縮小部、及びデータの重み(LSB−MS
B)を反転させる反転処理部(いずれも図示しない)等
から構成されている。また、ALU87は3項演算すな
わち、パターンRAM86からのパターンデータと、デ
ータ処理ユニット85からのソースデータと、メモリ5
0からのデータを記憶したラッチ88からのディスティ
ネーションデータとの間で3項演算を行なうものである
。この3項演算の際、マスク処理部90ではALU87
において演算を行なう部分と行なわない部分を区別する
ためのマスクを作成する。このマスク作成には、アドレ
ス発生部51より入力されるオフセットアドレス、ウィ
ンドウ信号、アクセス幅により決定される。さらに、デ
ータ処理部52においては塗りつぶしをサポートするた
めの境界検出部89を備えている。
The data processing section 52 is configured as shown in FIG. 6, and performs data processing such as enlargement, reduction, ternary operation, and clipping. Further, at this time, data processing of 1 to 32 bits or 64 bits from an arbitrary bit address is possible. The latch 88 temporarily stores data read from the memory 50, and
Reference numeral 6 stores patterns to be drawn in the memory 50. The contents of this pattern RAM 86 can be rewritten. The data processing unit 85 includes a register for temporarily storing data, a barrel shifter for shifting data according to an offset address, a scaling unit for scaling processing, and a data weight (LSB-MS).
It is comprised of an inversion processing section (none of which is shown) that inverts the image (B). Further, the ALU 87 performs a ternary operation, that is, pattern data from the pattern RAM 86, source data from the data processing unit 85, and memory 5.
A ternary operation is performed with the destination data from the latch 88 that stores data starting from 0. During this ternary operation, the mask processing unit 90 uses the ALU 87
A mask is created to distinguish between the parts where calculations are performed and the parts where no calculations are performed. This mask creation is determined by the offset address, window signal, and access width input from the address generator 51. Furthermore, the data processing section 52 includes a boundary detection section 89 for supporting filling.

この境界検出部89は、メモリ50から入力されたデー
タに対して「1」あるいは「0」があるかどうかを検出
するものである。
This boundary detection section 89 detects whether there is a "1" or "0" in the data input from the memory 50.

第4図に示すシーケンサ53はアドレス発生部51、デ
ータ処理部52、メモリ制御部54のメモリアクセス時
の制御信号を発生する機能を持つ。
The sequencer 53 shown in FIG. 4 has a function of generating control signals for the address generation section 51, data processing section 52, and memory control section 54 during memory access.

上記メモリ制御部50は、メモリ50の制御を行なうR
AS信号、CAS信号、OE倍信号WE信号等を発生す
るものである。表示制御部10は、上述したように、表
示部22を制御するものであり、これから出力される表
示アドレスは、セレクタ57.58に供給される。そし
て、セレクタ57.58において、表示制御部10から
のアドレスとアドレス発生部51から供給されるアドレ
スとの内の1つが選択されてメモリ50に供給される。
The memory control unit 50 controls the memory 50.
It generates an AS signal, a CAS signal, an OE multiplied signal WE signal, etc. As described above, the display control section 10 controls the display section 22, and the display address output from this section is supplied to the selectors 57 and 58. Then, in the selectors 57 and 58, one of the address from the display control section 10 and the address supplied from the address generation section 51 is selected and supplied to the memory 50.

また、この表示制御部10からのアドレスはカーソル制
御部55に送られ、予めセットされたカーソルの位置情
報と比較することにより、表示部22の適切な位置にカ
ーソルが表示される。
Further, the address from the display control section 10 is sent to the cursor control section 55, and the cursor is displayed at an appropriate position on the display section 22 by comparing it with preset cursor position information.

また、表示制御部10から出力されるH3YNC信号及
びVSYNC信号は、表示部22において、同期信号と
して使用される。シフトレジスタ59は、メモリ50か
ら読みだされた表示データをシリアルデータに変換する
ものである。合成部60は、メモリ50からシフトレジ
スタ59を経由して供給される表示データとカーソル制
御部55から供給されるカーソルデータとの合成を行い
、表示部22に表示を行なうものである。
Furthermore, the H3YNC signal and VSYNC signal output from the display control section 10 are used as synchronization signals in the display section 22. The shift register 59 converts display data read from the memory 50 into serial data. The synthesizing section 60 synthesizes the display data supplied from the memory 50 via the shift register 59 and the cursor data supplied from the cursor control section 55, and displays the data on the display section 22.

次に、上記構成において、DPMIIの動作について、
周辺のハードウェアの動作をも含めて詳細に説明する。
Next, regarding the operation of DPMII in the above configuration,
A detailed explanation including the operation of peripheral hardware will be provided.

DPMI l内のメモリ50にアクセスする際は、全て
IBL15内のARBT3Bに対してアクセス要求(A
CCリクエスト)を出し、ARBT33によってアービ
トレーションを行なうことにより、複数のアクセス要求
が競合した場合、1つのアクセス要求のみを選択するよ
うになっている。
When accessing the memory 50 in DPMI I, an access request (A
By issuing a CC request and performing arbitration by the ARBT 33, only one access request is selected when multiple access requests conflict.

ARBT33により、アクセス許可か決定されると、シ
ーケンサコードがシーケンサ53に供給され、シーケン
サ53が動作を開始し、メモリ50等の制御を行う。
When the ARBT 33 determines whether access is permitted, the sequencer code is supplied to the sequencer 53, and the sequencer 53 starts operating and controls the memory 50 and the like.

本実施例では、DPMllへのアクセスに関し、4種類
のアクセスを有している。すなわち、スキャナ23及び
プリンタ24からのアクセスであるIOアクセスと、C
PU1からのアクセスであるCPUアクセスと、イメー
ジ処理部12を用いてイメージ処理を行なう際のラスク
処理アクセスと、DPMI l内でのアクセスである内
部アクセスである。
In this embodiment, there are four types of accesses to DPMll. In other words, IO access from the scanner 23 and printer 24, and C
These are CPU access which is access from PU1, rask processing access when performing image processing using image processing unit 12, and internal access which is access within DPMI I.

以下、上記各アクセスについて説明する。スキャナ23
からの画像入力に関する10アクセスにおいては、CP
UIは、先ず、関連する各モジュールに対してパラメー
タのセットを行なう。このとき、メモリ50へ供給する
アドレスはアドレス発生部51のアドレス発生器70,
71,72゜73の中の1つを使用する。スキャナ23
が動作を開始すると、読み取ったデータはスキャナ制御
部13に送られ、スキャナ制御部13はこのデータ’E
−110バス27のデータバス幅にして、ARBT3B
に対してDPMI 1へのデータの書き込み要求を出す
。ARBT3Bは、他にアクセス要求がなければ、ゲー
ト36aの制御を行って、スキャナ制御部13から11
0バス27を介して送られてくるスキャナ23の読み取
りデータをDPMI 1に供給し、同■j7に、シーケ
ンサ53にシーケンサコードを送る。これにより、シー
ケンサ53はDPMI l内のメモリ50へのデータの
書き込み動作を開始する。すなわち、アドレス発生部5
1より該当するアドレスを選択し、奇数アドレス、偶数
アドレスに順次切り換えて、それぞれラッチ56.61
にラッチする。次に、セレクタ57.58はラッチ56
.61からのアドレスを選択してメモリ50に供給する
。一方、データはデータ処理部52においてデータ処理
が施され、メモリ50に書き込まれる。このとき、メモ
リ50に対する制御信号はメモリ制御部54が発生する
。データの書き込みが終了すると、シーケンサ53はA
RB733に対して終了を意味するアービタ制御信号を
出力し、さらに、ARB733はスキャナ制御部13に
終了信号を出力して、1回のデータ転送を終了する。こ
の動作を繰り返し実行することによりスキャナ23で読
み取った1枚分の画像データをメモリ50に記憶して入
力動作を終了する。
Each of the above accesses will be explained below. Scanner 23
10 accesses regarding image input from CP
The UI first sets parameters for each relevant module. At this time, the address supplied to the memory 50 is supplied to the address generator 70 of the address generator 51,
Use one of 71, 72, 73. Scanner 23
When the scanner starts operating, the read data is sent to the scanner control section 13, and the scanner control section 13 receives this data 'E.
-110 bus 27 data bus width, ARBT3B
A request to write data to DPMI 1 is issued to the DPMI 1. If there is no other access request, the ARBT 3B controls the gate 36a and transfers information from the scanner control units 13 to 11.
The read data of the scanner 23 sent via the 0 bus 27 is supplied to the DPMI 1, and the sequencer code is sent to the sequencer 53 at the same time. As a result, the sequencer 53 starts writing data to the memory 50 in the DPMI I. That is, the address generator 5
Select the corresponding address from 1, switch to odd address and even address sequentially, and latch 56 and 61 respectively.
Latch to. Next, the selectors 57 and 58 are connected to the latch 56.
.. The address from 61 is selected and supplied to memory 50. On the other hand, the data is subjected to data processing in the data processing section 52 and written into the memory 50. At this time, a control signal for the memory 50 is generated by the memory control section 54. When the data writing is completed, the sequencer 53
An arbiter control signal indicating termination is output to the RB 733, and the ARB 733 further outputs an termination signal to the scanner control unit 13, thereby completing one data transfer. By repeating this operation, the image data for one sheet read by the scanner 23 is stored in the memory 50, and the input operation is completed.

10アクセスにおけるプリンタ24への画像出力に関し
ては、CPUIは、先ず、関連する各モジュールに対し
てパラメータのセットを行なう。
Regarding image output to the printer 24 in 10 accesses, the CPUI first sets parameters for each relevant module.

このとき、メモリ50へ供給するアドレスは、アドレス
発生部51のアドレス発生器70,71゜72.73の
中の1つを使用する。プリンタ24が動作を開始すると
、プリンタ制御部14は、IIOバス27を通して、A
RBT33に対してDPMIIからの画像データの読み
出し要求を出す。ARBT33は、他にアクセス要求が
なげれば、ゲート36aの制御を行うと同時に、シーケ
ンサ53にシーケンサコードを送る。これにより、シー
ケンサ53はDPMI l内のメモリ50から画像デー
タの読み出し動作を開始する。すなわち、アドレス発生
部51より該当するアドレスを選択し、奇数アドレス、
偶数アドレスに順次切り換えて、それぞれラッチ56.
61にラッチする。次に、セレクタ57.58はラッチ
56.61からのアドレスを選択してメモリ50に供給
する。−方、メモリ50に対する制御信号をメモリ制御
部54で生成し、メモリ50がら画像データを読みだす
。読み出された画像データは、データ処理部52におい
てデータ処理すなわち、シフト処理やマスク処理などが
行われゲー136aを通してIIOバス27に出力され
る。シーケンサ53はARBT33に対して終了を意味
するアービタ制御信号を出力し、さらに、ARBT33
はプリンタ制御部14に終了信号を出力して、画像デー
タの読み出しが終了したことを伝える。これにより、プ
リンタ制御部14は画像データを受取り、さらに、プリ
ンタ24に出力して1回のデータ転送を終了する。この
動作を繰り返して1枚分の画像データをメモリ50から
読み出し、プリンタ24に出力することにより、プリン
タ24への出力動作を終了する。
At this time, one of the address generators 70, 71, 72, and 73 of the address generator 51 is used to supply the address to the memory 50. When the printer 24 starts operating, the printer control unit 14 sends the A
A request is issued to the RBT 33 to read image data from the DPMII. If no other access request is received, the ARBT 33 controls the gate 36a and simultaneously sends a sequencer code to the sequencer 53. As a result, the sequencer 53 starts reading image data from the memory 50 in the DPMI I. That is, the corresponding address is selected from the address generator 51, and the odd address,
The latches 56 .
Latch to 61. Selectors 57.58 then select the address from latch 56.61 and supply it to memory 50. - On the other hand, a control signal for the memory 50 is generated by the memory control unit 54, and image data is read from the memory 50. The read image data is subjected to data processing, that is, shift processing, mask processing, etc., in the data processing section 52, and is output to the IIO bus 27 through the game 136a. The sequencer 53 outputs an arbiter control signal indicating termination to the ARBT 33, and further outputs an arbiter control signal to the ARBT 33.
outputs an end signal to the printer control unit 14 to notify that reading of the image data has ended. As a result, the printer control unit 14 receives the image data and outputs it to the printer 24, thereby completing one data transfer. This operation is repeated to read out image data for one page from the memory 50 and output it to the printer 24, thereby completing the output operation to the printer 24.

次に、CPUIによるメモリ50に対するアクセスにつ
いて説明する。CPU1はシステムバス25を経由して
、ARBT33に対してDPMll内のメモリ50に対
する読み出しまたは書き込みのアクセス要求を出す。A
RB733は、この要求に対して、他のDPMllへの
アクセス要求がなく、アービタにより許可されたならば
、ゲ−)−36aを制御し、さらに、シーケンサ53に
対してCPυアクセスのシーケンサコードを出力する。
Next, access to the memory 50 by the CPU will be explained. The CPU 1 issues a read or write access request to the memory 50 in the DPMll to the ARBT 33 via the system bus 25. A
In response to this request, if there is no access request to other DPMlls and the arbiter allows it, the RB733 controls the game controller 36a and further outputs a sequencer code for CPυ access to the sequencer 53. do.

シーケンサ53は、これにより、メモリ50へのアクセ
スを開始する。cpuiからのシステムアドレスはシス
テムバス25を経由してDPMI 1のアドレス発生部
51に入力される。
The sequencer 53 thereby starts accessing the memory 50. The system address from the CPUI is input to the address generator 51 of the DPMI 1 via the system bus 25.

このシステムアドレスは、アドレス発生部51内のセレ
クタ78.80を経由して出力され、ラッチ56.61
にラッチされる。このラッチ56.61の出力は、セレ
クタ57.58を経由してメモリ50に供給される。読
み出しの場合には、メモリ制御部54からの制御信号に
よりメモリ5゜からデータが読み出され、データ処理部
52、ゲー)36a、システムバス25を経由してCP
UIに送られる。また書き込みに関しては、CPUIか
らのデータはシステムバス25、ゲー)36a、 デー
タ処理部52を経由してメモリ50に書き込まれる。上
記メモリ5oのデータ幅は64ビット幅であるが、アド
レスの下αビットによりデータ処理部52がデータの選
択を行なって、該当するデータのアクセスを行なう。な
お、書き込み時においては、メモリ制御部54からライ
トイネフール(WE)信号を出力することにより書き込
み制御を行なっている。
This system address is output via the selector 78.80 in the address generator 51, and is output to the latch 56.61.
latched to. The output of this latch 56.61 is supplied to the memory 50 via a selector 57.58. In the case of reading, data is read from the memory 5° by a control signal from the memory control unit 54, and is sent to the CP via the data processing unit 52, the game 36a, and the system bus 25.
Sent to UI. Regarding writing, data from the CPU is written to the memory 50 via the system bus 25, the game controller 36a, and the data processing section 52. Although the data width of the memory 5o is 64 bits, the data processing unit 52 selects data based on the lower α bit of the address and accesses the corresponding data. Note that during writing, write control is performed by outputting a write-enough (WE) signal from the memory control unit 54.

次に、ラスク処理アクセスに関して、ここでは、イメー
ジ処理部12を用いて画像の縮小処理を行なう場合につ
いて説明する。先ず、CPUIにより使用する各モジュ
ールに対してパラメータのセットを行なう。本実施例に
関してはメモリ50から読み出した画像データをLDC
34(第3図参照)により縮小処理を行なって再びメモ
リ50の別のアドレスに縮小処理した画像データを書き
込む処理を行なうため、アドレス発生部51のアドレス
発生器70,71,72.73の中のを2個使用する。
Next, regarding rask processing access, a case where image reduction processing is performed using the image processing section 12 will be described here. First, parameters are set for each module to be used using the CPUI. In this embodiment, the image data read from the memory 50 is
34 (see FIG. 3) and write the reduced image data to another address in the memory 50 again. Use two of these.

処理が開始されると、先ず、LDC34は、ARBT3
Bに対しメモリ50からの画像データの読み出し要求を
出す。ARBT33はこれを受は付けると、シーケンサ
53に外部読み出しアクセスのシーケンサコードを出力
し、これにより、メモリ50から画像データが読み出さ
れてデータ処理部52、ゲー)36aを経由してLDC
34に入力され読み出し動作を終了する。
When the process starts, first, the LDC 34 connects the ARBT 3
A request to read image data from the memory 50 is issued to the device B. When the ARBT 33 accepts this, it outputs a sequencer code for external read access to the sequencer 53, whereby the image data is read from the memory 50 and sent to the LDC via the data processing unit 52 and the game controller 36a.
34, and the read operation is completed.

このとき、アドレスは2個のアドレス発生器のうちのソ
ース側のものを使用する。この読み出し動作を画像の数
ラインに亙っておこない、LDC34が補間処理を行な
うため設けられている図示しないラインバッファに記憶
する。LDC34のラインバッファに適当な数量の画像
データが記憶されると、LDC34は書き込み要求をA
RBT33に出力する。ARBT33は外部書き込みア
クセスのシーケンサコードをシーケンサ53に出力し、
書き込み動作が開始される。すなわち、アドレス発生部
51のディスティネーション用のアドレス発生器を選択
し、LDC34から出力された縮小画像データをゲー)
36a、データ処理部52を経由してメモリ50に書き
込みを行なう。
At this time, the source side of the two address generators is used as the address. This readout operation is performed over several lines of the image, and is stored in a line buffer (not shown) provided for the LDC 34 to perform interpolation processing. When an appropriate amount of image data is stored in the line buffer of the LDC 34, the LDC 34 sends a write request to A.
Output to RBT33. The ARBT33 outputs the sequencer code for external write access to the sequencer 53,
A write operation is started. That is, the destination address generator of the address generator 51 is selected, and the reduced image data output from the LDC 34 is used as a game).
36a, the data is written to the memory 50 via the data processing section 52.

以上の処理を1画像分行なうことにより、動作を終了す
る。
The operation ends by performing the above processing for one image.

次に、DPM11内の内部アクセスについて説明する。Next, internal access within the DPM 11 will be explained.

内部アクセスに関しては複数種類のアクセスがある。す
なわち、データを別のアドレスに複写するコピーアクセ
ス、データの交換を行なうスワップアクセス、パターン
などの描画を行なう描画アクセスである。これらのアク
セスはすべてDPMII内のシーケンサ53によって制
御される。また、このときのアドレスはアドレス発生部
51から得られ、コピーアクセス、スワップアクセスの
場合は、アドレス発生器70,71,72゜73の中の
2個を用いる。シーケンサ53の内部にある内部シーケ
ンサにアクセスモードをセットすると、ARBT33に
対して内部アクセスの要求を出す。これにより、ARB
T33が内部アクセスを受は付けると、シーケンサコー
ドをシーケンサ53に供給し、シーケンサ53はアドレ
ス発生部51のアドレスを用いてメモリ50のアクセス
を行い、また、データ処理部52にてデータの処理を行
なう。ここで、アドレス発生部51では単なる矩形領域
のアドレスの発生のみではなく、回転などのアフィン変
換アドレス、台形アドレスなどの発生が可能であり、こ
れらを用いたコピーアクセスなどを行うことができるよ
うになっている。
There are multiple types of internal access. That is, there are copy accesses for copying data to another address, swap accesses for exchanging data, and drawing accesses for drawing patterns and the like. All these accesses are controlled by sequencer 53 within DPMII. Further, the address at this time is obtained from the address generator 51, and in the case of copy access and swap access, two of the address generators 70, 71, 72.degree. 73 are used. When the access mode is set in the internal sequencer inside the sequencer 53, an internal access request is issued to the ARBT 33. This allows ARB
When the T33 accepts the internal access, it supplies the sequencer code to the sequencer 53, the sequencer 53 accesses the memory 50 using the address of the address generator 51, and the data processing unit 52 processes the data. Let's do it. Here, the address generation unit 51 is capable of generating not only addresses of a simple rectangular area, but also affine transformation addresses such as rotation, trapezoidal addresses, etc., and copy access using these can be performed. It has become.

次に、本発明にかかるメモリアクセスについてさらに詳
細に説明する。
Next, memory access according to the present invention will be explained in more detail.

先ず、メモリ50を2バンク構成としてアクセスする場
合について説明する。第7図はそのときのメモリ50の
構成とアクセス部分(斜線部分)を示している。メモリ
50は偶数バンク、奇数バンク両方ともデータ幅が32
ビットの構成となっており、2次元のメモリ構成を考え
た場合、X方向の輻をXWとする。
First, a case will be described in which the memory 50 is accessed in a two-bank configuration. FIG. 7 shows the configuration of the memory 50 and the access portion (shaded portion) at that time. The memory 50 has a data width of 32 in both even and odd banks.
It has a bit configuration, and when considering a two-dimensional memory configuration, the convergence in the X direction is defined as XW.

アクセス■はビットアドレスがADOでデータのアクセ
ス幅ACWはI F +b (添字の「16」は16進
法表記であることを示す)である。ここで、アクセス幅
ACWはアドレス発生部51にセットするパラメータで
あり、実際のアクセス幅ACWは、IF+6に「1」を
加えた値2016、すなわち32ビットである。このア
クセス幅IF+6はアドレス発生部51のACWレジス
タ91にセットされる(第11図参照)。アクセス■は
ビットアドレスがADIでアクセス幅は1816である
。ここで、アクセス■はラインの最終アクセスであり、
このときのアクセス幅18.6は最終アクセス幅ACW
Eとしてアドレス発生部51のACWEレジスタ92に
セットされる(第11図参照)。
For access ■, the bit address is ADO, and the data access width ACW is I F +b (the subscript "16" indicates hexadecimal notation). Here, the access width ACW is a parameter set in the address generation unit 51, and the actual access width ACW is 2016, which is IF+6 plus "1", that is, 32 bits. This access width IF+6 is set in the ACW register 91 of the address generator 51 (see FIG. 11). For access ■, the bit address is ADI and the access width is 1816. Here, access ■ is the last access of the line,
The access width 18.6 at this time is the final access width ACW
It is set as E in the ACWE register 92 of the address generator 51 (see FIG. 11).

次に、この1ライン2回のメモリアクセス動作の詳細に
ついて第9図のタイミングチャートを参照して説明する
。シーケンサ53によりアドレス発生部51のチャンネ
ルCH○が選択されると、アドレスMADにはADOが
出力される。このADOはビットアドレスであり、その
下位6ビットがオフセットアドレスとしてデータ処理部
52に入力され、上位アドレスAはラッチ56.61に
入力され、奇数アドレスのアドレスラッチクロックOL
Tによりラッチ56に一時記憶される。
Next, details of this two-time memory access operation per line will be explained with reference to the timing chart of FIG. When channel CH○ of address generation section 51 is selected by sequencer 53, ADO is output to address MAD. This ADO is a bit address, the lower 6 bits of which are input to the data processing unit 52 as an offset address, the upper address A is input to the latch 56.61, and the address latch clock OL of the odd address
T is temporarily stored in the latch 56.

次に、アドレスセレクト信号ADSCをアドレス発生部
51に入力し、偶数アドレスを発生させる。
Next, the address select signal ADSC is input to the address generator 51 to generate an even address.

このときの偶数アドレス発生回路を第10図に示す。こ
れは第5図に示す加算器79を詳図したものである。す
なわち、アドレス発生部51内で生成されたアドレス(
AD329〜O)の上位24ビット(AD529〜6)
を加算器7つの一方の入力端子に入力し、ADS5がr
lJの場合、加算器790において上位アドレスAに「
1」を加算し、「0」の場合はそのまま出力する。すな
わち、ADS5が「1」であることは奇数バンクをアク
セスしていることを意味しており、したがって、このと
き偶数アドレスとしては上位アドレスに「1」を加算し
たアドレスを使用する。本実施例においては、先ず、ア
クセス■に関してはADOは偶数バンクを示しており、
ADS5は「0」であるため、奇数アドレスと同じAD
Oがアドレス発生部51より出力され上位アドレスAが
ラッチクロックELTによりラッチ61に一時記憶され
る。これにより、同じアドレスAがセレクタ57.58
を経由してメモリ50にlJt給される。一方、アクセ
ス幅はライン最終アクセス信号EOLNが低レベルであ
るため、第11図のACWレジスタ91にセットされた
値が選択され、IF16がアクセス幅としてデータ処理
部52に入力される。このアクセス幅IF+6とオフセ
ットアドレスによりデータ処理部52のマスク処理部9
0においてマスクが生成され、ALU87においてアク
セス部分のみデータ処理が施されて、メモリ50に書き
込まれる。同様にして、アクセス■においては、先ず、
奇数アドレスはビットアドレスADIの上位アドレスA
がラッチクロックOLTによりラッチ56に一時記憶さ
れ、次に、アドレスセレクト信号ADSCで偶数アドレ
スに切り換えると、このとき、ADIは奇数バンクを示
しており、従って、オフセットアドレス(下位6ビット
)はそのままで、上位アドレスには「1」を加算したF
A+IJのアドレスが出力されELT信号によりラッチ
61に一時記憶される。
The even number address generation circuit at this time is shown in FIG. This is a detailed diagram of adder 79 shown in FIG. That is, the address (
Upper 24 bits of AD329~O) (AD529~6)
is input to one input terminal of the seven adders, and ADS5 inputs r
In the case of lJ, the adder 790 adds “
1" is added, and if it is "0", it is output as is. That is, when ADS5 is "1", it means that an odd bank is being accessed, and therefore, as an even address at this time, an address obtained by adding "1" to the upper address is used. In this embodiment, first, regarding access ■, ADO indicates an even bank,
Since ADS5 is “0”, the same AD as the odd address
O is output from the address generator 51, and the upper address A is temporarily stored in the latch 61 by the latch clock ELT. This causes the same address A to be set to selector 57.58.
lJt is supplied to the memory 50 via. On the other hand, since the line final access signal EOLN is at a low level, the access width is selected from the value set in the ACW register 91 in FIG. 11, and IF16 is input to the data processing unit 52 as the access width. The mask processing section 9 of the data processing section 52 uses this access width IF+6 and the offset address.
0, a mask is generated, the ALU 87 performs data processing on only the accessed portion, and the data is written into the memory 50. Similarly, in access ■, first,
Odd address is upper address A of bit address ADI
is temporarily stored in the latch 56 by the latch clock OLT, and then switched to an even address by the address select signal ADSC. At this time, ADI indicates an odd bank, so the offset address (lower 6 bits) remains unchanged. , F with "1" added to the upper address
The address of A+IJ is output and temporarily stored in the latch 61 by the ELT signal.

したがって、奇数バンクにはアドレスAが与えられ、偶
数バンクにはアドレスrA+IJが与えられてメモリ5
0がアクセスされることになる。このときのアクセス幅
は、アドレス発生部51からEOLN信号が出力される
ため、第11図のACWEレジスタ92にセットされた
アクセス幅が選択されデータ処理852に入力される。
Therefore, address A is given to the odd numbered bank, address rA+IJ is given to the even numbered bank, and the memory 5
0 will be accessed. As for the access width at this time, since the EOLN signal is output from the address generation section 51, the access width set in the ACWE register 92 in FIG. 11 is selected and input to the data processing 852.

データ処理部52ではアクセス■の場合と同様に、マス
ク処理部90においてマスクが作成され、ALU87に
おいてアクセス部分のみデータ処理が施されて、メモリ
50にデータが書き込まれる。
In the data processing unit 52, a mask is created in the mask processing unit 90, as in the case of access (2), and the ALU 87 performs data processing on only the accessed portion, and the data is written into the memory 50.

このように、メモリ50を2バンク構成として偶数バン
ク、奇数バンクに独立にアドレスを与えられるようにす
ることにより、任意のビットアドレスから1〜32ビッ
トのデータアクセスを容易に行うことができ、さらに、
ライン最終アクセス幅が制御可能であるため、1ライン
のアクセス幅を任意に設定できるものとなっている。
In this way, by arranging the memory 50 to have a two-bank configuration so that addresses can be given independently to the even and odd banks, data access of 1 to 32 bits can be easily performed from any bit address. ,
Since the line final access width can be controlled, the access width of one line can be set arbitrarily.

次に、メモリを1バンクとして扱った場合の64ビット
アクセスについて説明する。第12図はメモリ50を1
バンクとしてアクセスする際のメモリの状態を示す図で
ある。本実施例では3回のメモリアクセスを要する場合
について説明する。
Next, 64-bit access when the memory is treated as one bank will be explained. FIG. 12 shows the memory 50
FIG. 3 is a diagram showing the state of a memory when accessing it as a bank. In this embodiment, a case will be explained in which three memory accesses are required.

先ず、最初のアクセス■におけるビットアドレスはAD
Oであり、64ビットアクセスにおいてはアドレスはア
ドレス発生部51において64ビット単位に発生するた
め、アクセス■、アクセス■のアドレスはそれぞれ、r
ADl−ADO+64」、rAD2−ADO+128J
というアドレスになる。先ず、アクセス■においては、
シーケンサ53においてアドレスチャンネルはCHIが
選択され、これによって、アドレス発生部51からビッ
トアドレスADOが出力される。アドレスの下位6ビッ
トのオフセットアドレスはデータ処理部52に入力され
、上位アドレスは第13図に示すようなタイミングにて
ELTSOLT信号のラッチクロックでラッチ56.6
1にそれぞれ一時記憶される。この1バンクモードにお
いては、2バンクモ一ド時に用いていたアクセス幅は使
用せず、データ処理部52においてCHIは1バンクモ
ードであることが予めセットされているので、通常はア
クセス幅は3F16すなわち、64ビットアクセスとし
て扱う。アドレス発生部51より1ラインの最初のアク
セスであることを示すラインスタート信号5OLNがデ
ータ処理部52に供給されると、データ処理部52のマ
スク処理部90のASMレジスタ95に予めセットされ
ているオフセットアドレスASMを使用してマスクを作
成し、第12図に示すように、ADOから次の64ビッ
トのワード境界までデータの書き込みを行う。
First, the bit address in the first access ■ is AD
O, and in 64-bit access, addresses are generated in 64-bit units in the address generator 51, so the addresses for access ■ and access ■ are r
ADl-ADO+64'', rAD2-ADO+128J
The address will be . First, regarding access ■,
The sequencer 53 selects CHI as the address channel, and thereby the address generator 51 outputs the bit address ADO. The offset address of the lower 6 bits of the address is input to the data processing unit 52, and the upper address is input to the latch 56.6 using the latch clock of the ELTSOLT signal at the timing shown in FIG.
1 are temporarily stored. In this 1-bank mode, the access width used in the 2-bank mode is not used, and since CHI is set in advance to be in the 1-bank mode in the data processing unit 52, the access width is normally 3F16, i.e. , treated as 64-bit access. When the line start signal 5OLN indicating the first access of one line is supplied from the address generation section 51 to the data processing section 52, the line start signal 5OLN, which is set in advance in the ASM register 95 of the mask processing section 90 of the data processing section 52, is supplied to the data processing section 52. A mask is created using the offset address ASM, and data is written from ADO to the next 64-bit word boundary, as shown in FIG.

次に、アクセス■に関してはアドレス発生部51からは
次のアドレスADIが生成され、上記と同様にしてメモ
リ50に書き込みが行なわれる。しかしながら、アクセ
ス■の時は1ラインの最初のアクセスでも最終アクセス
でもなく、シたがって、5OLNSEOLN信号がディ
セーブルであるので、データ処理部52ではアクセス幅
は64ビットとして全ビットのアクセスを行なう。最後
に、アクセス■に関しては、ビットアドレスAD2でメ
モリアクセスされるが、アクセス■はライン最終アクセ
スであるため、EOLN信号がイネーブルとなる。した
がって、データ処理部52においてはマスク処理部90
のESMレジスタ96に予めセットされているオフセッ
トアドレスESMを使用してマスクを作成し、第12図
に示すように、メモリワード境界アドレスrA+2Jか
ら「ESM+IJビット幅でアクセスされる。このとき
のマスク処理部90内における1バンクモ一ド時のライ
ン信号によるマスク生成部のブロック図を第14図に示
す。
Next, regarding the access (2), the next address ADI is generated from the address generator 51, and written to the memory 50 in the same manner as above. However, the access (2) is neither the first access nor the final access of one line, and therefore the 5OLNSEOLN signal is disabled, so the data processing unit 52 accesses all bits with an access width of 64 bits. Finally, regarding the access (2), the memory is accessed with the bit address AD2, but since the access (2) is the final access of the line, the EOLN signal is enabled. Therefore, in the data processing section 52, the mask processing section 90
A mask is created using the offset address ESM preset in the ESM register 96 of the memory word boundary address rA+2J, as shown in FIG. FIG. 14 shows a block diagram of a mask generation section using line signals in the 1-bank mode in the section 90.

以上のように、1バンク構成時のアクセスデータ幅をN
とすると、任意のビットアドレスからのNビットアクセ
スの際にはメモリを1バンク構成として扱うことにより
、アドレス生成が容易となり、また、高速でかつ比較的
簡単な制御にて処理が可能である。また、任意のビット
アドレスからの1〜N/2ビットのデータアクセスに関
しては2バンク構成をとることにより、データ処理を簡
単に行なうことができ、高速な処理が可能となる。
As mentioned above, the access data width when configuring one bank is N
Then, when accessing N bits from an arbitrary bit address, by treating the memory as one bank configuration, address generation becomes easy and processing can be performed at high speed and with relatively simple control. Further, for data access of 1 to N/2 bits from an arbitrary bit address, by adopting a two-bank configuration, data processing can be easily performed and high-speed processing can be performed.

この2バンク構成時において必要となる偶数バンク用の
アドレス計算部をアドレス発生器に内蔵し、セレクタに
より奇数アドレスとの選択を可能とすることにより、1
つのメモリシステムにおいてlバンク構成のビットマツ
プ処理にも2バンク構成のビットマツプ処理にも対応可
能となる。さらには、アクセス幅の制御、マスクの生成
により、任意のビットアドレスからのデータアクセスを
可能とし、また、1バンクモードにおいては大きな矩形
領域のアクセスを高速化し、2バンクモードでは複雑な
メモリアクセスを簡単な制御で行なうことができる。
By incorporating an address calculation unit for even banks, which is necessary in this two-bank configuration, into the address generator, and making it possible to select between odd and odd addresses using a selector,
In one memory system, it becomes possible to handle both bitmap processing with a one-bank configuration and bitmap processing with a two-bank configuration. Furthermore, by controlling the access width and generating a mask, it is possible to access data from any bit address.In addition, in 1-bank mode, access to large rectangular areas can be speeded up, and in 2-bank mode, complex memory access can be This can be done with simple control.

また、ビットマツプメモリにおけるデータ処理がアクセ
スデータ幅に対して柔軟に対応できることにより処理に
応じて高速処理が可能となるだけでなく、アドレス発生
やデータ処理が容易となるまた、偶数バンク用のアドレ
ス計算部をアドレス発生器に内蔵した構成でLSI化す
ることにより、よりコンパクトで高性能なビットマツプ
メモリシステムを構築でき、ひいてはよりコンパクトで
高性能な画像情報処理装置を提供できる。
In addition, data processing in bitmap memory can flexibly respond to the access data width, which not only enables high-speed processing depending on the processing, but also facilitates address generation and data processing. By implementing an LSI with a configuration in which the calculation section is built into the address generator, a more compact and high-performance bitmap memory system can be constructed, and in turn, a more compact and high-performance image information processing device can be provided.

[発明の効果コ 以上説明したように本発明によれば、簡単な構成でより
高速かつ効率的なビットマツプ処理が可能な画像情報処
理装置を提供することができる。
[Effects of the Invention] As described above, according to the present invention, it is possible to provide an image information processing apparatus that is capable of faster and more efficient bitmap processing with a simple configuration.

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

第1図は画像情報処理装置の構成図、第2図はCPUバ
ス制御論理制御部の構成を示す図、第3図はイメージバ
ス制御論理制御部の構成を示す図、第4図はイメージデ
ータを格納するメモリ部を示すブロック図、第5図はア
ドレス発生部の構成を示すブロック図、第6図はデータ
処理部の構成を示すブロック図、第7図は2バンク構成
時のメモリアクセスを説明するための図、第8図は2バ
ンク構成時のメモリのアクセスを示す図、第9図は2バ
ンク構成時のメモリアクセスを示すタイミングチャート
、第10図は2バンク構成時に偶数バンクのメモリに対
して1を加算したアドレスを与えるためのアドレスを生
成する加算器を示す図、第11図は2バンク構成時のア
クセス幅の制御部を示す図、第12図は1バンク構成時
のメモリアクセスを説明するための図、第13図は1バ
ンク(J・4成時のメモリアクセスを示すタイミングチ
ャート、第14図は1バンク構成時のマスクを生成する
構成を示すブロック図である。 1・・・CPU、21・・・光ディスク(記憶媒体)、
23・・・イメージスキャナ(入力装置)、24・・・
イメージプリンタ装置(出力装置)、5o・・・メモリ
(記憶手段)、51・・・アドレス発生部(アドレス発
生手段、切替手段)、52・・・データ処理部、7つ・
・・加算器(加算手段)、8o・・・セレクタ(選択手
段)。
Figure 1 is a diagram showing the configuration of the image information processing device, Figure 2 is a diagram showing the configuration of the CPU bus control logic controller, Figure 3 is a diagram showing the configuration of the image bus control logic controller, and Figure 4 is a diagram showing the configuration of the image data processing unit. 5 is a block diagram showing the structure of the address generation section, FIG. 6 is a block diagram showing the structure of the data processing section, and FIG. 7 is a block diagram showing the structure of the data processing section. Figure 8 is a diagram showing memory access in a 2-bank configuration, Figure 9 is a timing chart showing memory access in a 2-bank configuration, and Figure 10 is a diagram showing even-numbered memory banks in a 2-bank configuration. Figure 11 shows the access width control unit in a 2-bank configuration, and Figure 12 shows the memory in a 1-bank configuration. FIG. 13 is a timing chart showing memory access when 1 bank (J4) is configured, and FIG. 14 is a block diagram showing a configuration for generating a mask when 1 bank is configured. 1 ... CPU, 21 ... optical disk (storage medium),
23... Image scanner (input device), 24...
Image printer device (output device), 5o... memory (storage means), 51... address generation section (address generation means, switching means), 52... data processing section, 7...
... Adder (adding means), 8o... Selector (selecting means).

Claims (1)

【特許請求の範囲】 入力装置で入力された画像情報を記憶媒体に記憶してお
き、必要に応じて前記画像情報を記憶媒体から読み出し
て出力する画像情報処理装置において、 アクセスデータ幅がN/2ビットである第1のアクセス
単位とアクセスデータ幅がN/2ビットである第2のア
クセス単位とにて成り、これら第1、第2のアクセス単
位に同時にアクセスすることによりアクセスデータ幅が
Nビットとなる前記画像情報を記憶する記憶手段と、 この記憶手段に供給するアドレスを発生するアドレス発
生手段と、 このアドレス発生手段で発生されたアドレスをインクリ
メントする加算手段と、 前記記憶手段へのアクセスが1ビット幅からN/2ビッ
ト幅までのデータアクセスであるかNビット幅のデータ
アクセスであるかを切り替える切替手段と、 この切替手段が1ビット幅からN/2ビット幅までのデ
ータアクセスに切り替えられた際、前記アドレス発生手
段が発生するアドレスが前記第1のアクセス単位を指定
している場合はそのアドレスを前記第1及び第2のアク
セス単位に供給し、前記アドレス発生手段が発生するア
ドレスが前記第2のアクセス単位を指定している場合は
、そのアドレスを前記第2のアクセス単位に、前記加算
手段によりインクリメントしたアドレスを前記第1のア
クセス単位に供給し、前記切替手段がNビット幅のデー
タアクセスに切り替えられた際、前記アドレス発生手段
が発生するアドレスを前記第1及び第2のアクセス単位
に供給する制御手段とを具備したことを特徴とする画像
情報処理装置。
[Scope of Claims] An image information processing device that stores image information input by an input device in a storage medium, and reads out and outputs the image information from the storage medium as needed, the access data width being N/ It consists of a first access unit which is 2 bits and a second access unit whose access data width is N/2 bits, and by accessing these first and second access units simultaneously, the access data width is N/2 bits. storage means for storing the image information as bits; address generation means for generating an address to be supplied to the storage means; addition means for incrementing the address generated by the address generation means; and access to the storage means. a switching means for switching between data access from 1 bit width to N/2 bit width and data access from N bit width; and a switching means for switching data access from 1 bit width to N/2 bit width. When switched, if the address generated by the address generation means specifies the first access unit, the address is supplied to the first and second access units, and the address generation means generates the address. If the address specifies the second access unit, the address is supplied to the second access unit, the address incremented by the addition means is supplied to the first access unit, and the switching means An image information processing apparatus comprising: control means for supplying addresses generated by the address generation means to the first and second access units when switching to bit width data access.
JP1195707A 1989-07-28 1989-07-28 Image information processor Pending JPH0359736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1195707A JPH0359736A (en) 1989-07-28 1989-07-28 Image information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1195707A JPH0359736A (en) 1989-07-28 1989-07-28 Image information processor

Publications (1)

Publication Number Publication Date
JPH0359736A true JPH0359736A (en) 1991-03-14

Family

ID=16345639

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1195707A Pending JPH0359736A (en) 1989-07-28 1989-07-28 Image information processor

Country Status (1)

Country Link
JP (1) JPH0359736A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8092881B2 (en) 2008-05-01 2012-01-10 Saint-Gobain Performance Plastics Corporation Multi-layered fuel tubing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8092881B2 (en) 2008-05-01 2012-01-10 Saint-Gobain Performance Plastics Corporation Multi-layered fuel tubing

Similar Documents

Publication Publication Date Title
KR19980703654A (en) Hardware that rotates an image for display of longitudinal orientation
KR860002872A (en) Image memory peripherals
JP2523564B2 (en) Information processing apparatus having decoding / writing / reading means
JP3027445B2 (en) Memory control device
JPH0455986A (en) Picture processor
JPS62173509A (en) image display device
JP2549642B2 (en) Image processing device
JPH0359736A (en) Image information processor
JPH0359735A (en) Image information processor
JP3359977B2 (en) Image forming device
JP2771350B2 (en) Image processing device
JPH03268040A (en) Address generator
JPS60165694A (en) Data rotary processing system
JPH0415879A (en) Raster arithmetic unit
JP2000231631A (en) Image rotating device
JPS6249570A (en) Picture processor
JPH061449B2 (en) Image memory for image editing
JP2773458B2 (en) Vector controller
JP3217815B2 (en) Address translation method
JP2806376B2 (en) Image processing apparatus and image processing method
JPH04205678A (en) Image information processor
JP3468580B2 (en) Data curve drawing device
Takakubo et al. A bitmap memory bank which allows block accesses
JP3193929B2 (en) Image processing device
JPS627087A (en) Display controller