[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JP5191193B2 - Image display drive device - Google Patents

Image display drive device Download PDF

Info

Publication number
JP5191193B2
JP5191193B2 JP2007229874A JP2007229874A JP5191193B2 JP 5191193 B2 JP5191193 B2 JP 5191193B2 JP 2007229874 A JP2007229874 A JP 2007229874A JP 2007229874 A JP2007229874 A JP 2007229874A JP 5191193 B2 JP5191193 B2 JP 5191193B2
Authority
JP
Japan
Prior art keywords
data
address
sdram
image data
transfer request
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.)
Active
Application number
JP2007229874A
Other languages
Japanese (ja)
Other versions
JP2009063699A (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.)
Japan Radio Co Ltd
Original Assignee
Japan Radio 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 Japan Radio Co Ltd filed Critical Japan Radio Co Ltd
Priority to JP2007229874A priority Critical patent/JP5191193B2/en
Publication of JP2009063699A publication Critical patent/JP2009063699A/en
Application granted granted Critical
Publication of JP5191193B2 publication Critical patent/JP5191193B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Description

本発明は、記憶装置に記憶されている画像データのうちの一部のデータ転送要求があったときに、当該データ転送要求にかかる画像データを記憶装置から読み出して表示装置に出力して表示させる画像表示駆動装置及び画像表示システムに関する。   According to the present invention, when there is a data transfer request for a part of image data stored in a storage device, the image data relating to the data transfer request is read from the storage device and output to a display device for display. The present invention relates to an image display driving device and an image display system.

船舶に搭載されるレーダ表示装置においては、自船舶を中心とした所定範囲の海域の海図を示す画像が表示される。この画像の表示はSDRAMなどの記憶装置に広い範囲の海域の画像の画像データ(以下では、当該画像の範囲を「画像データエリア」という)を格納しておき、その画像データの一部、すなわち、当該画像中の自船舶を中心とした所定範囲の部分の画像(以下では、当該画像の範囲を「表示エリア」という)のみを指定して読み出し、ラインバッファに一時保存して、液晶ディスプレイなどの表示装置に表示させるようにしている。この場合、船舶は海上を刻々と移動しているため、画像データエリア中のどの範囲の表示エリアを表示するかも刻々と変化する。   In a radar display device mounted on a ship, an image showing a chart of a predetermined range of sea area around the ship is displayed. This image is displayed by storing image data of a wide range of sea area images (hereinafter referred to as “image data area”) in a storage device such as an SDRAM, and a part of the image data, that is, , Specify and read only the image of the predetermined range centered on the ship in the image (hereinafter, the range of the image is referred to as “display area”), temporarily store it in the line buffer, liquid crystal display, etc. Is displayed on the display device. In this case, since the ship is moving on the sea, the display area of which range in the image data area is changed every moment.

図6は、レーダ表示装置に搭載される表示システム101の構成例を示すブロック図である。この表示システム101は、画像を表示する液晶ディスプレイ(LCD)2と、LCD2を制御する液晶駆動装置(LCDC)3と、LCD2に表示する画像データを格納した記憶装置であるSDRAM4と、SDRAM4を制御するメモリコントローラ5と、LCDC3とSDRAM4とを接続する内部バス6と、各部を集中的に制御するCPU7とを備えている。SDRAM4には、広い範囲の海域の画像の画像データが格納されており、その画像データの画像データエリアの範囲内でCPU7が表示エリアを指定して画像データを読み出して、LCD2に表示させる。   FIG. 6 is a block diagram illustrating a configuration example of the display system 101 mounted on the radar display device. The display system 101 controls a liquid crystal display (LCD) 2 that displays an image, a liquid crystal drive (LCDC) 3 that controls the LCD 2, an SDRAM 4 that is a storage device that stores image data to be displayed on the LCD 2, and the SDRAM 4. A memory controller 5, an internal bus 6 for connecting the LCDC 3 and the SDRAM 4, and a CPU 7 for centrally controlling each unit. The SDRAM 4 stores image data of an image of a wide range of sea areas. The CPU 7 designates a display area within the range of the image data area of the image data, reads the image data, and displays it on the LCD 2.

すなわち、LCDC3は、CPU7から先頭のピクセルを指定してデータ転送要求があったときは、当該データ転送要求からアドレス発生回路11でSDRAM4の画像データの読み出し範囲を指定するアドレスを生成して、メモリコントローラ5を介してSDRAM4から必要な画像データを読み出す。この画像データは内部バス6を介してラインバッファ12にバースト転送され、ラインバッファ12からLCD2に出力される。   That is, when there is a data transfer request from the CPU 7 by designating the first pixel, the LCDC 3 generates an address designating the read range of the SDRAM 4 image data by the address generation circuit 11 from the data transfer request. Necessary image data is read from the SDRAM 4 via the controller 5. The image data is burst transferred to the line buffer 12 via the internal bus 6 and output from the line buffer 12 to the LCD 2.

ところで、表示システム101において、SDRAM4から必要な表示エリアの画像データをバースト転送によりラインバッファに読み出す際には、所定のバースト長ごとにデータを読み出すことになる。例えば、バースト長が8の場合に、SDRAM4から読み出すデータアドレスが、0,1,2,3,4,5,6,7,…であるときは、SDRAMバースト長の先頭アドレスと読み出しデータアドレスの先頭アドレスとが一致している。すなわち、バースト長の先頭アドレスは、0,8,16,…となるからである。この場合は、データアドレス0〜7、データアドレス8〜15、…のようにバースト長ごとにデータが読み出される。   By the way, in the display system 101, when image data of a necessary display area is read from the SDRAM 4 to the line buffer by burst transfer, the data is read for each predetermined burst length. For example, when the burst length is 8 and the data address read from the SDRAM 4 is 0, 1, 2, 3, 4, 5, 6, 7,..., The start address of the SDRAM burst length and the read data address The start address matches. That is, the start address of the burst length is 0, 8, 16,. In this case, data is read for each burst length such as data addresses 0 to 7, data addresses 8 to 15, and so on.

しかしながら、例えば、CPU7からのデータ転送要求による先頭ピクセルの設定がSDRAM4のデータアドレスの3〜10であったときは、アドレス発生回路11からの内部バス6に出力される転送要求のアドレスは3〜10となり、バースト長の先頭アドレスと読み出しデータアドレスの先頭アドレスとは一致していない。この場合は、最初のバースト長分のデータ読み出しでメモリコントローラ5から出力されるSDRAM4から読み出すデータアドレスは、最初に3,4,5,6,7,0,1,2となり、データアドレス0,1,2の分は周回することになり、不要なアクセスサイクルとなる。また、データアドレス8,9,10,11,12,13,14,15にもアクセスされ、11〜15も不要なアクセスサイクルになる。アドレス発生回路11からの次のデータ転送要求もSDRAM4のデータアドレスの11〜18となり、同様に、メモリコントローラ5から出力されるSDRAM4から読み出すデータアドレスは、最初に11,12,13,14,15,8,9,10となり、データアドレス8,9,10の分は周回することになり、不要なアクセスサイクルとなる。また、データアドレス16,17,18,19,20,21,22,23にもアクセスされ、19〜23は不要なアクセスとなる。   However, for example, when the head pixel setting by the data transfer request from the CPU 7 is 3 to 10 of the data address of the SDRAM 4, the address of the transfer request output from the address generation circuit 11 to the internal bus 6 is 3 to 3. Thus, the burst length start address does not match the read data address start address. In this case, the data addresses read from the SDRAM 4 output from the memory controller 5 in the data read for the first burst length are initially 3, 4, 5, 6, 7, 0, 1, 2, and the data addresses 0, 1 and 2 are circulated, resulting in an unnecessary access cycle. Data addresses 8, 9, 10, 11, 12, 13, 14, and 15 are also accessed, and 11 to 15 are unnecessary access cycles. The next data transfer request from the address generation circuit 11 also becomes the data address 11 to 18 of the SDRAM 4. Similarly, the data address read from the SDRAM 4 output from the memory controller 5 is first 11, 12, 13, 14, 15. , 8, 9, 10 and the data addresses 8, 9, 10 are circulated, resulting in an unnecessary access cycle. Data addresses 16, 17, 18, 19, 20, 21, 22, 23 are also accessed, and 19 to 23 are unnecessary accesses.

図7は、この場合の内部バス6の動作と、SDRAM4へのアクセスとを経時的に説明する説明図である。符号(111)の「3‐10」とあるのは、アドレス発生回路11が発生し、内部バス6へ出力するSDRAM4のアドレス3〜10へのデータ転送要求を意味し、符号(112)の「3‐7‐0」とあるのは、メモリコントローラ5が発生するSDRAM4のデータアドレスの3,4,5,6,7,0,1,2(データアドレス0,1,2の分は周回)にアクセスすることを意味し、符号(113)の「8‐15」とあるのは、メモリコントローラ5が発生するSDRAM4のデータアドレスの8,9,10,11,12,13,14,15にアクセスすることを意味し、符号(114)の「3‐10」とあるのは、SDRAM4のデータアドレス3〜10のデータがメモリコントローラ5より内部バス6を介してLCDC3へ転送されることを意味している。   FIG. 7 is an explanatory diagram for explaining the operation of the internal bus 6 and the access to the SDRAM 4 over time in this case. “3-10” of the code (111) means a data transfer request generated by the address generation circuit 11 and outputted to the internal bus 6 to the addresses 3 to 10 of the SDRAM 4, and “3-10” of the code (112). “3-7-0” means 3, 4, 5, 6, 7, 0, 1 and 2 of the data address of the SDRAM 4 generated by the memory controller 5 (the data addresses 0, 1 and 2 are circulated) The code (113) “8-15” indicates the data address 8, 9, 10, 11, 12, 13, 14, 15 of the SDRAM 4 generated by the memory controller 5. Means "3-10" of the code (114), the data of the data addresses 3 to 10 of the SDRAM 4 is transferred from the memory controller 5 to the LCDC 3 via the internal bus 6 Which means the door.

同様に、符号(115)の「11‐18」とあるのは、アドレス発生回路11が発生し、内部バス6へ出力するSDRAM4のアドレス11〜18へのデータ転送要求を意味し、符号(116)の「11‐15‐8」とあるのは、メモリコントローラ5が発生するSDRAM4のデータアドレスの11,12,13,14,15,8,9,10(データアドレス8,9,10の分は周回)にアクセスすることを意味し、符号(117)の「16‐23」とあるのは、メモリコントローラ5が発生するSDRAM4のデータアドレスの16,17,18,19,20,21,22,23にアクセスすることを意味し、符号(118)の「11‐18」とあるのは、SDRAM4のデータアドレス11〜18のデータがメモリコントローラ5より内部バス6を介してLCDC3へ転送されることを意味している。   Similarly, “11-18” in the code (115) means a data transfer request to the addresses 11 to 18 of the SDRAM 4 generated by the address generation circuit 11 and output to the internal bus 6. "11-15-8" of the data address 11, 12, 13, 14, 15, 8, 9, 10 (data addresses 8, 9, 10) of the SDRAM 4 generated by the memory controller 5 , “16-23” of the reference numeral (117) is the data address 16, 17, 18, 19, 20, 21, 22 of the SDRAM 4 generated by the memory controller 5. , 23, and “11-18” of reference numeral (118) indicates that the data at the data addresses 11 to 18 of the SDRAM 4 is received from the memory controller 5. It is meant to be transferred to LCDC3 through the section bus 6.

このように、SDRAMバースト長の先頭アドレスと読み出しデータアドレスの先頭アドレスとが一致しないときは、不要なデータアクセスサイクルが発生する。そして、画像データのような大きなデータを読み出す場合は、このような不要なデータサイクルによりデータ読み出し速度が低下し、当該データ読み出しにより内部バス6が占有されて、他の処理に悪影響を与える恐れがあるため、必然的に内部バス6の高速化が必要になり、そのため、内部バス6の消費電流が増加し、回路規模の増大を招いてしまうという不具合がある。また、このような不具合を生じないようにすると、バースト長の先頭アドレスと読み出しデータアドレスの先頭アドレスとを合致させざるを得ず、表示エリアの移動はバースト長の先頭アドレスごとにしか行なえなくなり、表示エリアの移動をきめ細かに行うことができないという不具合がある。   As described above, when the start address of the SDRAM burst length does not match the start address of the read data address, an unnecessary data access cycle occurs. When reading large data such as image data, the data reading speed is reduced by such an unnecessary data cycle, and the internal bus 6 is occupied by the data reading, which may adversely affect other processes. Therefore, it is necessary to increase the speed of the internal bus 6, and there is a problem that the current consumption of the internal bus 6 increases and the circuit scale increases. In order to prevent such a problem, the head address of the burst length and the head address of the read data address must be matched, and the display area can be moved only for each head address of the burst length. There is a problem that the display area cannot be moved finely.

次に、別の課題について説明する。まず、図6において、内部バス6のバス幅が32bit、画像データの1ピクセル(画素)のデータ量が8bitであるときには、内部バス6では4ピクセルごとに画像データの転送を行うことになる。   Next, another problem will be described. First, in FIG. 6, when the bus width of the internal bus 6 is 32 bits and the data amount of one pixel of the image data is 8 bits, the image data is transferred every 4 pixels on the internal bus 6.

この場合に、CPU7からデータ転送要求による先頭ピクセルの設定により、アドレス発生回路11で発生された表示エリアの先頭アドレスと、内部バス6のバス幅の先頭アドレスが合致する場合、例えば、データ転送をCPU7から要求された表示エリアの先頭アドレスが0の場合には、内部バス6の1回のデータ転送では、アドレス0〜3のデータが転送されることになる。すなわち、ビット0〜7でアドレス0のデータ、ビット8〜15でアドレス1のデータ、ビット16〜23でアドレス2のデータ、ビット24〜31でアドレス3のデータが転送される。   In this case, if the start address of the display area generated by the address generation circuit 11 matches the start address of the bus width of the internal bus 6 due to the setting of the start pixel by the data transfer request from the CPU 7, for example, data transfer is performed. When the head address of the display area requested by the CPU 7 is 0, data at addresses 0 to 3 is transferred in one data transfer of the internal bus 6. That is, the data of address 0 is transferred by bits 0 to 7, the data of address 1 is transferred by bits 8 to 15, the data of address 2 is transferred by bits 16 to 23, and the data of address 3 is transferred by bits 24 to 31.

これに対して、CPU7からデータ転送要求による先頭ピクセルの設定により、アドレス発生回路11で発生された表示エリアの先頭アドレスと、内部バス6のバス幅の先頭アドレスとが合致しない場合、例えば、データ転送をCPU7から要求された表示エリアの先頭アドレスが2の場合には、SDRAM4のデータ読み出しは開始位置が異なる。すなわち、この場合には、ビット16〜23でアドレス0のデータ、ビット24〜31でアドレス1のデータが転送され、ビット0〜7とビット8〜15とは何れも無効データとなる。   On the other hand, if the start address of the display area generated by the address generation circuit 11 does not match the start address of the bus width of the internal bus 6 due to the setting of the start pixel by the data transfer request from the CPU 7, for example, data When the start address of the display area requested by the CPU 7 is 2, the data read from the SDRAM 4 has a different start position. That is, in this case, the data of address 0 is transferred by bits 16 to 23 and the data of address 1 is transferred by bits 24 to 31, and both bits 0 to 7 and bits 8 to 15 become invalid data.

この場合には、無効データをLCD2に出力するわけにはいかず、さらに、無効データの転送によるバス転送効率劣化を防ぐため、CPU7からデータ転送を要求された表示エリアの先頭アドレスと、内部バス6のバス幅の先頭アドレスとを合致させるような処理が増加し、また、バス幅の先頭アドレスと読み出しデータアドレスの先頭アドレスとを合致させざるを得ず、表示エリアの移動はバス幅の先頭アドレスごとにしか行なえなくなり(上記の例では4ピクセルごと)、表示エリアの移動をきめ細かに行うことができないという不具合がある。   In this case, invalid data cannot be output to the LCD 2, and in order to prevent deterioration in bus transfer efficiency due to transfer of invalid data, the start address of the display area requested for data transfer from the CPU 7 and the internal bus 6 The number of processes that match the start address of the bus width increases, and the start address of the bus width must match the start address of the read data address. There is a problem that the display area cannot be finely moved because it can only be performed every time (in the above example, every 4 pixels).

さらに、別の課題について説明する。図8は、レーダ表示装置に搭載される画像表示システム121の構成例を示すブロック図である。この表示システム101において、図6と同一符号の回路要素等は図6と同様であるため、詳細な説明は省略する。   Further, another problem will be described. FIG. 8 is a block diagram illustrating a configuration example of the image display system 121 mounted on the radar display device. In this display system 101, circuit elements and the like having the same reference numerals as those in FIG. 6 are the same as those in FIG.

この画像表示システム121は、複数のレイヤを有する画像データをLCD2に表示する装置である。この例では、画像データはレイヤ0とレイヤ1の2つのレイヤを備えており、図9に示すように、SDRAM4のアドレス0000以下にレイヤ0の画像データ、アドレス1000以下にレイヤ1の画像データがそれぞれ記憶されている。SDRAM4の各アドレスには、ビット0〜15の16ビットの画像データが格納されている。   The image display system 121 is a device that displays image data having a plurality of layers on the LCD 2. In this example, the image data has two layers, layer 0 and layer 1, and as shown in FIG. 9, the image data of layer 0 is below address 0000 of SDRAM4, and the image data of layer 1 is below address 1000. Each is remembered. Each address of the SDRAM 4 stores 16-bit image data of bits 0 to 15.

そして、レイヤ0とレイヤ1の同じピクセル位置で相関関係がある場合は、レイヤ0とレイヤ1の同じピクセル位置のデータのSDRAM4におけるアドレスが異なるため、CPU7はレイヤ0エリアとレイヤ1エリアの同一ピクセルのデータにそれぞれアクセスして(レイヤの数と同一回数だけアクセスして)、同一ピクセルの各レイヤの相関関係をとり、SDRAM4のレイヤ0エリアとレイヤ1エリアにそれぞれ格納する(ここでもレイヤの数と同一回数だけSDRAM4にアクセスする)。   If there is a correlation at the same pixel position in layer 0 and layer 1, the addresses in the SDRAM 4 of the data at the same pixel position in layer 0 and layer 1 are different, so the CPU 7 has the same pixel in the layer 0 area and the layer 1 area. Data is accessed (the same number of times as the number of layers), the correlation of each layer of the same pixel is obtained, and stored in the layer 0 area and the layer 1 area of the SDRAM 4 (again, the number of layers) The SDRAM 4 is accessed the same number of times).

画像データを読み出すときは、アドレス0000以下のデータを順次読み出し、レイヤ0とレイヤ1のデータの切れ目はアドレスの切れ目(アドレス999と1000との間)にあるので、この切れ目を分離回路102で判断し、レイヤ0の画像データはレイヤ0ラインバッファ12に格納し、レイヤ1の画像データはレイヤ1ラインバッファ13に格納する。そして、画面合成回路14でレイヤ0ラインバッファ12の格納データとレイヤ1ラインバッファ13の格納データとを合成してLCD2に出力する。   When reading out the image data, the data below the address 0000 are read out sequentially, and the break between the layer 0 and layer 1 data is at the break between the addresses (between the addresses 999 and 1000). The layer 0 image data is stored in the layer 0 line buffer 12, and the layer 1 image data is stored in the layer 1 line buffer 13. Then, the screen synthesis circuit 14 synthesizes the data stored in the layer 0 line buffer 12 and the data stored in the layer 1 line buffer 13 and outputs them to the LCD 2.

しかしながら、このように複数のレイヤの相関関係をとる場合においては、前述のようにCPU7はレイヤ0エリアとレイヤ1エリアの同一ピクセルのデータにそれぞれアクセスするので、レイヤの数と同一回数だけSDRAM4にアクセスすることになる。また、同一ピクセルの各レイヤの相関関係をとった後も、SDRAM4のレイヤ0エリアとレイヤ1エリアにそれぞれ格納するので、ここでもレイヤの数と同一回数だけSDRAM4にアクセスすることになる。このように、表示システム121は、異なるレイヤの相関をとるためにSDRAM4の異なるアドレス位置に多数回アクセスすることになるため、SDRAM4からデータを高速で読み出すことができず、画像処理能力が低下してしまうという不具合がある。   However, in the case where a plurality of layers are correlated as described above, the CPU 7 accesses the same pixel data in the layer 0 area and the layer 1 area as described above. Will be accessing. In addition, even after the correlation between the layers of the same pixel is obtained, the data is stored in the layer 0 area and the layer 1 area of the SDRAM 4, so that the SDRAM 4 is accessed as many times as the number of layers. As described above, since the display system 121 accesses the different address positions of the SDRAM 4 many times in order to correlate different layers, the data cannot be read from the SDRAM 4 at a high speed, and the image processing capability is reduced. There is a problem that it ends up.

そこで、本発明の目的は、前述の不具合を解決して、画像データの読み出しを高速化し、また、表示エリアの移動をきめ細かに行なうことができるようにすることである。   SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to solve the above-described problems, speed up the reading of image data, and make it possible to finely move the display area.

(1)本発明は、SDRAMに記憶されている画像データの一部のデータ転送要求があったときに、当該当該データ転送要求にかかる前記画像データを前記SDRAMから読み出して表示装置に出力する画像表示駆動装置において、前記SDRAMから読み出した前記画像データを一時保存するバッファと、前記バッファに一時保存されている画像データを表示装置に出力する出力手段と、前記データ転送要求があったときは、当該データ転送要求にかかる前記画像データの先頭のアドレスがSDRAMバースト長の先頭のアドレスと合致するか否かを判定する先頭アドレス判定手段と、前記先頭アドレス判定手段により前記両先頭アドレスが合致しないと判定したときは、前記データ転送要求にかかる前記画像データの先頭アドレスを前記SDRAMバースト長の先頭アドレスに変換する先頭アドレス変換手段と、前記先頭アドレス変換手段により変換後の先頭アドレスから前記SDRAMと前記バッファとを接続しているバスのバースト長ごとに前記画像データを前記SDRAMから読み出す要求を行なう画像データ読出手段と、前記画像データ読出手段の要求に基づき前記SDRAMを制御して前記SDRAMからSDRAM読出し手順に従って画像データを読み出すメモリ制御手段と、前記アドレス判定手段により前記両先頭アドレスが合致しないと判定したときは、前記メモリ制御手段で読み出した前記画像データのうち、前記先頭アドレス変換手段による変換後のアドレスには含まれているが前記先頭アドレス変換手段による変換前のアドレスには含まれていないものを判定する不要画像データ判定手段と、前記画像データ読出手段で読み出した前記画像データを前記不要画像データ判定手段により前記データ転送要求変換手段による変換前の前記データ転送要求には含まれていないと判定した部分を除いて前記バッファに記憶する記憶手段と、を備えていることを特徴とする画像表示駆動装置である。   (1) According to the present invention, when there is a data transfer request for a part of image data stored in the SDRAM, the image data related to the data transfer request is read from the SDRAM and output to the display device. In the display driving device, when there is a buffer for temporarily storing the image data read from the SDRAM, output means for outputting the image data temporarily stored in the buffer to the display device, and the data transfer request, First address determination means for determining whether or not the start address of the image data relating to the data transfer request matches the start address of the SDRAM burst length, and if both the start addresses do not match by the start address determination means When it is determined, the start address of the image data related to the data transfer request is First address conversion means for converting the first address of the DRAM burst length, and the image data for each burst length of the bus connecting the SDRAM and the buffer from the first address converted by the first address conversion means. Image data reading means for making a read request from the memory, memory control means for controlling the SDRAM based on a request from the image data reading means and reading image data from the SDRAM in accordance with the SDRAM read procedure, and both heads by the address determination means. When it is determined that the addresses do not match, the image data read by the memory control means is included in the address after conversion by the head address conversion means but is not yet converted by the head address conversion means Not included in Unnecessary image data determining means for determining and the image data read by the image data reading means are determined not to be included in the data transfer request before conversion by the data transfer request converting means by the unnecessary image data determining means. An image display driving device comprising: storage means for storing in the buffer except for the portion that has been corrected.

(1)の発明によれば、バースト長の先頭アドレスと読み出しデータアドレスの先頭アドレスとが一致していない場合でも、SDRAMからの画像データの読み出しはバースト長ごとに行われ、読み出し後の画像データから不要なものを除去するようにするので、周回による不要なアクセスサイクルを防止して、画像データの読み出しを高速化することができるので、結果的にバス速度を低下させることができ、消費電流の低減、回路規模の削減を図ることができる。また、表示エリアの移動をきめ細かに行なうことができる。   According to the invention of (1), even when the head address of the burst length does not match the head address of the read data address, the image data is read from the SDRAM for each burst length, and the image data after the read Since unnecessary items are removed from the memory, unnecessary access cycles due to circulation can be prevented and image data can be read faster, resulting in a reduction in bus speed and current consumption. And circuit scale can be reduced. In addition, the display area can be moved finely.

以下、発明の実施の形態を複数例説明する。   Hereinafter, a plurality of embodiments of the invention will be described.

[実施の形態1]
図1は、本実施の形態にかかる画像表示システム1の電気的な接続を示すブロック図である。画像表示システム1は、画像を表示する液晶ディスプレイ(LCD)2と、LCD2を制御する画像表示駆動装置となる液晶駆動装置(LCDC)3と、LCD2に表示する画像データを格納した記憶装置であるSDRAM4と、SDRAM4を制御してSDRAM読出し手順に従って画像データを読み出すメモリコントローラ5と、LCDC3とSDRAM4とを接続する内部バス6と、各部を集中的に制御するCPU7とを備えている。SDRAM4には、広い範囲の海域の画像の画像データが格納されており、その画像データの画像データエリアの範囲内でCPU7が表示エリアを指定して画像データを読み出して、LCD2に表示させる。
[Embodiment 1]
FIG. 1 is a block diagram showing an electrical connection of the image display system 1 according to the present embodiment. The image display system 1 is a storage device that stores a liquid crystal display (LCD) 2 that displays an image, a liquid crystal driving device (LCDC) 3 that is an image display driving device that controls the LCD 2, and image data to be displayed on the LCD 2. An SDRAM 4, a memory controller 5 that controls the SDRAM 4 and reads out image data in accordance with the SDRAM reading procedure, an internal bus 6 that connects the LCDC 3 and the SDRAM 4, and a CPU 7 that centrally controls each unit are provided. The SDRAM 4 stores image data of an image of a wide range of sea areas. The CPU 7 designates a display area within the range of the image data area of the image data, reads the image data, and displays it on the LCD 2.

すなわち、LCDC3は、CPU7から先頭のピクセルを指定してデータ転送要求があったときは、当該データ転送要求からアドレス発生回路11でSDRAM4の画像データの読み出し範囲を指定するアドレスを生成して、メモリコントローラ5を介してSDRAM4から必要な画像データを読み出す。この画像データは内部バス6を介してラインバッファ12にバースト転送され、ラインバッファ12からLCD2に出力される。   That is, when there is a data transfer request from the CPU 7 by designating the first pixel, the LCDC 3 generates an address designating the read range of the SDRAM 4 image data by the address generation circuit 11 from the data transfer request. Necessary image data is read from the SDRAM 4 via the controller 5. The image data is burst transferred to the line buffer 12 via the internal bus 6 and output from the line buffer 12 to the LCD 2.

CPU7からのデータ転送要求は、データを読み出す表示エリアの先頭のピクセルの位置を指定することにより行なう。このデータ転送要求に対しては、まず、先頭アドレス補正回路21において、当該データ転送要求にかかる表示エリアの画像データの先頭のアドレスがSDRAMバースト長の先頭のアドレスと合致するか否かを判定する。本例でバースト長は8である。よって、例えば、データ転送要求にかかる先頭のアドレスが0であれば、当該データ転送要求にかかる表示エリアの画像データの先頭のアドレスがSDRAMバースト長の先頭のアドレスと合致することになる。この場合は、データ転送要求にかかる先頭のアドレスを0のままとして当該データ転送要求をアドレス発生回路11に出力する。これに基づき、アドレス発生回路11は、バースト長に合致したアドレスを発生してSDRAM4からデータを読み出し、ラインバッファ12に格納する。よって、SDRAM4からは、データアドレス0〜7、データアドレス8〜15、…のようにバースト長ごとにデータが読み出される。   The data transfer request from the CPU 7 is made by designating the position of the first pixel in the display area from which data is read. In response to this data transfer request, first, the head address correction circuit 21 determines whether or not the head address of the image data in the display area related to the data transfer request matches the head address of the SDRAM burst length. . In this example, the burst length is 8. Thus, for example, if the leading address for the data transfer request is 0, the leading address of the image data in the display area for the data transfer request matches the leading address of the SDRAM burst length. In this case, the data transfer request is output to the address generation circuit 11 while keeping the leading address for the data transfer request as 0. Based on this, the address generation circuit 11 generates an address that matches the burst length, reads data from the SDRAM 4, and stores it in the line buffer 12. Therefore, data is read from the SDRAM 4 for each burst length, such as data addresses 0 to 7, data addresses 8 to 15, and so on.

次に、先頭アドレス補正回路21において、当該データ転送要求にかかる表示エリアの画像データの先頭のアドレスがSDRAMバースト長の先頭のアドレスと合致しないと判定したときは、当該先頭アドレス補正回路21は、データ転送要求で指定された先頭のピクセル位置を含むSDRAMバースト長の先頭アドレスに補正して、アドレスアドレス発生回路11に出力する。例えば、CPU7からのデータ転送要求による先頭ピクセルがSDRAM4のデータアドレス3であったときは、データアドレス0に補正することになる。   Next, when the head address correction circuit 21 determines that the head address of the image data in the display area for the data transfer request does not match the head address of the SDRAM burst length, the head address correction circuit 21 The start address of the SDRAM burst length including the start pixel position designated by the data transfer request is corrected and output to the address address generation circuit 11. For example, when the head pixel in the data transfer request from the CPU 7 is the data address 3 of the SDRAM 4, the data address 0 is corrected.

これに基づき、アドレス発生回路11は、データアドレス0〜7のデータ転送要求を内部バス6へ出力し、メモリコントローラ5によりSDRAM4のデータアドレス0〜7にアクセスされ、データを読み出すことになる。以下、同様のデータの読み出しを行なう。   Based on this, the address generation circuit 11 outputs a data transfer request of the data addresses 0 to 7 to the internal bus 6, and the memory controller 5 accesses the data addresses 0 to 7 of the SDRAM 4 to read the data. Thereafter, the same data is read out.

図2は、この場合の内部バス6の動作と、SDRAM4へのアクセスとを経時的に説明する説明図である。CPU7からのデータ転送要求による先頭ピクセルがSDRAM4のデータアドレス3であったときは、先頭アドレス補正回路21により、当該データ転送要求の先頭ピクセル位置は、アドレス0に変換され、アドレス補正回路21により内部バス6へアドレス0〜7へのデータ転送要求が出力され、メモリコントローラ5により、SDRAM4のアドレス0〜7へアクセスされ(符号(2)の「0‐7」にアクセスされ、内部バス6にはSDRAM4のアドレス0〜7が読み出される(符号(3)の「0‐7」)。   FIG. 2 is an explanatory diagram for explaining the operation of the internal bus 6 and the access to the SDRAM 4 over time in this case. When the head pixel in the data transfer request from the CPU 7 is the data address 3 of the SDRAM 4, the head address correction circuit 21 converts the head pixel position of the data transfer request into the address 0, and the address correction circuit 21 A data transfer request to addresses 0 to 7 is output to the bus 6, and the memory controller 5 accesses addresses 0 to 7 of the SDRAM 4 (accessed to “0-7” of the code (2), The addresses 0 to 7 of the SDRAM 4 are read (“0-7” in the code (3)).

以後、アドレス発生回路11により、SDRAM4のアドレス8〜15へのデータ転送要求(符号(4)の「8‐15」)は、メモリコントローラにより、そのままSDRAM4のアドレス8〜15(符号(5)の「8‐15」)にアクセスされ、内部バス6にはSDRAM4のアドレス8〜15(符号(6)の「8‐15」)が読み出される。   Thereafter, a data transfer request ("8-15" of the code (4)) to the addresses 8 to 15 of the SDRAM 4 by the address generation circuit 11 is directly sent to the addresses 8 to 15 (code (5) of the SDRAM 4) by the memory controller. “8-15”) is accessed, and addresses 8 to 15 of the SDRAM 4 (“8-15” in symbol (6)) are read out to the internal bus 6.

このように読み出した先頭の画像データには不要なピクセルのデータを含んでいる。例えば、アドレス3の先頭ピクセル設定に対しては、アドレス0〜7が読み出されるので、アドレス0〜2のデータは不要である。   The read-out top image data includes unnecessary pixel data. For example, since the addresses 0 to 7 are read for the first pixel setting at the address 3, the data at the addresses 0 to 2 is not necessary.

図1に戻り、先頭アドレス補正回路21は、前述のように先頭ピクセルを変換するので、当該変換前のデータ転送要求では含まれないが、当該変換後のデータ転送要求には含まれるアドレスが何であるか(この例ではアドレス0〜2)を特定し、このデータをラインバッファ書き込み回路22に出力する。   Returning to FIG. 1, the head address correction circuit 21 converts the head pixel as described above, so it is not included in the data transfer request before the conversion, but what is included in the data transfer request after the conversion. Whether or not there is (addresses 0 to 2 in this example) is specified, and this data is output to the line buffer writing circuit 22.

そして、ラインバッファ書き込み回路22では、このデータに基づいて、読み出したアドレス0〜7の画像データから不要なアドレス0〜2の画像データを削除してラインバッファ12に書き込む。   Based on this data, the line buffer writing circuit 22 deletes unnecessary image data at addresses 0 to 2 from the read image data at addresses 0 to 7 and writes them to the line buffer 12.

以上説明した画像表示システム1によれば、バースト長の先頭アドレスと読み出しデータアドレスの先頭アドレスとが一致していない場合でも、SDRAM4からの画像データの読み出しはバースト長ごとに行われ、読み出し後の画像データから不要なものを除去するようにするので、周回による不要なアクセスサイクルを防止して、画像データの読み出しを高速化することができるので、結果的にバス速度を低下させることができ、消費電流の低減、回路規模の削減を図ることができる。また、表示エリアの移動をきめ細かに行なうことができる。   According to the image display system 1 described above, even when the head address of the burst length does not match the head address of the read data address, the image data is read from the SDRAM 4 for each burst length. Since unnecessary items are removed from the image data, unnecessary access cycles due to rounds can be prevented, and the image data can be read faster, resulting in a reduction in bus speed. It is possible to reduce current consumption and circuit scale. In addition, the display area can be moved finely.

[実施の形態2]
図3は、本実施の形態にかかる画像表示システム31の電気的な接続を示すブロック図である。画像表示システム31は、画像を表示する液晶ディスプレイ(LCD)2と、LCD2を制御する画像表示駆動装置となる液晶駆動装置(LCDC)3と、LCD2に表示する画像データを格納した記憶装置であるSDRAM4と、SDRAM4を制御するメモリコントローラ5と、LCDC3とSDRAM4とを接続する内部バス6と、各部を集中的に制御するCPU7とを備えている。SDRAM4には、広い範囲の海域の画像の画像データが格納されており、その画像データの画像データエリアの範囲内でCPU7が表示エリアを指定して画像データを読み出して、LCD2に表示させる。
[Embodiment 2]
FIG. 3 is a block diagram showing electrical connections of the image display system 31 according to the present embodiment. The image display system 31 is a storage device that stores a liquid crystal display (LCD) 2 that displays an image, a liquid crystal drive device (LCDC) 3 that is an image display drive device that controls the LCD 2, and image data to be displayed on the LCD 2. An SDRAM 4, a memory controller 5 that controls the SDRAM 4, an internal bus 6 that connects the LCDC 3 and the SDRAM 4, and a CPU 7 that centrally controls each unit are provided. The SDRAM 4 stores image data of an image of a wide range of sea areas. The CPU 7 designates a display area within the range of the image data area of the image data, reads the image data, and displays it on the LCD 2.

すなわち、LCDC3は、CPU7から先頭のピクセルを指定してデータ転送要求があったときは、当該データ転送要求からアドレス発生回路11でSDRAM4の画像データの読み出し範囲を指定するアドレスを生成して、メモリコントローラ5を介してSDRAM4から必要な画像データを読み出す。この画像データは内部バス6を介してラインバッファ12にバースト転送され、ラインバッファ12からLCD2に出力される。   That is, when there is a data transfer request from the CPU 7 by designating the first pixel, the LCDC 3 generates an address designating the read range of the SDRAM 4 image data by the address generation circuit 11 from the data transfer request. Necessary image data is read from the SDRAM 4 via the controller 5. The image data is burst transferred to the line buffer 12 via the internal bus 6 and output from the line buffer 12 to the LCD 2.

CPU7からのデータ転送要求は、データを読み出す表示エリアの先頭のピクセルの位置を指定することにより行なう。このデータ転送要求に対しては、まず、不要データ判定回路32において、当該データ転送要求にかかる表示エリアの画像データの先頭のアドレスが内部バス6のバス幅の先頭のアドレスと合致するか否かを判定する。すなわち、画像表示システム31においては、内部バス6のバス幅は32bitであり、画像データの1ピクセルは8bitである。よって、内部バス6を介して画像データを4ピクセル分ずつ読み出すことになる。よって、例えば、データ転送要求にかかる先頭のアドレスが0であれば、当該データ転送要求にかかる表示エリアの画像データの先頭のアドレスがバス幅の先頭のアドレスと合致することになる。この場合は、データ転送要求にかかる先頭のアドレスを0のままとして当該データ転送要求をアドレス発生回路11に出力する。これに基づき、アドレス発生回路11は、内部バス6のバス幅の先頭アドレスに合致したアドレスを発生してSDRAM4からデータを読み出し、ラインバッファ12に格納する。よって、SDRAM4からは、バス幅に応じて、データアドレス0〜3、データアドレス4〜7、…のように4ピクセルずつデータが転送される。すなわち、データアドレス0〜3であれば、ビット0〜7、ビット8〜15、ビット16〜23、ビット24〜31でそれぞれ1ピクセルのデータを転送する。   The data transfer request from the CPU 7 is made by designating the position of the first pixel in the display area from which data is read. In response to this data transfer request, first, in the unnecessary data determination circuit 32, whether or not the leading address of the image data in the display area related to the data transfer request matches the leading address of the bus width of the internal bus 6. Determine. That is, in the image display system 31, the bus width of the internal bus 6 is 32 bits, and one pixel of image data is 8 bits. Therefore, the image data is read by 4 pixels via the internal bus 6. Thus, for example, if the leading address for the data transfer request is 0, the leading address of the image data in the display area for the data transfer request matches the leading address of the bus width. In this case, the data transfer request is output to the address generation circuit 11 while keeping the leading address for the data transfer request as 0. Based on this, the address generation circuit 11 generates an address that matches the head address of the bus width of the internal bus 6, reads data from the SDRAM 4, and stores it in the line buffer 12. Therefore, data is transferred from the SDRAM 4 in units of 4 pixels such as data addresses 0 to 3, data addresses 4 to 7,... According to the bus width. That is, if the data address is 0 to 3, 1-pixel data is transferred using bits 0 to 7, bits 8 to 15, bits 16 to 23, and bits 24 to 31, respectively.

次に、不要データ判定回路32において、当該データ転送要求にかかる表示エリアの画像データの先頭のアドレスがバス幅の先頭のアドレスと合致しないと判定したときは、アドレス発生回路11には先頭アドレスを0と出力する。このときSDRAM4からから読み出された内部バス6のバス幅の転送データには、無効データを含むことになる。例えば、データ転送要求にかかる表示エリアの画像データの先頭のアドレスが2のときは、バス幅の先頭のアドレスと合致しないことになり、この場合は、不要データ判定回路32において先頭アドレスを0と変換されるため、ビット16〜23、ビット24〜31でそれぞれ1ピクセル、合計2ピクセル分のデータを転送する。そして、ビット0〜7、ビット8〜15は無効データとなる。以後、アドレス発生回路11により内部バス6のバス幅の先頭アドレスに合致したデータ転送要求が内部バス6に出力されることにより、無効データを含まないデータ転送が行なわれる。   Next, when the unnecessary data determination circuit 32 determines that the start address of the image data in the display area for the data transfer request does not match the start address of the bus width, the start address is stored in the address generation circuit 11. Outputs 0. At this time, the transfer data of the bus width of the internal bus 6 read from the SDRAM 4 includes invalid data. For example, when the leading address of the image data in the display area for the data transfer request is 2, it does not match the leading address of the bus width. In this case, the unnecessary data determination circuit 32 sets the leading address to 0. In order to be converted, data corresponding to 1 pixel and 2 pixels in total are transferred in bits 16 to 23 and bits 24 to 31, respectively. Bits 0 to 7 and bits 8 to 15 are invalid data. Thereafter, the address generation circuit 11 outputs a data transfer request that matches the leading address of the bus width of the internal bus 6 to the internal bus 6, thereby performing data transfer that does not include invalid data.

このようにして読み出した先頭の画像データには無効データを含んでいる。この場合には、不要データ判定回路32において、無効データを含んでいるのは当該無効データの位置データをラインバッファ書き込み回路33に出力する。前記の例では、ビット0〜7、ビット8〜15が無効データであると位置データを出力する。   The head image data read out in this way includes invalid data. In this case, the unnecessary data determination circuit 32 outputs the position data of the invalid data that includes invalid data to the line buffer write circuit 33. In the above example, position data is output when bits 0 to 7 and bits 8 to 15 are invalid data.

そして、ラインバッファ書き込み回路33では、このデータに基づいて、読み出した1つのバス幅分のデータのうちビット0〜7、ビット8〜15の無効データをラインバッファ12に書き込まないようにする。   Based on this data, the line buffer writing circuit 33 prevents invalid data of bits 0 to 7 and bits 8 to 15 from being written to the line buffer 12 out of the data for one read bus width.

以上説明した画像表示システム31によれば、バス幅の先頭アドレスと読み出しデータアドレスの先頭アドレスとが一致していない場合でも、SDRAM4からの画像データの転送はバス幅ごとに行われ、転送後の画像データから無効データを除去するようにするので、画像データの読み出しを高速化することができ、また、表示エリアの移動をきめ細かに行なうことができる。   According to the image display system 31 described above, even when the leading address of the bus width and the leading address of the read data address do not match, the image data is transferred from the SDRAM 4 for each bus width. Since invalid data is removed from the image data, the reading of the image data can be speeded up, and the display area can be moved finely.

[実施の形態3]
図4は、本実施の形態にかかる画像表示システム41の電気的な接続を示すブロック図である。画像表示システム41は、画像を表示する液晶ディスプレイ(LCD)2と、LCD2を制御する画像表示駆動装置となる液晶駆動装置(LCDC)3と、LCD2に表示する画像データを格納した記憶装置であるSDRAM4と、SDRAM4を制御するメモリコントローラ5と、LCDC3とSDRAM4とを接続する内部バス6と、各部を集中的に制御するCPU7とを備えている。SDRAM4には、広い範囲の海域の画像の画像データが格納されており、その画像データの画像データエリアの範囲内でCPU7が表示エリアを指定して画像データを読み出して、LCD2に表示させる。
[Embodiment 3]
FIG. 4 is a block diagram showing an electrical connection of the image display system 41 according to the present embodiment. The image display system 41 is a storage device that stores a liquid crystal display (LCD) 2 that displays an image, a liquid crystal drive device (LCDC) 3 that is an image display drive device that controls the LCD 2, and image data to be displayed on the LCD 2. An SDRAM 4, a memory controller 5 that controls the SDRAM 4, an internal bus 6 that connects the LCDC 3 and the SDRAM 4, and a CPU 7 that centrally controls each unit are provided. The SDRAM 4 stores image data of an image of a wide range of sea areas. The CPU 7 designates a display area within the range of the image data area of the image data, reads the image data, and displays it on the LCD 2.

本実施の形態では、画像データは、複数のレイヤ、本例ではレイヤ0とレイヤ1の2つのレイヤを備えている。このレイヤ0とレイヤ1とは同一のピクセルについて相関関係を有している。CPU7は、SDRAM4からレイヤ0とレイヤ1の画像データを読み出し、同一ピクセルのデータで相関処理を行い、再度レイヤ0とレイヤ1の画像データをSDRAM4のレイヤ0の格納領域とレイヤ1の格納領域にそれぞれ格納する。   In the present embodiment, the image data includes a plurality of layers, in this example, two layers, layer 0 and layer 1. Layer 0 and layer 1 have a correlation with respect to the same pixel. The CPU 7 reads the layer 0 and layer 1 image data from the SDRAM 4, performs correlation processing with the same pixel data, and again stores the layer 0 and layer 1 image data in the layer 4 storage area and the layer 1 storage area of the SDRAM 4. Store each one.

図5は、SDRAM4におけるレイヤ0とレイヤ1の画像データの格納について説明する説明図である。SDRAM4においては、レイヤ0とレイヤ1の同一のピクセルの画像データについては同一のアドレスのデータエリアに格納している。例えば、レイヤ0の1ピクセル分、レイヤ1の1ピクセル分ともにデータ量が8bitであれば、SDRAM4の1つのアドレスのデータエリアのビット0〜7にレイヤ0の1ピクセル分のデータを格納し、ビット8〜15にレイヤ1の1ピクセル分のデータを格納する。   FIG. 5 is an explanatory diagram for explaining the storage of the layer 0 and layer 1 image data in the SDRAM 4. In the SDRAM 4, the image data of the same pixel of layer 0 and layer 1 is stored in the data area of the same address. For example, if the data amount is 8 bits for one pixel of layer 0 and one pixel of layer 1, the data for one pixel of layer 0 is stored in bits 0 to 7 of the data area of one address of SDRAM4, Data for one pixel of layer 1 is stored in bits 8 to 15.

これにより、同一ピクセルの相関を取るためにCPU7がレイヤ0とレイヤ1のデータをSDRAM4から読み出すときは、同一のアドレスからデータを読み出せば同一のピクセルのレイヤ0とレイヤ1のデータが含まれているので、SDRAM4のあるアドレスからレイヤ0のデータを読み出し、異なるアドレスからレイヤ1のデータを読み出すという2度手間を防止することができる。また、レイヤ0とレイヤ1の同一ピクセルのデータの相関をとった後、レイヤ0とレイヤ1の同一ピクセルのデータをSDRAM4に再度格納する場合にも、同一のアドレスに同一ピクセルのレイヤ0とレイヤ1のデータを格納する。すなわち、SDRAM4の同一のアドレスのデータエリアのビット0〜7にレイヤ0の1ピクセル分のデータを格納し、ビット8〜15にレイヤ1の1ピクセル分のデータを格納する。よって、SDRAM4のあるアドレスにレイヤ0のデータを格納し、異なるアドレスにレイヤ1のデータを格納するという2度手間を防止することができる。   Thus, when the CPU 7 reads the layer 0 and layer 1 data from the SDRAM 4 in order to obtain the correlation between the same pixels, the layer 0 and layer 1 data of the same pixel is included if the data is read from the same address. Thus, it is possible to prevent the trouble of reading layer 0 data from a certain address of the SDRAM 4 and reading layer 1 data from a different address twice. In addition, when the data of the same pixel of layer 0 and layer 1 is correlated and then the data of the same pixel of layer 0 and layer 1 is stored again in the SDRAM 4, layer 0 and layer of the same pixel at the same address are stored. 1 data is stored. That is, data for one pixel of layer 0 is stored in bits 0 to 7 of the data area of the same address of the SDRAM 4, and data for one pixel of layer 1 is stored in bits 8 to 15. Therefore, it is possible to prevent the trouble of storing layer 0 data at a certain address of the SDRAM 4 and storing layer 1 data at a different address.

図4に戻り、以上のようなSDRAM4における画像データのデータ構成であるときに、CPU7から先頭のピクセルを指定してデータ転送要求があったときは、LCDC3は、当該データ転送要求からアドレス発生回路11でSDRAM4の画像データの読み出し範囲を指定するアドレスを生成して、メモリコントローラ5を介してSDRAM4から必要な画像データをアドレスごとに順次読み出す。この画像データは内部バス6を介してバースト転送される。   Returning to FIG. 4, in the case of the data structure of the image data in the SDRAM 4 as described above, when the data transfer request is made by designating the first pixel from the CPU 7, the LCDC 3 receives the address generation circuit from the data transfer request. 11, an address for designating a reading range of image data of the SDRAM 4 is generated, and necessary image data is sequentially read from the SDRAM 4 for each address via the memory controller 5. This image data is burst transferred via the internal bus 6.

この読み出された画像データは、前述のとおり、同一アドレスにレイヤ0とレイヤ1の同一ピクセルのデータを含んでいるので、分離回路42により、同一アドレスに格納された同一ピクセルのレイヤ0とレイヤ1との切れ目(ビット0〜7とビット8〜15)において分離し、分離後のレイヤ0のデータとレイヤ1のデータは、レイヤ0ラインバッファ43、レイヤ1ラインバッファ44にそれぞれ格納する。このように、レイヤ0ラインバッファ43、レイヤ1ラインバッファ44にそれぞれ格納されたレイヤ0のデータとレイヤ1のデータは、画面合成回路45で合成されて、LCD2に出力される。   As described above, since the read image data includes the same pixel data of layer 0 and layer 1 at the same address, the separation circuit 42 causes the layer 0 and layer of the same pixel stored at the same address to be stored. The layer 0 data and the layer 1 data after separation are stored in the layer 0 line buffer 43 and the layer 1 line buffer 44, respectively. As described above, the layer 0 data and the layer 1 data respectively stored in the layer 0 line buffer 43 and the layer 1 line buffer 44 are combined by the screen combining circuit 45 and output to the LCD 2.

以上説明した画像表示システム41によれば、SDRAM4のあるアドレスからレイヤ0のデータを読み出し、異なるアドレスからレイヤ1のデータを読み出すという2度手間、あるいは、SDRAM4のあるアドレスにレイヤ0のデータを格納し、異なるアドレスにレイヤ1のデータを格納するという2度手間を防止することができるので、SDRAM4からデータを高速で読み出すことができ、画像処理能力を向上させることができる。   According to the image display system 41 described above, the layer 0 data is read twice from a certain address of the SDRAM 4 and the layer 1 data is read from a different address, or the layer 0 data is stored at a certain address of the SDRAM 4. In addition, since it is possible to prevent the trouble of storing layer 1 data at different addresses twice, the data can be read from the SDRAM 4 at high speed, and the image processing capability can be improved.

なお、画像表示システム41において、前述とは異なりレイヤ間の相関のない画像データを扱う場合もありうる。その場合は、図4、図5を参照して説明した画像表示システム41の構成によると、SDRAM4からの画像データの読み出し速度が逆に低下することが考えられる。   Note that the image display system 41 may handle image data having no correlation between layers unlike the above. In that case, according to the configuration of the image display system 41 described with reference to FIGS. 4 and 5, the reading speed of the image data from the SDRAM 4 may be decreased.

そこで、1台の画像表示システムにより、図4、図5を参照して説明した画像表示システム41の構成と、図8、図9を参照して説明した前述の画像表示システム121の構成とを切り替えられるようにしてもよい。   Therefore, the configuration of the image display system 41 described with reference to FIGS. 4 and 5 and the configuration of the image display system 121 described with reference to FIGS. You may make it switch.

すなわち、レイヤ間の相関のある画像データを扱う場合には、図5を参照して説明したようにSDRAM4の同一のアドレスに複数の各レイヤの同一ピクセルのデータを格納し、SDRAM4から読み出した画像データについては、分離回路42により、同一ピクセルのレイヤ0とレイヤ1のデータをSDRAM4の同一のアドレスのデータの中でレイヤごとに分離して、レイヤ0ラインバッファ43、レイヤ1ラインバッファ44にそれぞれ格納する。   That is, when handling image data having a correlation between layers, as described with reference to FIG. 5, the data of the same pixel in each of a plurality of layers is stored in the same address of the SDRAM 4, and the image read from the SDRAM 4 is read. With respect to the data, the separation circuit 42 separates the layer 0 and layer 1 data of the same pixel for each layer in the data of the same address of the SDRAM 4, and the layer 0 line buffer 43 and the layer 1 line buffer 44 respectively. Store.

一方、レイヤ間の相関のない画像データを扱う場合には、図9を参照して説明したようにSDRAM4の異なるアドレスにそれぞれ各レイヤの画像データを格納し、SDRAM4から読み出した画像データについては、分離回路42により、SDRAM4の違いによりレイヤ0とレイヤ1のデータに分離して、レイヤ0ラインバッファ43、レイヤ1ラインバッファ44にそれぞれ格納する。   On the other hand, when handling image data having no correlation between layers, as described with reference to FIG. 9, the image data of each layer is stored in different addresses of the SDRAM 4, and the image data read from the SDRAM 4 is The separation circuit 42 separates the data of layer 0 and layer 1 due to the difference in the SDRAM 4 and stores them in the layer 0 line buffer 43 and the layer 1 line buffer 44, respectively.

本発明の実施の形態1にかかる画像表示システムの電気的な接続を示すブロック図である。It is a block diagram which shows the electrical connection of the image display system concerning Embodiment 1 of this invention. 図1の画像表示システムの動作の説明図である。It is explanatory drawing of operation | movement of the image display system of FIG. 本発明の実施の形態2にかかる画像表示システムの電気的な接続を示すブロック図である。It is a block diagram which shows the electrical connection of the image display system concerning Embodiment 2 of this invention. 本発明の実施の形態3にかかる画像表示システムの電気的な接続を示すブロック図である。It is a block diagram which shows the electrical connection of the image display system concerning Embodiment 3 of this invention. 図4におけるSDRAMでの画像データのデータ構成の説明図である。FIG. 5 is an explanatory diagram of a data configuration of image data in the SDRAM in FIG. 本発明の課題を説明する画像表示システムの電気的な接続を示すブロック図である。It is a block diagram which shows the electrical connection of the image display system explaining the subject of this invention. 図6の画像表示システムの動作の説明図である。It is explanatory drawing of operation | movement of the image display system of FIG. 本発明の課題を説明する画像表示システムの電気的な接続を示すブロック図である。It is a block diagram which shows the electrical connection of the image display system explaining the subject of this invention. 本発明の課題を説明する画像表示システムの電気的な接続を示すブロック図である。It is a block diagram which shows the electrical connection of the image display system explaining the subject of this invention.

符号の説明Explanation of symbols

1 画像表示システム
2 液晶ディスプレイ
3 液晶駆動装置
4 SDRAM
6 内部バス
11 アドレス発生回路
12 ラインバッファ
21 先頭アドレス補正回路
22 ラインバッファ書き込み回路
DESCRIPTION OF SYMBOLS 1 Image display system 2 Liquid crystal display 3 Liquid crystal drive device 4 SDRAM
6 Internal bus 11 Address generation circuit 12 Line buffer 21 Start address correction circuit 22 Line buffer write circuit

Claims (1)

SDRAMに記憶されている画像データの一部のデータ転送要求があったときに、当該当該データ転送要求にかかる前記画像データを前記SDRAMから読み出して表示装置に出力する画像表示駆動装置において、
前記SDRAMから読み出した前記画像データを一時保存するバッファと、
前記バッファに一時保存されている画像データを表示装置に出力する出力手段と、
前記データ転送要求があったときは、当該データ転送要求にかかる前記画像データの先頭のアドレスがSDRAMバースト長の先頭のアドレスと合致するか否かを判定する先頭アドレス判定手段と、
前記先頭アドレス判定手段により前記両先頭アドレスが合致しないと判定したときは、前記データ転送要求にかかる前記画像データの先頭アドレスを前記SDRAMバースト長の先頭アドレスに変換する先頭アドレス変換手段と、
前記先頭アドレス変換手段により変換後の先頭アドレスから前記SDRAMと前記バッファとを接続しているバスのバースト長ごとに前記画像データを前記SDRAMから読み出す要求を行なう画像データ読出手段と、
前記画像データ読出手段の要求に基づき前記SDRAMを制御して前記SDRAMからSDRAM読出し手順に従って画像データを読み出すメモリ制御手段と、
前記アドレス判定手段により前記両先頭アドレスが合致しないと判定したときは、前記メモリ制御手段で読み出した前記画像データのうち、前記先頭アドレス変換手段による変換後のアドレスには含まれているが前記先頭アドレス変換手段による変換前のアドレスには含まれていないものを判定する不要画像データ判定手段と、
前記画像データ読出手段で読み出した前記画像データを前記不要画像データ判定手段により前記データ転送要求変換手段による変換前の前記データ転送要求には含まれていないと判定した部分を除いて前記バッファに記憶する記憶手段と、
を備えていることを特徴とする画像表示駆動装置。
In an image display driving device that reads out the image data related to the data transfer request from the SDRAM and outputs the data to a display device when there is a data transfer request for a part of the image data stored in the SDRAM.
A buffer for temporarily storing the image data read from the SDRAM;
Output means for outputting image data temporarily stored in the buffer to a display device;
When there is a data transfer request, start address determination means for determining whether or not the start address of the image data related to the data transfer request matches the start address of the SDRAM burst length;
A head address converting means for converting the head address of the image data relating to the data transfer request into a head address of the SDRAM burst length when the head address determining means determines that the two head addresses do not match;
Image data reading means for making a request for reading the image data from the SDRAM for each burst length of a bus connecting the SDRAM and the buffer from the head address converted by the head address converting means;
Memory control means for controlling the SDRAM based on a request from the image data reading means and reading image data from the SDRAM according to a SDRAM reading procedure;
When the address determination means determines that the two head addresses do not match, the image data read by the memory control means is included in the address after conversion by the head address conversion means but is included in the head Unnecessary image data determination means for determining what is not included in the address before conversion by the address conversion means;
The image data read by the image data reading unit is stored in the buffer except for a portion determined by the unnecessary image data determination unit as not included in the data transfer request before conversion by the data transfer request conversion unit. Storage means for
An image display driving device comprising:
JP2007229874A 2007-09-05 2007-09-05 Image display drive device Active JP5191193B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007229874A JP5191193B2 (en) 2007-09-05 2007-09-05 Image display drive device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007229874A JP5191193B2 (en) 2007-09-05 2007-09-05 Image display drive device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2012278699A Division JP5475859B2 (en) 2012-12-20 2012-12-20 Image display drive device

Publications (2)

Publication Number Publication Date
JP2009063699A JP2009063699A (en) 2009-03-26
JP5191193B2 true JP5191193B2 (en) 2013-04-24

Family

ID=40558341

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007229874A Active JP5191193B2 (en) 2007-09-05 2007-09-05 Image display drive device

Country Status (1)

Country Link
JP (1) JP5191193B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521141A (en) * 2011-12-01 2012-06-27 福州瑞芯微电子有限公司 Device and method for reading compact storage image data

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5558032B2 (en) * 2009-06-04 2014-07-23 三菱電機株式会社 Synthetic aperture radar equipment
JP5475859B2 (en) * 2012-12-20 2014-04-16 日本無線株式会社 Image display drive device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08255107A (en) * 1994-11-29 1996-10-01 Toshiba Corp Display controller
JP2002278919A (en) * 2001-03-22 2002-09-27 Canon Inc Display control method and display controller
JP2005332292A (en) * 2004-05-21 2005-12-02 Konica Minolta Business Technologies Inc Image data rotation processor
JP4699036B2 (en) * 2005-01-31 2011-06-08 三菱電機株式会社 Graphics hardware
JP4845475B2 (en) * 2005-10-20 2011-12-28 富士通セミコンダクター株式会社 Image display device and control method thereof
JP2007163624A (en) * 2005-12-12 2007-06-28 Fujitsu Ltd On-screen display device and control method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521141A (en) * 2011-12-01 2012-06-27 福州瑞芯微电子有限公司 Device and method for reading compact storage image data

Also Published As

Publication number Publication date
JP2009063699A (en) 2009-03-26

Similar Documents

Publication Publication Date Title
JP6078173B2 (en) Power saving method and apparatus in display pipeline by powering down idle components
TWI430667B (en) Memory address mapping method and memory address mapping circuit
JP5194703B2 (en) Data processing apparatus and shared memory access method
JP5191193B2 (en) Image display drive device
JP5115548B2 (en) Semiconductor integrated circuit device
JP4982354B2 (en) Information processing device
JP5475859B2 (en) Image display drive device
JP4111192B2 (en) Memory controller, display controller, and memory control method
JP2014099190A (en) Image display system
US20050275665A1 (en) System and method for efficiently supporting image rotation modes by utilizing a display controller
JP2006109224A (en) Imaging apparatus
JP2007333892A (en) Memory controller, bus controller, and display device control system
JP5213394B2 (en) Image transfer device
JP2006048378A (en) Memory controller and electronic device therewith
JP2005109856A (en) Picture rotation circuit and picture processor having the same
JP2002229933A (en) Image data conversion equipment, image processing system and image data conversion method
JP2001034258A (en) Picture display processing circuit and its processing method
JP2009003632A (en) Image processing system
JP4228867B2 (en) Image processing apparatus and control method thereof
JPS62113193A (en) Memory circuit
US20070171231A1 (en) Image display controlling device and image display controlling method
JP5835553B2 (en) Image display device and semiconductor integrated circuit for image display
JP3204297B2 (en) DMA transfer control device
JPH1069428A (en) Video display device
JP2003016438A (en) Image generating device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100902

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121023

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121220

TRDD Decision of grant or rejection written
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20130124

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20130124

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130129

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130129

R150 Certificate of patent or registration of utility model

Ref document number: 5191193

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160208

Year of fee payment: 3