JPH0581914B2 - - Google Patents

Info

Publication number
JPH0581914B2
JPH0581914B2 JP59030278A JP3027884A JPH0581914B2 JP H0581914 B2 JPH0581914 B2 JP H0581914B2 JP 59030278 A JP59030278 A JP 59030278A JP 3027884 A JP3027884 A JP 3027884A JP H0581914 B2 JPH0581914 B2 JP H0581914B2
Authority
JP
Japan
Prior art keywords
image memory
image
image data
data
signal
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
JP59030278A
Other languages
Japanese (ja)
Other versions
JPS60176094A (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 JP59030278A priority Critical patent/JPS60176094A/en
Publication of JPS60176094A publication Critical patent/JPS60176094A/en
Publication of JPH0581914B2 publication Critical patent/JPH0581914B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Image Generation (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、多層構成の画像メモリを、高速に、
読み出し、書き込む方式に係り、特に、画像メモ
リの各層に演算装置を設け図形、画像を高速に処
理する好適な多層構造をなす画像メモリのアクセ
ス装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention provides a high-speed, multi-layered image memory.
The present invention relates to a reading and writing system, and particularly to an access device for an image memory having a multilayer structure, which has an arithmetic unit in each layer of the image memory and processes graphics and images at high speed.

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

従来のカラー画像の表示制御装置を第1図と第
2図を用いて説明する。
A conventional color image display control device will be explained 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,4
09のどれか一つに接続される。このように指定
される1ワードデータは、制御装置401のメモ
リコントロール信号403に従つて、読み出し書
き込みが行なわれる。画像メモリ407,40
8,409のデータは、常時、デイスプレイコン
トローラ410に読み出され、CRTなどの表示
装置411に表示される。このようなメモリアク
セス方式では、一つの画素を書き込むために、画
像メモリの層の数、すなわちN回メモリアクセス
を行なわなければならない。但し、1ワードを構
成するビツト数をWとすると、水平に並んだM画
素は、やはり、N回のメモリアクセスで行なえ
る。
FIG. 1 shows image memories 407, 408, 409 consisting of N layers each having color information of N bits per pixel.
FIG. 4 is a block diagram showing a method in which a control device 401 such as a microprocessor accesses image memory units of each layer. The control device 401 controls one of the image memories by the address signal 402 of the image memory.
Specify word. A part of the address signal 402 is input to a data switch 406 and a memory control switch 405, and a memory control signal 403 from the control device 401 and a data line 404 are input to the N-layer image memory 407, 408, 4.
Connected to one of 09. One word data designated in this manner is read and written in accordance with the memory control signal 403 of the control device 401. Image memory 407, 40
The data of No. 8,409 is always read out by a display controller 410 and displayed on a display device 411 such as a CRT. In such a memory access method, in order to write one pixel, memory accesses must be performed N times, which is the number of layers of the image memory. However, if the number of bits constituting one word is W, then M pixels arranged horizontally can be accessed by memory N times.

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

制御装置401から出るNビツトのデータライ
ン404は、画像メモリの各層〜412,41
3,414に各々一ビツトずつ接続される。アド
レス信号402は、画像メモリの各層412,4
13,414の一ビツトを指定し、そのNビツト
の信号、即ち、一画素のデータに対し、メモリコ
ントロール信号403によつて書き込み、又は、
読み出しを行なう。この様に画素単位に画像メモ
リをアクセスする方式は、直線を描画する時の様
な場合には、有効であるが、塗り漬しなどのラス
ター単位の処理には向いていない。なぜならば、
画像メモリ412,413,414は通常デイス
プレーコントローラ410に読み出されるとき
は、複数画素分読み出され、表示装置411に表
示される。従つて、画像メモリの1つのプレーン
に対し、実際にはデータラインが1ビツトではな
く、複数のビツト存在し、画像メモリのアクセス
時には、その内、1ビツトしか使用しないため、
ラスタ方向にメモリアクセスを行なう時は、同じ
メモリアドレスを複数回アクセスすることになり
効率が悪い。
An N-bit data line 404 outputting from the control device 401 connects each layer of the image memory to 412, 41.
3,414, one bit each. The address signal 402 corresponds to each layer 412, 4 of the image memory.
Specify one bit of 13,414 and write to that N-bit signal, that is, one pixel data, using the memory control signal 403, or
Perform reading. This method of accessing the image memory pixel by pixel is effective when drawing a straight line, but it is not suitable for raster unit processing such as painting. because,
When the image memories 412, 413, and 414 are normally read out to the display controller 410, a plurality of pixels are read out and displayed on the display device 411. Therefore, for one plane of the image memory, there is actually not one data line but multiple bits, and only one of these bits is used when accessing the image memory.
When memory access is performed in the raster direction, the same memory address is accessed multiple times, which is inefficient.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、カラー情報等を保持する多層
構造の画像メモリに対し、複数画素からなる画像
データの読み出し、変更、書き込み、特に画像メ
モリ内における画像データの転送などの処理を高
速に行ない得る画像メモリのアクセス装置を提供
するにある。
An object of the present invention is to enable high-speed processing such as reading, changing, and writing image data consisting of a plurality of pixels, especially transferring image data within the image memory, to a multilayered image memory that retains color information, etc. The present invention provides an image memory access device.

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

本発明の要点は、画像メモリの各層に演算装置
を設け、各層が並列に画像データを処理し、且
つ、前記演算装置は、少なくとも、画像メモリに
記憶された複数画素で構成される転送元の画像デ
ータを保持する直列に接続された第一及び第二の
画像データ保持手段と、前記画像メモリ内の転送
先の画像データを保持する第三の画像データ保持
手段と、前記第一及び第二の保持手段から出力さ
れる画像データを合わせて任意のビツト数シフト
するシフト手段と、前記シフト手段の出力及び前
記第三の保持手段に保持された画像データとの間
で少なくとも排他的論理和を含む論理演算を行う
手段とを備えることにある。
The gist of the present invention is that an arithmetic unit is provided in each layer of the image memory, each layer processes image data in parallel, and the arithmetic unit is configured to at least process a transfer source composed of a plurality of pixels stored in the image memory. first and second image data holding means connected in series for holding image data; third image data holding means for holding destination image data in the image memory; A shift means for shifting the image data outputted from the third holding means together by an arbitrary number of bits, and at least an exclusive OR between the output of the shifting means and the image data held in the third holding means. and means for performing logical operations including.

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

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

第3図は、読み出し書き込みのデータ幅が8ビ
ツトで1024×1024画素の二値画像を記憶する画像
メモリ1と、画像メモリ1の内容をビデオ信号1
51に変換する並列直列変換器8から成り、第4
図の一層の画像メモリである例えば101の構成
を示す。制御信号バス41は、リードライト信号
を含み、リードライト信号は、画像メモリ1を構
成するメモリ素子のリードライト端子に接続され
ている。
Figure 3 shows an image memory 1 that stores a binary image of 1024 x 1024 pixels with a read/write data width of 8 bits, and a video signal 1 that stores the contents of the image memory 1.
It consists of a parallel-to-serial converter 8 that converts
The configuration of, for example, 101, which is a single-layer image memory in the figure, is shown. The control signal bus 41 includes a read/write signal, and the read/write signal is connected to the read/write terminal of the memory element constituting the image memory 1.

第4図は、本発明の画像メモリのアクセス方式
を実現するための、カラー画像の表示装置の構成
の一例を示す。第4図で示した画像メモリ101
と同一の構成から成る画像メモリ102,…,1
0Nと、演算装置111,112,…,11Nと
の間は、各々8ビツト幅のローカルデータバス1
21,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 method of the present invention. Image memory 101 shown in FIG.
Image memory 102,...,1 having the same configuration as
0N and the arithmetic units 111, 112, . . . , 11N, each has an 8-bit wide local data bus 1
21, 122, . . . , 12N. Control device 5 and calculation devices 111, 112,..., 11N
An 8-bit data bus 2 and a control signal bus 41 connect between the two. The first bit of the data input/output signal 21 of the data bus 2 is sent to the first arithmetic unit 111, the second bit to the second arithmetic unit, and the eighth bit to the eighth arithmetic unit. It is connected. 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は、ローカルデータバス1
21上の8ビツトのデータをラツチする第一のレ
ジスタ202と、第1のレジスタ202の内容を
ラツチする第二のレジスタ203と、これらの16
ビツトデータを、0から15ビツトシフトして下位
8ビツトを出力するバレルシフタ204と、この
バレルシフタ204の出力とローカルデータバス
121上のデータをラツチする第三のレジスタ2
08との論理演算を行なう演算器205と、その
論理演算結果と、第三のレジスタ208の内容と
を、ビツト単位で選択するマスクセレクタ206
と、マスクセレクタ206の出力をラツチし、ロ
ーカルデータバス121に、接続される第四のレ
ジスタ207と、ローカルデータバス121と、
データバス2とのインターフエースを取る第五の
双方向レジスタ201から成る。第五の双方向レ
ジスタ201は、1ビツトのデータ入出力信号2
1をラツチする機能と、その1ビツトデータの
“0”、“1”によつて、8ビツトの“00000000”
か“11111111”のいずれかにデータ幅の伸張を行
ない、ローカルデータバス121に送出制御を行
なう機能と、ローカルデータバス121上の8ビ
ツトのデータの内1ビツトをラツチする機能と、
その1ビツトデータを、データ入出力信号21に
送出制御を行なう機能とから成り、これは、Dタ
イプのフリツプフロツプ2個と、8対1のセレク
タ1個と3ステータのバツフア9個により容易に
構成することができる。ところで制御信号バス4
1は、前述の画像メモリ1のリードライト信号1
ビツトと、データ入出力信号21の1ビツトデー
タを第五の双方向レジスタ201に取り込む信号
1ビツトと取り込んだデータを伸長してローカル
データバス121に送出制御する信号1ビツト
と、ローカルデータバス121の8ビツトデータ
のうちどの1ビツトとを選択するかを決める3ビ
ツトデータと、その選択された1ビツトと、その
1ビツトデータを、 データ入出力信号21に送出制御する信号1ビ
ツトから成る第五の双方向レジスタ201の計7
ビツトの制御信号213と、 第一のレジスタのラツチ信号210と、 第二のレジスタのラツチ信号211と、 バレルシフタ204のシフト数を制御する4ビ
ツトの制御信号212と、 演算器205のフアンクシヨン(TTL IC
74LS181の論理演算モードに従う)を決める4ビ
ツトの制御信号214と、マスクセレクタ206
の各入力のビツト単位の選択を制御する8ビツト
の制御信号215と、 第三のレジスタ208のラツチ信号217と、 第四のレジスタ207のラツチ信号1ビツト
と、その取り込まれているデータとをローカルデ
ータバス121に送出制御する信号1ビツトから
成る計2ビツトの第四のレジスタ207の制御信
号216と、から成る。これらの制御信号バス4
1のうち、制御信号213のうち、第五の双方向
レジスタ201のデータをローカルデータバス1
21へ送出制御する信号と、ローカルデータバス
121上の8ビツトから1ビツトを選択する信号
と、その信号を第五の双方向レジスタ201へ取
り込む信号、そして、ラツチ信号210,21
1,217および制御信号212,214,21
5,216は、各演算装置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,
…11Nの第五の双方向レジスタをアクセスする
場合、データバス2が、8ビツトであるため、8
個の第五の双方向レジスタ単位にアクセスを行な
うようにこれら制御信号を分割する。以下では更
宜上Nは8以下として説明を行なう。
FIG. 5 is a diagram showing the configuration of the first arithmetic unit 111 in FIG. 4, and the second to Nth arithmetic units 112, . . . , 11N have the same configuration. The arithmetic unit 111 has a local data bus 1
A first register 202 that latches the 8-bit data on 21, a second register 203 that latches the contents of the first register 202, and these 16
A barrel shifter 204 that shifts bit data from 0 to 15 bits and outputs the lower 8 bits, and a third register 2 that latches the output of this barrel shifter 204 and the data on the local data bus 121.
08, and a mask selector 206 that selects the result of the logical operation and the contents of the third register 208 in bit units.
and a fourth register 207 that latches the output of the mask selector 206 and is connected to the local data bus 121;
It consists of a fifth bidirectional register 201 that interfaces with the data bus 2. The fifth bidirectional register 201 receives a 1-bit data input/output signal 2
The 8-bit “00000000” is created by the function of latching 1 and the 1-bit data “0” and “1”.
or “11111111” and controls sending it to the local data bus 121; and a function to latch 1 bit of the 8-bit data on the local data bus 121.
It consists of a function to control the sending of the 1-bit data to the data input/output signal 21, and this can be easily configured using two D-type flip-flops, one 8-to-1 selector, and nine 3-stator buffers. can do. By the way, control signal bus 4
1 is the read/write signal 1 of the image memory 1 mentioned above.
A 1-bit signal that takes in 1-bit data of the data input/output signal 21 to the fifth bidirectional register 201, a 1-bit signal that expands the taken data and controls sending it to the local data bus 121, and The first signal consists of 3-bit data that determines which 1 bit of the 8-bit data is selected, the selected 1 bit, and a 1-bit signal that controls sending of the 1-bit data to the data input/output signal 21. Five bidirectional registers 201, a total of seven
A bit control signal 213, a latch signal 210 of the first register, a latch signal 211 of the second register, a 4-bit control signal 212 that controls the number of shifts of the barrel shifter 204, and a function (TTL) of the arithmetic unit 205. I C
A 4-bit control signal 214 that determines the logical operation mode of 74LS181) and a mask selector 206
An 8-bit control signal 215 that controls the selection of each input bit by bit, a latch signal 217 of the third register 208, a latch signal 1 bit of the fourth register 207, and the captured data. The control signal 216 for the fourth register 207 is composed of a 1-bit signal for controlling transmission to the local data bus 121 and has a total of 2 bits. These control signal buses 4
1, the data in the fifth bidirectional register 201 of the control signal 213 is transferred to the local data bus 1.
21, a signal to select 1 bit from 8 bits on the local data bus 121, a signal to take that signal into the fifth bidirectional register 201, and a latch signal 210, 21.
1, 217 and control signals 212, 214, 21
5, 216 are each arithmetic unit 111, 112,...,
11N in common. Also, a signal that takes in the data input/output signal 21 of the control signal 213 from the control signal bus 41 into the fifth bidirectional register 201 and a signal that sends out the contents of the fifth bidirectional register 201 to the data input/output signal 21. When the number of image memories N is 8 or less, the control signals are the signals for each arithmetic unit 111, 112,..., like other control lines.
11N in common. If N exceeds 8, then for every 8 these two signals are (N-1/8+
Divide into the largest integer not exceeding 1. That is, the control device 5 is the arithmetic device 111, 112,
...When accessing the fifth bidirectional register of 11N, since data bus 2 is 8 bits,
These control signals are divided to access five fifth bidirectional register units. For the sake of simplicity, the following description will be made assuming that N is 8 or less.

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

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

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

まず、画像メモリのある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. The address selection signal 42 is set on the address bus 3 side. Next, a 3-bit signal for selecting 1 bit from the 8-bit data of the control signal 213 is used.
The pixel to be read out is set as the number of the eight read pixels, and a latch signal for taking in the data from the local data bus 121 of the control signal 213 is provided. At the same time, by sending the control signal 213 to the data input/output signal 21,
The target pixel information taken into the fifth bidirectional register 201 is sent to the data bus 2.

次に、Nビツトの画素情報を画像メモリ上のあ
る点に書き込むには、まず、制御装置5が、デー
タバス2の上に書き込もうとする画素情報を送出
し、制御信号213によつて第五の双方向レジス
タ201に取り込む。取り込まれた1ビツトデー
タは、8ビツトのデータに伸長され同制御信号2
13によりローカルデータバス121に送出さ
れ、制御信号210により第一レジスタ202に
取り込む。そして、バレルシフタの4ビツトの制
御信号212をシフト数0として演算器205の
一方の入力が第一のレジスタ202と同じデータ
となるようにする。一方、制御回路5は、目的の
書き込む点の含まれる画像メモリ1のアドレスを
アドレスバス3に与え、アドレス選択信号42を
アドレスバス3側に設定し、画像メモリのデータ
がローカルデータバス121に送出された時点で
そのデータを第三のレジスタ208にラツチ信号
217により取り込む。この時、第五の双方向レ
ジスタ201のローカルデータバスへの出力と、
画像メモリの出力とが競合しないように、制御装
置5は、アドレス選択信号42、制御信号213
を制御する。また、制御装置5は、書き込む画素
情報と、現在画像メモリにある書き込もうとする
点の画素情報とをどの様な論理で演算するかを制
御信号214で与え、書き込もうとする点が、そ
の点を含む画像メモリのアドレスに対応する8画
素の何番目にある分かを、8ビツトの情報でマス
クセレクタ206の制御信号215に与える。例
えば、左から2番目に、書き込む画素があるとす
れば、制御信号215は、2進数“01000000”と
いう信号となる。さてマスクセレクタ206の出
力が確定した後、制御信号216により、マスク
セレクタ206の出力を第4のレジスタに取り込
み、ローカルデータバス121に取り込んだデー
タを送出する。制御装置5は、制御信号バス41
にリードライト信号をライトすることにより、書
き込もうとした点に、与えた画素情報と、書き込
まれる前にあつた画素情報との論理演算結果が書
き込まれる。この処理で制御信号215を適当に
変えることにより、最大8画素まで、同一画像情
報を書き込むことも可能である。
Next, in order to write N-bit 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 bidirectional register 201 of. The captured 1-bit data is expanded to 8-bit data and sent to the same control signal 2.
13 to the local data bus 121, and is 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. 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 in time, the data is taken into the third register 208 by the latch signal 217. At this time, the output of the fifth bidirectional register 201 to the local data bus,
In order to avoid conflict with the output of the image memory, the control device 5 controls the address selection signal 42 and the control signal 213.
control. 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 control signal 216 causes the output of the mask selector 206 to be taken into the fourth register, and the taken data is sent to the local data bus 121. The control device 5 has a control signal bus 41
By writing a read/write signal to the write point, the logical operation result of the given pixel information and the pixel information that existed before writing is written to the point to be written. By appropriately changing the control signal 215 in this process, it is also 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 spanning two words, so the address with one word on the left side on 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側に設定する。ソースアドレスに
対応した画像メモリのデータがローカルデータバ
ス121に送出された所で、ラツチ信号210に
より第1のレジスタ202に、画像データを取り
込む。これと同時に、制御装置5は、アドレスバ
ス3に、ソースアドレスに1を加えた(画面上で
(右側の)アドレスを送出する。
The control device 5 first sends the source address to the address bus 3 and sets the address selection signal 42 on the address bus 3 side. When the data in the image memory corresponding to the source address is sent to the local data bus 121, the image data is taken into the first register 202 by the latch signal 210. At the same time, the control device 5 sends the source address plus 1 (on the right side on the screen) to the address bus 3.

ソースアドレスに1を加えたアドレスの画像メ
モリのデータが、ローカルデータバス121に送
出された所でラツチ信号211とラツチ信号21
0により、第一のレジスタ202の内容を、第二
のレジスタ203にラツチすると同時にローカル
データバス121上のデータを、第一のレジスタ
202に取り込む。次に、制御装置5は、制御信
号212に、転送される8画素の一番左の画素
が、ソースアドレスの8画素の左から何番目にあ
るかを二進数が表わした値を4ビツトの信号とし
て与える。また、制御信号214には、どのよう
な論理演算を行なうかを設定する。次に、制御装
置5は、アドレスバス3にデステイネイシヨンア
ドレスを与え、ローカルデータバス121に画像
メモリのデータが送出された所で、制御信号21
7により第三のレジスタ208に取り込む。制御
信号215を全て“1”にし、演算器205の出
力をすべてマスクセレクタ206の出力とするよ
うに設定し、バレルシフタ204の出力と、第三
のレジスタ208の論理演算結果が、第四のレジ
スタ207の入力として確定した後、制御信号2
16により第四のレジスタに、マスクセレクタの
出力を取り込むと同時に、ローカルデータバスに
送出する。そして、制御信号バス41のリードラ
イト信号をライトにすることにより、画像メモリ
上のソースアドレスと、ソースアドレスに1を加
えたアドレスの連続する十六画素のうちの任意の
連続した八画素の画像データを、転送する前にデ
ステイネイシヨンアドレスに在つた8画素の画像
データと論理演算を施こした結果が、デステイネ
イシヨンアドレスに書き込まれる。この処理で、
マスクセレクタ206の制御信号215にマスク
情報を与えることにより、マスクのかかつた画像
の転送を行なうことができる。
When the data in the image memory at the source address plus 1 is sent to the local data bus 121, the latch signal 211 and the latch signal 21 are activated.
0 causes the contents of the first register 202 to be latched into the second register 203 and at the same time the data on the local data bus 121 is taken into the first register 202. Next, the control device 5 sends a 4-bit binary value to the control signal 212 indicating the position of the leftmost pixel of the 8 pixels to be transferred from the left of the 8 pixels of the source address. Give as a signal. 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, the control device 5 sends a control signal 21.
7 to the third register 208. All control signals 215 are set to "1", all outputs of the arithmetic unit 205 are set to be outputs of the mask selector 206, and the output of the barrel shifter 204 and the logical operation result of the third register 208 are stored in the fourth register. After being determined as the input of 207, the control signal 2
16, the output of the mask selector is taken into the fourth register and simultaneously sent to the local data bus. By setting the read/write signal of the control signal bus 41 to write, an image 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. Before the data is transferred, a logical operation is performed on the image data of 8 pixels located at the destination address, and the result is written to the destination address. With this process,
By providing mask information to the control signal 215 of the mask selector 206, a masked image can be transferred.

このように本実施例によれば、画面メモリごと
に、演算装置を備え、それらが全て並列に単一画
像メモリ1をアクセスすることによつて、第1図
の従来の方式に比べ画面メモリの数倍高速な処理
が行なえ、第2図に示した方式に比べ8倍高速と
なる。また、演算装置に転送先の画素情報を保持
する、第一と第二のレジスタ及び、それらを任意
のビツト数シフトするバレルシフタと、転送先の
画素情報を保持する第三のレジスタと、バレルシ
フタの出力と、第三のレジスタとの論理演算を行
なう演算器、演算器の出力と、第三のレジスタと
をビツト単位に選択できるマスクセレクタと、転
送する画素情報を保持する第四のレジスタを持つ
ことにより、画像メモリ内の画像の転送が著しく
高速となる。
As described above, according to this embodiment, each screen memory is provided with an arithmetic unit, and by accessing the single image memory 1 in parallel, the screen memory can be reduced compared to the conventional system shown in FIG. Processing can be performed several times faster, and is eight times faster than the method shown in FIG. In addition, there are first and second registers that hold the pixel information of the transfer destination in the arithmetic unit, a barrel shifter that shifts them by an arbitrary number of bits, a third register that holds the pixel information of the transfer destination, and a barrel shifter that holds the pixel information of the transfer destination. It has an arithmetic unit that performs a logical operation between the output and a third register, a mask selector that can select the output of the arithmetic unit and the third register in bit units, 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, it is possible to speed up the process of aligning the transfer source image data in one layer of image memory with the memory boundary of the transfer destination, which is the write destination, and furthermore, it is possible to speed up the process of aligning the transfer source image data in the image memory with the write destination memory boundary, and furthermore, it is possible to speed up the process of aligning the transfer source image data in the image memory with the write destination memory boundary. As a result, processing such as image data transfer to the entire image memory can be speeded up.

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

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

Claims (1)

【特許請求の範囲】 1 カラーの画像データを記憶する多層構造の画
像メモリと、この画像メモリをラスター方向に順
次読み出し、表示装置に送出する手段と、前記画
像メモリのアドレスを発生し、前記画像メモリの
読み出し、書き込みを制御する制御装置からなる
ものにおいて、 前記画像メモリと前記制御装置との間に、少な
くとも、前記画像メモリに記憶された複数画素で
構成される転送元の画像データを保持する直列に
接続された第一及び第二の画像データ保持手段
と、前記画像メモリ内の転送先の画像データを保
持する第三の画像データ保持手段と、前記第一及
び第二の保持手段から出力される画像データを合
わせて任意のビツト数シフトするシフト手段と、
前記シフト手段の出力及び前記第三の保持手段に
保持された画像データとの間で少なくとも排他的
論理和を含む論理演算を行う手段とからなる演算
装置を、前記画像メモリを構成する各層毎に設け
たことを特徴とする画像メモリのアクセス装置。 2 特許請求の範囲第1項記載の画像メモリのア
クセス装置において、前記直列に接続された第一
及び第二の保持手段のうち、前記第二の画像デー
タ保持手段は、前記第一の画像データ保持手段に
新たな画像データが保持されるとそれまで前記第
一の画像データ保持手段に保持されていた画像デ
ータを取り込み保持することを特徴とする画像メ
モリのアクセス装置。
[Scope of Claims] 1: an image memory having a multilayer structure for storing color image data; means for sequentially reading out this image memory in the raster direction and sending it to a display device; In a control device that controls reading and writing of a memory, at least transfer source image data composed of a plurality of pixels stored in the image memory is held between the image memory and the control device. first and second image data holding means connected in series; third image data holding means for holding destination image data in the image memory; and output from the first and second holding means. Shifting means for shifting the image data by an arbitrary number of bits;
An arithmetic device comprising means for performing a logical operation including at least an exclusive OR between the output of the shifting means and the image data held in the third holding means is provided for each layer constituting the image memory. An image memory access device characterized in that: 2. In the image memory access device according to claim 1, of the first and second holding means connected in series, the second image data holding means stores the first image data. An image memory access device characterized in that when new image data is held in the holding means, image data that has been held in the first image data holding means is fetched and held.
JP59030278A 1984-02-22 1984-02-22 Access unit for image memory Granted JPS60176094A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Related Child Applications (2)

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

Publications (2)

Publication Number Publication Date
JPS60176094A JPS60176094A (en) 1985-09-10
JPH0581914B2 true JPH0581914B2 (en) 1993-11-16

Family

ID=12299244

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPS60176094A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS623294A (en) * 1985-06-28 1987-01-09 日本電気株式会社 Bit map mover
JPS6275698A (en) * 1985-09-30 1987-04-07 日本電気株式会社 Controlling method for drawing character
JP2824744B2 (en) * 1995-01-30 1998-11-18 株式会社日立製作所 Image processing device, data processing device, and data processing system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5919993A (en) * 1982-07-27 1984-02-01 株式会社東芝 Character display circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5919993A (en) * 1982-07-27 1984-02-01 株式会社東芝 Character display circuit

Also Published As

Publication number Publication date
JPS60176094A (en) 1985-09-10

Similar Documents

Publication Publication Date Title
US5233690A (en) Video graphics display memory swizzle logic and expansion circuit and method
KR970011222B1 (en) Method and apparatus for arranging access of vram to provide accelerated writing of vertical lines to an output display
US5446482A (en) Flexible graphics interface device switch selectable big and little endian modes, systems and methods
JPH04211847A (en) Processing system for supporting block writing function
US5859646A (en) Graphic drawing processing device and graphic drawing processing system using thereof
JPS62172388A (en) Display system
US5309173A (en) Frame buffer, systems and methods
US5422657A (en) Graphics memory architecture for multimode display system
KR950704741A (en) FRAME BUFFER SYSTEM DESIGNED FOR WINDOWING OPERATIONS Designed for Windowing Operation
US4888582A (en) Apparatus for storing multi-bit pixel data
JPH08286659A (en) Method and system for updating of graphic memory in graphic display system
US4924432A (en) Display information processing apparatus
JPH0581914B2 (en)
KR900002327B1 (en) Color image display device
JP2845384B2 (en) Image processing device
US5486844A (en) Method and apparatus for superimposing displayed images
JPH0648437B2 (en) Image memory access device and color image display device using the same
JPH0569434B2 (en)
KR0152436B1 (en) Video graphics display memory swizzle logic circuit and method
JPS6398693A (en) Digital display system
JP3002951B2 (en) Image data storage controller
JPH03130988A (en) Semiconductor storage device
JPS6037930B2 (en) information storage device
JPH0758431B2 (en) Address line and data line connection system
JPS5855976A (en) Display unit

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term