JPH01118193A - Access apparatus for image memory - Google Patents

Access apparatus for image memory

Info

Publication number
JPH01118193A
JPH01118193A JP63241115A JP24111588A JPH01118193A JP H01118193 A JPH01118193 A JP H01118193A JP 63241115 A JP63241115 A JP 63241115A JP 24111588 A JP24111588 A JP 24111588A JP H01118193 A JPH01118193 A JP H01118193A
Authority
JP
Japan
Prior art keywords
image memory
data
picture
signal
bit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP63241115A
Other languages
Japanese (ja)
Other versions
JPH0648437B2 (en
Inventor
Makoto Fujita
良 藤田
Yasushi Fukunaga
泰 福永
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 JP63241115A priority Critical patent/JPH0648437B2/en
Publication of JPH01118193A publication Critical patent/JPH01118193A/en
Publication of JPH0648437B2 publication Critical patent/JPH0648437B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE: To fix the processing time for painting-out of the inside of a picture memory regardless of increase of the number of layers of the picture memory by providing each picture memory with one arithmetic unit which extends picture data of one picture element into plural picture elements and selects which part should be written in the picture memory. CONSTITUTION: Picture memories 101 to 10N are provided with arithmetic units 111 to 11N. A bidirectional register 201 provided in each of arithmetic units 111 to 11N extends picture data of one picture element to only picture elements selected from plural picture elements, which can be operated by the data bus width, and designates color information of one designated picture element to the data bus width and designates which part of plural extended picture elements should be written in a picture memory 1. Thus, write of picture data for painting-out in a single color or the like is quickly performed, and increase of the time required for change of the picture memory is prevented regardless of increase of the number of layers of the picture memory.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、多層構造の画像メモリを、高速に、読み出し
、書き込む方式に係り、特に、画像メモリの各層に演算
装置を設は図形9画像を高速に処理するに好適な多層+
rI造をなす画像メモリのアクセス装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for reading and writing a multi-layered image memory at high speed. Multi-layer + suitable for high-speed processing
The present invention relates to an access device for an image memory having an rI structure.

〔従来技術〕[Prior art]

従来のカラー画像の表示制御装置を第1図と第2図を用
いて説明する。
A conventional color image display control device will be explained with reference to FIGS. 1 and 2.

第1図は、1画素Nビットのカラー情報をもっNWIよ
り成る画像メモ1J407,408,4.09を各層の
画像メモリ単位に、マイクロプロセッサなどの制御装置
401がアクセスする方式を示したブロック図である。
FIG. 1 is a block diagram showing a method in which a control device 401 such as a microprocessor accesses image memo 1J407, 408, 4.09, which is composed of NWI and has color information of 1 pixel and N bits, in image memory units of each layer. It is.

制御装置401は、画像メモリのアドレス信号402に
より画像メモリの1ワードを指定する。アドレス信号4
02の一部は、データスイッチ406からのメモリコン
トロールスイッチ405に入力され、制御装置401が
らのメモリコントロール信号403と、データライン4
04はN層の両性メモリ407,408゜4o9のどれ
か−っに接続される。このように指定される1ワードデ
ータは、制御装置401のメモリコントロール信号40
3に従って、読み出し書き込みが行なわれる。画性メモ
リ407.408゜409のデータは、常時、デイスプ
レィコントローラ410に読み出され、CRTなどの表
示装置411に表示される。
The control device 401 specifies one word of the image memory using the image memory address signal 402. address signal 4
02 is input to the memory control switch 405 from the data switch 406, and the memory control signal 403 from the control device 401 and the data line 4
04 is connected to one of the N-layer amphoteric memories 407, 408°4o9. One word data specified in this way is controlled by the memory control signal 40 of the control device 401.
3, reading and writing are performed. The data in the image memories 407, 408, and 409 are always read out by a display controller 410 and displayed on a display device 411 such as a CRT.

第2図に1画像単位に画像メモリをアクセスする画像メ
モリの制御回路のブロック図を示す。
FIG. 2 shows a block diagram of an image memory control circuit that accesses the image memory one image at a time.

制御装置401から出るNビットのデータライン404
は、画像メモリの各層412,413゜4111に各々
−ビットずつ接続される。アドレス信号402は、画像
メモリの各層412,413゜414の一ビットを指定
し、そのNビットの信号、即ち、一画素のデータに対し
、メモリコントロール信号403によって書き込み、又
は、読み出しを行なう。
N-bit data line 404 coming out of controller 401
are connected to each layer 412, 413, 4111 of the image memory by -bit. The address signal 402 specifies one bit in each layer 412, 413, and 414 of the image memory, and the N-bit signal, that is, the data of one pixel, is written or read using the memory control signal 403.

〔発明が解決しようとする課題〕 上記従来技術において、前者のメモリアクセス方式では
、一つの画素を書き込むために画像メモリの層の数、す
なわちN回メモリアクセスを行わなければならず、画像
メモリの層の数が増加するに従い処理時間も増大すると
いう欠点があった。
[Problems to be Solved by the Invention] In the above-mentioned conventional technology, in the former memory access method, in order to write one pixel, the number of layers of the image memory, that is, memory access must be performed N times, and the number of memory accesses of the image memory increases. The disadvantage is that as the number of layers increases, the processing time also increases.

但し、この方式の場合、1ワードを構成するビット数を
Wとすると、水平に並んだW画素は、やはり、N回のメ
モリアクセスで行なえるものである。
However, in this method, if the number of bits constituting one word is W, then W pixels arranged horizontally can still be accessed by N times of memory access.

他方、後者のメモリアクセス方式は、直線を描画する時
の様な場合には有効であるが、塗り潰しなどのラスター
単位の処理には向いていない。なぜならば、画像メモリ
4−12,413,414は通常デイスプレィコン1−
ローラ410に読み出されるときは、複数画素分読み出
され、表示装置411に表示される。従って、画像メモ
リの1つのプレーンに対し、実際にはデータラインが1
ビツトではなく、複数のビット存在し、画像メモリのア
クセス時には、その内、1ビツトしか使用しないため、
ラスター方向にメモリアクセスを行う時は、同じメモリ
アドレスを複数回アクセスすることになり効率が悪いと
いう問題があった。
On the other hand, the latter memory access method is effective when drawing straight lines, but is not suitable for raster-based processing such as filling. This is because the image memories 4-12, 413, and 414 are normally connected to the display controller 1-
When read out by the roller 410, a plurality of pixels are read out and displayed on the display device 411. Therefore, for one plane of image memory, there is actually one data line.
There are multiple bits instead of bits, and only one of them is used when accessing the image memory, so
When performing memory access in the raster direction, the same memory address is accessed multiple times, resulting in poor efficiency.

本発明の目的は、単一色で塗り潰しを行うような画像デ
ータの書き込みを行う際に、画像メモリの各層が並列に
画像データのリード、変更、ライトを行うことにより、
画像メモリの層の数が増えても画像メモリを変更する時
間が増大しない画像メモリのアクセス装置を提供するこ
とにある。
An object of the present invention is to enable each layer of the image memory to read, change, and write image data in parallel when writing image data such as filling with a single color.
To provide an image memory access device in which the time for changing an image memory does not increase even if the number of layers of the image memory increases.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的は、画像メモリの各層に演算装置を設け、前記
各演算装置内に、一画素分の画像データを複数画素に拡
張する手段と、複数画素のどの部分を前記画像メモリに
書き込むかを選択する手段とを設けることにより達成さ
れる。
The above purpose is to provide an arithmetic unit in each layer of the image memory, and in each of the arithmetic units, a means for expanding image data for one pixel into multiple pixels, and a means for selecting which part of the multiple pixels is to be written to the image memory. This is achieved by providing means for

〔作用〕[Effect]

各演算装置内に設けられた一画素分の画像データを複数
画素に拡張する手段は、データバス幅分演算できる複数
画素の中で選択した画素のみに、指定した一画素のカラ
ー情報をデータバス幅に拡張し、上記選択手段は、拡張
された複数画素のどの部分を画像メモリに書き込むかを
指定することにより、単一色で塗り潰しを行うような画
像データの書き込みを高速に行うことができ、画像メモ
リの暦の数が増えても画像メモリを変更する時間の増大
を防止することができる。
The means for expanding the image data of one pixel provided in each processing unit to multiple pixels is to transfer the color information of a specified pixel to only the selected pixel from among the multiple pixels that can be calculated for the width of the data bus. By specifying which part of the expanded plurality of pixels is to be written into the image memory, the selection means can quickly write image data such as filling with a single color, Even if the number of calendars in the image memory increases, the time required to change the image memory can be prevented from increasing.

〔実施例〕〔Example〕

以下、本発明の一実施例を第3図、第4図および第5図
により説明する。
An embodiment of the present invention will be described below with reference to FIGS. 3, 4, and 5.

第3図は、読み出し書き込みのデータ幅が8画素で10
24画素X1024画素の二値画像を記憶する画像メモ
リ1と、画像メモリ1の内容をビデオ信号151に変換
する並列直列変換器8から成り、第4図の一層の画像メ
モリである例えば101の構成を示す。制御信号バス4
1は、リードライト信号を含み、リードライト信号は画
像メモリ1を構成するメモリ素子のリードライト端子に
接続されている。
Figure 3 shows that the data width for reading and writing is 8 pixels and 10 pixels.
The structure of the single-layer image memory, for example 101 in FIG. shows. Control signal bus 4
1 includes a read/write signal, and the read/write signal is connected to a read/write terminal of a memory element constituting the image memory 1 .

第4図は、本発明の画像メモリのアクセス装置を実現す
るための、カラー画像の表示装置の構成の一例を示す。
FIG. 4 shows an example of the configuration of a color image display device for realizing the image memory access device of the present invention.

第4図で示した画像メモリ101と同一の構成から成る
画像メモリ102.・・・。
An image memory 102 having the same configuration as the image memory 101 shown in FIG. ....

1ONと、演算器で111,112.・・・、11Nと
の間は、各々8ビツト幅のローカルデータバス121.
122.・・・、12Nで接続されている。
1ON and 111, 112. . . , 11N, each has an 8-bit width local data bus 121 .
122. ..., connected by 12N.

制御装置5と演算装置111,112.・・・。Control device 5 and arithmetic devices 111, 112. ....

ILNの間は、8ビツトのデータバス2と、制御信号バ
ス41とで結ばれている。データバス2は、その1ビツ
ト目である、データ入出力信号21が1番目の演算装置
111に、2ビツト目が2番目の演算装置にと、順次、
8ビツト目が8番目の演算装置に接続されている。Nが
9以上の場合、Nビット目のデータは、(Nmod8)
ビット目の演算装置に接続される。
The ILNs are connected by an 8-bit data bus 2 and a control signal bus 41. The data bus 2 sequentially transmits the data input/output signal 21, which is the first bit, to the first arithmetic unit 111, and the second bit to the second arithmetic unit 111.
The 8th bit is connected to the 8th arithmetic unit. If N is 9 or more, the Nth bit data is (N mod 8)
Connected to the bit-th arithmetic unit.

第5図は、第4図第1番目の演算装置111の構成を示
す図で、第2番目から第N番目までの演算装置112.
・・・、11Nも同一の構成となっている。演算装置1
11は、ローカルデータバス121上の8ビツトのデー
タをラッチする第一のレジスタ202と、第1のレジス
タ202の内容をラッチする第二のレジスタ203と、
これらの16ビツトデータを、Oから15ビツトシフト
して下位8ビツトを出力するバレルシフタ204と、こ
のバレルシフタ204の出力とローカルデータバス12
1上のデータをラッチする第三のレジスタ208との論
理演算を行なう演算器205と、その論理演算結果と、
第三のレジスタ208の内容とを、ビット単位で選択す
るマスクセレクタ206と、マスクセレクタ206の出
力をラッチし、ローカルデータバス121に、接続され
る第四のレジスタ207と、ローカルデータバス121
と、データバス2とのインターフェースを取る第五の双
方向レジスタ201から成る。第五の双方向レジスタ2
01は、1ビツトのデータ入出力信号21をラッチする
機能と、その1ビツトデータの“0”、“1”によって
、8ビツトの” oooooooo ”か” 1111
1111 ”のいずれかにデータ幅の伸張を行ない、ロ
ーカルデータバス121に送出する制御を行なう機能と
、ローカルデータバス121上の8ビツトのデータの内
1ビットをラッチする機能と、その1ビツトデータを、
データ入出力信号21に送出する制御を行なう機能とか
ら成り、これは、Dタイプのフリップフロップ2個と、
8対1のセレクタ1個と3ステートのバッファ9個によ
り容易に構成することができる。
FIG. 5 is a diagram showing the configuration of the first arithmetic device 111 in FIG. 4, and the second to Nth arithmetic devices 112.
..., 11N also have the same configuration. Arithmetic device 1
11, a first register 202 that latches 8-bit data on the local data bus 121; a second register 203 that latches the contents of the first register 202;
A barrel shifter 204 shifts these 16-bit data by 15 bits from O and outputs the lower 8 bits, and the output of this barrel shifter 204 is connected to the local data bus 12.
an arithmetic unit 205 that performs a logical operation with a third register 208 that latches the data on the first register;
a mask selector 206 that selects the contents of the third register 208 bit by bit; a fourth register 207 that latches the output of the mask selector 206 and is connected to the local data bus 121;
and a fifth bidirectional register 201 that interfaces with the data bus 2. Fifth bidirectional register 2
01 has the function of latching the 1-bit data input/output signal 21 and the 1-bit data “0” and “1” to generate 8-bit “oooooooo”” 1111
1111'' and control sending it to the local data bus 121; a function to latch 1 bit of the 8-bit data on the local data bus 121; of,
It consists of two D-type flip-flops,
It can be easily configured with one 8-to-1 selector and nine 3-state buffers.

ところで、制御信号バス41は前述の画像メモリ1のリ
ードライト信号1ビツトと、 データ入出力信号21の1ビツトデータを第5の双方向
レジスタ201に取り込む信号1ビツトと取り込んだデ
ータを伸張してローカルデータバス121に送出制御す
る信号1ビツトと、ローカルデータバス121の8ビツ
トデータのうちどの1ビツトデータを選択するかを決め
る3ビツトデータと、その選択された1ビツトデータを
第5の双方向レジスタ201に取り込む信号1ビツトと
、その取り込んだ1ビツトデータをデータ人出力信号2
1に送出する制御を行う信号1ビツトから成る第5の双
方向レジスタ201に対する計7ビツトの制御信号21
3と。
By the way, the control signal bus 41 includes a 1-bit read/write signal from the image memory 1 mentioned above, a 1-bit signal to take in 1-bit data of the data input/output signal 21 to the fifth bidirectional register 201, and a 1-bit signal to decompress the taken data. A 1-bit signal that controls sending to the local data bus 121, 3-bit data that determines which 1-bit data to select from among the 8-bit data on the local data bus 121, and the selected 1-bit data are sent to a fifth controller. The 1-bit signal taken into the direction register 201 and the 1-bit data taken into it are sent to the data output signal 2.
A control signal 21 of 7 bits in total for the fifth bidirectional register 201 consisting of 1 bit
3 and.

第一のレジスタのラッチ信号210と、第二のレジスタ
のラッチ信号211と。
A latch signal 210 of the first register and a latch signal 211 of the second register.

バレルシフタ204のシフト数を制御する4ビツトの制
御信号212と、 演算器205のファンクション(TTL  IC74L
S181の論理演算モードに従う)を決める4ビツトの
制御信号214と、マスクセレクタ206の各入力のビ
ット単位の°選択を制御する8ビツトの制御信号215
と。
A 4-bit control signal 212 that controls the number of shifts of the barrel shifter 204, and a function (TTL IC74L) of the arithmetic unit 205.
A 4-bit control signal 214 that determines the logical operation mode (according to the logical operation mode of S181), and an 8-bit control signal 215 that controls the bit-by-bit selection of each input of the mask selector 206.
and.

第三のレジスタ208のラッチ信号217と、第四のレ
ジスタ207のラッチ信号1ビツトと、その取り込まれ
ているデータとをローカルデータバス121に送出制御
する信号1ビツトから成る計2ビットの第四のレジスタ
207の制御信号216と、から成る。これらの制御信
号バス41のうち、制御信号213の中の第五の双方向
レジスタ201のデータをローカルデータバス121へ
送出制御する信号と、ローカルデータバス121の8ビ
ツトデータのうちどの1ビツトを選択するかを決める3
ビツトデータと、その信号を第五の双方向レジスタ20
1へ取り込む信号、そして、ラッチ信号210,211
,217および制御信号212,214,215,21
6は、各演算装置111,112.・・・、11Nに全
て共通に接続されている。また、制御信号バス41のう
ち、制御信号213の中のデータ入出力信号21を、第
五の双方向レジスタ201に取り込む信号と、第五の双
方向レジスタ201の内容を、データ入出力信号21へ
送出制御する信号とは、画像メモリ数Nが8以下の時は
、他の制御線と同様に、各演算装置111,112.・
・・、11Nに共通に接続される。Nが8を越えた場合
は、8ごとに、これらの2信号は(N−1)/8+1を
越えない最も大きい整数個に分割される。すなわち、制
御装置5が演算装置111,112.・・・IINの第
五の双方向レジスタをアクセスする場合、データバス2
が、8ビツトであるため、8個の第五の双方向レジスタ
単位にアクセスを行なうようにこれら制御信号を分割す
る。以下では便宜上Nは8以下として説明を行なう。
A total of 2 bits of the fourth register, consisting of a latch signal 217 of the third register 208, a 1-bit latch signal of the fourth register 207, and a 1-bit signal for controlling sending of the fetched data to the local data bus 121, is provided. and a control signal 216 for the register 207. Among these control signal buses 41, a signal for controlling sending of the data of the fifth bidirectional register 201 in the control signal 213 to the local data bus 121, and which one bit of the 8-bit data of the local data bus 121 is selected. Decide whether to select 3
The bit data and its signal are transferred to the fifth bidirectional register 20.
1, and latch signals 210 and 211
, 217 and control signals 212, 214, 215, 21
6 is each arithmetic device 111, 112 . . . , are all commonly connected to 11N. Also, a signal that takes in the data input/output signal 21 in the control signal 213 of the control signal bus 41 into the fifth bidirectional register 201, and a signal that inputs the contents of the fifth bidirectional register 201 into the data input/output signal 213 When the number of image memories N is 8 or less, the signal to control transmission to each arithmetic unit 111, 112 .・
..., commonly connected to 11N. If N exceeds 8, then every 8 these two signals are divided into the largest integer not exceeding (N-1)/8+1. That is, the control device 5 is the arithmetic device 111, 112 . ...When accessing the fifth bidirectional register of IIN, data bus 2
Since these are 8 bits, these control signals are divided so as to access eight fifth bidirectional register units. In the following description, for convenience, N is assumed to be 8 or less.

さて、第4図で画面メモリ101,102.・・・。Now, in FIG. 4, screen memories 101, 102. ....

1ONから、ビデオ信号151,152.・・・。1ON, video signals 151, 152 . ....

15Nを読み出し、カラー変換回路13によってカラー
ビデオ信号14に変換し、カラーCRT6に、カラー画
性を表示する操作は以下の様に行う。
15N is read out, converted into a color video signal 14 by the color conversion circuit 13, and displayed on the color CRT 6 in the following manner.

まず、画像メモリからのシリアルデータ151 、’1
52、・・・、15Nは、CRT制御装置7(詳細は、
日立マイクロコンピュータシステムデバイスデータブッ
ク内のHD46505の項を参照)からの表示アドレス
71をセレクタ9を介し、画像メモリのアドレス信号9
1で1画像メモリに与え、読み出された各画像メモリの
画像データを並列直列変換器8によって直列データに変
換して得られる。
First, serial data 151,'1 from the image memory
52, . . . , 15N are the CRT control device 7 (for details, see
The display address 71 from the HD46505 (see the HD46505 section in the Hitachi Microcomputer System Device Data Book) is sent to the image memory address signal 9 via the selector 9.
1 to one image memory, and the image data read out from each image memory is converted into serial data by a parallel-to-serial converter 8.

得られるNビットデータは、1画素の色コードであり、
カラー変換回路13に入力され、RGBのビデオ信号1
4に変換される。このビデオ信号14と、CRT制御装
置7から出力される周期信号72がカラーCRT6に送
出され、カラー画像がCRT上に表示される。
The obtained N-bit data is the color code of one pixel,
The RGB video signal 1 is input to the color conversion circuit 13.
Converted to 4. This video signal 14 and a periodic signal 72 output from the CRT control device 7 are sent to the color CRT 6, and a color image is displayed on the CRT.

以下しこ、制御装置Sが、演算装置111 、112゜
・・・、11Nを介して、画面メモリ101,102゜
・・・、1ON内の画像メモリ1をアクセスする方式に
ついて述べる。
A method in which the control device S accesses the image memory 1 in the screen memories 101, 102°, . . . , 1ON via the arithmetic units 111, 112°, .

まず、画像メモリのあるNビットから成る1画素分の情
報をデータバス2にもってくるためには、制御装置5が
アドレスバス3に、読み出そうとする画素の含まれる画
像メモリのアドレスを送出し、アドレス選択信号42を
アドレスバス3側に設定する。次に、制御信号213の
8ビツトデータから1ビツトを選択する3ビツトの信号
に、読み出そうとする画像が、読み出された8画素の何
番目かを設定し、上記制御信号213のローカルデータ
バス121からのデータを取り込むラッチ信号を与える
。また同時に、制御信号213のデータ入出力信号21
への送出制御信号により、第五の双方向レジスタ201
に取り込んだ目的の画素情報がデータバス2に送出され
る。
First, in order to bring information for one pixel consisting of N bits from an image memory to the data bus 2, the control device 5 sends the address of the image memory containing the pixel to be read to the address bus 3. Then, the address selection signal 42 is set on the address bus 3 side. Next, the 3-bit signal that selects 1 bit from the 8-bit data of the control signal 213 is set to the number of the 8 pixels read out for the image to be read, and the local Provides a latch signal that takes in data from the data bus 121. At the same time, the data input/output signal 21 of the control signal 213
The fifth bidirectional register 201
The target pixel information taken in is sent to the data bus 2.

次に、Nビットの画素情報を画像メモリ上のある点に書
き込むには、まず、制御装置5が、データバス2の上に
書き込もうとする画素情報を送出し、制御信号213に
よって第五の双方向レジスタ201に取り込む。取り込
まれた1ビツトデータは、8ビツトのデータに伸張され
同制御信号213によりローカルデータバス121に送
出され、制御48号210により第一レジスタ202に
取り込む。そして、バレルシフタの4ビツトの制御信号
212をシフト数0として演算器205の一方の入力が
第一のレジスタ202と同じデータとなるようにする。
Next, in order to write N bits of pixel information to a certain point on the image memory, the control device 5 first sends out the pixel information to be written onto the data bus 2, and uses the control signal 213 to It is taken into the direction register 201. The 1-bit data taken in is expanded into 8-bit data, sent to the local data bus 121 by the same control signal 213, and taken into the first register 202 by the control signal 210. Then, the 4-bit control signal 212 of the barrel shifter is set to a shift number of 0 so that one input of the arithmetic unit 205 has the same data as the first register 202.

一方、制御回路5は、目的の書き込む点の含まれる画像
メモリ1のアドレスをアドレスバス3に与え、アドレス
選択信号42をアドレスバス3側に設定し、画像メモリ
のデータがローカルデータバス121に送出された時点
でそのデータを第三のレジスタ208にラッチ信号21
7により取り込む。この時、第五の双方向レジスタ20
1のローカルデータバスへの出力と。
On the other hand, the control circuit 5 gives the address of the image memory 1 containing the target writing point to the address bus 3, sets the address selection signal 42 to the address bus 3 side, and sends the data of the image memory to the local data bus 121. At the point when the data is sent to the third register 208, the latch signal 21
7. At this time, the fifth bidirectional register 20
1 output to the local data bus.

画像メモリの出力とが競合しないように、制御装置5は
、アドレス選択信号42.制御信号213を制御する。
In order to avoid conflict with the output of the image memory, the control device 5 uses the address selection signals 42 . Control signal 213 is controlled.

また、制御装置5は、書き込む画素情報と、現在画像メ
モリにある書き込もうとする点の画素情報とをどの様な
論理で演算するかを制御信号214で与え、書き込もう
とする点が、その点を含む画像メモリのアドレスに対応
する8画素の何番目にある分かを、8ビツトの情報でマ
スクセレクタ206の制御信号215に与える。例えば
、左から2番目に、書き込む画素があるとすれば、制御
信号215は、2進数“01000000”という信号
となる。さてマスクセレクタ206の出力が確定した後
、制御信号216により、マスクセレクタ206の出力
を第4のレジスタ207に取り込み、ローカルデータバ
ス121に取り込んだデータを送出する。制御装置5は
、制御信号バス41のリードライト信号をライトとする
ことにより、書き込もうとした点に、与えた画素情報と
、書き込まれる前にあった画素情報との論理演算結果が
書き込まれる。この処理で制御信号215を適当に変え
ることにより、最大8画素まで、同一画像情報を書き込
むことが可能となる。
In addition, the control device 5 gives a control signal 214 indicating what kind of logic is used to calculate the pixel information to be written and the pixel information of the point to be written currently in the image memory, so that the point to be written is The position of the 8 pixels corresponding to the address of the image memory containing the image is given to the control signal 215 of the mask selector 206 as 8-bit information. For example, if the second pixel from the left is the pixel to be written, the control signal 215 will be a binary number "01000000". Now, after the output of the mask selector 206 is determined, the output of the mask selector 206 is taken into the fourth register 207 according to the control signal 216, and the taken data is sent to the local data bus 121. By setting the read/write signal of the control signal bus 41 to write, the control device 5 writes the result of a logical operation between the given pixel information and the pixel information that existed before being written to the point to be written. By appropriately changing the control signal 215 in this process, it is possible to write the same image information to up to eight pixels.

次に、画像メモリ上に水平方向に並んだ任意の8画素を
、画像メモリの1つのアドレスに対して指定される8画
素に各画素ごとに論理演算を施して転送する方式につい
て述べる。まず、転送される8画素は、2ワードにまた
がり二つのアドレスで指定される。画面上で左側の1ワ
ードのあるアドレスを、ソースアドレスと呼ぶ。一方、
転送される先の8画素のアドレスをデイスティネイショ
ンアドレスと呼ぶ。
Next, a method will be described in which eight arbitrary pixels arranged horizontally on the image memory are transferred by performing a logical operation on each eight pixels specified for one address in the image memory. First, the eight pixels to be transferred are specified by two addresses across two words. The address with one word on the left side of the screen is called the source address. on the other hand,
The addresses of the 8 pixels to which the data is transferred are called destination addresses.

制御装置5は、はじめに、ソースアドレスをアドレスバ
ス3に送出し、アドレス選択信号42をアドレスバス3
側に設定する。ソースアドレスに対応した画像メモリの
データがローカルデータバス211に送出された所で、
ラッチ信号210により第1のレジスタ210に、画像
データを取り込む、これと同時に、制御装置5は、アド
レスバス3に、ソースアドレスに1を加えた(画面上で
右側の)アドレスを送出する。
The control device 5 first sends a source address to the address bus 3 and sends an address selection signal 42 to the address bus 3.
Set on the side. When the image memory data corresponding to the source address is sent to the local data bus 211,
Image data is loaded into the first register 210 by the latch signal 210. At the same time, the control device 5 sends to the address bus 3 an address obtained by adding 1 to the source address (on the right side on the screen).

ソースアドレスに1を加えたアドレスの画像メモリのデ
ータが、ローカルデータバス121に送出された所でラ
ッチ信号211とラッチ信号210により、第一のレジ
スタ202の内容を、第二のレジスタ203にラッチす
ると同時にローカルデータバス121上のデータを、第
一のレジスタ202に取り込む。次に、制御装置5は、
制御信号212に、転送される8画素の一番左の画素が
、ソースアドレスの8画素の左から何番目にあるかを二
進数で表わした値を4ビツトの信号として与える。また
、制御信号214には、どのような論理演算を行なうか
を設定する。次に、制御装置5は、アドレスバス3にデ
イステイネイションアドレスを与え、ローカルデータバ
ス121に画像メモリのデータが送出された所で、制御
信号217により第三のレジスタ208に取り込む。制
御信号215を全て“1”にし、演算器205の出力を
すべてマスクセレクタ206の出力とするように設定し
、バレルシフタ204の出力と、第三のレジスタ208
の論理演算結果が、第四のレジスタ207の入力として
確定した後、制御信号216により第四のレジスタ20
7に、マスクセレクタ206の出力を取り込むと同時に
、ローカルデータバス121に送出する。そして、制御
信号バス41のリードライト信号をライトにすることに
より、画像メモリ上のソースアドレスと、ソースアドレ
スに1を加えたアドレスの連続する16画素のうちの任
意の連続した8画素の画像データを、転送する前にデイ
ステイネイションアドレスに在った8画素の画像データ
と論理演算を施した結果が、デイステイネイションアド
レスに書き込まれる。この処理で、マスクセレクタ20
6の制御信号215にマスク情報を与えることにより、
マスクのかかった画像の転送を行なうことができる。
When data in the image memory at an address obtained by adding 1 to the source address is sent to the local data bus 121, the contents of the first register 202 are latched into the second register 203 by the latch signal 211 and the latch signal 210. At the same time, data on the local data bus 121 is taken into the first register 202. Next, the control device 5
The control signal 212 is given as a 4-bit signal a value representing in binary notation the position of the leftmost pixel of the 8 pixels to be transferred from the left of the 8 pixels of the source address. Furthermore, the control signal 214 is set to determine what kind of logical operation is to be performed. Next, the control device 5 gives a destination address to the address bus 3, and when the data of the image memory is sent to the local data bus 121, it is taken into the third register 208 by the control signal 217. All the control signals 215 are set to "1", all outputs of the arithmetic unit 205 are set to be the outputs of the mask selector 206, and the outputs of the barrel shifter 204 and the third register 208 are
After the logical operation result is determined as the input to the fourth register 207, the control signal 216 causes the fourth register 20
7, the output of the mask selector 206 is taken in and simultaneously sent to the local data bus 121. By setting the read/write signal of the control signal bus 41 to write, image data of any consecutive 8 pixels out of the 16 consecutive pixels at the source address and the source address plus 1 on the image memory is generated. The result of performing a logical operation on the 8-pixel image data that was at the destination address before being transferred is written to the destination address. With this process, the mask selector 20
By giving mask information to the control signal 215 of 6,
It is possible to transfer masked images.

このように本実施例によれば、画像メモリごとに、演算
装置を備え、それらが全て並列に単一画像メモリ1をア
クセスすることによって、第1図の従来の方式に比べ画
像メモリの数倍高速な処理が行なえ、第2図に示した方
式に比べ8倍高速となる。また、演算装置に転送元の画
素情報を保持する第一と第二のレジスタ及び、それらを
任意のビット数シフトするバレルシフタと、転送先の画
素情報を保持する第三のレジスタと、バレルシフタの出
力と、第三のレジスタとの論理演算を行なう演算器、演
算器の出力と、第三のレジスタとをビット単位に選択で
きるマスクセレクタと、転送する画素情報を保持する第
四のレジスタを持つことにより、画像メモリ内の画像の
転送が著しく高速となる。
In this way, according to this embodiment, each image memory is provided with an arithmetic unit, and by accessing the single image memory 1 in parallel, the number of image memories is several times that of the conventional method shown in FIG. High-speed processing can be performed, which is eight times faster than the method shown in FIG. In addition, the arithmetic unit includes first and second registers that hold pixel information of the transfer source, a barrel shifter that shifts them by an arbitrary number of bits, a third register that holds pixel information of the transfer destination, and the output of the barrel shifter. and a third register, a mask selector that can select bit by bit between the output of the arithmetic unit and the third register, and a fourth register that holds pixel information to be transferred. This significantly speeds up the transfer of images in the image memory.

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

本発明によれば、多層構造の画像メモリの各画像メモリ
に対し、一画素分の画像データを複数画素に拡張する手
段と、拡張された複数画素のどの部を画像メモリに書き
込むかを選択する手段を有する演算装置を一つずつ持つ
ことにより、各暦数゛ 列に水平方向の複数画素で構成
される画像データのリード、変更、ライトが行なえるの
で、画像メモリの層がふえても、画像メモリ内に塗り潰
しを行う処理時間が一定となる。
According to the present invention, for each image memory of a multilayered image memory, there is a means for expanding image data for one pixel into a plurality of pixels, and selecting which part of the expanded plurality of pixels is to be written to the image memory. By having one arithmetic unit with the means, it is possible to read, change, and write image data consisting of multiple pixels in the horizontal direction in each column, so even if the number of layers of image memory increases, The processing time for filling in the image memory becomes constant.

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

第1図は画像メモリに層別にワード単位にアクセスする
表示制御装置のブロック図、第2図は、1画素単位に画
像メモリをアクセスする表示制御装置のブロック図、第
3図は本発明の一実施例のカラー画像の表示制御装置の
1枚の画像メモリの構成図、第4図は本発明の一実施例
のカラー画像の表示制御装置の構成図、第5図は演算装
置のブロック図である。 1・・・画像メモリ、2・・・データバス、3・・・ア
ドレスバス、41・・・制御信号バス、42・・・アド
レス選択信号、−5・・・制御装置、6・・・カラーC
RT、7・・・CRT制御回路、71・・・表示アドレ
ス、72・・・同期信号、8・・・並列直列変換器、9
・・・セレクタ、101.102. ・、ION・・・
第1から第N番目の画面メモリ、111,112.・・
・、IIN・・・第1から第N番目の演算装置、13・
・・カラー変換回路、204・・・バレルシフタ、20
5・・・演算器、206−(= L/ フタ、207,
208,210゜211・・・レジスタ、401・・・
メモリ制御装置、402・・・アドレス信号、403・
・・メモリコントロール信号、404・・・データライ
ン、407,408゜409.412,413,414
・・・画像メモリ、410・・・ディスブレスコントロ
ーラ、411・・・CRT。 代理人 弁理士 小川勝馬  ′ 1、1S1 躬4図 第5図
FIG. 1 is a block diagram of a display control device that accesses the image memory layer by layer in word units, FIG. 2 is a block diagram of a display control device that accesses the image memory pixel by pixel, and FIG. 3 is a block diagram of a display control device that accesses the image memory in units of pixels. FIG. 4 is a block diagram of one image memory of a color image display control device according to an embodiment of the present invention. FIG. 5 is a block diagram of a calculation device. be. DESCRIPTION OF SYMBOLS 1... Image memory, 2... Data bus, 3... Address bus, 41... Control signal bus, 42... Address selection signal, -5... Control device, 6... Color C
RT, 7...CRT control circuit, 71...Display address, 72...Synchronization signal, 8...Parallel-serial converter, 9
...Selector, 101.102.・、ION...
1st to Nth screen memories, 111, 112.・・・
・, IIN... 1st to Nth arithmetic units, 13.
...Color conversion circuit, 204...Barrel shifter, 20
5... Arithmetic unit, 206-(=L/ Lid, 207,
208, 210° 211...Register, 401...
Memory control device, 402...Address signal, 403.
...Memory control signal, 404...Data line, 407,408°409.412,413,414
. . . Image memory, 410 . . . Disable controller, 411 . . . CRT. Agent Patent Attorney Katsuma Ogawa ' 1, 1S1 Figure 4 Figure 5

Claims (1)

【特許請求の範囲】 1、カラーの画像データを記憶する多層構造の画像メモ
リと、前記画像メモリをラスター方向に順次読み出し、
表示装置に送出する手段と、前記画像メモリのアドレス
を発生し、前記画像メモリの読み出し、書込みを制御す
る制御装置から成るカラーものにおいて、 前記画像メモリと、前記画像メモリの読み出し、書き込
みを制御する前記制御装置の間に、複数画素で構成され
る前記画像データを保持する手段と、前記画像データを
シフトする手段と、前記画像データを論理演算する手段
とから成る演算装置を前記画像メモリの各層に一つずつ
設け、且つ、一画素の画素データを複数画素に拡張する
手段と、前記拡張された複数画素のどの部分を前記画像
メモリに書き込むかを選択する手段とを前記演算装置内
に設けたことを特徴とする画像メモリのアクセス装置。
[Claims] 1. An image memory having a multilayer structure for storing color image data, and reading out the image memory sequentially in a raster direction;
A color device comprising means for transmitting data to a display device, and a control device that generates an address of the image memory and controls reading and writing of the image memory, the color device comprising: a control device that generates an address of the image memory and controls reading and writing of the image memory; An arithmetic device comprising means for holding the image data composed of a plurality of pixels, means for shifting the image data, and means for performing logical operations on the image data is provided between the control device in each layer of the image memory. and means for expanding pixel data of one pixel into a plurality of pixels, and means for selecting which portion of the expanded plurality of pixels is to be written into the image memory, in the arithmetic unit. An image memory access device characterized in that:
JP63241115A 1988-09-28 1988-09-28 Image memory access device and color image display device using the same Expired - Lifetime JPH0648437B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63241115A JPH0648437B2 (en) 1988-09-28 1988-09-28 Image memory access device and color image display device using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63241115A JPH0648437B2 (en) 1988-09-28 1988-09-28 Image memory access device and color image display device using the same

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP59030278A Division JPS60176094A (en) 1984-02-22 1984-02-22 Access unit for image memory

Publications (2)

Publication Number Publication Date
JPH01118193A true JPH01118193A (en) 1989-05-10
JPH0648437B2 JPH0648437B2 (en) 1994-06-22

Family

ID=17069507

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63241115A Expired - Lifetime JPH0648437B2 (en) 1988-09-28 1988-09-28 Image memory access device and color image display device using the same

Country Status (1)

Country Link
JP (1) JPH0648437B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU749183B2 (en) * 1997-10-06 2002-06-20 Matsushita Refrigeration Company Manifold incorporating a thermoelectric module and a cooling device using the thermoelectric module
US6474073B1 (en) 1999-03-19 2002-11-05 Matsushita Refrigeration Company Thermoelectric device and thermoelectric manifold

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54147738A (en) * 1978-05-11 1979-11-19 Toshiba Corp Data processing system
JPS576886A (en) * 1980-06-16 1982-01-13 Nippon Electric Co Intensity signal memory circuit for cathode ray tube display unit
JPS58136093A (en) * 1982-02-08 1983-08-12 株式会社東芝 Display controller
JPS58209784A (en) * 1982-05-31 1983-12-06 株式会社東芝 Memory system
JPS592079A (en) * 1982-06-28 1984-01-07 株式会社東芝 Image recorder
JPS5919993A (en) * 1982-07-27 1984-02-01 株式会社東芝 Character display circuit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54147738A (en) * 1978-05-11 1979-11-19 Toshiba Corp Data processing system
JPS576886A (en) * 1980-06-16 1982-01-13 Nippon Electric Co Intensity signal memory circuit for cathode ray tube display unit
JPS58136093A (en) * 1982-02-08 1983-08-12 株式会社東芝 Display controller
JPS58209784A (en) * 1982-05-31 1983-12-06 株式会社東芝 Memory system
JPS592079A (en) * 1982-06-28 1984-01-07 株式会社東芝 Image recorder
JPS5919993A (en) * 1982-07-27 1984-02-01 株式会社東芝 Character display circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU749183B2 (en) * 1997-10-06 2002-06-20 Matsushita Refrigeration Company Manifold incorporating a thermoelectric module and a cooling device using the thermoelectric module
US6474073B1 (en) 1999-03-19 2002-11-05 Matsushita Refrigeration Company Thermoelectric device and thermoelectric manifold

Also Published As

Publication number Publication date
JPH0648437B2 (en) 1994-06-22

Similar Documents

Publication Publication Date Title
KR970006597B1 (en) Dual-port memory having pipelined serial output
US5299309A (en) Fast graphics control system capable of simultaneously storing and executing graphics commands
US5313231A (en) Color palette device having big/little endian interfacing, systems and methods
US5854620A (en) Method and apparatus for converting monochrome pixel data to color pixel data
JPH0429069B2 (en)
US5446482A (en) Flexible graphics interface device switch selectable big and little endian modes, systems and methods
US5461680A (en) Method and apparatus for converting image data between bit-plane and multi-bit pixel data formats
US4839828A (en) Memory read/write control system for color graphic display
US5420609A (en) Frame buffer, systems and methods
JPS61267148A (en) Memory circuit
KR0177985B1 (en) Vector data adjusting device of processor
US5926648A (en) I/O port and RAM memory addressing technique
US4924432A (en) Display information processing apparatus
JPH01118193A (en) Access apparatus for image memory
KR900002327B1 (en) Color image display device
JPS60176094A (en) Access unit for image memory
JPH0569434B2 (en)
US5781182A (en) Line buffer apparatus with an extendible command
KR0152436B1 (en) Video graphics display memory swizzle logic circuit and method
JPH03130988A (en) Semiconductor storage device
JP2001202351A (en) Simd type processor
JPS61254981A (en) Multiwindow display controller
US6344849B1 (en) Display control circuit suitable for multi-screen display
JPS619725A (en) Microprogram control circuit
JPH05189581A (en) Graphic data write device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term