JP2003256271A - Memory control method and apparatus, and display device using these - Google Patents

Memory control method and apparatus, and display device using these

Info

Publication number
JP2003256271A
JP2003256271A JP2002054135A JP2002054135A JP2003256271A JP 2003256271 A JP2003256271 A JP 2003256271A JP 2002054135 A JP2002054135 A JP 2002054135A JP 2002054135 A JP2002054135 A JP 2002054135A JP 2003256271 A JP2003256271 A JP 2003256271A
Authority
JP
Japan
Prior art keywords
data
memory
writing
write
memory control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2002054135A
Other languages
Japanese (ja)
Other versions
JP4070480B2 (en
Inventor
Tatsuo Hiramatsu
達夫 平松
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2002054135A priority Critical patent/JP4070480B2/en
Publication of JP2003256271A publication Critical patent/JP2003256271A/en
Application granted granted Critical
Publication of JP4070480B2 publication Critical patent/JP4070480B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Digital Computer Display Output (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a memory control technology for rewriting only a required part at high speed even in a memory having a wide bus width. <P>SOLUTION: The data of a background image are stored in a memory 10. As write data, the data of an upper layer image are propagated. A data value to permit write is written in an instruction register 12 in advance. Data are compared for each byte by a first comparator 22 or the like and when data to permit write come, the signal of an MSK1 or the like is negated. In the other case, the MSK1 or the like is asserted and rewrite is protected. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、メモリ制御技術
と表示装置に関し、とくに、メモリに対するデータの書
込を制御する方法と装置、およびそれらを利用可能な表
示装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory control technique and a display device, and more particularly to a method and a device for controlling writing of data in a memory, and a display device that can utilize them.

【0002】[0002]

【従来の技術】デジタル技術の進展は放送の世界でも顕
著であり、広く一般の人々の生活に影響する製品とし
て、例えばデジタルテレビジョン受像機(以下、単にデ
ジタルテレビともいう)が普及しつつある。デジタルテ
レビは、CPU(中央処理装置)を内蔵し、画像処理を
はじめとする種々のデータ処理をなしている。
2. Description of the Related Art The progress of digital technology is remarkable in the world of broadcasting, and digital television receivers (hereinafter, also simply referred to as digital televisions) are becoming popular as products that widely affect the lives of the general public. . The digital television has a built-in CPU (central processing unit) and performs various data processing such as image processing.

【0003】そうした処理の例として画像どうしの重ね
合わせがあり、例えば通常の映像が背景に表示され、デ
ータ放送された情報がその上に表示される。このために
CPUは文字に対応するテキストデータを一旦画像デー
タへ変換し、OSD(オンスクリーンディスプレイ)処
理部などにおいて画像データどうしがαブレンディング
その他の手法で重ね合わされ、これが描画される。CP
Uによる処理のために、非常に多彩な映像表現が実現す
る。
An example of such processing is superimposition of images, for example, a normal video is displayed in the background, and data-broadcast information is displayed thereon. For this purpose, the CPU temporarily converts the text data corresponding to the character into image data, and the OSD (on-screen display) processing unit or the like superimposes the image data on each other by α blending or another method, and draws this. CP
Due to the processing by U, a wide variety of video expressions are realized.

【0004】[0004]

【発明が解決しようとする課題】画像データを加工する
際、データは一時的にフレームバッファ等のメモリ(以
下単にメモリとよぶ)に格納されることが多い。メモリ
のエントリビット幅(これを単にメモリのバス幅ともい
う)は、描画の高速化のためにある程度広くとられ、例
えば描画のためにデータの書込が1バイト単位で行われ
る場合でも、メモリのバス幅は4バイトなどとなる。こ
のバス幅は、1個から数個のメモリ素子を並置して実現
される。
When processing image data, the data is often temporarily stored in a memory such as a frame buffer (hereinafter simply referred to as a memory). The entry bit width of the memory (which is also simply referred to as the memory bus width) is set to be wide to some extent in order to speed up drawing. For example, even when data is written in 1-byte units for drawing, the memory The bus width is 4 bytes. This bus width is realized by juxtaposing one to several memory elements.

【0005】しかし、バス幅が広いために、その一部の
バイトの書換が必要な場合、たとえば既知のメモリの
「リードモディファイライト」モードを利用するとすれ
ば、書換が不要なバイトのデータも一旦読み出し、それ
をそのまま書き戻す処理が必要になる。したがって、せ
っかくバス幅を広げて高速化に対応しようとしても、リ
ードサイクルとライトサイクルのふたつのサイクルが必
要になり、当初の目的に反しかねない。
However, if the rewriting of a part of the bytes is necessary because of the wide bus width, for example, if the "read-modify-write" mode of the known memory is used, the data of the bytes that do not need to be rewritten are also once. It is necessary to read it out and write it back as it is. Therefore, even if the bus width is widened to cope with the speedup, two cycles of the read cycle and the write cycle are required, which may be contrary to the original purpose.

【0006】本発明はこうした課題に鑑みてなされたも
のであり、その目的は、バス幅の広いメモリであって
も、必要な部分のみを高速に書き換えるためのメモリ制
御技術を提供することにある。別の目的は、比較的少な
い回路構成で、必要なデータの書換を柔軟に実施するメ
モリ制御技術の提供にある。さらに別の目的は、それら
の技術を利用し、その効果を享受する表示装置の提供に
ある。
The present invention has been made in view of these problems, and an object thereof is to provide a memory control technique for rewriting only a necessary portion at high speed even in a memory having a wide bus width. . Another object is to provide a memory control technique that flexibly implements necessary data rewriting with a relatively small circuit configuration. Still another object is to provide a display device that utilizes those technologies and enjoys the effects thereof.

【0007】[0007]

【課題を解決するための手段】本発明のある態様はメモ
リ制御方法であり、メモリに対してデータを書き込む
際、そのデータ値が予め設定された値と所定の関係を満
たすときにはそのデータの書込をそのまま実行し、前記
データ値が前記所定の関係を満たさないときには書込マ
スク信号を出力してデータの書込を禁止する。
One aspect of the present invention is a memory control method, and when writing data to a memory, when the data value satisfies a predetermined relationship with a preset value, the writing of the data is performed. When the data value does not satisfy the predetermined relationship, the write mask signal is output to prohibit the data writing.

【0008】この技術は、データ値に応じてメモリへの
書込可否を判定するものである。「所定の関係」は、例
えば「一致する」という関係である。たとえば、「00
h」という値を予め設定しておけば、メモリに対する書
込データの値が「00h」であるときに限り、そのデー
タがメモリに書き込まれる。「00h」以外の値は書き
込まれず、もとのデータがメモリ内に保持される。この
ため、リードモディファイライトと違って1回の書込サ
イクルで所望の書換が実現する。この技術は、後述の
「ON書き」のごとく、背景画像に文字データを上書き
した状態のデータをメモリへ格納する際に有用である。
別の例として、「不一致である」という関係であれば、
後述の「OFF書き」が実現する。
This technique determines whether or not writing to the memory is possible according to the data value. The “predetermined relationship” is, for example, a “match” relationship. For example, "00
If the value "h" is set in advance, the data is written to the memory only when the value of the write data to the memory is "00h". Values other than "00h" are not written and the original data is retained in the memory. Therefore, unlike read-modify-write, desired rewriting is realized in one write cycle. This technique is useful when storing data in a state where character data is overwritten on a background image in a memory, as in “ON writing” described later.
As another example, if the relationship is "mismatch",
The “OFF writing” described later is realized.

【0009】本発明の別の態様は、書込の単位データ幅
のn倍(nは自然数)のデータバス幅を有するメモリを
制御する装置であって、データ書込の許否を指示するデ
ータ値を保持する指示レジスタと、前記メモリに対する
書込データをそれぞれ前記単位データ幅ごとに第1のポ
ートにて受け、前記指示レジスタの出力を共通して第2
のポートにて受けるn個の比較器とを備え、これらn個
の比較器の出力がそれぞれ前記メモリの単位データ幅ご
とのデータ書込許否の論理を形成する。
Another aspect of the present invention is a device for controlling a memory having a data bus width n times (n is a natural number) the unit data width for writing, and a data value indicating whether data writing is permitted or not. And a write data for the memory are received at the first port for each unit data width, and the output of the instruction register is shared by the second port.
N comparators that are received at the port of the memory, and the outputs of these n comparators respectively form the logic of data write permission / prohibition for each unit data width of the memory.

【0010】「データ書込の許否を指示するデータ値」
の例は、データ書込を許可すべきデータ値である。別の
例は、データ書込を禁止すべきデータ値である。「デー
タ書込許否の論理を形成する」の例として、「データ書
込を許可または禁止する信号そのものとなるか、または
その信号を生成する回路の入力となる」がある。したが
ってこの装置は、データ値に応じてメモリへの書込を許
可または禁止するか、許可または禁止のための要因を生
成するものである。この装置でも、リードモディファイ
ライトのような2回のサイクルは不要である。
"Data value indicating whether data writing is permitted or not"
Is an example of a data value to which data writing should be permitted. Another example is a data value whose data writing should be prohibited. An example of “forming the logic of permission / prohibition of data writing” is “become a signal itself for permitting or prohibiting data writing, or be an input of a circuit generating the signal”. Therefore, this device permits or prohibits writing to the memory, or generates a factor for permitting or prohibiting, depending on the data value. This device also does not require the two cycles of read-modify-write.

【0011】このメモリ制御装置はさらに、前記n個の
比較器の出力をそのままの論理で出力するモードと反転
して出力するモードを有する論理切替回路を含み、その
回路の出力が書込マスク信号として前記メモリへ入力さ
れてもよい。
The memory control device further includes a logic switching circuit having a mode in which the output of the n comparators is output in the logic as it is and a mode in which the output is inverted and output, and the output of the circuit is a write mask signal. May be input to the memory as.

【0012】本発明のさらに別の態様は表示装置であ
り、この装置は、これまで述べたいずれかのメモリ制御
装置を備え、また、前記書込データは描画データであ
り、表示すべきデータの部分的な書換を実現する。
Yet another aspect of the present invention is a display device, which comprises any of the memory control devices described above, and the write data is drawing data, and Realize partial rewriting.

【0013】なお、以上の構成要素の任意の組合せ、本
発明の表現を方法、装置、システム、記録媒体、コンピ
ュータプログラムなどの間で変換したものもまた、本発
明の態様として有効である。
It is to be noted that any combination of the above constituent elements, and the expression of the present invention converted between a method, an apparatus, a system, a recording medium, a computer program and the like are also effective as an aspect of the present invention.

【0014】[0014]

【発明の実施の形態】図1、図2は、背景画像200と
前景画像202を重ね合わせて合成画像204を生成す
る、ふたとおりの論理を示している。前景画像202
は、もともとはテキストデータであっても、ここではす
でに画像データに変換されている。また、前景画像20
2は、処理によっては必ずしも前景にこないが、便宜上
そう呼ぶ。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT FIGS. 1 and 2 show the dual logic for generating a composite image 204 by superimposing a background image 200 and a foreground image 202. Foreground image 202
Is originally text data, but here it has already been converted to image data. Also, the foreground image 20
2 does not always come to the foreground depending on the processing, but is referred to as such for convenience.

【0015】図1は、背景画像200に対して前景画像
202の文字を重ねるもので、合成画像204では、前
景画像202の文字のある部分だけが前景画像202の
画像であり、それ以外の部分は背景画像200の画像で
ある。これは背景動画にデータ放送された情報をテロッ
プその他の形態で表示する際に利用される方法で、以下
これを「ON書き」とよぶ。
In FIG. 1, the characters of the foreground image 202 are superimposed on the background image 200. In the composite image 204, only the part of the foreground image 202 with the characters is the image of the foreground image 202, and the other parts. Is an image of the background image 200. This is a method used when displaying information that has been data-broadcasted on a background moving image in the form of a telop or other form, and is hereinafter referred to as "ON writing".

【0016】図2は逆に、合成画像204において、前
景画像202のマークのある部分だけが背景画像200
の画像であり、それ以外の部分は前景画像202の画像
である。これはマークの部分だけ背景動画を透かし見せ
る用途に利用でき、以下「OFF書き」とよぶ。
Contrary to FIG. 2, in the composite image 204, only the marked portion of the foreground image 202 is the background image 200.
The image of the foreground image 202 is the other image. This can be used for the purpose of showing the background moving image as a watermark only in the mark part, and is referred to as "OFF writing" below.

【0017】本実施の形態は、こうした文字やマーク
が、多くの場合、単色であるか、背景動画に比べれば一
般に非常に少ない色数で表現されるという知見に基づ
く。たとえば、図1のON書きにおいて、文字「A」の
部分が黒の単色であるとする。すると、合成画像204
を生成するためには、背景画像200の画素のうち、前
景画像202において「黒」である画素のみをその色に
書き換えればよい。したがって、概略は以下のメモリ制
御となる。
The present embodiment is based on the knowledge that such characters and marks are often monochrome or expressed with a very small number of colors as compared with the background moving image. For example, in the ON writing of FIG. 1, it is assumed that the portion of the character "A" is a black single color. Then, the composite image 204
Of the background image 200, only the pixels that are “black” in the foreground image 202 need to be rewritten to that color. Therefore, the outline of the memory control is as follows.

【0018】1)メモリに背景画像200を格納する。 2)前景画像202をスキャンしながら、順次その画素
値を背景画像200へ上書きしていく。ただしこの際、
前景画像202の画素のうち「黒」でないことがわかっ
た画素の書込のタイミングで「書込マスク信号」をアサ
ート、すなわちアクティブで出力し、メモリの内容にラ
イトプロテクトをかける。
1) The background image 200 is stored in the memory. 2) While scanning the foreground image 202, the pixel values thereof are sequentially overwritten on the background image 200. However, at this time,
Of the pixels of the foreground image 202, the "write mask signal" is asserted at the timing of writing the pixel which is found not to be "black", that is, the pixel is output as active, and the contents of the memory are write-protected.

【0019】この処理により、前景画像202において
黒だった画素だけが背景画像200に上書きされ、合成
画像204が得られる。なお、OFF書きの場合は「書
込マスク信号」の論理を反転すればよい。
By this processing, only the black pixels in the foreground image 202 are overwritten on the background image 200, and the composite image 204 is obtained. In the case of OFF writing, the logic of the "write mask signal" may be inverted.

【0020】図3は以上の制御を実現するメモリ制御装
置100の回路図である。同図において、書込データは
D0−31の32ビットであるが、これを説明の簡潔お
よび便宜のため下位バイトから順にB1、B2、B3、
B4と表記している。メモリ10はデータのバス幅が4
バイトで、書込の単位データ幅は1バイトである。制御
信号とアドレス信号は省略している。メモリ10は書込
マスク入力MSK1〜4を有し、されらがそれぞれバイ
トB1〜4の書込をプロテクトする。この図では、すべ
ての信号はハイでアクティブと決めるが、もちろんそれ
に限る趣旨ではない。
FIG. 3 is a circuit diagram of the memory control device 100 that realizes the above control. In the figure, the write data is 32 bits of D0-31, but for simplicity and convenience of description, B1, B2, B3, in order from the lower byte.
It is written as B4. Memory 10 has a data bus width of 4
The writing unit data width is 1 byte. Control signals and address signals are omitted. Memory 10 has write mask inputs MSK1-4, which protect the writing of bytes B1-4, respectively. In this figure, all signals are determined to be high and active, but this is not a limitation.

【0021】メモリ制御装置100は、データ書込許否
の指示に関連する指示レジスタ12を有する。指示レジ
スタ12にはCPUから所望の値が設定される。指示レ
ジスタ12の出力、すなわち設定値Sは第1比較器2
2、第2比較器24、第3比較器26、第4比較器28
の第2のポートへ共通して入力される。これらの比較器
は第1のポートの入力データ値と第2のポートの入力デ
ータ値を比較し、両者が一致したとき、それぞれCPO
UT1〜4をアサートする。第1比較器22、第2比較
器24、第3比較器26、第4比較器28の第1ポート
には、それぞれ書込データのバイトB1〜4が入力され
ている。
The memory control device 100 has an instruction register 12 related to the instruction of data write permission. A desired value is set in the instruction register 12 by the CPU. The output of the instruction register 12, that is, the set value S is the first comparator 2
2, second comparator 24, third comparator 26, fourth comparator 28
Is commonly input to the second port of the. These comparators compare the input data value of the first port and the input data value of the second port, and when they match, the CPO
Assert UT1-4. Bytes B1 to B4 of write data are input to the first ports of the first comparator 22, the second comparator 24, the third comparator 26, and the fourth comparator 28, respectively.

【0022】比較器の出力CPOUT1〜4は、それぞ
れ第1EXOR32、第2EXOR34、第3EXOR
36、第4EXOR38(EXORは排他的論理和ゲー
トを示す)の一方の入力へ接続される。これらのEXO
Rの他方の入力には、ON信号16が接続される。モー
ドレジスタ14はON信号16をハイまたはローに設定
する。モードレジスタ14に対してCPUから「ON書
き」が指定されるとON信号16はハイになり、「OF
F書き」が指定されるとローになる。第1EXOR3
2、第2EXOR34、第3EXOR36、第4EXO
R38の出力は、それぞれメモリ10の書込マスク信号
MSK1〜4となる。第1EXOR32、第2EXOR
34、第3EXOR36、第4EXOR38およびモー
ドレジスタ14が書込マスク信号の論理切替回路として
作用する。
Outputs CPOUT1 to 4 of the comparator are respectively a first EXOR 32, a second EXOR 34 and a third EXOR.
36, the fourth EXOR 38 (EXOR indicates an exclusive OR gate) is connected to one input. These EXO
An ON signal 16 is connected to the other input of R. The mode register 14 sets the ON signal 16 to high or low. When the CPU specifies "ON writing" for the mode register 14, the ON signal 16 becomes high, and "OF" is set.
It becomes low when "F writing" is specified. First EXOR3
2, second EXOR34, third EXOR36, fourth EXO
The outputs of R38 become the write mask signals MSK1 to MSK4 of the memory 10, respectively. First EXOR 32, second EXOR
34, the third EXOR 36, the fourth EXOR 38 and the mode register 14 act as a logic switching circuit for the write mask signal.

【0023】以上の構成による動作を述べる。背景画像
200の画像データはすでにメモリ10に格納されてい
る。書込データD0−31として前景画像202のデー
タが順に送られてくる。このデータはメモリ10を順に
上書きしていくが、書込データがバイトを単位として
「黒」以外のデータであれば、そのバイトについて書込
マスク信号がアクティブになり、書込が阻止される。
「黒」を示す画素値を仮に「00h」とすると、データ
の転送に先立ち、CPUから指示レジスタ12に対して
「00h」が書き込まれる。また、モードレジスタ14
には、同様にCPUから「ON書き」が指定されてい
る。
The operation of the above configuration will be described. The image data of the background image 200 is already stored in the memory 10. The data of the foreground image 202 is sequentially sent as the write data D0-31. This data sequentially overwrites the memory 10, but if the write data is data other than "black" in bytes, the write mask signal becomes active for that byte and writing is blocked.
Assuming that the pixel value indicating "black" is "00h", "00h" is written from the CPU to the instruction register 12 before the data transfer. In addition, the mode register 14
Similarly, "ON writing" is designated by the CPU.

【0024】いま仮に、バイトB1のデータが「00
h」ではなく、黒ではないとする。このとき、第1比較
器22の出力CPOUT1はローになる。ON信号16
はハイなので、第1EXOR32の出力MSK1はハイ
になり、このバイトの書込が阻止され、背景画像200
のデータがそのまま残る。逆に、バイトB1のデータが
「00h」、すなわち黒であれば、第1比較器22の出
力CPOUT1はハイになり、第1EXOR32の出力
である書込マスク信号MSK1はローになり、このバイ
トの書込が許可され、前景画像202のデータがメモリ
に書き込まれる。他のバイトも同様である。この動作の
繰り返しにより、前景画像202のデータのうち黒い画
素だけがメモリに書き込まれ、ON書きが実現する。
Now assume that the data of byte B1 is "00".
h ”, not black. At this time, the output CPOUT1 of the first comparator 22 becomes low. ON signal 16
Is high, the output MSK1 of the first EXOR 32 goes high, preventing writing of this byte, and the background image 200
Data remains. On the contrary, if the data of the byte B1 is "00h", that is, black, the output CPOUT1 of the first comparator 22 becomes high and the write mask signal MSK1 which is the output of the first EXOR 32 becomes low. Writing is permitted, and the data of the foreground image 202 is written in the memory. The same applies to the other bytes. By repeating this operation, only black pixels of the data of the foreground image 202 are written in the memory, and ON writing is realized.

【0025】図4は書込マスク信号MSK1〜4とバイ
トB1〜4の書換の関係を示す。同図ではMSK1=M
SK4=1、MSK2=MSK3=0であり、バイトB
2とB3が更新され、バイトB1とB4は前値が保持さ
れる。データの比較をバイト単位で行うため、この図の
ごとく、バイト単位で書換の許否を制御できる。
FIG. 4 shows the relationship between the write mask signals MSK1 to MSK4 and the rewriting of the bytes B1 to B4. In the figure, MSK1 = M
SK4 = 1, MSK2 = MSK3 = 0, byte B
2 and B3 are updated, and bytes B1 and B4 hold the previous value. Since data comparison is performed in byte units, rewriting permission / prohibition can be controlled in byte units as shown in this figure.

【0026】図5はメモリ制御装置100の別の形態を
示す。ここでは、指示レジスタ12と第1比較器22だ
けを描いているが、第2比較器24、第3比較器26、
第4比較器28も第2ポートは第1比較器22と同じ入
力である。第1ポートには当然ながら対応するバイトの
データが入力される。
FIG. 5 shows another form of the memory control device 100. Although only the instruction register 12 and the first comparator 22 are drawn here, the second comparator 24, the third comparator 26,
The second port of the fourth comparator 28 has the same input as that of the first comparator 22. Of course, the corresponding byte of data is input to the first port.

【0027】この形態では、指示レジスタ12の内部に
ふたつのサブレジスタA12a、サブレジスタB12b
が設けられ、CPUからふたつの値が設定可能である。
便宜上、サブレジスタA12a、サブレジスタB12b
に設定された値をそれぞれDA、DB(DA≦DB)と
表記する。また、バイトB1の示す値をXと表記する。
第1比較器22の仕様はいくつか考えられ、例えば以下
の例がある。
In this embodiment, two sub-registers A12a and B12b are provided inside the instruction register 12.
Is provided, and two values can be set from the CPU.
For convenience, the sub-register A12a and the sub-register B12b
The values set in are described as DA and DB (DA ≦ DB), respectively. Further, the value indicated by the byte B1 is expressed as X.
There are several possible specifications for the first comparator 22, and there are the following examples, for example.

【0028】1.X=DAまたはX=DBのときに限
り、CPOUT1=1 2.DA≦X≦DBのときに限り、CPOUT1=1 すなわち、データ書込の許否は、データ値を直接複数指
定してもよいし、範囲指定であってもよい。当然なが
ら、サブレジスタは3個以上の任意の数であってよい。
1. CPOUT1 = 1 only when X = DA or X = DB 2. Only when DA ≦ X ≦ DB, CPOUT1 = 1, that is, whether data writing is permitted or not may be directly designated by a plurality of data values or may be designated by a range. Of course, the sub-registers can be any number greater than or equal to three.

【0029】図6は以上のメモリ制御装置100を利用
した表示装置300、より具体的にはテレビジョン受像
機の構成を示す。放送波はアンテナ302を介してチュ
ーナ304へ与えられる。ここで復調されたストリーム
は音声・画像デコーダ306へ送られる。音声・画像デ
コーダ306は所望のチャネルに対応するパケットを例
えばMPEGの仕様に準じて復号し、音声データを音声
処理部308へ、画像データを画像処理部310へそれ
ぞれ出力する。音声処理部308は音声データに所定の
処理を施し、最終的に音声がスピーカ330へ出力され
る。画像処理部310は入力された画像データに所定の
処理を施し、処理後のデータをメモリ10へ格納する。
メモリ10にはメモリ制御装置100が併設されてい
る。
FIG. 6 shows a configuration of a display device 300 using the above memory control device 100, more specifically, a television receiver. The broadcast wave is given to the tuner 304 via the antenna 302. The stream demodulated here is sent to the audio / image decoder 306. The audio / image decoder 306 decodes a packet corresponding to a desired channel according to, for example, the MPEG specifications, and outputs audio data to the audio processing unit 308 and image data to the image processing unit 310, respectively. The voice processing unit 308 performs predetermined processing on the voice data, and finally voice is output to the speaker 330. The image processing unit 310 performs a predetermined process on the input image data and stores the processed data in the memory 10.
A memory control device 100 is attached to the memory 10.

【0030】CPU320は、以上の各部を統括的に制
御する。メモリ10では、スピーカ330とメモリ制御
装置100の協働によって必要なON書きまたはOFF
書きの処理がなされ、メモリ10の出力がNTSCその
他に準拠するエンコーダ312を経て所望の表示ユニッ
ト332へ出力される。
The CPU 320 centrally controls each of the above parts. In the memory 10, the speaker 330 and the memory control device 100 cooperate to turn on or off the necessary
Writing processing is performed, and the output of the memory 10 is output to a desired display unit 332 via an encoder 312 conforming to NTSC or the like.

【0031】以上、本発明を実施の形態をもとに説明し
た。この実施の形態は例示であり、それらの各構成要素
や各処理プロセスの組合せにいろいろな変形例が可能な
こと、またそうした変形例も本発明の範囲にあることは
当業者に理解されるところである。以下、そうした例を
挙げる。
The present invention has been described above based on the embodiments. It should be understood by those skilled in the art that this embodiment is merely an example, and that various modifications can be made to the combinations of the respective constituent elements and the respective processing processes, and that such modifications are also within the scope of the present invention. is there. Below, such an example is given.

【0032】メモリ制御装置100は、全体または任意
の一部をひとつのLSIに内蔵してもよい。このLSI
は、いわゆるグラフィックコントローラであってもよ
い。
The memory control device 100 may be wholly or partly incorporated in one LSI. This LSI
May be a so-called graphic controller.

【0033】実施の形態では、データの書込を禁止する
ためにメモリ10の書込マスク入力を利用した。この信
号がない場合は、たとえば、メモリ10のバイト毎に設
けられたCAS(Column Address Strobe)その他ライ
ト動作を確定する信号をネゲート、すなわちインアクテ
ィブで出力する方法がある。CAS信号は一般にローア
クティブであるから、第1EXOR32等の出力信号と
CAS信号のオア信号を新たなCAS信号としてメモリ
10に与えればよい。
In the embodiment, the write mask input of the memory 10 is used to prohibit the writing of data. When this signal is not present, for example, there is a method of negating, ie, inactively outputting a signal (CAS) provided for each byte of the memory 10 or the like, which determines a write operation. Since the CAS signal is generally low active, the output signal of the first EXOR 32 or the like and the OR signal of the CAS signal may be given to the memory 10 as a new CAS signal.

【0034】実施の形態では、メモリ制御装置100の
アプリケーションとして表示装置300を例示したが、
当然他の用途がある。例えば、PC(パーソナルコンピ
ュータ)その他任意のコンピュータに適用できるし、任
意のデジタル映像機器に適用できる。
In the embodiment, the display device 300 is exemplified as the application of the memory control device 100.
Of course, there are other uses. For example, it can be applied to any computer such as a PC (personal computer) or any digital video device.

【0035】[0035]

【発明の効果】本発明によれば、必要な部分のみを高速
に書き換えるためのメモリ制御とその応用機器が実現す
る。また、比較的少ない回路構成で、必要なデータの書
換が柔軟に実施できる。
According to the present invention, memory control for rewriting only a necessary part at high speed and its application device are realized. In addition, necessary data can be rewritten flexibly with a relatively small circuit configuration.

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

【図1】 実施の形態に係る「ON書き」の画像処理を
示す図である。
FIG. 1 is a diagram showing image processing of “ON writing” according to an embodiment.

【図2】 実施の形態に係る「OFF書き」の画像処理
を示す図である。
FIG. 2 is a diagram showing image processing of “OFF writing” according to the embodiment.

【図3】 実施の形態に係るメモリ制御装置の構成図で
ある。
FIG. 3 is a configuration diagram of a memory control device according to an embodiment.

【図4】 図3のメモリ制御装置による書込マスク信号
とデータの更新の関係を示す図である。
FIG. 4 is a diagram showing a relationship between a write mask signal and data update by the memory control device of FIG. 3;

【図5】 図3のメモリ制御装置の別の構成図である。5 is another configuration diagram of the memory control device of FIG. 3. FIG.

【図6】 図3のメモリ制御装置を利用する表示装置の
構成図である。
6 is a configuration diagram of a display device using the memory control device of FIG.

【符号の説明】[Explanation of symbols]

10 メモリ、 12 指示レジスタ、 14 モード
レジスタ、 22 第1比較器、 24 第2比較器、
26 第3比較器、 28 第4比較器、32 第1
EXOR、 34 第2EXOR、 36 第3EXO
R、 38第4EXOR、 100 メモリ制御装置、
200 背景画像、 202 前景画像、 204
合成画像、 300 表示装置、 320 CPU。
10 memory, 12 instruction register, 14 mode register, 22 first comparator, 24 second comparator,
26 3rd comparator, 28 4th comparator, 32 1st
EXOR, 34 2nd EXOR, 36 3rd EXO
R, 38 4th EXOR, 100 memory controller,
200 background image, 202 foreground image, 204
Composite image, 300 display device, 320 CPU.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G09G 5/00 550 G09G 5/00 550P 5/393 5/36 530E Fターム(参考) 5B060 DA04 GA01 5B069 AA01 BC02 LA02 LA12 LA15 5C082 AA02 BA12 BA27 BB03 BB13 BB15 BB22 BB53 CA56 DA22 DA42 DA54 DA64 DA73 DA86 MM02 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 7 Identification symbol FI theme code (reference) G09G 5/00 550 G09G 5/00 550P 5/393 5/36 530E F term (reference) 5B060 DA04 GA01 5B069 AA01 BC02 LA02 LA12 LA15 5C082 AA02 BA12 BA27 BB03 BB13 BB15 BB22 BB53 CA56 DA22 DA42 DA54 DA64 DA73 DA86 MM02

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 メモリに対してデータを書き込む際、そ
のデータ値が予め設定された値と所定の関係を満たすと
きにはそのデータの書込をそのまま実行し、前記データ
値が前記所定の関係を満たさないときには書込マスク信
号を出力してデータの書込を禁止することを特徴とする
メモリ制御方法。
1. When writing data to a memory, when the data value satisfies a predetermined relationship with a preset value, the writing of the data is executed as it is, and the data value satisfies the predetermined relationship. A memory control method characterized by outputting a write mask signal to inhibit data writing when there is no data.
【請求項2】 書込の単位データ幅のn倍(nは自然
数)のデータバス幅を有するメモリを制御する装置であ
って、 データ書込の許否を指示するデータ値を保持する指示レ
ジスタと、 前記メモリに対する書込データをそれぞれ前記単位デー
タ幅ごとに第1のポートにて受け、前記指示レジスタの
出力を共通して第2のポートにて受けるn個の比較器
と、 を備え、これらn個の比較器の出力がそれぞれ前記メモ
リの単位データ幅ごとのデータ書込許否の論理を形成す
ることを特徴とするメモリ制御装置。
2. A device for controlling a memory having a data bus width n times (n is a natural number) the writing unit data width, and an instruction register for holding a data value for instructing permission or prohibition of data writing. , N comparators that receive write data to the memory for each unit data width at the first port and commonly receive the output of the instruction register at the second port, A memory controller, wherein outputs of n comparators form a logic of data write permission / prohibition for each unit data width of the memory.
【請求項3】 前記n個の比較器の出力をそのままの論
理で出力するモードと反転して出力するモードを有する
論理切替回路をさらに含み、その回路の出力が書込マス
ク信号として前記メモリへ入力されることを特徴とする
請求項2に記載のメモリ制御装置。
3. A logic switching circuit having a mode in which the outputs of the n comparators are output in the same logic as that of the logic and a mode in which the outputs are inverted and output, and the output of the circuit is supplied to the memory as a write mask signal. The memory control device according to claim 2, wherein the memory control device is input.
【請求項4】 請求項2または3に記載のメモリ制御装
置を備え、前記書込データは描画データであり、表示す
べきデータの部分的な書換を実現したことを特徴とする
表示装置。
4. A display device comprising the memory control device according to claim 2 or 3, wherein the write data is drawing data, and partial rewriting of data to be displayed is realized.
JP2002054135A 2002-02-28 2002-02-28 MEMORY CONTROL METHOD AND DEVICE, AND DISPLAY DEVICE USING THEM Expired - Fee Related JP4070480B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002054135A JP4070480B2 (en) 2002-02-28 2002-02-28 MEMORY CONTROL METHOD AND DEVICE, AND DISPLAY DEVICE USING THEM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002054135A JP4070480B2 (en) 2002-02-28 2002-02-28 MEMORY CONTROL METHOD AND DEVICE, AND DISPLAY DEVICE USING THEM

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2007273331A Division JP4549377B2 (en) 2007-10-22 2007-10-22 Memory control device

Publications (2)

Publication Number Publication Date
JP2003256271A true JP2003256271A (en) 2003-09-10
JP4070480B2 JP4070480B2 (en) 2008-04-02

Family

ID=28665373

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002054135A Expired - Fee Related JP4070480B2 (en) 2002-02-28 2002-02-28 MEMORY CONTROL METHOD AND DEVICE, AND DISPLAY DEVICE USING THEM

Country Status (1)

Country Link
JP (1) JP4070480B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7380076B2 (en) 2004-01-27 2008-05-27 Seiko Epson Corporation Information processing apparatus and method of accessing memory
JP2013041625A (en) * 2012-11-12 2013-02-28 Toshiba Corp Memory controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7380076B2 (en) 2004-01-27 2008-05-27 Seiko Epson Corporation Information processing apparatus and method of accessing memory
JP2013041625A (en) * 2012-11-12 2013-02-28 Toshiba Corp Memory controller

Also Published As

Publication number Publication date
JP4070480B2 (en) 2008-04-02

Similar Documents

Publication Publication Date Title
KR100412763B1 (en) Image processing apparatus
JP3385135B2 (en) On-screen display device
US20050027993A1 (en) Transmitting device, receiving device and transmitting/receiving system
US6567097B1 (en) Display control apparatus
JP2000284776A (en) Picture processor
US6223268B1 (en) System and method for writing specific bytes in a wide-word memory
JP3190834B2 (en) OSD display circuit
US6160590A (en) Video signal processing circuit inhibiting display of distorted images
JP2005184458A (en) Video signal processing apparatus
JP4070480B2 (en) MEMORY CONTROL METHOD AND DEVICE, AND DISPLAY DEVICE USING THEM
JP4549377B2 (en) Memory control device
JPH04174497A (en) Display controlling device
JP2863577B2 (en) Image information control method and apparatus
JPH10301551A (en) Video data transfer system
JP6790276B2 (en) Video output control device and video output control method
JP2002196744A (en) Picture display device
JP4280368B2 (en) Image processing device
JP2007298796A (en) Osd data processing system, projector and osd data processing method
JP2003115993A (en) Image rotation processing apparatus and method
JP2002271751A (en) Display control method and device
KR100747582B1 (en) Apparatus and method for processing of image data in digital multimedia broadcasting system
JPH11146276A (en) Image processor
JPH01206392A (en) Screen synthesizing circuit
JP2001069448A (en) Image processor
JPH1031479A (en) Display controller, display control method, and computer storage memory

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041119

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061205

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070201

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070227

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070425

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070821

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071022

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071126

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20071129

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20071218

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080115

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

Free format text: PAYMENT UNTIL: 20110125

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110125

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120125

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130125

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees