JPH0727558B2 - Image memory device - Google Patents

Image memory device

Info

Publication number
JPH0727558B2
JPH0727558B2 JP62268606A JP26860687A JPH0727558B2 JP H0727558 B2 JPH0727558 B2 JP H0727558B2 JP 62268606 A JP62268606 A JP 62268606A JP 26860687 A JP26860687 A JP 26860687A JP H0727558 B2 JPH0727558 B2 JP H0727558B2
Authority
JP
Japan
Prior art keywords
address
screen
random access
data
memory device
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
JP62268606A
Other languages
Japanese (ja)
Other versions
JPH01111278A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP62268606A priority Critical patent/JPH0727558B2/en
Publication of JPH01111278A publication Critical patent/JPH01111278A/en
Publication of JPH0727558B2 publication Critical patent/JPH0727558B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Memory System (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、コンピュータグラフィックス、画像処理にお
いて画素のビット単位で高速にランダムアクセスを可能
にした画像メモリ装置に関するものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image memory device capable of high-speed random access in pixel units in computer graphics and image processing.

従来の技術 従来の画像メモリ装置は第3図のような構成になってい
る。11は中央処理装置(以下CPUと記す)からのアドレ
スと、ディスプレイアドレスをインターリーブに切換え
る選択器、12,13,14は画像の各画素を構成するビットに
対応するメモリ素子で、n個で構成されているCPUアド
レスがメモリに供給された場合に、CPUがメモリ素子と
データの読み書きを行ない、ディスプレイアドレスが供
給されたときは、メモリ素子から出力されるデータをモ
ニタ等に出力する。
2. Description of the Related Art A conventional image memory device has a structure as shown in FIG. Reference numeral 11 is a selector for switching the address from the central processing unit (hereinafter referred to as CPU) and display address to interleave, and 12, 13 and 14 are memory elements corresponding to the bits constituting each pixel of the image, and are composed of n elements. When the CPU address stored therein is supplied to the memory, the CPU reads / writes data from / to the memory element, and when the display address is supplied, the data output from the memory element is output to a monitor or the like.

以上のように構成された従来の画像メモリ装置につい
て、以下その動作について説明する。
The operation of the conventional image memory device configured as described above will be described below.

第4図(a),(b),(c),(d)は、第3図の従
来例によるタイミングチャートである。11の選択器は、
第4図の選択器制御信号によって、CPUアドレスとディ
スプレイアドレスが交互にメモリ素子に供給される。こ
のとき、CPUアドレスは各メモリ素子に対して共通であ
り、しかも、CPUデータバスのビット配列と、各メモリ
素子のビット配列は固定である。又、ディスプレイアク
セス時に各メモリから出力されるデータラインのビット
配列も固定である。
FIGS. 4 (a), (b), (c) and (d) are timing charts according to the conventional example of FIG. 11 selectors
The CPU address and the display address are alternately supplied to the memory device by the selector control signal of FIG. At this time, the CPU address is common to each memory element, and moreover, the bit arrangement of the CPU data bus and the bit arrangement of each memory element are fixed. Further, the bit arrangement of the data lines output from each memory at the time of display access is also fixed.

発明が解決しようとする問題点 しかしながら上記のような構成では、1画素nビット構
成であっても、奥行き方向に画面分割した画像におい
て、分割画面のある特定の画面にCPUアクセスによって
書き込みたい場合、まずメモリ素子からデータを読み出
し、特定のビットのみを変更して再書き込みをしなくて
はならない。例えば、n=16として、奥行き方向に4分
割された画像において、ある特定の分割画面、例えば♯
1〜♯4のメモリ素子に対応する分割画面(CPUデータ
バスのMSBから4ビットと対応)に書き込みを行なう場
合、16ビット幅の画素データを読み出し、MSBから4ビ
ットに変換をかけ、再書き込みをしなくてはならなくデ
ータ処理時間が低速となる。
Problems to be Solved by the Invention However, in the above configuration, when it is desired to write to a specific screen having a split screen by CPU access in an image divided in the depth direction even with a 1-pixel n-bit configuration, First, data must be read from the memory device, and only a specific bit must be changed and rewritten. For example, when n = 16, in an image divided into four in the depth direction, a specific divided screen, for example, #
When writing to a divided screen (corresponding to 4 bits from MSB of CPU data bus) corresponding to the memory elements 1 to # 4, pixel data of 16-bit width is read, converted from MSB to 4 bits, and rewritten. Data processing time becomes slow.

本発明の目的は、上記従来の問題点を解消するもので、
1画素当りのビット数(n)に対応するn個のメモリ素
子から構成される画像メモリを奥行き方向に画面分割を
行ない、各分割画面単位でランダムアクセス可能な画像
メモリ装置を提供することを目的とする。
An object of the present invention is to eliminate the above-mentioned conventional problems,
An object of the present invention is to provide an image memory device in which an image memory composed of n memory elements corresponding to the number of bits per pixel (n) is divided into screens in the depth direction and which can be randomly accessed in each divided screen. And

問題点を解決するための手段 本発明は一画素当りのビット数(n)に対応するn個の
メモリ素子と、中央処理ユニットからのランダムアクセ
スのアドレスと画面の奥行き方向の分割、及び分割画面
のアドレス指定をする分割画面指定信号とを入力とし、
上記各メモリ素子のランダムアクセスアドレスとなるn
個のアドレス演算器と、上記ランダムアクセスアドレス
とディスプレイアドレスを選択して前記メモリ素子に供
給するn個の選択器と、中央処理装置からのランダムア
クセス時のデータ変換を上記分割画面指定信号により行
なう第1のデータ変換器とディスプレイアクセス時のメ
モリ素子出力のデータ変換を行なう第2のデータ変換器
とを具備した画像メモリ装置であり、2の指数倍の奥行
き方向の画面分割において、各分割単位でランダムアク
セス可能にしたものである。
Means for Solving the Problems According to the present invention, n memory elements corresponding to the number of bits per pixel (n), addresses of random access from a central processing unit and division of a screen in the depth direction, and divided screens are provided. Input the split screen designating signal and
N which is a random access address of each memory element
Address calculators, n selectors for selecting the random access address and the display address and supplying them to the memory element, and data conversion at the time of random access from the central processing unit is performed by the split screen designating signal. An image memory device comprising a first data converter and a second data converter for performing data conversion of a memory element output at the time of display access, wherein each division unit is used in a screen division in an exponential multiple of 2 in a depth direction. It enables random access.

作用 上記構成により、奥行き方向に2の指数倍に分割した特
定の分割画面のみをランダムアクセスで読み書きするこ
とができ、そのため、複数枚の分割画像を連続的にアク
セスすることが可能となり、特定の分割画面にダイレク
トメモリアクセス (DMA)転送も容易に実現できる。
Operation With the above configuration, it is possible to read and write only a specific divided screen divided into an exponential multiple of 2 in the depth direction by random access. Therefore, it is possible to continuously access a plurality of divided images, and Direct memory access (DMA) transfers to split screens can be easily realized.

実施例 第1図は本発明の画像メモリ装置の一実施例を示すブロ
ック図である。31,32,33はCPUアドレスを分割画面数、
及び特定の分割画面をアクセスするためのアドレスを算
出するアドレス演算器、34,35,36はディスプレイアドレ
スとアドレス演算後のCPUアドレスを切替える選択器、3
7,38,39は画素のビット数に対応するメモリ素子、40はC
PUアクセスした場合のCPUデータバスとメモリ素子のメ
モリデータバスとのビット配列を変換する第1のデータ
変換器(1)、41はメモリ素子から出力されメモリデー
タバス上のディスプレイデータをディスプレイに送出す
る際のビット配列を変更する第2のデータ変換器であ
る。
Embodiment FIG. 1 is a block diagram showing an embodiment of the image memory device of the present invention. 31,32,33 is the number of divided screen CPU address,
And an address calculator that calculates an address for accessing a specific split screen, 34, 35, 36 are selectors that switch between the display address and the CPU address after the address calculation, 3
7,38,39 are memory elements corresponding to the number of bits of pixels, 40 is C
The first data converter (1) 41 for converting the bit arrangement between the CPU data bus and the memory data bus of the memory device in the case of PU access sends 41 the display data output from the memory device to the display. It is the 2nd data converter which changes the bit arrangement at the time of doing.

以上のように構成された本実施例の画像メモリ装置につ
いて、第2図の分割画面にもとづいて動作を説明する。
第1図において、n=8とし、CPUデータバス幅=8と
する。又、1画素8ビットで構成される画像を2分割
し、分割画面1,2を各4ビットの分割画素で成立ってい
るとする。
The operation of the image memory device of the present embodiment configured as described above will be described based on the split screen of FIG.
In FIG. 1, n = 8 and CPU data bus width = 8. Further, it is assumed that an image composed of 8 bits for one pixel is divided into two, and the divided screens 1 and 2 are formed by divided pixels of 4 bits each.

ディスプレイアドレスは0,1,2,……とカウントアップさ
れ、1画面出力を終了すると再び0から繰り返す。この
ディスプレイアドレスは♯1〜♯8までの選択器34,35,
36によってディスプレイサイクル期間にメモリ素子37,3
8,39のアドレスとして供給される。一方、CPUアドレス
は、♯1〜♯8までの演算器31,32,33によって、分割画
面数と、分割画面1,2の指定をする分割画面指定信号に
応じて各メモリ素子37,38,39に供給するアドレス演算を
実行する。ここで分割画面1をアクセスする場合、CPU
アドレスが“0"ならば、♯1〜♯4までのアドレス演算
器出力は“0",♯5〜♯8のアドレス演算器出力は“1"
である。逆に、分割画面2をアクセスする場合、CPUア
ドレスが“0"ならば、♯1〜♯4までのアドレス演算器
出力は“1"で♯5〜♯8までのアドレス演算器出力は
“0"である。
The display address is counted up as 0, 1, 2, ..., and when one screen output is completed, it is repeated from 0 again. This display address is selectors 34, 35 from # 1 to # 8,
36 by the memory element 37,3
Supplied as 8,39 addresses. On the other hand, the CPU address is determined by the arithmetic units 31, 32 and 33 of # 1 to # 8 in accordance with the number of divided screens and the divided screen designating signals for designating the divided screens 1 and 2 respectively. Executes the address operation supplied to 39. When accessing split screen 1 here, the CPU
If the address is "0", the address calculator output from # 1 to # 4 is "0", and the address calculator output from # 5 to # 8 is "1"
Is. Conversely, when accessing the split screen 2, if the CPU address is "0", the address calculator output from # 1 to # 4 is "1" and the address calculator output from # 5 to # 8 is "0". "Is.

又、分割画面1をアクセスする場合には、第1のデータ
変換器(1)40はCPUデータバスのMSB(D7)が♯1のメ
モリ素子37のデータライン(M7)に接続され、以下D6が
♯2メモリ素子38のデータライン(M6)と順番にD0が♯
8のメモリ素子39のデータライン(M0)に接続されるよ
うに変換する。逆に分割画面2をアクセスする場合に
は、D7M3,D6M2,……D4M0,D3M7,……D0M4と接
続される。CPUアドレスが“1"で、分割画面1をアクセ
スする場合、♯1〜♯4のアドレス演算器出力は“2",
♯5〜♯8のアドレス演算器出力は“3",分割画面2を
アクセスする場合には、その逆となる。
When accessing the split screen 1, the MSB (D7) of the CPU data bus of the first data converter (1) 40 is connected to the data line (M7) of the memory element 37 of # 1. Is # 2 and the data line (M6) of the memory element 38 is in sequence, and D0 is #
8 memory device 39 is converted to be connected to the data line (M0). On the contrary, when the split screen 2 is accessed, it is connected to D7M3, D6M2, ... D4M0, D3M7, ... D0M4. When the split screen 1 is accessed when the CPU address is "1", the address calculator outputs of # 1 to # 4 are "2",
The output of the address calculators of # 5 to # 8 is "3", and vice versa when the divided screen 2 is accessed.

即ち、♯1〜♯4のアドレス演算器は分割画面1をアク
セスする場合には、CPUアドレスの2倍のアドレスを出
力,分割画面2をアクセスする場合にはCPUアドレスの
2倍に1を加算したアドレスを出力する。♯5〜♯8の
アドレス演算器はその逆の出力をする。
That is, the address calculators # 1 to # 4 output the address twice the CPU address when accessing the divided screen 1, and add 1 to the twice the CPU address when accessing the divided screen 2. Output the address. The address calculators # 5 to # 8 output the opposite.

一方、第2のデータ変換器(2)41では、ディスプレイ
アドレスが“0"の場合の♯1〜♯8のメモリ素子37,38,
39のデータ出力は各データライン、M7〜M0は、ディスプ
レイデータバスのデータラインQ7〜Q0との接続におい
て、Mm=Qm(m=0〜7)となり、ディスプレイアドレ
スが“1"の場合には、Mm=Qm+4(m=0〜3),Mm+4
Qm(m=0〜3)と接続される。即ち、ディスプレイア
ドレスが偶数の場合は、 Mm=Qm(m=0〜7) ディスプレイアドレスが奇数の場合は、 M4=Qm+4(m=0〜3), Mm+4=Qm(m=0〜3) と接続される。
On the other hand, in the second data converter (2) 41, when the display address is “0”, the memory elements 37, 38, # 1 to # 8,
The data output of 39 is each data line, and M 7 to M 0 are M m = Q m (m = 0 to 7) in connection with the data lines Q 7 to Q 0 of the display data bus, and the display address is “ In the case of 1 ", M m = Q m + 4 (m = 0 to 3), M m + 4 =
It is connected to Q m (m = 0 to 3). That is, when the display address is an even number, M m = Q m (m = 0 to 7), and when the display address is an odd number, M 4 = Q m + 4 (m = 0 to 3), M m + 4 = It is connected to Q m (m = 0 to 3).

分割画面数を2としたが、2の指数倍、即ち、8分割,4
分割,2分割,1分割のそれぞれでアドレス変換器31,32,33
でのCPUアドレスの変換,及び第1,第2のデータ変換器4
0,41の動作も容易である。
The number of split screens is 2, but it is an exponential multiple of 2, that is, 8 splits, 4
Address converter 31, 32, 33 for each of division, 2 divisions, and 1 division
CPU address conversion and first and second data converter 4
The operation of 0,41 is also easy.

以上のように本実施例によれば、一画素当りのビット数
に対応する個数のメモリ素子と、各メモリ素子のランダ
ムアクセスアドレスを演算するアドレス演算器と、ラン
ダムアクセスアドレスとディスプレイアドレスを交互に
各メモリ素子に供給する選択器と、ランダムアクセス時
のデータ変換を行なう第1のデータ変換器と、ディスプ
レイデータのデータ変換を行なう第2のデータ変換器を
設けることにより、奥行き方向に分割した画面を高速に
ランダムアクセスすることができる。
As described above, according to the present embodiment, the number of memory elements corresponding to the number of bits per pixel, the address calculator for calculating the random access address of each memory element, and the random access address and the display address are alternated. A screen divided in the depth direction by providing a selector for supplying each memory element, a first data converter for performing data conversion at random access, and a second data converter for performing data conversion of display data. Can be randomly accessed at high speed.

発明の効果 本発明は、一画素当りのビット数に対応する個数のメモ
リ素子と、各メモリ素子のランダムアクセス時のアドレ
ス演算を実行するアドレス演算器と、ランダムアクセス
時のデータ変換を行なう第1のデータ変換器と、ディス
プレイアクセス時のデータ出力を変換する第2のデータ
変換器を設けることにより、奥行き方向に2の指数倍に
分割した特定の分割画面のみをランダムアクセスで読み
書きするることがけい、そのため、複数枚の分割画像を
連続的にアクセスすることが可能となり、特定の分割画
面にダイレクトメモリアクセス(DMA)転送も容易に実
現できる画像メモリ装置である。
According to the present invention, the number of memory elements corresponding to the number of bits per pixel, an address arithmetic unit for performing an address operation at the time of random access of each memory element, and a data conversion at the time of random access are provided. By providing the data converter of No. 2 and the second data converter for converting the data output at the time of display access, it is possible to read and write only a specific split screen divided into exponential multiples of 2 in the depth direction by random access. Therefore, this is an image memory device that enables continuous access to a plurality of divided images and can easily realize direct memory access (DMA) transfer to a specific divided screen.

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

第1図は本発明の実施例を示すブロック図、第2図は第
1図の分割画面とメモリ素子の対応図、第3図は従来の
画像メモリ装置のブロック図、第4図は第3図のタイン
グチャートである。 11……選択器、12,13,14……メモリ素子、31,32,33……
アドレス演算器、34,35,36……選択器、37,38,39……メ
モリ素子、40……第1のデータ変換器、41……第2のデ
ータ変換器。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a correspondence diagram of the split screen of FIG. 1 and a memory element, FIG. 3 is a block diagram of a conventional image memory device, and FIG. It is a towing chart of a figure. 11 …… Selector, 12,13,14 …… Memory element, 31,32,33 ……
Address calculator, 34, 35, 36 ... Selector, 37, 38, 39 ... Memory element, 40 ... First data converter, 41 ... Second data converter.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】一画素当りのビット数(n)に対応するn
個のメモリ素子と、中央処理ユニットからのランダムア
クセスのアドレスと画面の奥行き方向の分割、及び分割
画面のアドレス指定をする分割画面指定信号とを入力と
し、上記各メモリ素子のランダムアクセスアドレスとな
るn個のアドレス演算器と、上記ランダムアクセスアド
レスとディスプレイアドレスを選択して前記メモリ素子
に供給するn個の選択器と、中央処理ユニットからのラ
ンダムアクセス時のデータ変換を上記分割画面指定信号
により行なう第1のデータ変換器とディスプレイアクセ
ス時のメモリ素子出力のデータ変換を行なう第2のデー
タ変換器とを具備し、2の指数倍の奥行き方向の画面分
割を行ない、各分割画面単位でランダムアクセス可能に
したことを特徴とする画像メモリ装置。
1. n corresponding to the number of bits per pixel (n)
Each memory element, a random access address from the central processing unit, a division in the depth direction of the screen, and a split screen designating signal for designating the address of the split screen are input, and become the random access address of each memory element. n address calculators, n selectors for selecting the random access address and the display address and supplying them to the memory device, and data conversion at the time of random access from the central processing unit by the split screen designating signal. It comprises a first data converter for performing and a second data converter for performing data conversion of a memory element output at the time of display access, performs screen division in the depth direction by an exponential multiple of 2, and randomizes in each divided screen unit. An image memory device characterized by being accessible.
JP62268606A 1987-10-23 1987-10-23 Image memory device Expired - Lifetime JPH0727558B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62268606A JPH0727558B2 (en) 1987-10-23 1987-10-23 Image memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62268606A JPH0727558B2 (en) 1987-10-23 1987-10-23 Image memory device

Publications (2)

Publication Number Publication Date
JPH01111278A JPH01111278A (en) 1989-04-27
JPH0727558B2 true JPH0727558B2 (en) 1995-03-29

Family

ID=17460872

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62268606A Expired - Lifetime JPH0727558B2 (en) 1987-10-23 1987-10-23 Image memory device

Country Status (1)

Country Link
JP (1) JPH0727558B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0522178B1 (en) * 1991-01-23 2000-06-14 Seiko Epson Corporation Data store and image processing system comprising said data store

Also Published As

Publication number Publication date
JPH01111278A (en) 1989-04-27

Similar Documents

Publication Publication Date Title
JP3309253B2 (en) Apparatus for writing to and reading from a multi-bank frame buffer random access port and method for increasing the speed of writing pixels to a multi-bank frame buffer
WO1981003234A1 (en) Apparatus for the display and storage of television picture information by using a memory accessible from a computer
JPH0727558B2 (en) Image memory device
JPS6252874B2 (en)
JP2920919B2 (en) Interface device
JP2548286B2 (en) Image data processor
JP2510219B2 (en) Image processing device
JPH01154285A (en) Image memory device
JPS6218595A (en) Display unit
JP2641932B2 (en) Frame memory access method
JP3671744B2 (en) Image composition display device
JPH06274132A (en) Liquid crystal display device
KR950005801B1 (en) Circuit transmitting image data in graphic system
JPH0734225B2 (en) Image processing device
JPH0340072A (en) Memory device having address control function
JPH0581914B2 (en)
JPS61188583A (en) Access unit for frame memory
JPS6030037B2 (en) Memory addressing method
JPS6330985A (en) Straight line drawing system
JPH07193679A (en) Plural line simultaneous drive liquid crystal display device
JPS6146979A (en) Crt display unit
JPS59191184A (en) Memory device
JPS5926968B2 (en) Display device control method
JPS617878A (en) Access unit for video ram
JPH0520177A (en) Frame memory