JPH0648437B2 - Image memory access device and color image display device using the same - Google Patents

Image memory access device and color image display device using the same

Info

Publication number
JPH0648437B2
JPH0648437B2 JP63241115A JP24111588A JPH0648437B2 JP H0648437 B2 JPH0648437 B2 JP H0648437B2 JP 63241115 A JP63241115 A JP 63241115A JP 24111588 A JP24111588 A JP 24111588A JP H0648437 B2 JPH0648437 B2 JP H0648437B2
Authority
JP
Japan
Prior art keywords
image memory
image
image data
word
data
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.)
Expired - Lifetime
Application number
JP63241115A
Other languages
Japanese (ja)
Other versions
JPH01118193A (en
Inventor
良 藤田
泰 福永
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

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Image Generation (AREA)
  • Storing Facsimile Image Data (AREA)
  • Color Image Communication Systems (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、多層構造の画像メモリを、高速に、読み出
し、書き込む方式に係り、特に、画像メモリの各層に演
算装置を設け図形,画像を高速に処理するに好適な多層
構造をなす画像メモリのアクセス装置に関する。
Description: TECHNICAL FIELD The present invention relates to a method of reading and writing a multi-layered image memory at high speed, and in particular, an arithmetic unit is provided in each layer of the image memory to display graphics and images. The present invention relates to an image memory access device having a multilayer structure suitable for high-speed processing.

〔従来技術〕[Prior art]

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

第1図は、1画素Nビツトのカラー情報をもつN層より
成る画像メモリ407,408,409を各層の画像メ
モリ単位に、マイクロブロセツサなどの制御装置401
がアクセスする方式を示したブロツク図である。制御装
置401は、画像メモリのアドレス信号402により画
像メモリの1ワードを指定する。アドレス信号402の
一部は、データスイツチ406とメモリコントロールス
イツチ405に入力され、制御装置401からのメモリ
コントロール信号403と、データライン404はN層
の画像メモリ407,408,409のどれか一つに接
続される。このように指定される1ワードデータは、制
御装置401のメモリコントロール信号403に従つ
て、読み出し書き込みが行なわれる。画像メモリ40
7,408,409のデータは、常時、デイスプレイコン
トローラ410に読み出され、CRTなどの表示装置4
11に表示される。
FIG. 1 shows an image memory 407, 408, 409 made up of N layers having color information of 1 pixel N bit in units of image memory of each layer, and a control device 401 such as a micro-processor.
FIG. 3 is a block diagram showing a method of access by a user. The control device 401 designates one word of the image memory by the address signal 402 of the image memory. A part of the address signal 402 is input to the data switch 406 and the memory control switch 405, and the memory control signal 403 from the control device 401 and the data line 404 are one of the N layer image memories 407, 408, 409. Connected to. The one-word data designated in this way is read and written according to the memory control signal 403 of the control device 401. Image memory 40
The data of 7, 408, and 409 are constantly read by the display controller 410 and displayed on the display device 4 such as a CRT.
11 is displayed.

第2図に、画像単位に画像メモリをアクセスする画像メ
モリの制御回路のブロツク図を示す。
FIG. 2 shows a block diagram of the control circuit of the image memory for accessing the image memory in image units.

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

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上記従来技術において、前者のメモリアクセス方式で
は、一つの画素を書き込むために画像メモリの層の数、
すなわちN回メモリアクセスを行わなければならず、画
像メモリの層の数が増加するに従い処理時間も増大する
という欠点があつた。但し、この方式の場合、1ワード
を構成するビツト数をWとすると、水平に並んだW画素
は、やはり、N回のメモリアクセスで行なえるものであ
る。
In the above conventional technique, in the former memory access method, the number of layers of the image memory for writing one pixel,
That is, the memory access must be performed N times, and the processing time increases as the number of layers of the image memory increases. However, in the case of this system, if the number of bits forming one word is W, horizontally arranged W pixels can still be accessed by N times of memory access.

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

本発明の目的は、単一色で塗り潰しを行なうような画像
データの書き込みを行なう際に、画像メモリの各層に対
し並列に且つ複数画素同時に書き込みを行なうことによ
り処理の高速化を可能とするカラー画像表示装置を提供
することにある。
An object of the present invention is to provide a color image capable of speeding up processing by writing in parallel to each layer of an image memory and simultaneously writing a plurality of pixels when writing image data such as painting with a single color. It is to provide a display device.

〔課題を解決するための手段〕[Means for Solving the Problems]

本発明は、画像メモリの各層に演算装置を設け、この各
演算装置内に、制御部より送出された前記画像メモリへ
書き込むべき画素情報を取り込み、その1画素の画素情
報を複数画素で構成される1ワードの画像データに拡張
する拡張手段と、拡張された1ワードの画像データと、
この1ワードの画像データの書き込み先に予め記憶され
ている画像データとを入力し、論理演算を実行する演算
手段と、演算手段により得られた複数の画素で構成され
る1ワードの画像データの演算結果のうち、少なくとも
2画素以上を選択し出力する選択手段を設けたことを特
徴とする。
According to the present invention, an arithmetic unit is provided in each layer of the image memory, the pixel information to be written in the image memory sent from the control unit is taken in each arithmetic unit, and the pixel information of one pixel is composed of a plurality of pixels. Expansion means for expanding the image data of 1 word, and the expanded image data of 1 word,
The image data stored in advance at the writing destination of the 1-word image data is input, and the arithmetic means for executing the logical operation and the 1-word image data composed of a plurality of pixels obtained by the arithmetic means It is characterized in that selection means is provided for selecting and outputting at least two pixels or more among the calculation results.

〔作用〕[Action]

各演算装置内に設けられた拡張手段により制御部から入
力された画像メモリへ書き込むべき1画素の画素情報
は、複数画素で構成される1ワードの画像データに拡張
される。拡張された1ワードの画像データは、演算手段
により、この拡張された1ワードの画像データの書き込
み先に予め記憶されている画像データと論理演算され
る。論理演算された複数画素で構成される1ワードの演
算結果のうち少なくとも2画素以上が選択手段により選
択され、この選択された演算結果である複数の画素情報
が画像メモリに同時に書き込まれる。これにより、単一
色で塗り潰しを行なうような画像データの書き込みを高
速に行なうことが可能となる。
The pixel information of one pixel to be written to the image memory, which is input from the control unit by the expansion unit provided in each arithmetic unit, is expanded to one word of image data composed of a plurality of pixels. The expanded 1-word image data is logically operated by the arithmetic means with the image data stored in advance in the writing destination of the expanded 1-word image data. At least two or more pixels are selected by the selecting means from the operation result of one word composed of a plurality of logically operated pixels, and a plurality of pieces of pixel information which are the selected operation results are simultaneously written in the image memory. As a result, it becomes possible to write image data at a high speed such that the image data is filled with a single color.

〔実施例〕〔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画素×1024画素の二値画像を記憶する画像メモ
リ1と、画像メモリ1の内容をビデオ信号151に変換
する並列直列変換器8から成り、第4図の一層の画像メ
モリである例えば101の構成を示す。制御信号バス4
1は、リードライト信号を含み、リードライト信号は画
像メモリ1を構成するメモリ素子のリードライト端子に
接続されている。
FIG. 3 shows that the read / write data width is 8 pixels and is 10
An image memory 1 for storing a binary image of 24 pixels × 1024 pixels and a parallel / serial converter 8 for converting the contents of the image memory 1 into a video signal 151 are provided. The configuration is shown. Control signal bus 4
Reference numeral 1 includes a read / write signal, and the read / write signal is connected to a read / write terminal of a memory element forming the image memory 1.

第4図は、本発明の画像メモリのアクセス装置を実現す
るための、カラー画像の表示装置の構成の一例を示す。
第4図で示した画像メモリ101と同一の構成から成る
画像メモリ102,…,10Nと、演算装置111,1
12,…,11Nとの間は、各々8ビツト幅のローカル
データバス121,122,…,12Nで接続されてい
る。制御装置5と演算装置111,112,…,11N
の間は、8ビツトのデータバス2と、制御信号バス41
とで結ばれている。データバス2は、その1ビツト目で
ある、データ入出力信号21が1番目の演算装置111
に、2ビツト目が2番目の演算装置にに、順次、8ビツ
ト目が8番目の演算装置に接続されている。Nが9以上
の場合、Nビツト目のデータは、(Nmod8)ビツト目の演
算装置に接続される。
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.
Image memories 102, ..., 10N having the same configuration as the image memory 101 shown in FIG.
, ..., 11N are connected by local data buses 121, 122 ,. Control device 5 and arithmetic devices 111, 112, ..., 11N
In between, the 8-bit data bus 2 and the control signal bus 41
It is tied with. The data bus 2 is the first bit, and the data input / output signal 21 is the first arithmetic unit 111.
The second bit is connected to the second arithmetic unit, and the eighth bit is sequentially connected to the eighth arithmetic unit. When N is 9 or more, the Nth bit data is connected to the (Nmod8) th bit arithmetic unit.

第5図は、第4図第1番目の演算装置111の構成を示
す図で、第2番目から第N番目までの演算装置112,
…,11Nも同一の構成となつている。演算装置111
は、ローカルデータバス121上の8ビツトのデータを
ラツチする第一のレジスタ202と、第1のレジスタ2
02の内容をラツチする第二のレジスタ203と、これ
らの16ビツトデータを、0から15ビツトシフトして
下位8ビツトを出力するバレルシフタ204と、このバ
レルシフタ204の出力とローカルデータバス121上
のデータをラツチする第三のレジスタ208との論理演
算を行なう演算器205と、その論理演算結果と、第三
のレジスタ208の内容とを、ビツト単位で選択するマ
スクセレクタ206と、マスクセレクタ206の出力を
ラツチし、ローカルデータバス121に、接続される第
四のレジスタ207と、ローカルデータバス121と、デ
ータバス2とのインターフエースを取る第五の双方向レ
ジスタ201から成る。第五の双方向レジスタ201
は、1ビツトのデータ入出力信号21をラツチする機能
と、その1ビツトデータの“0”,“1”によつて、8
ビツトの“00000000"か“11111111"のいずれかにデータ
幅の伸張を行ない、ローカルデータバス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 unit 111 in FIG. 4, and shows the second to Nth arithmetic units 112,
..., 11N have the same configuration. Arithmetic unit 111
Is a first register 202 for latching 8-bit data on the local data bus 121 and a first register 2
A second register 203 for latching the contents of 02, a barrel shifter 204 for shifting these 16-bit data from 0 to 15 bits and outputting the lower 8 bits, an output of this barrel shifter 204 and data on the local data bus 121. An arithmetic unit 205 for performing a logical operation with the third register 208 to be latched, a mask selector 206 for selecting the result of the logical operation, and the contents of the third register 208 in bit units, and an output of the mask selector 206. It comprises a fourth register 207 connected to the local data bus 121, and a fifth bidirectional register 201 for interfacing the local data bus 121 and the data bus 2. Fifth bidirectional register 201
Is a function for latching the 1-bit data input / output signal 21 and 8 bits by the 1-bit data "0", "1".
The data width is expanded to either "00000000" or "11111111", and the control for sending to the local data bus 121 and the one bit out of the 8 bit data on the local data bus 121 are latched. It is composed of a function and a function of controlling the transmission of the 1-bit data to the data input / output signal 21, which includes two D-type flip-flops, one 8-to-1 selector and nine 3-state buffers. Can be easily configured.

ところで、制御信号バス41は前述の画像メモリ1のリ
ードライト信号1ビツトと、 データ入出力信号21の1ビツトデータを第5の双方向
レジスタ201に取り込む信号1ビツトと取り込んだデ
ータを伸張してローカルデータバス121に送出制御す
る信号1ビツトと、ローカルデータバス121の8ビツ
トデータのうちどの1ビツトデータを選択するかを決め
る3ビツトデータと、その選択された1ビツトデータを
第5の双方向レジスタ201に取り込む信号1ビツト
と、その取り込んだ1ビツトデータをデータ入出力信号
21に送出する制御を行う信号1ビツトから成る第5の
双方向レジスタ201に対する計7ビツトの制御信号2
13と、 第一のレジスタのラツチ信号210と、 第二のレジスタのラツチ信号211と、 バレルシフタ204のシフト数を制御する4ビツトの制
御信号212と、 演算器205のフアンクシヨン(TTL IC74LS181
の論理演算モードに従う)を決める4ビツトの制御信号
214と、マスクセレクタ206の各入力のビツト単位
の選択を制御する8ビツトの制御信号215と、 第三のレジスタ208のラツチ信号217と、 第四のレジスタ207のラツチ信号1ビツトと、その取
り込まれているデータとをローカルデータバス121に
送出制御する信号1ビツトから成る計2ビツトの第四の
レジスタ207の制御信号216と、から成る。これら
の制御信号バス41のうち、制御信号213の中の第五
の双方向レジスタ201のデータをローカルデータバス
121へ送出制御する信号と、ローカルデータバス121
の8ビツトデータのうちどの1ビツトを選択するかを決
める3ビツトデータと、その信号を第五の双方向レジス
タ201へ取り込む信号、そして、ラツチ信号210,
211,217および制御信号212,214,21
5,216は、各演算装置111,112,…,11N
に全て共通に接続されている。また、制御信号バス41
のうち、制御信号213の中のデータ入出力信号21
を、第五の双方向レジスタ201に取り込む信号と、第
五の双方向レジスタ201の内容を、データ入出力信号
21へ送出制御する信号とは、画像メモリ数Nが8以下
の時は、他の制御線と同様に、各演算装置111,11
2,…,11Nに共通に接続される。Nが8を越えた場
合は、8ごとに、これらの2信号は(N−1)/8+1
を越えない最も大きい整数個に分割される。すなわち、
制御装置5が演算装置111,112,…11Nの第五
の双方向レジスタをアクセスする場合、データバス2
が、8ビツトであるため、8個の第五の双方向レジスタ
単位にアクセスを行なうようにこれら制御信号を分割す
る。以下では便宜上Nは8以下として説明を行なう。
By the way, the control signal bus 41 expands the read / write signal 1 bit of the image memory 1 and the signal 1 bit for fetching 1 bit data of the data input / output signal 21 into the fifth bidirectional register 201 and the fetched data. Both the signal 1 bit for controlling transmission to the local data bus 121, the 3 bit data for deciding which one of the 8 bit data of the local data bus 121 to select, and the selected 1 bit data for the fifth bit A control signal 2 of 7 bits in total for the fifth bidirectional register 201 consisting of a signal 1 bit fetched in the directional register 201 and a signal 1 bit for controlling transmission of the fetched 1 bit data to the data input / output signal 21.
13, the latch signal 210 of the first register, the latch signal 211 of the second register, the 4-bit control signal 212 for controlling the shift number of the barrel shifter 204, and the function of the arithmetic unit 205 (TTL IC74LS181).
(Depending on the logical operation mode), an 8-bit control signal 215 for controlling selection of each bit of each input of the mask selector 206, a latch signal 217 of the third register 208, It consists of a latch signal 1 bit of the four registers 207 and a control signal 216 of the fourth register 207 of a total of 2 bits consisting of a signal 1 bit for sending out the fetched data to the local data bus 121. Of these control signal buses 41, a signal for controlling the sending of the data of the fifth bidirectional register 201 in the control signal 213 to the local data bus 121 and the local data bus 121.
3 bit data for deciding which one of 8 bit data is selected, a signal for fetching the signal into the fifth bidirectional register 201, and a latch signal 210,
211, 217 and control signals 212, 214, 21
5, 216 are the respective arithmetic units 111, 112, ..., 11N
Are all connected in common. In addition, the control signal bus 41
Of the data input / output signal 21 in the control signal 213
To the fifth bidirectional register 201 and a signal for controlling transmission of the contents of the fifth bidirectional register 201 to the data input / output signal 21 when the image memory number N is 8 or less. Similarly to the control line of FIG.
2, ..., 11N are commonly connected. If N exceeds 8, then every eight, these two signals are (N-1) / 8 + 1.
It is divided into the largest integers that do not exceed. That is,
When the control unit 5 accesses the fifth bidirectional register of the arithmetic units 111, 112, ... 11N, the data bus 2
However, since it is 8 bits, these control signals are divided so as to access the unit of eight fifth bidirectional registers. Hereinafter, for convenience, N will be described as 8 or less.

さて、第4図で画面メモリ101,102,…,10N
から、ビデオ信号151,152,…,15Nを読み出
し、カラー変換回路13によつてカラービデオ信号14
に変換し、カラーCRT6に、カラー画像を表示する操
作は以下の様に行う。
Now, in FIG. 4, screen memories 101, 102, ..., 10N
, 15N are read out from the video signal 151, and the color conversion circuit 13 causes the color video signal 14 to be read.
The operation of converting into the color CRT and displaying the color image on the color CRT 6 is performed as follows.

まず、画像メモリからのシリアルデータ151,15
2,…,15Nは、CRT制御装置7(詳細は、日立マ
イクロコンピユータシステムデバイスデータブツク内の
HD46505の項を参照)からの表示アドレス71をセレ
クタ9を介し、画像メモリのアドレス信号91で、画像
メモリに与え、読み出された各画像メモリの画像データ
を並列直列変換器8によつて直列データに変換して得ら
れる。得られるNビツトデータは、1画素の色コードで
あり、カラー変換回路13に入力され、RGBのビデオ
信号14に変換される。このビデオ信号14と、CRT
制御装置7から出力される周期信号72がカラーCRT
6に送出され、カラー画像がCRT上に表示される。
First, the serial data 151, 15 from the image memory
2, ..., 15N display an image 71 from the CRT controller 7 (for details, refer to the section of HD46505 in the Hitachi Micro Computer System Device Data Book) via the selector 9 and the image signal by the address signal 91 of the image memory. It is obtained by converting the read image data of each image memory, which is given to the memory, into serial data by the parallel-serial converter 8. The obtained N-bit data is a color code for one pixel, is input to the color conversion circuit 13, and is converted into an RGB video signal 14. This video signal 14 and CRT
The periodic signal 72 output from the controller 7 is a color CRT.
6 and the color image is displayed on the CRT.

以下に、制御装置5が、演算装置111,112,…,1
1Nを介して、画面メモリ101,102,…,10N
内の画像メモリ1をアクセスする方式について述べる。
In the following, the control device 5 uses the arithmetic devices 111, 112, ..., 1
Screen memory 101, 102, ..., 10N via 1N
A method of accessing the image memory 1 in the inside will be described.

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

次に、Nビツトの画素情報を画像メモリ上のある点に書
き込むには、まず、制御装置5が、データバス2の上に
書き込もうとする画素情報を送出し、制御信号213に
よつて第五の双方向レジスタ201に取り込む。取り込
まれた1ビツトデータは、8ビツトのデータに伸張され
同制御信号213によりローカルデータバス121に送
出され、制御信号210により第一レジスタ202に取
り込む。そして、バレルシフタの4ビツトの制御信号2
12をシフト数0として演算器205の一方の入力が第
一のレジスタ202と同じデータとなるようにする。一
方、制御回路5は、目的の書き込む点の含まれる画像メ
モリ1のアドレスをアドレスバス3に与え、アドレス選
択信号42をアドレスバス3側に設定し、画像メモリの
データがローカルデータバス121に送出された時点で
そのデータを第三のレジスタ208にラツチ信号217
により取り込む。この時、第五の双方向レジスタ201
のローカルデータバスへの出力と、画像メモリの出力が
競合しないように、制御装置5は、アドレス選択信号4
2,制御信号213を制御する。また、制御装置5は、
書き込む画素情報と、現在画像メモリにある書き込もう
とする点の画素情報とをどの様な論理で演算するかを制
御信号214で与え、書き込もうとする点が、その点を
含む画像メモリのアドレスに対応する8画素の何番目に
ある分かを、8ビツトの情報でマスクセレクタ206の
制御信号215に与える。例えば、左から2番目に、書
き込む画素があるとすれば、制御信号215は、2進数
“01000000"という信号となる。さてマスクセレクタ2
06の出力が確定した後、制御信号216により、マス
クセレクタ206の出力を第4のレジスタ207に取り
込み、ローカルデータバス121に取り込んだデータを
送出する。制御装置5は、制御信号バス41のリードラ
イト信号をライトとすることにより、書き込もうとした
点に、与えた画素情報と、書き込まれる前にあつた画素
情報との論理演算結果が書き込まれる。この処理で制御
信号215を適当に変えることにより、最大8画素ま
で、同一画像情報を書き込むことが可能となる。
Next, in order to write the N-bit pixel information to a certain point on the image memory, the control device 5 first sends the pixel information to be written on the data bus 2, and the control signal 213 causes the fifth information to be written. It is taken into the bidirectional register 201. The fetched 1-bit data is expanded into 8-bit data, sent to the local data bus 121 by the control signal 213, and fetched in the first register 202 by the control signal 210. And the control signal 2 of 4 bits of barrel shifter
12 is set as the shift number 0 so that one input of the arithmetic unit 205 has the same data as the first register 202. On the other hand, the control circuit 5 gives the address of the image memory 1 including the target writing point to the address bus 3, sets the address selection signal 42 on the address bus 3 side, and the data of the image memory is sent to the local data bus 121. At that time, the data is sent to the third register 208 as a latch signal 217.
Take in by. At this time, the fifth bidirectional register 201
Control unit 5 controls the address selection signal 4 so that the output to the local data bus and the output of the image memory do not conflict with each other.
2. Control the control signal 213. Further, the control device 5 is
The control signal 214 gives what kind of logic is used to calculate the pixel information to be written and the pixel information of the point currently to be written in the image memory, and the point to be written corresponds to the address of the image memory including that point. The number of the 8th pixel to be used is given to the control signal 215 of the mask selector 206 by the information of 8 bits. For example, if there is a second pixel to be written from the left, the control signal 215 is a signal of binary number "01000000". Now mask selector 2
After the output of 06 is confirmed, the output of the mask selector 206 is fetched into the fourth register 207 by the control signal 216, and the data fetched onto the local data bus 121 is sent out. The control device 5 writes the read / write signal of the control signal bus 41 to write the logical operation result of the given pixel information and the pixel information obtained before the writing to the point to be written. By appropriately changing the control signal 215 in this process, the same image information can be written in up to 8 pixels.

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

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

ソースアドレスに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により第四のレジスタ207
に、マスクセレクタ206の出力を取り込むと同時に、
ローカルデータバス121に送出する。そして、制御信
号バス41のリードライト信号をライトにすることによ
り、画像メモリ上のソースアドレスと、ソースアドレス
に1を加えたアドレスの連続する16画素のうちの任意
の連続した8画素の画像データを、転送する前にデイス
テイネイシヨンアドレスに在つた8画素の画像データと
論理演算を施した結果が、デイステイネイシヨンアドレ
スに書き込まれる。この処理で、マスクセレクタ206
の制御信号215にマスク情報を与えることにより、マ
スクのかかつた画像の転送を行なうことができる。
When the data of the image memory at the address obtained by adding 1 to the source address is transmitted to the local data bus 121, the contents of the first register 202 are latched to the second register 203 by the latch signal 211 and the latch signal 210. At the same time, the data on the local data bus 121 is loaded into the first register 202. Next, the control device 5 controls the control signal 212 so that the leftmost pixel of the eight pixels transferred is
A 4-bit signal is given as a binary number indicating the position from the left of the 8 pixels of the source address. Also,
The control signal 214 sets what kind of logical operation is performed. Next, the control device 5 gives the destination bus address to the address bus 3 and, when the data of the image memory is sent to the local data bus 121, fetches it into the third register 208 by the control signal 217. The control signals 215 are all set to "1", and the output of the arithmetic unit 205 is set to be the output of the mask selector 206.
After the output of the barrel shifter 204 and the logical operation result of the third register 208 are confirmed as the input of the fourth register 207, the fourth register 207 is controlled by the control signal 216.
At the same time that the output of the mask selector 206 is taken into
It is sent to the local data bus 121. Then, by setting the read / write signal of the control signal bus 41 to write, image data of any continuous 8 pixels of 16 continuous pixels of the source address on the image memory and the address obtained by adding 1 to the source address. The result of performing a logical operation with the image data of 8 pixels existing in the day stay address before being transferred is written in the day stay address. By this processing, the mask selector 206
By supplying the mask information to the control signal 215 of 1, the image transferred through the mask can be transferred.

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

〔発明の効果〕〔The invention's effect〕

本発明によれば、画像メモリの各層並列に、水平方向に
複数画素で構成される1ワードの画像データを同時に書
き込み可能となり、特に、単一色で塗り潰しを行なうよ
うな画像データの書き込みを高速に行なうことができ
る。
According to the present invention, it is possible to simultaneously write one-word image data composed of a plurality of pixels in the horizontal direction in parallel in each layer of the image memory. In particular, high-speed writing of image data for filling with a single color is possible. Can be done.

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

第1図は画像メモリに層別にワード単位にアクセスする
表示制御装置のブロツク図、第2図は、1画素単位に画
像メモリをアクセスする表示制御装置のブロツク図、第
3図は本発明の一実施例のカラー画像の表示制御装置の
1枚の画像メモリの構成図、第4図は本発明の一実施例
のカラー画像の表示制御装置の構成図、第5図は演算装
置のブロツク図である。 1……画像メモリ、2……データバス、3……アドレス
バス、41……制御信号バス、42……アドレス選択信
号、5……制御装置、6……カラーCRT、7……CR
T制御回路、71……表示アドレス、72……同期信
号、8……並列直列変換器、9……セレクタ、101,
102,…,10N……第1から第N番目の画面メモ
リ、111,112,…,11N……第1から第N番目
の演算装置、13……カラー変換回路、204……バレ
ルシフタ、205……演算器、206……セレクタ、2
07,208,210,211……レジスタ、401…
…メモリ制御装置、402……アドレス信号、403…
…メモリコントロール信号、404……データライン、
407,408,409,412,413,414……画
像メモリ、410……デイスプレスコントローラ、41
1……CRT。
FIG. 1 is a block diagram of a display control device for accessing the image memory on a word-by-layer basis, FIG. 2 is a block diagram of a display control device for accessing the image memory on a pixel-by-pixel basis, and FIG. FIG. 4 is a block diagram of a color image display controller of the embodiment, FIG. 4 is a block diagram of a color image display controller of one embodiment of the present invention, and FIG. 5 is a block diagram of an arithmetic unit. is there. 1 ... Image memory, 2 ... Data bus, 3 ... Address bus, 41 ... Control signal bus, 42 ... Address selection signal, 5 ... Control device, 6 ... Color CRT, 7 ... CR
T control circuit, 71 ... Display address, 72 ... Sync signal, 8 ... Parallel / serial converter, 9 ... Selector, 101,
102, ..., 10N ... 1st to Nth screen memory, 111, 112, ..., 11N ... 1st to Nth arithmetic unit, 13 ... Color conversion circuit, 204 ... Barrel shifter, 205 ... … Calculator, 206 …… Selector, 2
07,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 ... Display controller, 41
1 ... CRT.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】カラーの画像データを記憶する多層構造の
画像メモリと、表示部と、前記画像メモリをラスター方
向に順次読み出し前記表示部に送出する表示制御部と、
前記画像メモリのアドレスを発生し前記画像メモリの読
み出し、書き込みを制御する制御部から成るものにおい
て、 前記制御部より送出された前記画像メモリへ書き込むベ
き画素情報を取り込み、当該1画素の画素情報を複数画
素で構成される1ワードの画像データに拡張する拡張手
段と、 前記拡張手段により拡張された1ワードの画像データ
と、当該1ワードの画像データの書き込み先に予め記憶
されている画像データとを入力し、論理演算を実行する
演算手段と、 前記演算手段による1ワードの画像データの演算結果の
うち、少なくとも2画素以上を選択し出力する選択手段
を有する演算部を、前記画像メモリの各層毎に設けたこ
とを特徴とするカラー画像表示装置。
1. A multi-layered image memory for storing color image data, a display unit, and a display control unit for sequentially reading out the image memory in a raster direction and sending the image memory to the display unit.
A control unit that generates an address of the image memory and controls reading and writing of the image memory, in which the pixel information to be written to the image memory sent from the control unit is fetched and the pixel information of the one pixel is acquired. To expand to 1-word image data composed of a plurality of pixels, 1-word image data expanded by the expanding means, and image data stored in advance in the writing destination of the 1-word image data. And an input unit for executing a logical operation, and an operation unit having an operation unit for selecting and outputting at least two pixels or more out of the operation result of the image data of one word by the operation unit. A color image display device characterized by being provided for each layer.
【請求項2】各部制御部からの画像メモリへの読み出し
及び書き込み指令に基づいて前記画像メモリに対する画
像データの読み出し及び書き込みを制御する画像メモリ
アクセス装置において、 前記制御部より送出された前記画像メモリへ書き込むべ
き画素情報を取り込み、当該1画素の画素情報を複数画
素で構成される1ワードの画像データに拡張する拡張手
段と、 前記拡張手段により拡張された1ワードの画像データ
と、当該1ワードの画像データの書き込み先に予め記憶
されている画像データとを入力し、論理演算を実行する
演算手段と、 前記演算手段による1ワードの画像データの演算結果の
うち、少なくとも2画素以上を選択し出力する選択手段
を設けたことを特徴とする画像メモリアクセス装置。
2. An image memory access device for controlling the reading and writing of image data to and from the image memory based on read and write commands from the respective control units to the image memory, wherein the image memory is sent from the control unit. Expansion means for taking in the pixel information to be written to, and expanding the pixel information of the one pixel into image data of one word composed of a plurality of pixels, image data of one word expanded by the expansion means, and the one word The image data stored in advance in the destination of writing the image data is input, and at least two pixels or more are selected from the operation means for executing the logical operation and the operation result of the one-word image data by the operation means. An image memory access device, characterized in that selection means for outputting is provided.
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 Image memory access device

Publications (2)

Publication Number Publication Date
JPH01118193A JPH01118193A (en) 1989-05-10
JPH0648437B2 true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1187561C (en) * 1997-10-06 2005-02-02 松下冷机株式会社 Manifold incorporating thermoelectric module and cooling device using thermoelectric module
JP2000274871A (en) 1999-03-19 2000-10-06 Matsushita Refrig Co Ltd Thermoelectric unit and thermoelectric manifold

Family Cites Families (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

Also Published As

Publication number Publication date
JPH01118193A (en) 1989-05-10

Similar Documents

Publication Publication Date Title
US5299309A (en) Fast graphics control system capable of simultaneously storing and executing graphics commands
US5233690A (en) Video graphics display memory swizzle logic and expansion circuit and method
US5251298A (en) Method and apparatus for auxiliary pixel color management using monomap addresses which map to color pixel addresses
US5313231A (en) Color palette device having big/little endian interfacing, systems and methods
JPS62288984A (en) Video display unit
US5678037A (en) Hardware graphics accelerator system and method therefor
US5943065A (en) Video/graphics memory system
US5446482A (en) Flexible graphics interface device switch selectable big and little endian modes, systems and methods
JPH0429069B2 (en)
JPH0347514B2 (en)
JPH0375873B2 (en)
JPS62172388A (en) Display system
US5420609A (en) Frame buffer, systems and methods
JPH03156576A (en) Graphic form processing system
US4941107A (en) Image data processing apparatus
US4924432A (en) Display information processing apparatus
US5486844A (en) Method and apparatus for superimposing displayed images
JPH0581914B2 (en)
JPH0740242B2 (en) Data transfer method
JPH01118193A (en) Access apparatus for image memory
US4742343A (en) Digital stroke generator
KR0152436B1 (en) Video graphics display memory swizzle logic circuit and method
JPH0569434B2 (en)
JPH10161618A (en) Information processing system with multiple display devices
JPH0342758A (en) Data processor

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term