JP3455405B2 - Memory address generator - Google Patents

Memory address generator

Info

Publication number
JP3455405B2
JP3455405B2 JP35852897A JP35852897A JP3455405B2 JP 3455405 B2 JP3455405 B2 JP 3455405B2 JP 35852897 A JP35852897 A JP 35852897A JP 35852897 A JP35852897 A JP 35852897A JP 3455405 B2 JP3455405 B2 JP 3455405B2
Authority
JP
Japan
Prior art keywords
address
signal
memory
register
pointer
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 - Fee Related
Application number
JP35852897A
Other languages
Japanese (ja)
Other versions
JPH11191077A (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 Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP35852897A priority Critical patent/JP3455405B2/en
Priority to EP98118641A priority patent/EP0908827B8/en
Priority to DE69836786T priority patent/DE69836786T2/en
Priority to EP06011660A priority patent/EP1691296A3/en
Priority to US09/165,785 priority patent/US6453394B2/en
Publication of JPH11191077A publication Critical patent/JPH11191077A/en
Priority to US10/195,975 priority patent/US6732252B2/en
Application granted granted Critical
Publication of JP3455405B2 publication Critical patent/JP3455405B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、デジタル信号をメ
モリに書き込んだり、デジタル信号をメモリから読み出
すためのメモリインターフェース装置に関し、特にメモ
リのアドレスを発生するためのメモリインターフェース
装置におけるメモリアドレス発生装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory interface device for writing a digital signal to a memory and reading a digital signal from the memory, and more particularly to a memory address generating device in a memory interface device for generating an address of a memory. It is a thing.

【0002】[0002]

【従来の技術】近年、音声信号処理および映像信号処理
分野においては、信号のディジタル化とディジタル処理
が普及してきている。また、マルチメディア化に伴い、
信号源が多様化し、ディジタル信号に対してより高度な
処理が要求されてきており、この様な高度な処理の中で
も、メモリを利用した処理が重要視されている。
2. Description of the Related Art In recent years, signal digitization and digital processing have become widespread in the audio signal processing and video signal processing fields. In addition, with the introduction of multimedia,
The signal sources are diversified, and higher-level processing is required for digital signals. Among such high-level processing, processing using memory is emphasized.

【0003】特に、映像信号に関しては、1つのテレビ
システム内で、例えばNTSC,PAL,HDTV,VGA,SVGA等の異な
るフォーマットのディジタル映像信号を処理することが
要求される。このような複数種類のフォーマットの映像
信号を扱うには、メモリを用いて、映像信号を該映像信
号のレートでリアルタイムで処理することが可能なディ
ジタル信号処理システムが必要不可欠となり、これに伴
いメモリのアドレス制御方法もますます複雑化してい
る。
In particular, regarding video signals, it is required to process digital video signals of different formats such as NTSC, PAL, HDTV, VGA, SVGA in one television system. In order to handle video signals of such multiple formats, a digital signal processing system capable of processing the video signals in real time at the rate of the video signals using a memory is indispensable. The address control method is becoming more and more complicated.

【0004】従来のメモリ制御装置では、複数のアドレ
スポインタ毎に、メモリのアドレスを算出するための専
用ハードウエアを設計することにより実現していた。
The conventional memory control device has been realized by designing dedicated hardware for calculating the memory address for each of a plurality of address pointers.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記に
述べたような様々な映像信号を扱うテレビシステムで
は、複数種類のフォーマットの映像信号に対応したメモ
リアドレス制御を行うために、複数の専用ハードウェア
を用意していたので、回路規模が大となる傾向があっ
た。
However, in the television system which handles various video signals as described above, a plurality of dedicated hardware are used to perform memory address control corresponding to video signals of a plurality of formats. Since it was prepared, the circuit scale tended to be large.

【0006】また、ある同期系の映像信号を異なった同
期系の映像信号に変換するフレームシンクロ処理におい
ては、フレームシンクロのために専用のメモリを使用し
なければならなかった。
Further, in the frame synchronization processing for converting a video signal of a certain synchronization system into a video signal of a different synchronization system, a dedicated memory has to be used for the frame synchronization.

【0007】そこで、本発明は、上述の問題点に鑑みな
されたもので、簡単な構成で、メモリにおける複数種類
のアドレスを発生することが可能であり、更に1つのメ
モリを使用するだけで、非同期の複数の映像信号を処理
することを可能にするメモリアドレス発生装置を提供す
るものである。
Therefore, the present invention has been made in view of the above-mentioned problems, and it is possible to generate a plurality of types of addresses in a memory with a simple structure. Further, by using only one memory, The present invention provides a memory address generator capable of processing a plurality of asynchronous video signals.

【0008】[0008]

【課題を解決するための手段】上記課題を解決するため
に、本願発明は、メモリをアクセスするための複数のア
ドレスを生成するメモリアドレス発生装置であって、所
定のタイミングで、N個(Nは自然数)のアドレスを該各ア
ドレスの所定の相対関係に基づいて更新するアドレス更
新手段を具備し、更新された前記各アドレスをインクリ
メントしている。
In order to solve the above-mentioned problems, the present invention is a memory address generating device for generating a plurality of addresses for accessing a memory, wherein N (N) A natural number) is updated based on a predetermined relative relationship of each address, and the updated address is incremented.

【0009】上記構成により、演算手段をアドレスの数
だけ用意する必要がなく、ひとつの演算手段のみで複数
のアドレスの更新が行えるため、メモリアドレス発生装
置を小回路規模で実現することが可能となる。また、複
数のアドレスを所定の相対関係に基づいて更新すること
により、常に各アドレスの相対関係を保ちながら、各ア
ドレスをメモリ空間内に割り当てることができる。
With the above structure, it is not necessary to prepare the arithmetic means for the number of addresses, and a plurality of addresses can be updated by only one arithmetic means, so that the memory address generator can be realized in a small circuit scale. Become. Further, by updating a plurality of addresses based on a predetermined relative relationship, it is possible to allocate each address in the memory space while always maintaining the relative relationship of each address.

【0010】1つの実施形態では、前記各アドレスの所
定の相対関係は、K個(Kは自然数)の所定値によって表さ
れ、前記アドレス更新手段は、前記各アドレスを前記K
個(Kは自然数)の所定値によって更新する。
In one embodiment, the predetermined relative relationship between the respective addresses is represented by K (K is a natural number) predetermined values, and the address updating means sets the respective addresses by the K
It is updated by a predetermined value of K (a natural number).

【0011】1つの実施形態では、前記K個(Kは自然数)
の所定値は、オフセット値であって、前記アドレス更新
手段は、前記アドレスよりあらかじめ定めた所定のアド
レスを前記オフセット値に基づく演算により選択的に更
新して基準アドレスとした後、前記基準アドレスの演算
結果及び前記オフセット値に基づく演算により、前記
準アドレス以外のアドレスを更新する。
In one embodiment, the K number (K is a natural number)
The predetermined value of is an offset value, and the address updating means uses a predetermined add address determined from the address.
After the reference address the less selectively Update by calculation based on the offset value by calculation based on the calculation result and the offset value of the reference address, the group
Update addresses other than quasi-addresses .

【0012】上記構成により、複数のアドレスの制御を
基準アドレスに対する相対値で演算することにより、ア
ドレス更新時に演算が誤っても、次のアドレス更新時に
は再び各アドレスを正しい相対関係に導くことが可能と
なる。
With the above configuration, the control of a plurality of addresses is calculated by the relative value with respect to the reference address, so that even if the calculation is erroneous at the time of updating the address, each address can be led to the correct relative relationship again at the time of the next address updating. Becomes

【0013】1つの実施形態では、前記アドレス更新手
段は、前記基準アドレスとなる前記各アドレスのうちの
1つの更新方向と、前記各アドレスのうちの他のものの
更新方向とを逆にし、その更新方向を加減算識別信号と
してアドレス更新手段の情報に入力する
[0013] In one embodiment, the address update unit, and one of the update directions of the respective address to which the reference address, the the update direction in another of the each address Conversely, the The update direction is the addition / subtraction identification signal
Then, the information of the address updating means is input .

【0014】上記構成により、基準アドレスの更新方向
と他のアドレスの更新方向を逆にとることにより演算器
の符号の情報をレジスタ内に格納する必要がなく、レジ
スタのビット数を削減できる。さらに、演算器のビット
数を削減することができる。
With the above configuration, by reversing the updating direction of the reference address and the updating direction of other addresses, it is not necessary to store the code information of the arithmetic unit in the register, and the number of bits of the register can be reduced. Furthermore, the number of bits of the arithmetic unit can be reduced.

【0015】1つの実施形態では、周波数が異なる第1
同期信号及び第2同期信号を具備し、前記アドレス更新
手段は、前記第1及び第2同期信号を選択的に用いて、
前記各アドレスを選択的に更新する。
In one embodiment, the first at a different frequency
A synchronization signal and a second synchronization signal, wherein the address updating means selectively uses the first and second synchronization signals,
The respective addresses are selectively updated.

【0016】上記構成により、アドレスのうち必要なも
のについては例えばHブランキング開始信号毎に更新を
行うことにより、水平方向のオフセットをアドレスに与
えることができ、例えばメモり上で小画面を形成するこ
とが可能となる。
With the above-mentioned structure, a necessary offset address is updated for each H blanking start signal, so that an offset in the horizontal direction can be given to the address. For example, a small screen is formed on a memory. It becomes possible to do.

【0017】1つの実施形態では、前記アドレス更新手
段は、1つのメモリのアドレス空間を論理的に複数の領
域に分割し、各領域毎に、相互に異なるそれぞれの進め
方でそれぞれのアドレスポインタをインクリメントする
ことにより、アドレスを発生する。
In one embodiment, the address updating means logically divides the address space of one memory into a plurality of areas, and increments the address pointers in respective different ways for each area. To generate an address.

【0018】上記構成により、ビット数や必要なフィー
ルド数が異なる各映像信号の書き込み及び読み出しを行
う場合に、1つのメモリ空間のなかで、複数の記憶領域
を形成し、各記憶領域毎に、それぞれが異なった速度で
ポインタを進めるので、メモリ空間を有効に使用するこ
とができる。
With the above configuration, when writing and reading each video signal having a different number of bits and a required number of fields, a plurality of storage areas are formed in one memory space, and each storage area is Since each advances the pointer at different speeds, the memory space can be effectively used.

【0019】1つの実施形態では、前記アドレス更新手
段は、1つのメモリのアドレス空間を0番地を含む第1
領域と最終番地を含む第2領域とに単一の境界値で分割
し、どちらの領域についても0番地を基準とする論理ア
ドレスでアドレス演算を行い、第2領域に関しては演算
結果を反転することにより実アドレスを出力する。
In one embodiment, the address updating means includes a first address space of one memory including a first address.
Divide the area and the second area including the final address by a single boundary value, perform the address operation with the logical address based on address 0 for both areas, and invert the operation result for the second area Outputs the real address.

【0020】上記構成により、メモリ空間を単一の境界
で2つの記憶領域に分割する場合は、論理アドレスを導
入することによりどちらの記憶領域も同様に扱えるため
に、回路規模を削減することが可能となる。
With the above configuration, when the memory space is divided into two storage areas at a single boundary, both storage areas can be handled in the same way by introducing a logical address, so that the circuit scale can be reduced. It will be possible.

【0021】1つの実施形態では、M種類(Mは自然数)の
同期信号と、この同期信号とは非同期のK種類(Kは自然
数)の非同期信号とを具備し、前記アドレス更新手段
は、1つのメモリのアドレス空間内に、非同期系の信号
の書き込み及び読み出しを行うための専用領域を設け、
非同期系の信号の読み出しアドレスを、所定のタイミン
グ毎に保持しておいた書き込みのアドレスと、書き込み
と読み出しの周波数差に相当する識別信号を基に算出す
る。
In one embodiment, M types (M is a natural number) of synchronization signals and K types (K is a natural number) of asynchronous signals that are asynchronous with the synchronization signals are provided, and the address updating means is 1 A dedicated area for writing and reading asynchronous signals is provided in the address space of one memory.
Set the read address of the asynchronous signal to the specified timing.
Write address held for each group and write
Is calculated based on the identification signal corresponding to the frequency difference between read and .

【0022】上記構成により、非同期の複数の映像信号
の書き込み及び読み出すを行う場合でも、1つのメモリ
アドレス発生装置によってアドレスを発生し、1つのメ
モリで非同期系の信号を同期系に合わせて矛盾なく読み
出すことが可能となる。
With the above configuration, even when a plurality of asynchronous video signals are written and read out, an address is generated by one memory address generator, and an asynchronous signal is synchronized with a synchronous signal in one memory without any contradiction. It becomes possible to read.

【0023】[0023]

【発明の実施の形態】以下、本発明の実施形態を添付図
面を参照して説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the accompanying drawings.

【0024】(第1実施形態)図1は、本発明のメモリ
アドレス発生装置の第1実施形態を示している。この第
1実施形態では、ディジタル映像信号の書き込み及び読
み出しが行われるメモリのアドレスを発生することを前
提にしており、フィールドの度に、複数種類のアドレス
をそれぞれのオフセット値をもとに演算して更新してい
る。
(First Embodiment) FIG. 1 shows a first embodiment of the memory address generator of the present invention. In the first embodiment, it is premised that an address of a memory for writing and reading a digital video signal is generated, and a plurality of types of addresses are calculated for each field based on their respective offset values. I am updating.

【0025】図1において、500はレジスタ更新開始信
号(Vブランキング開始信号)を入力する入力端子、501
はアドレス発生タイミング信号を入力する入力端子、50
2はポインタ識別信号を入力する入力端子、503はアドレ
ス更新レジスタ、504はアドレス更新レジスタ503内の各
値A,B,C,Dと固定値"1"を選択して出力するセレクタ、50
5は演算器、506は演算器505の演算結果のアドレスをメ
モリ空間内に制限するためのリミッタ、507はアドレス
更新回路、508は各アドレスポインタに対応する各メモ
リアドレスを格納しておくアドレスレジスタ、509はア
ドレスレジスタ508内の各メモリアドレスを選択するセ
レクタ、510はメモリアドレスを出力する出力端子、519
はセレクタ509の出力を保持するラッチ、515は演算器50
5、各セレクタ504,509、アドレスレジスタ508及びラッ
チ519を制御する制御信号発生回路、511はセレクタ504
を制御する更新レジスタ選択信号、512はアドレスレジ
スタ508を制御するアドレスレジスタロード信号、513は
セレクタ509を制御するアドレスレジスタ選択信号、520
はセレクタ519にアドレスをロードするタイミングを示
すアドレスロード信号、514は演算器505の演算の種類を
指示するための加減算識別信号である。
In FIG. 1, reference numeral 500 denotes an input terminal for inputting a register update start signal (V blanking start signal), 501
Is an input terminal for inputting the address generation timing signal, 50
2 is an input terminal for inputting a pointer identification signal, 503 is an address update register, 504 is a selector for selecting and outputting each value A, B, C, D in the address update register 503 and a fixed value "1", 50
5 is an arithmetic unit, 506 is a limiter for limiting the address of the arithmetic result of the arithmetic unit 505 within the memory space, 507 is an address updating circuit, and 508 is an address register for storing each memory address corresponding to each address pointer. , 509 is a selector for selecting each memory address in the address register 508, 510 is an output terminal for outputting the memory address, 519
Is a latch that holds the output of the selector 509, and 515 is a calculator 50
5, a control signal generation circuit for controlling each selector 504, 509, address register 508 and latch 519, and 511 a selector 504
Update register selection signal that controls the address register, 512 is an address register load signal that controls the address register 508, 513 is an address register selection signal that controls the selector 509, and 520
Is an address load signal indicating the timing of loading an address to the selector 519, and 514 is an addition / subtraction identification signal for instructing the type of operation of the arithmetic unit 505.

【0026】本実施形態では、メモリ(図示せず)に対
しての書き込み及び読み出しが行われるディジタル映像
信号として、輝度信号Y及び色差信号Cを挙げており、こ
れらの輝度信号Y及び色差信号Cを該メモリに書き込み及
び読み出すことにより1フィールド遅延させている。メ
モリにおける輝度信号Y及び色差信号Cの各書き込みアド
レスポインタをW0,W1で表し、また各読み出しアドレス
ポインタR0,R1で表している。
In the present embodiment, the luminance signal Y and the color difference signal C are mentioned as digital video signals which are written to and read from the memory (not shown), and the luminance signal Y and the color difference signal C are listed. Is written in and read from the memory to delay one field. The write address pointers of the luminance signal Y and the color difference signal C in the memory are represented by W0 and W1 and the read address pointers R0 and R1.

【0027】アドレス更新レジスタ503には、各アドレ
スポインタW0,R0,W1,R1に対応する各オフセット値A,B,
C,Dが格納されている。
The address update register 503 has offset values A, B, and B corresponding to the address pointers W0, R0, W1, and R1, respectively.
Stores C and D.

【0028】メモリにおける輝度信号Y及び色差信号Cを
記憶している映像領域へのアクセスは、アドレスをイン
クリメントすることによって行われる。以下にその動作
を説明する。
Access to the image area in the memory where the luminance signal Y and the color difference signal C are stored is performed by incrementing the address. The operation will be described below.

【0029】制御信号発生回路515は、入力端子502から
のポインタ識別信号を入力すると、このポインタ識別信
号に対応するアドレスレジスタ選択信号513をセレクタ5
09に出力する。アドレスレジスタ508には、各アドレス
ポインタW0,R0,W1,R1に対応する各アドレスが格納され
ている。セレクタ509は、アドレスレジスタ選択信号513
によって示される各アドレスポインタW0,R0,W1,R1のい
ずれかを選択し、選択したアドレスポインタに対応する
アドレスをアドレスレジスタ508から取り出す。
Upon receiving the pointer identification signal from the input terminal 502, the control signal generation circuit 515 outputs the address register selection signal 513 corresponding to the pointer identification signal to the selector 5
Output to 09. The address register 508 stores each address corresponding to each address pointer W0, R0, W1, R1. The selector 509 has an address register selection signal 513.
One of the address pointers W0, R0, W1, and R1 indicated by is selected, and the address corresponding to the selected address pointer is fetched from the address register 508.

【0030】また、制御信号発生回路515は、入力端子5
01からのアドレス発生タイミング信号を入力すると、こ
のアドレス発生タイミング信号に対応するアドレスロー
ド信号520を生成してラッチ519に出力する。このアドレ
スロード信号520に応答して、ラッチ519は、セレクタ50
9からのアドレスを保持する。このラッチ519内のアドレ
スは、各アドレスポインタW0,R0,W1,R1のいずれかに対
応するメモリのアドレスとして出力され、このアドレス
に基づいてメモリへのアクセスが行われる。
Further, the control signal generating circuit 515 has the input terminal 5
When the address generation timing signal from 01 is input, the address load signal 520 corresponding to this address generation timing signal is generated and output to the latch 519. In response to the address load signal 520, the latch 519 is connected to the selector 50.
Holds the address from 9. The address in the latch 519 is output as the address of the memory corresponding to any of the address pointers W0, R0, W1 and R1, and the memory is accessed based on this address.

【0031】更に、セレクタ509から出力されたアドレ
スは演算器505にも加えられる。このとき、制御信号発
生回路515は、固定値"1"を示す更新レジスタ選択信号51
1をセレクタ504に与えており、これに応答してセレクタ
504から演算器505へと固定値"1"が出力されている。制
御信号発生回路515は、加算を示す加減算識別信号514を
演算器505に出力している。演算器505は、加減算識別信
号514に応答して、セレクタ509からのアドレスに固定
値"1"を加算して、このアドレスを更新し、更新された
アドレスをリミッタ506を介してアドレスレジスタ508に
戻す。アドレスレジスタ508は、制御信号発生回路515か
らのアドレスレジスタロード信号512に応答して、アド
レスを更新されたアドレスに書き換える。例えば、メモ
リへのアクセスをアドレスポインタW0に従って行う場
合、アドレスレジスタ508内のアドレスポインタW0に対
応するアドレスが選択されてラッチ519から出力され、
このアドレスに固定値"1"を加算して、更新されたアド
レスをアドレスポインタW0に対応するものとしてアドレ
スレジスタ508に書き込む。他の各アドレスポインタR0,
W1,R1についても同様の動作が行われる。これによっ
て、各アドレスポインタW0,R0,W1,R1がインクリメント
されていく。
Further, the address output from the selector 509 is also added to the arithmetic unit 505. At this time, the control signal generation circuit 515 causes the update register selection signal 51 indicating the fixed value "1".
1 is given to the selector 504, and in response to this, the selector
The fixed value "1" is output from the 504 to the computing unit 505. The control signal generation circuit 515 outputs an addition / subtraction identification signal 514 indicating addition to the calculator 505. In response to the addition / subtraction identification signal 514, the computing unit 505 adds a fixed value “1” to the address from the selector 509, updates this address, and stores the updated address in the address register 508 via the limiter 506. return. The address register 508 rewrites the address with the updated address in response to the address register load signal 512 from the control signal generation circuit 515. For example, when the memory is accessed according to the address pointer W0, the address corresponding to the address pointer W0 in the address register 508 is selected and output from the latch 519,
A fixed value "1" is added to this address, and the updated address is written in the address register 508 as one corresponding to the address pointer W0. Each other address pointer R0,
Similar operations are performed for W1 and R1. As a result, each address pointer W0, R0, W1, R1 is incremented.

【0032】図2(a),(b),(c)は、メモリにおける複
数フィールドに対応する記憶領域を示しており、各フィ
ールド毎に、輝度信号Y及び色差信号Cが記憶されてい
る。あるフィールドの輝度信号及び色差信号をY2,C2で
表し、次のフィールドの輝度信号及び色差信号をY1,C1
で表し、更に次のフィールドの輝度信号及び色差信号を
Y0,C0で表している。
FIGS. 2A, 2B and 2C show storage areas corresponding to a plurality of fields in the memory, in which a luminance signal Y and a color difference signal C are stored for each field. The luminance signal and color difference signal of one field are represented by Y2 and C2, and the luminance signal and color difference signal of the next field are represented by Y1 and C1.
, And the luminance and color difference signals of the next field
It is represented by Y0 and C0.

【0033】2つのフィールドの読み出し及び書き込み
開始時に、各アドレスポインタW0,R0,W1,R1が図2(a)に
示す状態であると、アドレスレジスタ508には、図2(a)
に示す各アドレスポインタW0,R0,W1,R1に対応する各ア
ドレスが格納されている。上述した動作によって、各ア
ドレスポインタW0,R0,W1,R1のいずれについても、アド
レスポインタが選択される度に、このアドレスポインタ
がインクリメントされていくので、該各フィールドの読
み出し及び書き込み終了時には、各アドレスポインタW
0,R0,W1,R1が図2(b)に示す状態となる。
If the address pointers W0, R0, W1, and R1 are in the state shown in FIG. 2A at the start of reading and writing of the two fields, the address register 508 will be stored in the address register 508 of FIG.
Addresses corresponding to the address pointers W0, R0, W1, and R1 shown in are stored. By the above-described operation, for each of the address pointers W0, R0, W1, and R1, this address pointer is incremented each time the address pointer is selected. Address pointer W
0, R0, W1, and R1 are in the state shown in FIG. 2 (b).

【0034】次の2つのフィールドの読み出し及び書き
込み開始時には、各アドレスポインタW0,R0,W1,R1を図
2(b)から図2(c)に示す状態に更新する必要がある。こ
の更新のための動作は、アドレス更新レジスタ503を用
いて、次の様な手順で行われる。
At the start of reading and writing of the next two fields, it is necessary to update each address pointer W0, R0, W1, R1 to the state shown in FIG. 2 (b) to FIG. 2 (c). The operation for this update is performed by using the address update register 503 in the following procedure.

【0035】アドレスレジスタ508の更新は、フィール
ド毎に1回行えばよいが、通常は、メモリをアクセスし
ていない時に行わなければならない。本実施形態では、
入力端子500から入力されるレジスタ更新開始信号がVブ
ランキング開始信号、つまり垂直帰線消去の開始を示す
信号であり、この垂直帰線消去の開始に応答して、アド
レスレジスタ508の更新を行っている。
The address register 508 may be updated once for each field, but normally it must be updated when the memory is not being accessed. In this embodiment,
The register update start signal input from the input terminal 500 is a V blanking start signal, that is, a signal indicating the start of vertical blanking, and the address register 508 is updated in response to the start of vertical blanking. ing.

【0036】制御信号発生回路515は、Vブランキング開
始信号を入力すると、例えばアドレスポインタW0を示す
更新レジスタ選択信号511をセレクタ504に出力し、アド
レスポインタW0を示すアドレスレジスタ選択信号513を
セレクタ509に出力し、加算を示す加減算識別信号514を
演算器505に出力する。セレクタ504は、更新レジスタ選
択信号511に応答して、アドレス更新レジスタ503からア
ドレスポインタW0に対応するオフセット値Aを選択し
て、このオフセット値Aを演算器505に出力する。また、
セレクタ509は、アドレスレジスタ選択信号513に応答し
て、アドレスレジスタ508からアドレスポインタW0に対
応するアドレスを選択して、このアドレスを演算器505
に出力する。
Upon receiving the V blanking start signal, the control signal generation circuit 515 outputs an update register selection signal 511 indicating the address pointer W0 to the selector 504, and an address register selection signal 513 indicating the address pointer W0 to the selector 509. And the addition / subtraction identification signal 514 indicating addition is output to the calculator 505. In response to the update register selection signal 511, the selector 504 selects the offset value A corresponding to the address pointer W0 from the address update register 503, and outputs this offset value A to the calculator 505. Also,
In response to the address register selection signal 513, the selector 509 selects the address corresponding to the address pointer W0 from the address register 508 and outputs this address to the arithmetic unit 505.
Output to.

【0037】演算器505は、アドレスポインタW0に対応
する値Aを該アドレスポインタW0に対応するアドレスに
加算して、このアドレスを更新し、更新されたアドレス
をリミッタ506を介してアドレスレジスタ508に戻す。ア
ドレスレジスタ508は、制御信号発生回路515からのアド
レスレジスタロード信号512に応答して、アドレスポイ
ンタW0に対応する旧アドレスを更新されたアドレスに書
き換える。これによって、アドレスポインタW0が図2
(b)から図2(c)に示す状態に更新される。
The arithmetic unit 505 adds the value A corresponding to the address pointer W0 to the address corresponding to the address pointer W0, updates this address, and stores the updated address in the address register 508 via the limiter 506. return. The address register 508 rewrites the old address corresponding to the address pointer W0 with the updated address in response to the address register load signal 512 from the control signal generation circuit 515. As a result, the address pointer W0 becomes
The state is updated from (b) to the state shown in FIG. 2 (c).

【0038】アドレスポインタW1の更新のときには、加
算を示す加減算識別信号514が演算器505に与えられる。
そして、アドレス更新レジスタ503からアドレスポイン
タW1に対応するオフセット値Cが取り出され、アドレ
スレジスタ508からアドレスポインタW0に対応する既に
更新されたアドレスが取り出され、この既に更新された
アドレスにオフセット値Cが加算され、この加算値がア
ドレスポインタW1に対応するアドレスとしてアドレスレ
ジスタ508に書き込まれる。
At the time of updating the address pointer W1, an addition / subtraction identification signal 514 indicating addition is given to the arithmetic unit 505.
Then, the offset value C corresponding to the address pointer W1 is taken out from the address update register 503, the already updated address corresponding to the address pointer W0 is taken out from the address register 508, and the offset value C is obtained at this already updated address. The added value is added, and the added value is written in the address register 508 as an address corresponding to the address pointer W1.

【0039】また、アドレスポインタR0の更新のときに
は、減算を示す加減算識別信号514が演算回路505に与え
られる。そして、アドレス更新レジスタ503からアドレ
スポインタR0に対応するオフセット値Bが取り出され、
アドレスレジスタ508からアドレスポインタW0に対応す
る既に更新されたアドレスが取り出され、この既に更新
されたアドレスからオフセット値Bが減算され、この減
算値がアドレスポインタR0に対応するアドレスとしてア
ドレスレジスタ508に書き込まれる。アドレスポインタR
1の更新は、アドレスポインタW0に対応する既に更新さ
れたアドレスからオフセット値Dが減算されることによ
り行われる。
When the address pointer R0 is updated, the addition / subtraction identification signal 514 indicating subtraction is given to the arithmetic circuit 505. Then, the offset value B corresponding to the address pointer R0 is retrieved from the address update register 503,
The already updated address corresponding to the address pointer W0 is fetched from the address register 508, the offset value B is subtracted from this already updated address, and this subtracted value is written to the address register 508 as the address corresponding to the address pointer R0. Be done. Address pointer R
The update of 1 is performed by subtracting the offset value D from the already updated address corresponding to the address pointer W0.

【0040】以上の動作によって、各アドレスポインタ
W0,R0,W1,R1が図2(b)から図2(c)に示す状態に移る。
By the above operation, each address pointer
W0, R0, W1 and R1 shift from the state shown in FIG. 2 (b) to the state shown in FIG. 2 (c).

【0041】オフセット値を加算するか減算するかは、
アドレス更新レジスタ503の各オフセット値毎に決まっ
ている。このため、アドレス更新レジスタ503の各オフ
セット値に対応して加算及び減算のいずれかを記憶した
レジスタを制御信号発生回路515に内蔵しておけば、制
御信号発生回路515は、1つのアドレスポインタを示す
アドレスレジスタ選択信号513を出力するときに、該ア
ドレスポインタに対応するオフセット値を加算するのか
減算するのかを内蔵のレジスタを参照することによって
識別し、加算及び減算のいずれかを示す加算減算識別信
号を出力することができる。
Whether to add or subtract the offset value depends on
It is determined for each offset value of the address update register 503. Therefore, if the control signal generation circuit 515 incorporates a register storing either addition or subtraction corresponding to each offset value of the address update register 503, the control signal generation circuit 515 can store one address pointer. When outputting the address register selection signal 513 indicating, the addition / subtraction identification indicating whether addition or subtraction is made by identifying whether to add or subtract the offset value corresponding to the address pointer by referring to a built-in register. A signal can be output.

【0042】次に、メモリのアドレス空間とリミッタ50
6の動作を図3を参照して説明する。
Next, the address space of the memory and the limiter 50.
The operation of 6 will be described with reference to FIG.

【0043】メモリがpビットのメモリ空間を持つ場合
を考える。このメモリ空間は、pビットの先頭アドレス
からpビットの最終アドレスの範囲に在る。アドレスレ
ジスタ508からpビットのアドレスが出力されるならば、
演算器505は、このpビットのアドレスにオフセット値
を加減算するので、p+2ビットのアドレス(p+1ビッ
トのアドレスはpビットのメモリ空間よりも大きなメモ
リ空間を示し、残りの1ビットはp+1ビットのアドレ
スがpビットのメモリ空間より外れた方向を示す)を出
力することになる。
Consider the case where the memory has a p-bit memory space. This memory space is in the range from the p-bit start address to the p-bit end address. If the p-bit address is output from the address register 508,
Since the arithmetic unit 505 adds / subtracts the offset value to / from the p-bit address, the p + 2-bit address (the p + 1-bit address indicates a memory space larger than the p-bit memory space, and the remaining 1-bit indicates the p + 1-bit address). Indicates the direction out of the p-bit memory space).

【0044】図3(a)は、演算器505から出力されたp+
1ビットのアドレスが最終アドレスを"+a"だけ越えた
ときのリミッタ506の動作を示している。この場合、リ
ミッタ506は、"演算器505から出力されたp+1ビットの
アドレス−最終アドレス−1"をアドレスとして求め、こ
のアドレスを出力する。このアドレスはアドレス空間内
であり、リミッタ506からはpビットのアドレスが出力さ
れる。
FIG. 3A shows p + output from the computing unit 505.
The operation of the limiter 506 when the 1-bit address exceeds the final address by "+ a" is shown. In this case, the limiter 506 obtains the "p + 1-bit address output from the calculator 505-final address-1" as an address and outputs this address. This address is within the address space, and the limiter 506 outputs a p-bit address.

【0045】図3(b)は、演算器505から出力されたp+
1ビットのアドレスが先頭アドレスから"−b"だけ不足
したときの動作を示している。この場合、リミッタ506
は、"演算器505から出力されたp+1ビットのアドレス
+最終アドレス+1"をアドレスとして求め、このアドレ
スを出力する。このアドレスはアドレス空間内であり、
リミッタ506からはpビットのアドレスが出力される。
FIG. 3B shows p + output from the computing unit 505.
It shows the operation when the 1-bit address is short of "-b" from the start address. In this case, the limiter 506
Calculates the address of "p + 1-bit address output from computing unit 505 + final address + 1" and outputs this address. This address is in the address space,
The limiter 506 outputs a p-bit address.

【0046】以上の様に、各アドレスポインタ並びに各
アドレスの更新を基準アドレスに対する相対値で演算す
ることにより、常に各アドレスポインタの相対関係を保
ちながら、これらのアドレスポインタをメモリ空間内に
割り当てることができる。
As described above, by updating each address pointer and each address with a relative value with respect to the reference address, these address pointers are allocated in the memory space while always maintaining the relative relationship of each address pointer. You can

【0047】なお、本実施形態においては、1つの基準
アドレスに対して他のアドレスを相対的に求める例を示
したが、基準アドレスの個数は1つとは限らず複数個で
あってもよい。またアドレス更新レジスタ内の各オフセ
ット値の数は、アドレスレジスタ内の各アドレスの数と
異なってもよい。また演算器505を加減算識別信号によ
り制御したが、例えばアドレス更新レジスタ503に2の
補数に基づく値を格納しておき、演算器は単純な加算器
の構成にしても構わない。またアドレスがインクリメン
トされる値を"1"としたが、他の値でもよい。また各セ
レクタ504,509と演算器505を組み合わせることによ
り、各アドレスの更新を1つの演算器505によって行って
いるが、各アドレス毎に、各演算器を用意して、各アド
レスを更新しても構わない。
In this embodiment, an example in which another address is relatively obtained with respect to one reference address has been shown, but the number of reference addresses is not limited to one and may be plural. Also, the number of each offset value in the address update register may be different from the number of each address in the address register. Further, although the arithmetic unit 505 is controlled by the addition / subtraction identification signal, for example, a value based on the two's complement may be stored in the address update register 503 and the arithmetic unit may have a simple adder configuration. Further, although the value by which the address is incremented is set to "1", other values may be used. Also, by combining the selectors 504 and 509 and the arithmetic unit 505, each address is updated by one arithmetic unit 505. However, each arithmetic unit is prepared for each address and each address is updated. I don't mind.

【0048】(第2実施形態)図4は、本発明のメモリ
アドレス発生装置の第2実施形態を示している。この第
2実施形態では、制御信号発生回路515からリミッタ506
へと加減算識別信号を与えることにより、演算器505か
らリミッタ506へと出力されるアドレスをp+1ビット
にしている。つまり、第1実施形態においては、p+2
ビットを演算器505から出力していたが、この第2実施
形態においてはアドレスがpビットのメモリ空間より外
れた方向を示す1ビットを該p+2ビットから減少させ
て、p+1ビットにしている。
(Second Embodiment) FIG. 4 shows a second embodiment of the memory address generator of the present invention. In the second embodiment, the control signal generating circuit 515 to the limiter 506 are used.
The address output from the computing unit 505 to the limiter 506 is set to p + 1 bits by applying the addition / subtraction identification signal to the. That is, in the first embodiment, p + 2
Although the bits were output from the arithmetic unit 505, in the second embodiment, 1 bit indicating the direction in which the address is out of the p-bit memory space is reduced from the p + 2 bits to p + 1 bits.

【0049】図4において、500はレジスタ更新開始信
号(Vブランキング開始信号)を入力する入力端子、501
はアドレス発生タイミング信号を入力する入力端子、50
2はポインタ識別信号を入力する入力端子、503はアドレ
ス更新レジスタ、504はアドレス更新レジスタ503内の各
値A,B,C,Dと固定値"1"を選択して出力するセレクタ、50
5は演算器、506は演算器505の演算結果のアドレスをメ
モリ空間内に制限するためのリミッタ、507はアドレス
更新回路、508は各アドレスポインタに対応する各メモ
リアドレスを格納しておくアドレスレジスタ、509はア
ドレスレジスタ508内の各メモリアドレスを選択するセ
レクタ、510はメモリアドレスを出力する出力端子、519
はセレクタ509の出力を保持するラッチ、515は演算器50
5、各セレクタ504,509、リミッタ506、アドレスレジス
タ508及びラッチ519を制御する制御信号発生回路、511
はセレクタ504を制御する更新レジスタ選択信号、512は
アドレスレジスタ508を制御するアドレスレジスタロー
ド信号、513はセレクタ509を制御するアドレスレジスタ
選択信号、520はセレクタ519にアドレスをロードするタ
イミングを示すアドレスロード信号、514は演算器505の
演算の種類を指示するための加減算識別信号である。
In FIG. 4, reference numeral 500 denotes an input terminal for inputting a register update start signal (V blanking start signal), 501
Is an input terminal for inputting the address generation timing signal, 50
2 is an input terminal for inputting a pointer identification signal, 503 is an address update register, 504 is a selector for selecting and outputting each value A, B, C, D in the address update register 503 and a fixed value "1", 50
5 is an arithmetic unit, 506 is a limiter for limiting the address of the arithmetic result of the arithmetic unit 505 within the memory space, 507 is an address updating circuit, and 508 is an address register for storing each memory address corresponding to each address pointer. , 509 is a selector for selecting each memory address in the address register 508, 510 is an output terminal for outputting the memory address, 519
Is a latch that holds the output of the selector 509, and 515 is a calculator 50
5, a control signal generation circuit for controlling each selector 504, 509, limiter 506, address register 508 and latch 519, 511
Is an update register selection signal that controls the selector 504, 512 is an address register load signal that controls the address register 508, 513 is an address register selection signal that controls the selector 509, and 520 is an address load that indicates the timing of loading the address to the selector 519. A signal 514 is an addition / subtraction identification signal for instructing the type of calculation of the calculator 505.

【0050】本実施形態では、メモリ(図示せず)に対
しての書き込み及び読み出しが行われるディジタル映像
信号として、輝度信号Y及び色差信号Cを挙げており、こ
れらの輝度信号Y及び色差信号Cを該メモリに書き込み及
び読み出すことにより1フィールド遅延させている。メ
モリにおける輝度信号Y及び色差信号Cの各書き込みアド
レスポインタをW0,W1で表し、また各読み出しアドレス
ポインタR0,R1で表している。
In the present embodiment, the luminance signal Y and the color difference signal C are mentioned as digital video signals which are written to and read from the memory (not shown), and these luminance signal Y and color difference signal C are given. Is written in and read from the memory to delay one field. The write address pointers of the luminance signal Y and the color difference signal C in the memory are represented by W0 and W1 and the read address pointers R0 and R1.

【0051】アドレス更新レジスタ503には、各アドレ
スポインタW0,R0,W1,R1に対応する各オフセット値A,B,
C,Dが格納されている。
The address update register 503 has offset values A, B, and B corresponding to the address pointers W0, R0, W1, and R1, respectively.
Stores C and D.

【0052】メモリのアクセスは、アドレスレジスタ50
8内の各アドレス毎に、アドレスをインクリメントする
ことによって行われ、その動作は第1実施形態と全く同
様であるので、ここでは説明を省略する。
The memory is accessed by the address register 50.
The operation is performed by incrementing the address for each address in 8, and the operation is exactly the same as that of the first embodiment, so the description thereof is omitted here.

【0053】図5(a),(b),(c)は、メモリにおける複
数フィールドに対応する記憶領域を示しており、各フィ
ールド毎に、輝度信号Y及び色差信号Cが記憶されてい
る。あるフィールドの輝度信号及び色差信号をY2,C2で
表し、次のフィールドの輝度信号及び色差信号をY1,C1
で表し、更に次のフィールドの輝度信号及び色差信号を
Y0,C0で表している。
FIGS. 5A, 5B and 5C show storage areas corresponding to a plurality of fields in the memory, in which the luminance signal Y and the color difference signal C are stored for each field. The luminance signal and color difference signal of one field are represented by Y2 and C2, and the luminance signal and color difference signal of the next field are represented by Y1 and C1.
, And the luminance and color difference signals of the next field
It is represented by Y0 and C0.

【0054】2つのフィールドの読み出し及び書き込み
開始時に、各アドレスポインタW0,R0,W1,R1が図5(a)に
示す状態であると、アドレスレジスタ508には、図5(a)
に示す各アドレスポインタW0,R0,W1,R1に対応する各ア
ドレスが格納されている。上述した動作によって、各ア
ドレスポインタW0,R0,W1,R1のいずれについても、アド
レスポインタが選択される度に、このアドレスポインタ
がインクリメントされていくので、該各フィールドの読
み出し及び書き込み終了時には、各アドレスポインタW
0,R0,W1,R1が図5(b)に示す状態となる。
At the start of reading and writing of two fields, if the address pointers W0, R0, W1, and R1 are in the state shown in FIG. 5 (a), the address register 508 stores in the address register 508 shown in FIG. 5 (a).
Addresses corresponding to the address pointers W0, R0, W1, and R1 shown in are stored. By the above-described operation, for each of the address pointers W0, R0, W1, and R1, this address pointer is incremented each time the address pointer is selected. Address pointer W
0, R0, W1, and R1 are in the state shown in FIG. 5 (b).

【0055】次の2つのフィールドの読み出し及び書き
込み開始時には、各アドレスポインタW0,R0,W1,R1を図
5(b)から図5(c)に示す状態に更新する必要がある。こ
の更新のための動作は、アドレス更新レジスタ503を用
いて、次の様な手順で行われる。
At the start of reading and writing of the next two fields, it is necessary to update each address pointer W0, R0, W1, R1 to the state shown in FIG. 5 (b) to FIG. 5 (c). The operation for this update is performed by using the address update register 503 in the following procedure.

【0056】アドレスレジスタ508の更新は、フィール
ド毎に1回行えばよいが、通常は、メモリをアクセスし
ていない時に行わなければならない。本実施形態では、
入力端子500から入力されるレジスタ更新開始信号がVブ
ランキング開始信号、つまり垂直帰線消去の開始を示す
信号であり、この垂直帰線消去の開始に応答して、アド
レスレジスタ508の更新を行っている。
The address register 508 may be updated once for each field, but normally it must be updated when the memory is not being accessed. In this embodiment,
The register update start signal input from the input terminal 500 is a V blanking start signal, that is, a signal indicating the start of vertical blanking, and the address register 508 is updated in response to the start of vertical blanking. ing.

【0057】制御信号発生回路515は、Vブランキング開
始信号を入力すると、例えばアドレスポインタW1を示す
更新レジスタ選択信号511をセレクタ504に出力し、アド
レスポインタW1を示すアドレスレジスタ選択信号513を
セレクタ509に出力し、加算を示す加減算識別信号514を
演算器505に出力する。セレクタ504は、更新レジスタ選
択信号511に応答して、アドレス更新レジスタ503からア
ドレスポインタW1に対応するオフセット値Cを選択し
て、このオフセット値Cを演算器505に出力する。また、
セレクタ509は、アドレスレジスタ選択信号513に応答し
て、アドレスレジスタ508からアドレスポインタW1に対
応するアドレスを選択して、このアドレスを演算器505
に出力する。
When the V blanking start signal is input, the control signal generation circuit 515 outputs, for example, an update register selection signal 511 indicating the address pointer W1 to the selector 504 and an address register selection signal 513 indicating the address pointer W1 by the selector 509. And the addition / subtraction identification signal 514 indicating addition is output to the calculator 505. In response to the update register selection signal 511, the selector 504 selects the offset value C corresponding to the address pointer W1 from the address update register 503, and outputs this offset value C to the calculator 505. Also,
In response to the address register selection signal 513, the selector 509 selects the address corresponding to the address pointer W1 from the address register 508 and outputs this address to the arithmetic unit 505.
Output to.

【0058】演算器505は、アドレスポインタW1に対応
する値Cを該アドレスポインタW1に対応するアドレスに
加算して、このアドレスを更新し、更新されたアドレス
をリミッタ506を介してアドレスレジスタ508に戻す。ア
ドレスレジスタ508は、制御信号発生回路515からのアド
レスレジスタロード信号512に応答して、アドレスポイ
ンタW1に対応するアドレスを更新されたアドレスに書き
換える。これによって、アドレスポインタW1が図5(b)
から図5(c)に示す状態に更新される。
The arithmetic unit 505 adds the value C corresponding to the address pointer W1 to the address corresponding to the address pointer W1, updates this address, and stores the updated address in the address register 508 via the limiter 506. return. The address register 508 rewrites the address corresponding to the address pointer W1 with the updated address in response to the address register load signal 512 from the control signal generation circuit 515. As a result, the address pointer W1 is moved to the position shown in FIG.
Is updated to the state shown in FIG.

【0059】他の各アドレスポインタR0,W0,R1の更新
は、アドレスポインタW1に対応する既に更新されたアド
レスを基準とし、この基準のアドレスからオフセット値
を減算することによって行われる。
The other address pointers R0, W0, R1 are updated by using the already updated address corresponding to the address pointer W1 as a reference and subtracting the offset value from the reference address.

【0060】すなわち、アドレスポインタW1の更新のと
きには、減算を示す加減算識別信号514が演算器505に与
えられる。そして、アドレス更新レジスタ503からアド
レスポインタW0に対応するオフセット値Aが取り出さ
れ、アドレスレジスタ508からアドレスポインタW1に対
応する既に更新されたアドレスが取り出され、この既に
更新されたアドレスからオフセット値Aが減算され、こ
の減算値がアドレスポインタW0に対応するアドレスとし
てアドレスレジスタ508に書き込まれる。同様に、アド
レスポインタR0の更新は、アドレスポインタW1に対応す
る既に更新されたアドレスからオフセット値Bが減算さ
れることにより行われ、アドレスポインタR1の更新は、
アドレスポインタW1に対応する既に更新されたアドレス
からオフセット値Dが減算されることにより行われる。
That is, when the address pointer W1 is updated, the addition / subtraction identification signal 514 indicating subtraction is given to the calculator 505. Then, the offset value A corresponding to the address pointer W0 is taken out from the address update register 503, the already updated address corresponding to the address pointer W1 is taken out from the address register 508, and the offset value A is obtained from this already updated address. Subtraction is performed, and the subtraction value is written in the address register 508 as an address corresponding to the address pointer W0. Similarly, the update of the address pointer R0 is performed by subtracting the offset value B from the already updated address corresponding to the address pointer W1, and the update of the address pointer R1 is
This is done by subtracting the offset value D from the already updated address corresponding to the address pointer W1.

【0061】この様に本実施形態では、アドレスポイン
タW1の更新のみをオフセット値Cを加算することにより
行い、他の各アドレスポインタR0,W0,R1の更新を各オフ
セット値B,A,Dを減算することにより行っている。
As described above, in this embodiment, only the address pointer W1 is updated by adding the offset value C, and the other address pointers R0, W0, R1 are updated by the offset values B, A, D, respectively. It is done by subtracting.

【0062】以上の動作によって、各アドレスポインタ
W0,R0,W1,R1が図5(b)から図5(c)に示す状態に移る。
By the above operation, each address pointer
W0, R0, W1 and R1 shift from the state shown in FIG. 5 (b) to the state shown in FIG. 5 (c).

【0063】オフセット値を加算するか減算するかは、
更新レジスタ選択信号511の値のみによって決定され、
この更新レジスタ選択信号511の値に応じて加算減算識
別信号514の値を決定する。
Whether to add or subtract the offset value depends on
Determined only by the value of the update register select signal 511,
The value of the addition / subtraction identification signal 514 is determined according to the value of the update register selection signal 511.

【0064】次に、メモリのアドレス空間とリミッタ50
6の動作を図6を参照して説明する。
Next, the address space of the memory and the limiter 50.
The operation of 6 will be described with reference to FIG.

【0065】メモリが4ビットのメモリ空間を持つ場合
を考える。このメモリ空間は、4ビットの先頭アドレス
から4ビットの最終アドレスの範囲に在る。アドレスレ
ジスタ508から4ビットのアドレスが出力されるなら
ば、演算器505は、この4ビットのアドレスにオフセッ
ト値を加減算するので、5ビットのアドレス(5ビット
のアドレスが4ビットのメモリ空間より外れた方向を示
す1ビットを持たない)を出力することになる。
Consider the case where the memory has a 4-bit memory space. This memory space is in the range from the 4-bit start address to the 4-bit end address. If the 4-bit address is output from the address register 508, the arithmetic unit 505 adds or subtracts the offset value to or from the 4-bit address, so that the 5-bit address (the 5-bit address is out of the 4-bit memory space). (There is no 1 bit indicating the direction).

【0066】図6(a)は、演算器505から出力された5ビ
ットのアドレスが最終アドレスを"+a"だけ越えたとき
のリミッタ506の動作を示している。また、図6(b)は、
演算器505から出力された5ビットのアドレスが先頭ア
ドレスより"−b"だけ不足したときの動作を示してい
る。
FIG. 6A shows the operation of the limiter 506 when the 5-bit address output from the arithmetic unit 505 exceeds the final address by "+ a". Also, FIG. 6 (b) shows
The operation when the 5-bit address output from the computing unit 505 is "-b" short of the start address is shown.

【0067】ここで、演算器505から出力される5ビッ
トのアドレスは、5ビットのアドレスが4ビットのメモ
リ空間より外れた方向を示す1ビットを持たないので、
この5ビットのアドレスのみに基づいて、図6(a)の状
態と図6(b)の状態を区別することができない。
Since the 5-bit address output from the arithmetic unit 505 does not have 1-bit indicating the direction in which the 5-bit address is out of the 4-bit memory space,
The state of FIG. 6 (a) and the state of FIG. 6 (b) cannot be distinguished based only on the 5-bit address.

【0068】このため、リミッタ506は、加減算識別信
号を入力し、この加減算識別信号によって加算が示され
ていれば、図6(a)の状態であると判定し、この加減算
識別信号によって減算が示されていれば、図6(b)の状
態であると判定する。
Therefore, the limiter 506 inputs the addition / subtraction identification signal, and if the addition / subtraction identification signal indicates addition, the limiter 506 determines that the state of FIG. If it is shown, it is determined to be in the state of FIG.

【0069】リミッタ506は、加算を示す加算減算識別
信号を入力すると、図6(a)に示す様に"演算器505から
出力された5ビットのアドレス−最終アドレス−1"をア
ドレスとして求め、このアドレスを出力する。また、リ
ミッタ506は、減算を示す加算減算識別信号を入力する
と、図6(b)に示す様に"演算器505から出力された5ビ
ットのアドレス+最終アドレス+1"をアドレスとして求
め、このアドレスを出力する。
When the limiter 506 receives the addition / subtraction identification signal indicating addition, the limiter 506 obtains "5-bit address output from arithmetic unit 505-final address-1" as an address as shown in FIG. Output this address. Further, when the limiter 506 receives the addition / subtraction identification signal indicating the subtraction, as shown in FIG. 6 (b), the limiter 506 obtains "5-bit address output from the calculator 505 + final address + 1" as an address, and this address Is output.

【0070】すなわち、加算により5ビットのアドレス
がアドレス空間を越えた場合は図6(a)のリミット処理
を、減算により5ビットのアドレスがアドレス空間を越
えた場合は図6(b)のリミット処理を行い、これによっ
て演算器505から出力されるビット数を1ビット減らしつ
つ、第1実施形態と同じ動作をさせている。
That is, when the 5-bit address exceeds the address space by the addition, the limit processing of FIG. 6A is performed, and when the 5-bit address exceeds the address space by the subtraction, the limit processing of FIG. 6B is performed. The processing is performed, and the number of bits output from the arithmetic unit 505 is reduced by 1 bit, and the same operation as that of the first embodiment is performed.

【0071】以上の様に、各アドレスポインタ並びに各
アドレスの更新を基準アドレスに対する相対値で演算す
ることにより、常に各アドレスポインタの相対関係を保
ちながら、これらのアドレスポインタをメモリ空間内に
割り当てることができる。また、基準アドレスの更新方
向と他のアドレスの更新方向を逆に設定し、演算器505
から出力された5ビットのアドレスが4ビットのメモリ
空間より外れた方向を示す1ビットを必要としないの
で、この1ビットを制御信号発生器515やアドレス更新
レジスタ503内に記憶する必要がなく、レジスタのビッ
ト数を削減できる。更に、リミッタ506に加減算識別信
号514を入力することにより、演算器505から出力される
アドレスのビット数を削減することができる。
As described above, by updating each address pointer and each address with the relative value with respect to the reference address, these address pointers are allocated in the memory space while always maintaining the relative relationship of each address pointer. You can Also, set the update direction of the reference address and the update direction of other addresses in the opposite direction, and
Since the 5-bit address output from 1 does not need 1 bit indicating the direction out of the 4-bit memory space, it is not necessary to store this 1 bit in the control signal generator 515 or the address update register 503. The number of register bits can be reduced. Further, by inputting the addition / subtraction identification signal 514 to the limiter 506, the number of bits of the address output from the calculator 505 can be reduced.

【0072】なお、本実施形態においては、1つの基準
アドレスに対して他のアドレスを相対的に求める例を示
したが、基準アドレスの個数は1つとは限らず複数個で
あってもよい。またアドレス更新レジスタ内の各オフセ
ット値の数は、アドレスレジスタ内の各アドレスの数と
異なってもよい。また演算器505を加減算識別信号によ
り制御したが、例えばアドレス更新レジスタ503に2の
補数に基づく値を格納しておき、演算器は単純な加算器
の構成にしても構わない。また基準アドレスの更新方向
と他のアドレスの更新方向は本実施形態に限定されるも
のではない。またアドレスがインクリメントされる値
を"1"としたが、他の値でもよい。また各セレクタ504,
509と演算器505を組み合わせることにより、各アドレス
の更新を行っているが、各アドレス毎に、各演算器を用
意して、各アドレスを更新しても構わない。
In this embodiment, an example in which another address is relatively obtained with respect to one reference address has been shown, but the number of reference addresses is not limited to one and may be plural. Also, the number of each offset value in the address update register may be different from the number of each address in the address register. Further, although the arithmetic unit 505 is controlled by the addition / subtraction identification signal, for example, a value based on the two's complement may be stored in the address update register 503 and the arithmetic unit may have a simple adder configuration. Further, the updating direction of the reference address and the updating direction of other addresses are not limited to this embodiment. Further, although the value by which the address is incremented is set to "1", other values may be used. In addition, each selector 504,
Although each address is updated by combining the 509 and the arithmetic unit 505, each arithmetic unit may be prepared for each address and each address may be updated.

【0073】(第3実施形態)図7は、本発明のメモリ
アドレス発生装置の第3実施形態を示している。この第
3実施形態では、より多くの各アドレスポインタH,W0,R
0,W1,R1,W2,W3を設定しており、これらのアドレスポイ
ンタの更新を第1レジスタ更新開始信号(Vブランキン
グ開始信号)だけでなく、第2レジスタ更新開始信号
(Hブランキング開始信号)、つまり水平垂直帰線消去
の開始を示す信号にも応答して行っている。
(Third Embodiment) FIG. 7 shows a third embodiment of the memory address generator of the present invention. In the third embodiment, more address pointers H, W0, R
0, W1, R1, W2, W3 are set, and these address pointers are updated not only by the first register update start signal (V blanking start signal) but also by the second register update start signal (H blanking start signal). Signal), that is, a signal indicating the start of horizontal / vertical blanking.

【0074】図7において、500は第1レジスタ更新開
始信号(Vブランキング開始信号)を入力する入力端
子、516は第2レジスタ更新開始信号(Hブランキング開
始信号)を入力する入力端子、501はアドレス発生タイ
ミング信号を入力する入力端子、502はポインタ識別信
号を入力する入力端子、503はアドレス更新レジスタ、5
04はアドレス更新レジスタ503内の各値G,A,B,C,D,E,Fと
固定値"1"を選択して出力するセレクタ、505は演算器、
506は演算器505の演算結果のアドレスをメモリ空間内に
制限するためのリミッタ、507はアドレス更新回路、508
は各アドレスポインタに対応する各メモリアドレスを格
納しておくアドレスレジスタ、509はアドレスレジスタ5
08内の各メモリアドレスを選択するセレクタ、510はメ
モリアドレスを出力する出力端子、519はセレクタ509の
出力を保持するラッチ、515は演算器505、各セレクタ50
4,509、アドレスレジスタ508及びラッチ519を制御する
制御信号発生回路、511はセレクタ504を制御する更新レ
ジスタ選択信号、512はアドレスレジスタ508を制御する
アドレスレジスタロード信号、513はセレクタ509を制御
するアドレスレジスタ選択信号、520はセレクタ519にア
ドレスをロードするタイミングを示すアドレスロード信
号、514は演算器505の演算の種類を指示するための加減
算識別信号である。
In FIG. 7, reference numeral 500 is an input terminal for inputting a first register update start signal (V blanking start signal), 516 is an input terminal for inputting a second register update start signal (H blanking start signal), 501 Is an input terminal for inputting an address generation timing signal, 502 is an input terminal for inputting a pointer identification signal, 503 is an address update register, 5
04 is a selector that selects and outputs each value G, A, B, C, D, E, F in the address update register 503 and a fixed value "1", 505 is a computing unit,
506 is a limiter for limiting the address of the operation result of the operation unit 505 in the memory space, 507 is an address update circuit, 508
Is an address register that stores each memory address corresponding to each address pointer, and 509 is an address register 5
A selector for selecting each memory address in 08, 510 is an output terminal for outputting the memory address, 519 is a latch for holding the output of the selector 509, 515 is a calculator 505, each selector 50
4, 509, a control signal generation circuit that controls the address register 508 and the latch 519, 511 is an update register selection signal that controls the selector 504, 512 is an address register load signal that controls the address register 508, and 513 is an address register that controls the selector 509. A selection signal, 520 is an address load signal indicating the timing of loading an address to the selector 519, and 514 is an addition / subtraction identification signal for instructing the type of operation of the arithmetic unit 505.

【0075】本実施形態では、最初に主画面の輝度信号
Y及び色差信号Cをメモリに書き込み、子画面の輝度信号
SY及び色差信号SCを1フィールド遅延した主画面の一部
の領域に重ね書きし、2フィールド遅延の主画面と1フ
ィールド遅延の子画面を共に読み出すことを前提にして
いる。メモリにおける輝度信号Y及び色差信号Cの各書き
込みアドレスポインタをW0,W2で表し、また各読み出し
アドレスポインタをR0,R1で表している。同様に、輝度
信号SY及び色差信号SCの各書き込みアドレスポインタを
W1,W3で表し、各読み出しアドレスポインタをR1,R3で表
している。
In this embodiment, the luminance signal of the main screen is first displayed.
Write Y and color-difference signal C to the memory and set the luminance signal of the sub-screen.
It is premised that SY and the color difference signal SC are overwritten in a partial area of the main screen delayed by 1 field and the main screen with 2 field delay and the slave screen with 1 field delay are read out together. The write address pointers for the luminance signal Y and the color difference signal C in the memory are represented by W0 and W2, and the read address pointers are represented by R0 and R1. Similarly, set the write address pointers for the luminance signal SY and color difference signal SC.
It is represented by W1 and W3, and each read address pointer is represented by R1 and R3.

【0076】アドレス更新レジスタ503には、各アドレ
スポインタW0,R0,W1,R1,W2,W3に対応する各オフセット
値A,B,C,D,E,Fが格納されている。また、各書き込みア
ドレスポインタW1,W3と共に用いられるオフセット値Gが
格納されている。
The address update register 503 stores offset values A, B, C, D, E, F corresponding to the address pointers W0, R0, W1, R1, W2, W3. Also, an offset value G used together with the write address pointers W1 and W3 is stored.

【0077】アドレスレジスタ508には、各アドレスポ
インタW0,R0,W1,R1,W2,W3に対応する各アドレスが格納
されている。
The address register 508 stores each address corresponding to each address pointer W0, R0, W1, R1, W2, W3.

【0078】メモリのアクセスは、アドレスレジスタ50
8内の各アドレス毎に、アドレスをインクリメントする
ことによって行われ、その動作は第1及び第2実施形態
と全く同様であるので、ここでは説明を省略する。
The memory is accessed by the address register 50.
The operation is performed by incrementing the address for each address within 8, and the operation is exactly the same as in the first and second embodiments, so the description thereof is omitted here.

【0079】図8(a),(b),(c)は、メモリにおける複
数フィールドに対応する記憶領域を示しており、各フィ
ールド毎に、輝度信号Y及び色差信号Cが記憶されてい
る。あるフィールドの輝度信号及び色差信号をY3,C3で
表し、次のフィールドの輝度信号及び色差信号をY2,C2
で表し、更に次のフィールドの輝度信号及び色差信号を
Y1,C1で表し、更に次のフィールドの輝度信号及び色差
信号をY0,C0で表している。
FIGS. 8A, 8B and 8C show storage areas corresponding to a plurality of fields in the memory, and the luminance signal Y and the color difference signal C are stored for each field. The luminance signal and color difference signal of a certain field are represented by Y3 and C3, and the luminance signal and color difference signal of the next field are represented by Y2 and C2
, And the luminance and color difference signals of the next field
It is represented by Y1 and C1, and the luminance signal and color difference signal of the next field are represented by Y0 and C0.

【0080】また、各フィールド毎に、主画面の輝度信
号Yの一部を子画面の輝度信号SYに入れ替え、主画面の
色差信号Cの一部を子画面の色差信号SCに入れ替えてい
る。表示画面上での主画面と子画面のイメージは、輝度
信号Yの記憶領域と輝度信号SYの記憶領域間の位置関
係、あるいは色差信号Cの記憶領域と色差信号SCの記憶
領域の位置関係で表される。
Further, in each field, a part of the luminance signal Y of the main screen is replaced with the luminance signal SY of the small screen, and a part of the color difference signal C of the main screen is replaced with the color difference signal SC of the small screen. The images of the main screen and the sub-screen on the display screen are based on the positional relationship between the storage area of the luminance signal Y and the storage area of the luminance signal SY, or the positional relationship of the storage area of the color difference signal C and the storage area of the color difference signal SC. expressed.

【0081】2つのフィールドの読み出し及び書き込み
開始時に、各アドレスポインタW0,R0,W1,R1,W2,W3が図
8(a)に示す状態であると、アドレスレジスタ508には、
図8(a)に示す各アドレスポインタW0,R0,W1,R1,W2,W3に
対応する各アドレスが格納されている。上述した動作に
よって、各アドレスポインタW0,R0,W1,R1,W2,W3のいず
れについても、アドレスポインタが選択される度に、こ
のアドレスポインタがインクリメントされる。
At the start of reading and writing of two fields, if the address pointers W0, R0, W1, R1, W2 and W3 are in the state shown in FIG.
Addresses corresponding to the address pointers W0, R0, W1, R1, W2, W3 shown in FIG. 8A are stored. By the above-mentioned operation, each of the address pointers W0, R0, W1, R1, W2, W3 is incremented every time the address pointer is selected.

【0082】ここで、1水平走査の終了時点では、書き
込みのための各アドレスポインタW0,W1,W2,W3が図8(a)
の各黒丸の位置まで移動する。主画面に係わる各アドレ
スポインタW0,W2については、第1及び第2実施形態と
同様に、インクリメントを続行すれば良い。一方、子画
面に係わる各アドレスポインタW1,W3については、輝度
信号SYの記憶領域、色差信号SCの記憶領域のみをアクセ
スするために、次の様な処理が必要となる。
At the end of one horizontal scanning, the address pointers W0, W1, W2, W3 for writing are shown in FIG. 8 (a).
Move to each black circle position. For each of the address pointers W0 and W2 related to the main screen, the increment may be continued as in the first and second embodiments. On the other hand, with respect to the respective address pointers W1 and W3 relating to the child screen, the following processing is required in order to access only the storage area of the luminance signal SY and the storage area of the color difference signal SC.

【0083】すなわち、制御信号発生回路515は、Hブラ
ンキング開始信号516を入力すると、例えばアドレスポ
インタW1を示す更新レジスタ選択信号511をセレクタ504
に出力し、アドレスポインタW1を示すアドレスレジスタ
選択信号513をセレクタ509に出力し、加算を示す加減算
識別信号514を演算器505に出力する。セレクタ504は、
更新レジスタ選択信号511に応答して、アドレス更新レ
ジスタ503からオフセット値Gを選択して、このオフセッ
ト値Gを演算器505に出力する。また、セレクタ509は、
アドレスレジスタ選択信号513に応答して、アドレスレ
ジスタ508からアドレスポインタW1に対応するアドレス
を選択して、このアドレスを演算器505に出力する。
That is, when the control signal generation circuit 515 receives the H blanking start signal 516, it outputs the update register selection signal 511 indicating the address pointer W1 to the selector 504.
The address register selection signal 513 indicating the address pointer W1 is output to the selector 509, and the addition / subtraction identification signal 514 indicating addition is output to the calculator 505. The selector 504 is
In response to the update register selection signal 511, the offset value G is selected from the address update register 503, and this offset value G is output to the calculator 505. Also, the selector 509 is
In response to the address register selection signal 513, the address corresponding to the address pointer W1 is selected from the address register 508, and this address is output to the arithmetic unit 505.

【0084】演算器505は、オフセット値Gをアドレスポ
インタW1に対応するアドレスに加算して、このアドレス
を更新し、更新されたアドレスをリミッタ506を介して
アドレスレジスタ508に戻す。アドレスレジスタ508は、
制御信号発生回路515からのアドレスレジスタロード信
号512に応答して、アドレスポインタW1に対応するアド
レスを更新されたアドレスに書き換える。これによっ
て、アドレスポインタW1が輝度信号SYの記憶領域の先頭
アドレスを指示することになる。
The computing unit 505 adds the offset value G to the address corresponding to the address pointer W1, updates this address, and returns the updated address to the address register 508 via the limiter 506. The address register 508 is
In response to the address register load signal 512 from the control signal generation circuit 515, the address corresponding to the address pointer W1 is rewritten to the updated address. As a result, the address pointer W1 points to the start address of the storage area of the luminance signal SY.

【0085】この後は、アドレスレジスタ508内のアド
レスポインタW1に対応するアドレスをインクリメント
し、次のHブランキング開始信号516を入力すると、再び
同じ動作を繰り返すことになる。
After that, when the address corresponding to the address pointer W1 in the address register 508 is incremented and the next H blanking start signal 516 is input, the same operation is repeated again.

【0086】アドレスポインタW3についても同様に、H
ブランキング開始信号516を入力すると、オフセット値G
をアドレスポインタW3に対応するアドレスに加算して、
このアドレスを更新し、更新されたアドレスをアドレス
レジスタ508に戻した後、アドレスレジスタ508内のアド
レスポインタW3に対応するアドレスをインクリメント
し、次のHブランキング開始信号516を入力すると、再び
同じ動作を繰り返す。
Similarly, for the address pointer W3, H
When the blanking start signal 516 is input, the offset value G
Is added to the address corresponding to the address pointer W3,
When this address is updated, the updated address is returned to the address register 508, the address corresponding to the address pointer W3 in the address register 508 is incremented, and the next H blanking start signal 516 is input, the same operation is performed again. repeat.

【0087】各フィールドの読み出し及び書き込み終了
時には、各アドレスポインタW0,R0,W1,R1,W2,W3に対応
する各アドレスが図8(b)に示す状態となる。
At the end of reading and writing of each field, each address corresponding to each address pointer W0, R0, W1, R1, W2, W3 becomes the state shown in FIG. 8 (b).

【0088】次の2つのフィールドの読み出し及び書き
込み開始時には、各アドレスポインタW0,R0,W1,R1,W2,W
3を図8(b)から図8(c)に示す状態に更新する必要があ
る。この更新のための動作は、アドレス更新レジスタ50
3を用いて、次の様な手順で行われる。
At the start of reading and writing of the next two fields, each address pointer W0, R0, W1, R1, W2, W
It is necessary to update 3 to the state shown in FIG. 8 (b) to FIG. 8 (c). The operation for this update is the address update register 50.
Using 3, the procedure is as follows.

【0089】制御信号発生回路515は、Vブランキング開
始信号を入力すると、例えばアドレスポインタW0を示す
更新レジスタ選択信号511をセレクタ504に出力し、アド
レスポインタW0を示すアドレスレジスタ選択信号513を
セレクタ509に出力し、加算を示す加減算識別信号514を
演算器505に出力する。セレクタ504は、更新レジスタ選
択信号511に応答して、アドレス更新レジスタ503からア
ドレスポインタW0に対応するオフセット値Aを選択し
て、このオフセット値Aを演算器505に出力する。また、
セレクタ509は、アドレスレジスタ選択信号513に応答し
て、アドレスレジスタ508からアドレスポインタW0に対
応するアドレスを選択して、このアドレスを演算器505
に出力する。
When the V blanking start signal is input, the control signal generation circuit 515 outputs, for example, an update register selection signal 511 indicating the address pointer W0 to the selector 504 and an address register selection signal 513 indicating the address pointer W0 to the selector 509. And the addition / subtraction identification signal 514 indicating addition is output to the calculator 505. In response to the update register selection signal 511, the selector 504 selects the offset value A corresponding to the address pointer W0 from the address update register 503, and outputs this offset value A to the calculator 505. Also,
In response to the address register selection signal 513, the selector 509 selects the address corresponding to the address pointer W0 from the address register 508 and outputs this address to the arithmetic unit 505.
Output to.

【0090】演算器505は、アドレスポインタW0に対応
するオフセット値Aを該アドレスポインタW0に対応する
アドレスに加算して、このアドレスを更新し、更新され
たアドレスをリミッタ506を介してアドレスレジスタ508
に戻す。アドレスレジスタ508は、制御信号発生回路515
からのアドレスレジスタロード信号512に応答して、ア
ドレスポインタW0に対応するアドレスを更新されたアド
レスに書き換える。これによって、アドレスポインタW0
が図8(b)から図8(c)に示す状態に更新される。
The calculator 505 adds the offset value A corresponding to the address pointer W0 to the address corresponding to the address pointer W0, updates this address, and updates the updated address via the limiter 506 to the address register 508.
Return to. The address register 508 is a control signal generation circuit 515.
In response to the address register load signal 512 from, the address corresponding to the address pointer W0 is rewritten to the updated address. This causes the address pointer W0
Is updated from the state shown in FIG. 8B to the state shown in FIG. 8C.

【0091】アドレスポインタW2の更新のときには、加
算を示す加減算識別信号514が演算回路505に与えられ
る。そして、アドレス更新レジスタ503からアドレスポ
インタW2に対応するオフセット値Eが取り出され、アド
レスレジスタ508からアドレスポインタW0に対応する既
に更新されたアドレスが取り出され、この既に更新され
たアドレスにオフセット値Eが加算され、この加算値が
アドレスポインタW2に対応するアドレスとしてアドレス
レジスタ508に書き込まれる。
When updating the address pointer W2, an addition / subtraction identification signal 514 indicating addition is given to the arithmetic circuit 505. Then, the offset value E corresponding to the address pointer W2 is taken out from the address update register 503, the already updated address corresponding to the address pointer W0 is taken out from the address register 508, and the offset value E is obtained at this already updated address. The added value is added, and the added value is written in the address register 508 as an address corresponding to the address pointer W2.

【0092】また、アドレスポインタR0の更新のときに
は、減算を示す加減算識別信号514が演算器505に与えら
れる。そして、アドレスポインタW0に対応する既に更新
されたアドレスからオフセット値Bが減算され、この減
算値がアドレスポインタR0に対応するアドレスとしてア
ドレスレジスタ508に書き込まれる。アドレスポインタR
1の更新は、アドレスポインタW0に対応する既に更新さ
れたアドレスからオフセット値Dが減算されることによ
り行われる。
When the address pointer R0 is updated, the addition / subtraction identification signal 514 indicating subtraction is given to the calculator 505. Then, the offset value B is subtracted from the already updated address corresponding to the address pointer W0, and this subtracted value is written in the address register 508 as the address corresponding to the address pointer R0. Address pointer R
The update of 1 is performed by subtracting the offset value D from the already updated address corresponding to the address pointer W0.

【0093】同様に、アドレスポインタW1,W3の更新の
ときには、減算を示す加減算識別信号514が演算回路505
に与えられる。そして、それぞれのオフセット値C,Fが
アドレスポインタW0に対応する既に更新されたアドレス
から減算され、これらの減算値がアドレスレジスタ508
に書き込まれる。
Similarly, when the address pointers W1 and W3 are updated, the addition / subtraction identification signal 514 indicating subtraction is output to the arithmetic circuit 505.
Given to. Then, the respective offset values C and F are subtracted from the already updated address corresponding to the address pointer W0, and these subtracted values are added to the address register 508.
Written in.

【0094】以上の動作によって、各アドレスポインタ
W0,R0,W1,R1,W2,W3を図8(b)から図8(c)に示す状態に
移る。
By the above operation, each address pointer
W0, R0, W1, R1, W2 and W3 are moved from the state shown in FIG. 8 (b) to the state shown in FIG. 8 (c).

【0095】オフセット値を加算するか減算するかは、
アドレス更新レジスタ503の各オフセット値毎に決まっ
ている。このため、アドレス更新レジスタ503の各オフ
セット値に対応して加算及び減算のいずれかを記憶した
レジスタを制御信号発生回路515に内蔵しておけば、制
御信号発生回路515は、1つのアドレスポインタを示す
アドレスレジスタ選択信号513を出力するときに、該ア
ドレスポインタに対応するオフセット値を加算するのか
減算するのかを内蔵のレジスタを参照することによって
識別し、加算及び減算のいずれかを示す加算減算識別信
号を出力することができる。
Whether to add or subtract the offset value depends on
It is determined for each offset value of the address update register 503. Therefore, if the control signal generation circuit 515 incorporates a register storing either addition or subtraction corresponding to each offset value of the address update register 503, the control signal generation circuit 515 can store one address pointer. When outputting the address register selection signal 513 indicating, the addition / subtraction identification indicating whether addition or subtraction is made by identifying whether to add or subtract the offset value corresponding to the address pointer by referring to a built-in register. A signal can be output.

【0096】本実施形態では、リミッタ506の動作が第
1及び第2実施形態と全く同じであるため、この動作の
説明を省略する。
In the present embodiment, the operation of the limiter 506 is exactly the same as that of the first and second embodiments, so the description of this operation will be omitted.

【0097】以上の様に、各アドレスポインタ並びに各
アドレスの更新を基準アドレスに対する相対値で演算す
ることにより、常に各アドレスポインタの相対関係を保
ちながら、これらのアドレスポインタをメモリ空間内に
割り当てることができる。また、各アドレスポインタの
うちの必要なものについては、Hブランキング開始信号5
16を入力する度に、更新を行い、水平方向のオフセット
値Gをアドレスポインタに与えている。
As described above, by updating each address pointer and each address with a relative value with respect to the reference address, these address pointers are allocated in the memory space while always maintaining the relative relationship of each address pointer. You can For the necessary ones of each address pointer, the H blanking start signal 5
Every time 16 is input, it is updated and the offset value G in the horizontal direction is given to the address pointer.

【0098】なお、本実施形態においては、第1実施形
態と同様に、各アドレスポインタ毎に、アドレスポイン
タにオフセット値を加算又は減算することにより、アド
レスポインタの更新を行っているが、第2実施形態の様
に、基準アドレスのポインタをW2にして、このポインタ
W2のみについてオフセット値を加算し、他のアドレスポ
インタについてはそれぞれのオフセット値を減算しても
構わない。また、アドレス更新レジスタ503を複数個用
いても良い。また1つの基準アドレスに対して他のアド
レスを相対的に求める例を示したが、基準アドレスの個
数は1つとは限らず複数個であってもよい。またアドレ
ス更新レジスタ内の各オフセット値の数は、アドレスレ
ジスタ内の各アドレスの数と異なってもよい。また演算
器505を加減算識別信号により制御したが、例えばアド
レス更新レジスタ503に2の補数に基づく値を格納して
おき、演算器は単純な加算器の構成にしても構わない。
また基準アドレスの更新方向と他のアドレスの更新方向
は本実施形態に限定されるものではない。またアドレス
がインクリメントされる値を"1"としたが、他の値でも
よい。また各セレクタ504,509と演算器505を組み合わ
せることにより、各アドレスの更新を1つの演算器505に
よって行っているが、各アドレス毎に、各演算器を用意
して、各アドレスを更新しても構わない。
In the present embodiment, the address pointer is updated by adding or subtracting the offset value to or from the address pointer for each address pointer, as in the first embodiment. As in the embodiment, the reference address pointer is set to W2 and this pointer is
It is also possible to add the offset value only for W2 and subtract the respective offset values for the other address pointers. Also, a plurality of address update registers 503 may be used. Also, an example in which another address is relatively obtained with respect to one reference address has been shown, but the number of reference addresses is not limited to one, and may be a plurality. Also, the number of each offset value in the address update register may be different from the number of each address in the address register. Further, although the arithmetic unit 505 is controlled by the addition / subtraction identification signal, for example, a value based on the two's complement may be stored in the address update register 503 and the arithmetic unit may have a simple adder configuration.
Further, the updating direction of the reference address and the updating direction of other addresses are not limited to this embodiment. Further, although the value by which the address is incremented is set to "1", other values may be used. Also, by combining the selectors 504 and 509 and the arithmetic unit 505, each address is updated by one arithmetic unit 505. However, each arithmetic unit is prepared for each address and each address is updated. I don't mind.

【0099】(第4実施形態)図9は、本発明のメモリ
アドレス発生装置の第4実施形態を示している。この第
4実施形態では、メモリのアドレス空間を論理的に2分
割して、各アドレスポインタW0,R0,W1,R1のみによっ
て、2分割された各記憶領域をアクセスしており、この
ために制御信号発生回路515からリミッタ506へとメモリ
エリア識別信号517を伝送している。
(Fourth Embodiment) FIG. 9 shows a fourth embodiment of the memory address generator of the present invention. In the fourth embodiment, the address space of the memory is logically divided into two, and each divided storage area is accessed only by each address pointer W0, R0, W1, R1. The memory area identification signal 517 is transmitted from the signal generation circuit 515 to the limiter 506.

【0100】図9において、500はレジスタ更新開始信
号(Vブランキング開始信号)を入力する入力端子、501
はアドレス発生タイミング信号を入力する入力端子、50
2はポインタ識別信号を入力する入力端子、503はアドレ
ス更新レジスタ、504はアドレス更新レジスタ503内の各
値A,B,C,Dと固定値"1"を選択して出力するセレクタ、50
5は演算器、506は演算器505の演算結果のアドレスをメ
モリ空間内に制限するためのリミッタ、507はアドレス
更新回路、508は各アドレスポインタに対応する各メモ
リアドレスを格納しておくアドレスレジスタ、509はア
ドレスレジスタ508内の各メモリアドレスを選択するセ
レクタ、510はメモリアドレスを出力する出力端子、519
はセレクタ509の出力を保持するラッチ、515は演算器50
5、各セレクタ504,509、リミッタ506、アドレスレジス
タ508及びラッチ519を制御する制御信号発生回路、511
はセレクタ504を制御する更新レジスタ選択信号、512は
アドレスレジスタ508を制御するアドレスレジスタロー
ド信号、513はセレクタ509を制御するアドレスレジスタ
選択信号、514は演算器505の演算の種類を指示するため
の加減算識別信号、520はセレクタ519にアドレスをロー
ドするタイミングを示すアドレスロード信号、517はメ
モリエリア識別信号である。
In FIG. 9, reference numeral 500 denotes an input terminal for inputting a register update start signal (V blanking start signal), 501
Is an input terminal for inputting the address generation timing signal, 50
2 is an input terminal for inputting a pointer identification signal, 503 is an address update register, 504 is a selector for selecting and outputting each value A, B, C, D in the address update register 503 and a fixed value "1", 50
5 is an arithmetic unit, 506 is a limiter for limiting the address of the arithmetic result of the arithmetic unit 505 within the memory space, 507 is an address updating circuit, and 508 is an address register for storing each memory address corresponding to each address pointer. , 509 is a selector for selecting each memory address in the address register 508, 510 is an output terminal for outputting the memory address, 519
Is a latch that holds the output of the selector 509, and 515 is a calculator 50
5, a control signal generation circuit for controlling each selector 504, 509, limiter 506, address register 508 and latch 519, 511
Is an update register selection signal for controlling the selector 504, 512 is an address register load signal for controlling the address register 508, 513 is an address register selection signal for controlling the selector 509, and 514 is for indicating the type of operation of the arithmetic unit 505. 520 is an add / subtract identification signal, 520 is an address load signal indicating the timing of loading an address to the selector 519, and 517 is a memory area identification signal.

【0101】本実施形態においては、メモリエリア識別
信号517及びリミッタ506以外の動作、つまり各アドレス
ポインタW0,R0,W1,R1の発生、更新等は第1実施形態と同
様であるので、ここでは説明を省略する。
In this embodiment, the operations other than the memory area identification signal 517 and the limiter 506, that is, the generation and updating of the address pointers W0, R0, W1, and R1 are the same as those in the first embodiment. The description is omitted.

【0102】図10は、2つの記憶領域に分けたメモリ
空間を示しており、輝度信号Yを書き込み及び読み出す
ための3フィールド分の記憶領域と、動き信号Mを書き
込み及び読み出すための2フィールド分の記憶領域を境
界値Bで分割している。
FIG. 10 shows a memory space divided into two storage areas. A storage area for three fields for writing and reading the luminance signal Y and a storage area for two fields for writing and reading the motion signal M are shown. The storage area of is divided by the boundary value B.

【0103】次に、リミッタ506の動作を述べる。制御
信号発生回路515は、輝度信号Yのための記憶領域と動き
信号Mのための記憶領域のいずれかを示すメモリエリア
識別信号517をリミッタ506に与える。リミッタ506は、
このメモリエリア識別信号517に応じて2種類の動作を
行う。
Next, the operation of the limiter 506 will be described. The control signal generation circuit 515 gives the limiter 506 a memory area identification signal 517 indicating either a storage area for the luminance signal Y or a storage area for the motion signal M. Limiter 506 is
Two types of operations are performed according to the memory area identification signal 517.

【0104】図11は、先頭アドレスを含む輝度信号Y
のための記憶領域をアクセスするときのリミッタ506の
動作を示している。
FIG. 11 shows the luminance signal Y including the start address.
Shows the operation of the limiter 506 when accessing the storage area for.

【0105】アドレスポインタにオフセット値を加算し
て、アドレスを更新したときに、図11(a)に示す様
に、更新されたアドレスAが境界値Bを越えた場合は、リ
ミッタ506は、アドレスAの代わりに、アドレスA-(B+1)
を出力する。また、アドレスポインタにオフセット値を
減算して、アドレスを更新したときに、図11(b)に示
す様に、更新されたアドレスAが先頭アドレスより不足
した場合は、リミッタ506は、アドレスAの代わりに、ア
ドレスA+B+1を出力する。
When the offset value is added to the address pointer and the address is updated, as shown in FIG. 11A, if the updated address A exceeds the boundary value B, the limiter 506 changes the address. Address A- (B + 1) instead of A
Is output. Also, when the offset value is subtracted from the address pointer and the address is updated, as shown in FIG. 11B, if the updated address A is less than the start address, the limiter 506 causes the address A Instead, it outputs the address A + B + 1.

【0106】図12は、最終アドレスを含む動き信号M
のための記憶領域をアクセスするときのリミッタ506の
動作を示している。
FIG. 12 shows the motion signal M including the final address.
Shows the operation of the limiter 506 when accessing the storage area for.

【0107】アドレスポインタにオフセット値を加算し
て、アドレスを更新したときに、図12(a)に示す様
に、更新されたアドレスAが最終アドレスCを越えた場合
は、リミッタ506は、アドレスAの代わりに、アドレスA-
C+Bを出力する。また、アドレスポインタにオフセット
値を減算して、アドレスを更新したときに、図12(b)
に示す様に、更新されたアドレスAが境界B+1より不足し
た場合は、リミッタ506は、アドレスAの代わりに、アド
レスA-B+Cを出力する。
When the offset value is added to the address pointer to update the address, as shown in FIG. 12A, if the updated address A exceeds the final address C, the limiter 506 changes the address. Instead of A, the address A-
Output C + B. In addition, when the offset value is subtracted from the address pointer to update the address, as shown in FIG.
When the updated address A is less than the boundary B + 1, as shown in, the limiter 506 outputs the address A-B + C instead of the address A.

【0108】これによって、輝度信号Yのための記憶領
域と動き信号Mのための記憶領域のいずれにおいても、
アドレスポインタを循環させてインクリメントすること
ができる。
Thus, in both the storage area for the luminance signal Y and the storage area for the motion signal M,
The address pointer can be rotated and incremented.

【0109】この様に本実施形態では、輝度信号Yと動
き信号Mの様に、ビット数の異なる各信号や、フィール
ド数が異なる各信号を1つのメモリ空間内の各記憶領域
に割り当てることができ、それぞれの記憶領域で、それ
ぞれのアドレスポインタを相互に異なる速度でインクリ
メントすることもでき、メモリ空間を有効に使用するこ
とができる。
As described above, in this embodiment, like the luminance signal Y and the motion signal M, signals with different numbers of bits and signals with different numbers of fields can be assigned to the respective storage areas in one memory space. In each storage area, each address pointer can be incremented at a different speed from each other, and the memory space can be effectively used.

【0110】なお、本実施形態においては、メモリ空間
を2つの領域に分割したが複数個の分割であれば、いく
つに分割しても構わない。また基準アドレスは1つとは
限らず各記憶領域に1つづつあっても構わない。また本
実施形態のリミッタ506の動作を第2及び第3実施形態
に適応してもよい。
Although the memory space is divided into two areas in this embodiment, it may be divided into any number of areas as long as it is divided into a plurality of areas. Further, the reference address is not limited to one, and one may be provided in each storage area. Further, the operation of the limiter 506 of this embodiment may be applied to the second and third embodiments.

【0111】(第5実施形態)図13は、本発明のメモ
リアドレス発生装置の第5実施形態を示している。この
第5実施形態では、メモリ空間を論理的に2分割して、
2分割された各記憶領域をアクセスするだけでなく、各
記憶領域のいずれにおいても、アドレスを0から開始し
ている。このために、セレクタ509とラッチ519間にビッ
ト反転回路518を挿入し、加算減算識別信号514をリミッ
タ506に加え、メモリエリア識別信号517をリミッタ506
とビット反転回路518に加えている。
(Fifth Embodiment) FIG. 13 shows a memory address generator according to a fifth embodiment of the present invention. In the fifth embodiment, the memory space is logically divided into two,
In addition to accessing each of the two divided storage areas, the address is started from 0 in each of the storage areas. For this purpose, a bit inversion circuit 518 is inserted between the selector 509 and the latch 519, the addition / subtraction identification signal 514 is added to the limiter 506, and the memory area identification signal 517 is added to the limiter 506.
And added to the bit inversion circuit 518.

【0112】図13において、500はレジスタ更新開始
信号(Vブランキング開始信号)を入力する入力端子、5
01はアドレス発生タイミング信号を入力する入力端子、
502はポインタ識別信号を入力する入力端子、503はアド
レス更新レジスタ、504はアドレス更新レジスタ503内の
各値A,B,C,Dと固定値"1"を選択して出力するセレクタ、
505は演算器、506は演算器505の演算結果のアドレスを
メモリ空間内に制限するためのリミッタ、507はアドレ
ス更新回路、508は各アドレスポインタに対応する各メ
モリアドレスを格納しておくアドレスレジスタ、509は
アドレスレジスタ508内の各メモリアドレスを選択する
セレクタ、518はセレクタ509の出力を入力しそのまま出
力するか反転して出力するかが選択できるビット反転回
路、510はメモリアドレスを出力する出力端子、519はビ
ット反転回路518の出力を保持するラッチ、515は演算器
505、各セレクタ504,509、リミッタ506、アドレスレジ
スタ508、ビット反転回路518及びラッチ519を制御する
制御信号発生回路、511はセレクタ504を制御する更新レ
ジスタ選択信号、512はアドレスレジスタ508を制御する
アドレスレジスタロード信号、513はセレクタ509を制御
するアドレスレジスタ選択信号、520はセレクタ519にア
ドレスをロードするタイミングを示すアドレスロード信
号、514は演算器505の演算の種類を指示するための加減
算識別信号、517はメモリエリア識別信号である。
In FIG. 13, reference numeral 500 denotes an input terminal for inputting a register update start signal (V blanking start signal), and 5
01 is an input terminal for inputting the address generation timing signal,
502 is an input terminal for inputting a pointer identification signal, 503 is an address update register, 504 is a selector for selecting and outputting each value A, B, C, D in the address update register 503 and a fixed value "1",
505 is an arithmetic unit, 506 is a limiter for limiting the address of the arithmetic result of the arithmetic unit 505 within the memory space, 507 is an address update circuit, and 508 is an address register for storing each memory address corresponding to each address pointer. , 509 is a selector for selecting each memory address in the address register 508, 518 is a bit inverting circuit which can select whether to output the selector 509 and output it as it is or invert it and output 510, which outputs the memory address Terminal, 519 is a latch that holds the output of the bit inverting circuit 518, and 515 is a computing unit
505, each selector 504, 509, limiter 506, address register 508, control signal generation circuit for controlling bit inverting circuit 518 and latch 519, 511 is an update register selection signal for controlling selector 504, 512 is an address register for controlling address register 508 A load signal, 513 is an address register selection signal for controlling the selector 509, 520 is an address load signal indicating the timing of loading an address to the selector 519, 514 is an addition / subtraction identification signal for instructing the type of operation of the arithmetic unit 505, 517 Is a memory area identification signal.

【0113】本実施形態においては、メモリエリア識別
信号517、リミッタ506及びビット反転回路518以外の動
作、すなわち複数のアドレスポインタの発生、更新のし
くみは第1実施形態と同様であるので、ここでは説明を
省略する。
In this embodiment, the operation other than the memory area identification signal 517, the limiter 506 and the bit inversion circuit 518, that is, the mechanism of generating and updating a plurality of address pointers is the same as that of the first embodiment, and therefore, here, The description is omitted.

【0114】図14は、4ビットのメモリ空間を示して
おり、先頭アドレス"0000"を含む記憶領域0と最終アド
レス"1111"を含む記憶領域1に境界値Bで分割されてい
る。
FIG. 14 shows a 4-bit memory space, which is divided by a boundary value B into a storage area 0 containing the start address "0000" and a storage area 1 containing the final address "1111".

【0115】ここでは、メモリ空間を2つの記憶領域に
分割しているが、アドレスの更新は、どちらの記憶領域
においてもアドレス"0000"を基準にして行われる。すな
わち、図14に示すように、記憶領域0においては絶対
アドレスが適用され、記憶領域1においては絶対アドレ
スを反転した論理アドレスが適用され、絶対アドレス"1
111"を反転した論理アドレス"0000"を基準アドレスとし
て仮定している。
Here, the memory space is divided into two storage areas, but the address is updated based on the address "0000" in both storage areas. That is, as shown in FIG. 14, the absolute address is applied to the storage area 0, the logical address obtained by inverting the absolute address is applied to the storage area 1, and the absolute address "1" is applied.
It is assumed that the logical address "0000", which is the inverse of "111", is the reference address.

【0116】次に、ビット反転回路518の動作を述べ
る。まず、リミッタ506には、メモリエリア識別信号517
が入力され、これによって記憶領域0と記憶領域1のいず
れがアクセスされるかが決められる。第4実施形態の説
明から明らかな様に、演算器505の演算結果のアドレス
は、リミッタ506、アドレスレジスタ508、セレクタ509
をへてビット反転回路518に入力される。ビット反転回
路518は、メモリエリア識別信号517を入力し、このメモ
リエリア識別信号517によって記憶領域0が示されていれ
ば、アドレスをそのまま出力し、このメモリエリア識別
信号517によって記憶領域1が示されていれば、アドレス
の全ビットを反転して出力する。このアドレスは、ラッ
チ519を経て、所定のタイミングでメモリのアドレスと
して出力端子510より出力される。この動作により記憶
領域0と記憶領域1に、アドレスポインタを振り分けるこ
とができる。
Next, the operation of the bit inverting circuit 518 will be described. First, the limiter 506 includes a memory area identification signal 517.
Is input, which determines which of storage area 0 and storage area 1 is to be accessed. As is clear from the description of the fourth embodiment, the address of the calculation result of the calculator 505 is the limiter 506, the address register 508, the selector 509.
Is input to the bit inverting circuit 518. The bit inversion circuit 518 inputs the memory area identification signal 517, and if the memory area identification signal 517 indicates the storage area 0, outputs the address as it is, and the memory area identification signal 517 indicates the storage area 1. If so, all bits of the address are inverted and output. This address is output from the output terminal 510 as a memory address at a predetermined timing via the latch 519. By this operation, the address pointer can be assigned to the storage area 0 and the storage area 1.

【0117】次に、リミッタ506の動作を述べる。図1
5は、絶対アドレス"0000"を含む記憶領域0をアクセス
するときのリミッタ506の動作を示している。
Next, the operation of the limiter 506 will be described. Figure 1
5 shows the operation of the limiter 506 when accessing the storage area 0 including the absolute address "0000".

【0118】アドレスポインタにオフセット値を加算し
て、アドレスを更新したときに、図15(a)に示す様
に、更新されたアドレスAが境界値Bを越えた場合は、リ
ミッタ506は、アドレスAの代わりに、アドレスA-(B+1)=
A+not(B)を出力する。ただし、not()は、()内のビット
を反転したものである。また、アドレスポインタにオフ
セット値を減算して、アドレスを更新したときに、図1
5(b)に示す様に、更新されたアドレスAが絶対アドレ
ス"0000"より不足した場合は、リミッタ506は、アドレ
スAの代わりに、アドレスA+B+1を出力する。
When the offset value is added to the address pointer to update the address, if the updated address A exceeds the boundary value B as shown in FIG. 15 (a), the limiter 506 changes the address. Instead of A, the address A- (B + 1) =
Output A + not (B). However, not () is the bit in () inverted. Also, when the offset value is subtracted from the address pointer to update the address,
As shown in 5 (b), when the updated address A is less than the absolute address "0000", the limiter 506 outputs the address A + B + 1 instead of the address A.

【0119】図16は、絶対アドレス"1111"を含む記憶
領域1をアクセスするときのリミッタ506の動作を示して
いる。
FIG. 16 shows the operation of the limiter 506 when accessing the storage area 1 including the absolute address "1111".

【0120】アドレスポインタにオフセット値を加算し
て、アドレスを更新したときに、図16(a)に示す様
に、更新されたアドレスAが論理アドレス"0000"より不
足した場合は、リミッタ506は、アドレスAの代わりに、
アドレスA+B'+1=A+not(B)を出力する。ただし、B'は記
憶領域1の境界値で、not(B)-1に等しい。また、アドレ
スポインタにオフセット値を加算して、アドレスを更新
したときに、図16(b)に示す様に、更新されたアドレ
スAが論理アドレスB'を越えた場合は、リミッタ506は、
アドレスAの代わりに、アドレスA-(B'+1)=A-not(B)=A+B
+1を出力する。
When the offset value is added to the address pointer and the address is updated, as shown in FIG. 16A, if the updated address A is less than the logical address "0000", the limiter 506 , Instead of address A,
The address A + B '+ 1 = A + not (B) is output. However, B'is the boundary value of the storage area 1 and is equal to not (B) -1. Further, when the offset value is added to the address pointer and the address is updated, as shown in FIG. 16B, when the updated address A exceeds the logical address B ′, the limiter 506
Instead of address A, address A- (B '+ 1) = A-not (B) = A + B
Output +1.

【0121】このような処理をすることにより、各記憶
領域0,1のいずれにおいても、アドレス"0000"を基準と
して、アドレスを"0000"から開始することができる。ま
た、リミッタ506は、その出力がA、A+B+1、A+not(B)の
いずれかに限定されるために、簡易な回路構成で実現で
きる。
By carrying out such a processing, the address can be started from "0000" with reference to the address "0000" in each of the storage areas 0 and 1. Further, the limiter 506 can be realized with a simple circuit configuration because its output is limited to any of A, A + B + 1, and A + not (B).

【0122】以上の様に、メモリを単一な境界によて2
つの記憶領域に分割する場合は、論理アドレスを導入す
ることによって、いずれの記憶領域も同等にアクセスす
ることができる。また、リミッタの回路構成の大幅な複
雑化と規模の拡大を招くこともない。
As described above, the memory is divided into two by a single boundary.
When dividing into one storage area, by introducing a logical address, any storage area can be accessed equally. Further, the circuit configuration of the limiter is not significantly complicated and the scale is not increased.

【0123】なお、基準アドレスは1つとは限らず各領
域に1つづつあっても構わない。また本実施形態のリミ
ッタ506の動作を第2及び第3実施形態に適応してもよ
く、更に1つのメモリ空間を分割する手法として他の回
路構成のものに用いてもよい。
The reference address is not limited to one, and there may be one reference address in each area. Further, the operation of the limiter 506 of this embodiment may be applied to the second and third embodiments, and it may be used for other circuit configurations as a method of dividing one memory space.

【0124】(第6実施形態)図17は、本発明のメモ
リアドレス発生装置の第6実施形態を示している。この
第6実施形態では、非同期の複数の信号を1つのメモリ
に書き込んだり、該メモリから読み出している。このた
めに、セレクタ509とラッチ519間にビット反転回路518
を挿入し、非同期アドレスレジスタ521及びセレクタ522
を設けている。
(Sixth Embodiment) FIG. 17 shows a memory address generating apparatus according to a sixth embodiment of the present invention. In the sixth embodiment, a plurality of asynchronous signals are written in or read from one memory. For this purpose, the bit inverting circuit 518 is connected between the selector 509 and the latch 519.
To the asynchronous address register 521 and selector 522.
Is provided.

【0125】図17において、500はレジスタ更新開始
信号(Vブランキング開始信号)を入力する入力端子、5
01はアドレス発生タイミング信号を入力する入力端子、
502はポインタ識別信号を入力する入力端子、503はアド
レス更新レジスタ、504はアドレス更新レジスタ503内の
各値、固定値"1"及び"0"を選択して出力するセレクタ、
505は演算器、506は演算器505の演算結果のアドレスを
メモリ空間内に制限するためのリミッタ、507はアドレ
ス更新回路、508は各アドレスポインタに対応する各メ
モリアドレスを格納しておくアドレスレジスタ、509は
アドレスレジスタ508内の各メモリアドレスを選択する
セレクタ、518はセレクタ509の出力を入力しそのまま出
力するか反転して出力するかが選択できるビット反転回
路、510はメモリアドレスを出力する出力端子、519はビ
ット反転回路518の出力を保持するラッチ、515は演算器
505、各セレクタ504,509、リミッタ506、アドレスレジ
スタ508、ビット反転回路518、セレクタ522及びラッチ5
19を制御する制御信号発生回路、511はセレクタ504を制
御する更新レジスタ選択信号、512はアドレスレジスタ5
08を制御するアドレスレジスタロード信号、513はセレ
クタ509を制御するアドレスレジスタ選択信号、514は演
算器505の演算の種類を指示するための加減算識別信
号、517はメモリエリア識別信号、524は非同期系Vブラ
ンキング開始信号を入力する入力端子、521はセレクタ5
09からのアドレスを入力端子524からの非同期系Vブラン
キング開始信号に応答して格納する非同期アドレスレジ
スタ、522はセレクタ509からのアドレスと非同期アドレ
スレジスタ521からのアドレスを制御信号発生回路515か
らの非同期選択信号に応答して切り替えるセレクタ、52
0はセレクタ519にアドレスをロードするタイミングを示
すアドレスロード信号、523はセレクタ522を切り替える
ための非同期選択信号である。
In FIG. 17, reference numeral 500 denotes an input terminal for inputting a register update start signal (V blanking start signal), and 5
01 is an input terminal for inputting the address generation timing signal,
502 is an input terminal for inputting a pointer identification signal, 503 is an address update register, 504 is a selector for selecting and outputting each value in the address update register 503, fixed values "1" and "0",
505 is an arithmetic unit, 506 is a limiter for limiting the address of the arithmetic result of the arithmetic unit 505 within the memory space, 507 is an address update circuit, and 508 is an address register for storing each memory address corresponding to each address pointer. , 509 is a selector for selecting each memory address in the address register 508, 518 is a bit inverting circuit which can select whether to output the selector 509 and output it as it is or invert it and output 510, which outputs the memory address Terminal, 519 is a latch that holds the output of the bit inverting circuit 518, and 515 is a computing unit
505, selectors 504 and 509, limiter 506, address register 508, bit inverting circuit 518, selector 522 and latch 5
Control signal generation circuit for controlling 19; 511, update register selection signal for controlling selector 504; 512, address register 5
Address register load signal for controlling 08, 513 for address register selection signal for controlling selector 509, 514 for addition / subtraction identification signal for instructing the type of operation of arithmetic unit 505, 517 for memory area identification signal, and 524 for asynchronous system Input terminal to input V blanking start signal, 521 is selector 5
The asynchronous address register for storing the address from 09 in response to the asynchronous V blanking start signal from the input terminal 524, 522 is the address from the selector 509 and the address from the asynchronous address register 521 from the control signal generation circuit 515. Selector that switches in response to an asynchronous select signal, 52
0 is an address load signal indicating the timing of loading an address to the selector 519, and 523 is an asynchronous selection signal for switching the selector 522.

【0126】本実施形態においては、同期系1の映像信
号の書き込み及び読み出しと、この同期系1の映像信号
とは同期しない非同期系2の映像信号の書き込み及び読
み出しを行う。
In this embodiment, writing and reading of the video signal of the synchronous system 1 and writing and reading of the video signal of the asynchronous system 2 which is not synchronized with the video signal of the synchronous system 1 are performed.

【0127】また、第5実施形態と同じく、図14に示
す様にメモリ空間を記憶領域0と記憶領域1に分割し、記
憶領域0においては絶対アドレスを適用し、記憶領域1に
おいては絶対アドレスを反転した論理アドレスを適用し
ている。
As in the fifth embodiment, the memory space is divided into storage area 0 and storage area 1 as shown in FIG. 14, absolute addresses are applied to storage area 0, and absolute addresses are applied to storage area 1. The logical address that is inverted is applied.

【0128】アドレス更新レジスタ503には、記憶領域0
の各アドレスポインタW1,R1に対応する各オフセット
値、及び記憶領域1の読み出しアドレスポインタASRに対
応するオフセット値が格納されている。また、アドレス
レジスタ508には、記憶領域0の各アドレスポインタW1,R
1に対応する各アドレス、及び記憶領域1の各アドレスポ
インタASW,ASRに対応する各アドレスが格納されてい
る。
The address update register 503 has a storage area 0
The offset values corresponding to the address pointers W1 and R1 and the offset value corresponding to the read address pointer ASR of the storage area 1 are stored. In addition, the address register 508 includes the address pointers W1 and R1 of the storage area 0.
Each address corresponding to 1 and each address corresponding to each address pointer ASW, ASR of the storage area 1 are stored.

【0129】同期系1の映像信号の書き込み及び読み出
しを行う場合は、記憶領域0が用いられる。また、ビッ
ト反転回路518は、セレクタ509からのアドレスを反転せ
ずに出力する。更に、セレクタ522は、セレクタ509から
のアドレスを選択して、このアドレスを演算器505に与
える。従って、アドレスのインクリメント及び更新は、
第1実施形態と全く同様である。また、リミッタ509の
動作は、第5実施形態のものと全く同様である。
When writing and reading the video signal of the synchronous system 1, the storage area 0 is used. The bit inverting circuit 518 outputs the address from the selector 509 without inverting it. Further, the selector 522 selects the address from the selector 509 and gives this address to the arithmetic unit 505. Therefore, the address increment and update is
This is exactly the same as in the first embodiment. The operation of the limiter 509 is exactly the same as that of the fifth embodiment.

【0130】次に、非同期系2の映像信号の読み出し及
び書き込み動作を説明する。
Next, the read and write operations of the video signal of the asynchronous system 2 will be described.

【0131】まず、非同期系2の映像信号の書き込みア
ドレスの発生について述べる。非同期系のアドレスポイ
ンタASWの進む速度は、同期系と異なるためにメモリ空
間内に専用の領域を割り当てる。本実施形態では、記憶
領域1を割り当てる。また、アドレスレジスタ508には、
各アドレスポインタASW,ASRに対応する非同期系2の書き
込み及び読み出しアドレスが格納されている。
First, the generation of the write address of the video signal of the asynchronous system 2 will be described. Since the speed at which the asynchronous address pointer ASW advances differs from that at the synchronous address, a dedicated area is allocated in the memory space. In this embodiment, the storage area 1 is assigned. In addition, the address register 508
The write and read addresses of the asynchronous system 2 corresponding to the address pointers ASW and ASR are stored.

【0132】制御信号発生回路515は、各入力端子501,5
02からのアドレス発生タイミング信号及びポインタ識別
信号に基づいて、書き込みアドレスポインタASWに対応
するアドレスへのアクセスが要求されていることを判定
すると、セレクタ509、ビット反転回路518、セレクタ52
2及びリミッタ506を制御して、書き込みアドレスポイン
タASWに対応するアドレスを発生させる。つまり、セレ
クタ509は、アドレスポインタASWに対応するアドレスを
選択する。また、非同期系2の書き込み及び読み出しを
記憶領域1に対して行うので、リミッタ509は、図16に
示す動作を行い、ビット反転回路518は、セレクタ509か
らのアドレスを反転して出力する。更に、セレクタ522
は、セレクタ509からのアドレスを選択し、セレクタ504
は、値"1"を選択する。演算器505は、書き込みアドレス
ポインタASWに対応するアドレスを"1"づつインクリメン
トする。
The control signal generation circuit 515 has the input terminals 501, 5
When it is determined that access to the address corresponding to the write address pointer ASW is requested based on the address generation timing signal and the pointer identification signal from 02, the selector 509, the bit inversion circuit 518, and the selector 52.
2 and the limiter 506 are controlled to generate an address corresponding to the write address pointer ASW. That is, the selector 509 selects the address corresponding to the address pointer ASW. Further, since writing and reading of the asynchronous system 2 are performed on the storage area 1, the limiter 509 performs the operation shown in FIG. 16, and the bit inverting circuit 518 inverts the address from the selector 509 and outputs it. Furthermore, selector 522
Selects the address from selector 509, selector 504
Selects the value "1". The arithmetic unit 505 increments the address corresponding to the write address pointer ASW by "1".

【0133】アドレスポインタASWの発生タイミング
は、アドレス発生タイミング信号によって指示され、非
同期系2の映像信号に同期して決められている。
The generation timing of the address pointer ASW is instructed by the address generation timing signal and is determined in synchronization with the video signal of the asynchronous system 2.

【0134】こうして書き込みアドレスポインタASWに
対応するアドレスを発生している状態では、制御信号発
生回路515は、Vブランキング開始信号を入力端子500か
ら入力しても、アドレスレジスタ508内のアドレスポイ
ンタASWに対応するアドレスの更新、つまりオフセット
値による該アドレスの更新を行わない。すなわち、非同
期系2の書き込みはインクリメントのみで、アドレスポ
インタがメモリ空間の記憶領域1の中を循環することに
なる。
Thus, in the state where the address corresponding to the write address pointer ASW is being generated, the control signal generation circuit 515 receives the V blanking start signal from the input terminal 500, but the address pointer ASW in the address register 508. Is not updated, that is, the address is not updated with the offset value. That is, the writing of the asynchronous system 2 is only increment, and the address pointer circulates in the storage area 1 of the memory space.

【0135】次に、記憶領域1に書き込まれた非同期系2
の映像信号を同期系1の映像信号に同期して読み出すた
めの動作を述べる。
Then, the asynchronous system 2 written in the storage area 1
The operation for reading the video signal of 1 in synchronization with the video signal of the synchronous system 1 will be described.

【0136】非同期系2の映像信号と同期系1の映像信号
が同期していないので、各映像信号の読み出しに際して
は、該各映像信号を略同期させるために、記憶領域1に
書き込まれた各フレームを選択的に読み飛ばしたり、2
度読みすることにより、各映像信号の周波数差を吸収す
る。
Since the video signal of the asynchronous system 2 and the video signal of the synchronous system 1 are not synchronized with each other, when reading each video signal, each video signal written in the storage area 1 is made to be substantially synchronized with each other. Selectively skip frames, 2
By reading again, the frequency difference between the video signals is absorbed.

【0137】図18は、書き込みと読み出しのフィール
ド周波数が異なる場合のそれぞれのフレームについて示
したものである。フレームについて示したのは、インタ
ーレース信号の場合にも、フィールドのEVEN/ODDの関係
が乱れないようにするためである。
FIG. 18 shows each frame when the write and read field frequencies are different. The frame is shown so that the EVEN / ODD relationship of the field is not disturbed even in the case of an interlaced signal.

【0138】図18(a)は、書き込みフィールド周波数
が読み出しフィールド周波数よりも大きい場合、つまり
非同期系2の周波数が同期系1の周波数よりも大きい場
合、図18(b)は、その逆の場合を示している。いずれ
の場合も、フレームの読み出しは、書き込みが行われて
いる最中のフレームの先頭アドレスから行われ、フレー
ムの書き込みと読み出しが並行する。
FIG. 18A shows the case where the write field frequency is higher than the read field frequency, that is, the frequency of the asynchronous system 2 is higher than the frequency of the synchronous system 1, and FIG. 18B shows the opposite case. Is shown. In either case, frame reading is performed from the start address of the frame in which writing is being performed, and frame writing and reading are performed in parallel.

【0139】例えば、図18(a)の場合では、5フレー
ムまでは書き込んだフレームをそのまま読み出すが、5
フレームを読み出し終わる前に、既に7フレームの書き
込みを始めているために、6フレームをスキップして、
読み出しが行われる。
For example, in the case of FIG. 18 (a), the written frame is read as it is up to 5 frames.
Since writing of 7 frames has already started before reading the frames, 6 frames are skipped,
Reading is performed.

【0140】このような動作は、書き込みフレームの先
頭アドレスを該フレームの開示時点で保持しておき、1
フレームの読み出しが終了すると、保持しておいた先頭
アドレスをそのまま次に読み出されるフレームの先頭ア
ドレスとする。これにより、フレームのスキップが可能
となり、非同期系の信号を同期系の信号に変換すること
ができる。
In such an operation, the start address of the write frame is held at the time of disclosure of the frame, and 1
When the reading of the frame is completed, the held start address is used as it is as the start address of the next frame to be read. As a result, it is possible to skip frames and convert an asynchronous signal into a synchronous signal.

【0141】一方、この様な動作を図18(b)の場合、
つまり書き込みフィールド周波数が読み出しフィールド
周波数よりも小さい場合にそのまま適用すると、1フレ
ームの書き込みが終わらないうちに、1フレームの読み
出しが完了してしまうことがある。この場合は、映像信
号を正しく読み出せなくなる。図18(b)中に、正しく
読み出せなかった部分をNGで示す。
On the other hand, in the case of FIG.
In other words, if the write field frequency is lower than the read field frequency and applied as it is, the reading of one frame may be completed before the writing of one frame is completed. In this case, the video signal cannot be read correctly. In FIG. 18 (b), the part that could not be read correctly is indicated by NG.

【0142】この追い越し動作を回避するために、書き
込みに用いられる非同期系2のVブランキング開始信号
に、読み出されるフレームが書き込まれたフレームを追
い越してしまうタイミングの期間分に相当する幅を与え
る。このタイミングの期間分に相当する幅は、2つのフ
ィールド周波数の差に相当する時間分である。
In order to avoid this overtaking operation, the V blanking start signal of the asynchronous system 2 used for writing is given a width corresponding to the period of the timing at which the read frame overtakes the written frame. The width corresponding to the period portion of this timing is the time portion corresponding to the difference between the two field frequencies.

【0143】この場合、読み出しのアドレスの更新の際
に、非同期系2のVブランキング開始信号が"Low"の場合
は、フレームの書き込み開始時点で保持しておいた該フ
レームの先頭アドレスをそのまま次に読み出されるフレ
ームの先頭アドレスとし、非同期系2のVブランキング開
始信号が"High"の場合は、フレームの書き込み開始時点
で保持しておいた該フレームの先頭アドレスより1フレ
ーム前の先頭アドレスを次に読み出されるフレームの先
頭アドレスとする。
In this case, at the time of updating the read address, if the V blanking start signal of the asynchronous system 2 is "Low", the head address of the frame held at the start of writing the frame is unchanged. When the V blanking start signal of the asynchronous system 2 is "High" as the start address of the next frame to be read, the start address of the frame one frame before the start address of the frame held at the start of writing the frame Is the start address of the next frame to be read.

【0144】これにより、書き込みフィールド周波数が
読み出しフィールド周波数よりも小さい場合でも、図1
8(b)の一番下に示すように、読み出されるフレームが
書き込まれるフレームを追い越すことなく、非同期系の
信号を同期系の信号に変換することができる。
As a result, even if the write field frequency is lower than the read field frequency,
As shown at the bottom of 8 (b), an asynchronous signal can be converted into a synchronous signal without the read frame overtaking the written frame.

【0145】これまでの図18に示す動作は、次の様に
して行われる。まず、非同期アドレスレジスタ521は、
入力端子524から非同期系Vブランキング開始信号を入力
する度に、セレクタ509から出力されたアドレスポイン
タASWに対応するアドレス、つまりフレームの書き込み
開始時点の該フレームの先頭アドレスを格納しておく。
入力端子500からのVブランキング開始信号に応答して、
アドレスレジスタ508内の各アドレスを更新するに際
し、入力端子524からの非同期系Vブランキング開始信号
が"Low"ならば、セレクタ522は、非同期アドレスレジス
タ521からのアドレス、つまりフレームの書き込み開示
時点の該フレームの先頭アドレスを選択する。また、セ
レクタ504は、固定値"0"を選択する。このため、演算器
505は、非同期アドレスレジスタ522からのアドレスをそ
のまま出力する。
The operation shown in FIG. 18 so far is performed as follows. First, the asynchronous address register 521
Each time an asynchronous V blanking start signal is input from the input terminal 524, the address corresponding to the address pointer ASW output from the selector 509, that is, the head address of the frame at the start of writing the frame is stored.
In response to the V blanking start signal from the input terminal 500,
When updating each address in the address register 508, if the asynchronous V blanking start signal from the input terminal 524 is "Low", the selector 522 determines the address from the asynchronous address register 521, that is, the frame write start time. Select the start address of the frame. Further, the selector 504 selects the fixed value “0”. Therefore, the calculator
The 505 outputs the address from the asynchronous address register 522 as it is.

【0146】また、入力端子500からのVブランキング開
始信号に応答して、アドレスレジスタ508内の各アドレ
スを更新するに際し、非同期系Vブランキング開始信号
が"High"ならば、セレクタ522は、非同期アドレスレジ
スタ521からのアドレス、つまりフレームの書き込み開
始時点の該フレームの先頭アドレスを選択する。また、
セレクタ504は、読み出しアドレスポインタASRに対応す
る1フレーム分のオフセット値をアドレス更新レジスタ5
03から選択する。このとき、演算器505は、加算減算識
別信号514によって減算を指示されており、非同期アド
レスレジスタ521からのアドレスよりアドレスポインタA
SRに対応するオフセット値を減じ、1フレーム前の書き
込みが開始された先頭アドレスを求めて出力する。
Further, when updating each address in the address register 508 in response to the V blanking start signal from the input terminal 500, if the asynchronous V blanking start signal is "High", the selector 522 is The address from the asynchronous address register 521, that is, the start address of the frame at the time of starting writing of the frame is selected. Also,
The selector 504 sets the offset value for one frame corresponding to the read address pointer ASR to the address update register 5
Select from 03. At this time, the arithmetic unit 505 is instructed to subtract by the addition / subtraction identification signal 514, and the address pointer A from the address from the asynchronous address register 521.
The offset value corresponding to SR is subtracted, and the start address at which writing one frame before has started is calculated and output.

【0147】また、各入力端子501,502より入力される
アドレス発生タイミング信号及びポインタ識別信号に応
答して、読み出しアドレスポインタASRに対応するアド
レスが要求されると、セレクタ509は、アドレスレジス
タ508からアドレスポインタASRに対応するアドレスを選
択し、ビット反転回路518は、記憶領域1からの読み出し
を行うのために、セレクタ509からのアドレスを反転し
てメモリアドレスとして出力する。このとき、セレクタ
522はセレクタ509からのアドレスを選択し、またセレク
タ504は固定値"1"を選択している。このため、演算器50
5はアドレスを"1"づつインクリメントする。
When an address corresponding to the read address pointer ASR is requested in response to the address generation timing signal and the pointer identification signal input from the input terminals 501 and 502, the selector 509 causes the address register 508 to send the address pointer. The address corresponding to the ASR is selected, and the bit inverting circuit 518 inverts the address from the selector 509 and outputs it as a memory address for reading from the storage area 1. At this time, the selector
522 selects the address from the selector 509, and the selector 504 selects the fixed value "1". Therefore, the calculator 50
5 increments the address by "1".

【0148】以上の動作により、非同期系の映像信号を
メモリに書き込み、この非同期系の映像信号を同期系の
映像信号に同期して読み出すことができる。
By the above operation, the asynchronous video signal can be written in the memory, and the asynchronous video signal can be read in synchronization with the synchronous video signal.

【0149】なお、非同期アドレスレジスタ521から出
力されたアドレスをそのまま更新値として使う場合に、
セレクタ504によって固定値"0"を選択しているが、この
代わりに、非同期アドレスレジスタ521からのアドレス
に対して演算器505による演算を行わずに、このアドレ
スをそのままで演算器505から出力してもよい。
When the address output from the asynchronous address register 521 is used as it is as an update value,
Although the fixed value "0" is selected by the selector 504, instead of performing the arithmetic operation by the arithmetic unit 505 on the address from the asynchronous address register 521, the address is directly output from the arithmetic unit 505. May be.

【0150】また、非同期系Vブランキング開始信号の
論理、非同期系の映像信号の書き込み及び読み出しを行
う記憶領域は、本実施形態に限定されるものではない。
更に、本実施形態は、第5実施形態を基にしたが、2種
類の異なるフィールド周波数の各映像信号の同期を合わ
せるためのメモリを用いたアドレス発生手法として、他
の構成の回路に応用してもよい。
The logic of the asynchronous V blanking start signal and the storage area for writing and reading the asynchronous video signal are not limited to those in this embodiment.
Furthermore, this embodiment is based on the fifth embodiment, but is applied to a circuit having another configuration as an address generating method using a memory for synchronizing the video signals of two different field frequencies. May be.

【0151】[0151]

【発明の効果】以上のように本発明によれば、演算手段
をアドレスポインタの数だけ用意する必要がなく、ひと
つの演算手段のみによって、複数のアドレスポインタの
更新が行えるため、メモリアドレス発生装置を小回路規
模で実現することが可能となり、その実用的効果は大き
い。また、複数のアドレスを所定の相対関係に基づいて
更新することにより、常に各アドレスの相対関係を保ち
ながら、各アドレスをメモリ空間内に割り当てることが
できる。
As described above, according to the present invention, it is not necessary to prepare the arithmetic means for the number of address pointers, and a plurality of address pointers can be updated by only one arithmetic means. Can be realized on a small circuit scale, and its practical effect is great. Further, by updating a plurality of addresses based on a predetermined relative relationship, it is possible to allocate each address in the memory space while always maintaining the relative relationship of each address.

【0152】また、複数のアドレスの更新を基準アドレ
スに対する相対値で演算することにより、アドレス更新
時に演算が誤っても、次のアドレス更新時には、各アド
レスを正しい相対関係に再び導くことが可能となり、そ
の実用的効果は大きい。
Further, by calculating the update of a plurality of addresses with the relative value with respect to the reference address, even if the calculation is erroneous at the time of updating the address, at the time of the next address updating, it becomes possible to re-direct each address to the correct relative relationship. , Its practical effect is great.

【0153】また、基準アドレスの更新方向と他のアド
レスの更新方向を逆にとることにより、演算器の符号の
情報を格納するレジスタを設ける必要がなく、レジスタ
のビット数を削減できる。さらに、演算器のビット数を
削減することができ、その実用的効果は大きい。
Further, by reversing the updating direction of the reference address and the updating direction of other addresses, it is not necessary to provide a register for storing the code information of the arithmetic unit, and the number of bits of the register can be reduced. Furthermore, the number of bits of the arithmetic unit can be reduced, and its practical effect is great.

【0154】また、アドレスのうち必要なものについて
は、例えばHブランキング開始信号毎に更新を行うこと
により、水平方向のオフセットをアドレスに与えること
ができ、例えばメモり上で小画面を形成することが可能
となり、その実用的効果は大きい。
As for necessary addresses among the addresses, a horizontal offset can be given to the addresses by updating for each H blanking start signal, and a small screen is formed on the memory, for example. It becomes possible and the practical effect is great.

【0155】また、ビット数や必要なフィールド数が異
なる各映像信号の書き込み及び読み出しを行う場合に、
1つのメモリ空間のなかで、複数の記憶領域を形成し、
各記憶領域毎に、それぞれが異なった速度でポインタを
進めるので、メモリ空間を有効に使用することができ、
その実用的効果は大きい。
In addition, when writing and reading each video signal having a different number of bits and a required number of fields,
Forming multiple storage areas in one memory space,
Since the pointer is advanced at different speeds for each storage area, the memory space can be effectively used,
Its practical effect is great.

【0156】また、メモリ空間を単一の境界で2つの記
憶領域に分割する場合は、論理アドレスを導入すること
によりどちらの記憶領域も同様に扱えるために、回路規
模を削減することが可能となり、その実用的効果は大き
い。
When the memory space is divided into two storage areas at a single boundary, both storage areas can be treated in the same way by introducing a logical address, so that the circuit scale can be reduced. , Its practical effect is great.

【0157】また、非同期の複数の映像信号の書き込み
及び読み出しを行う場合でも、1つのメモリアドレス発
生装置によってアドレスを発生し、1つのメモリで非同
期系の信号を同期系に合わせて矛盾なく読み出すことが
可能となり、その実用的効果は大きい。
Even when a plurality of asynchronous video signals are written and read, an address is generated by one memory address generator, and an asynchronous signal can be read by one memory consistently with a synchronous system. Is possible, and its practical effect is great.

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

【図1】本願発明のメモリアドレス発生装置の第1実施
形態を示すブロック図である。
FIG. 1 is a block diagram showing a first embodiment of a memory address generator of the present invention.

【図2】第1実施形態におけるアドレス更新を示す図で
ある。
FIG. 2 is a diagram showing address update in the first embodiment.

【図3】第1実施形態におけるリミッタの動作を示す図
である。
FIG. 3 is a diagram showing an operation of a limiter in the first embodiment.

【図4】本願発明のメモリアドレス発生装置の第2実施
形態を示すブロック図である。
FIG. 4 is a block diagram showing a second embodiment of the memory address generator of the present invention.

【図5】第2実施形態におけるアドレス更新を示す図で
ある。
FIG. 5 is a diagram showing address updating in the second embodiment.

【図6】第2実施形態におけるリミッタの動作を示す図
である。
FIG. 6 is a diagram showing an operation of a limiter in the second embodiment.

【図7】本願発明のメモリアドレス発生装置の第3実施
形態を示すブロック図である。
FIG. 7 is a block diagram showing a third embodiment of the memory address generator of the present invention.

【図8】第3実施形態におけるアドレス更新を示す図で
ある。
FIG. 8 is a diagram showing address updating in the third embodiment.

【図9】本願発明のメモリアドレス発生装置の第4実施
形態を示すブロック図である。
FIG. 9 is a block diagram showing a fourth embodiment of the memory address generator of the present invention.

【図10】第4実施形態におけるアドレス空間を示す図
である。
FIG. 10 is a diagram showing an address space in the fourth embodiment.

【図11】第4実施形態におけるリミッタの動作を示す
図である。
FIG. 11 is a diagram showing an operation of a limiter in the fourth embodiment.

【図12】第4実施形態におけるリミッタの動作を示す
図である。
FIG. 12 is a diagram showing an operation of a limiter in the fourth embodiment.

【図13】本願発明のメモリアドレス発生装置の第5実
施形態を示すブロック図である。
FIG. 13 is a block diagram showing a fifth embodiment of the memory address generation device of the present invention.

【図14】第5実施形態におけるアドレス空間を示す図
である。
FIG. 14 is a diagram showing an address space in the fifth embodiment.

【図15】第5実施形態におけるリミッタの動作を示す
図である。
FIG. 15 is a diagram showing an operation of a limiter in the fifth embodiment.

【図16】第5実施形態におけるリミッタの他の動作を
示す図である。
FIG. 16 is a diagram showing another operation of the limiter in the fifth embodiment.

【図17】本願発明のメモリアドレス発生装置の第6実
施形態を示すブロック図である。
FIG. 17 is a block diagram showing a sixth embodiment of the memory address generation device of the present invention.

【図18】第6実施形態におけるフレームシンクロ動作
を示す図である。
FIG. 18 is a diagram showing a frame synchronization operation in the sixth embodiment.

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

500,501,502,516,524 入力端子 503 アドレス更新レジスタ 504,509,522 セレクタ 505 演算器 506 リミッタ 507 アドレス更新回路 508 アドレスレジスタ 510 出力端子 511 更新レジスタ選択信号 512 アドレスレジスタロード信号 513 アドレスレジスタ選択信号 514 加減算識別信号 515 制御信号発生回路 517 メモリエリア識別信号 518 ビット反転回路 519 ラッチ 521 非同期アドレスレジスタ 523 非同期選択信号 500,501,502,516,524 Input terminals 503 Address update register 504,509,522 Selector 505 arithmetic unit 506 limiter 507 Address update circuit 508 address register 510 output terminal 511 Update register selection signal 512 address register load signal 513 Address register selection signal 514 Addition / subtraction identification signal 515 Control signal generation circuit 517 Memory area identification signal 518-bit inversion circuit 519 latch 521 Asynchronous Address Register 523 Asynchronous selection signal

───────────────────────────────────────────────────── フロントページの続き (72)発明者 谷 匡弘 大阪府門真市大字門真1006番地 松下電 器産業株式会社内 (72)発明者 ▲徳▼永 尚哉 大阪府門真市大字門真1006番地 松下電 器産業株式会社内 (72)発明者 寒川 賢太 大阪府門真市大字門真1006番地 松下電 器産業株式会社内 (72)発明者 宮口 裕 東京都港区北青山3丁目6番12号 青山 富士ビル 日本テキサス・インスツルメ ンツ株式会社内 (56)参考文献 特開 平9−55869(JP,A) 特開 平7−302073(JP,A) 特開 平5−191782(JP,A) 特開 平8−154227(JP,A) 特開 平5−328247(JP,A) 特開 平9−128959(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 12/00 - 12/02 H04N 5/073 H04N 5/76,5/80 - 5/907 G09G 5/00 - 5/42 ─────────────────────────────────────────────────── ─── Continued Front Page (72) Inventor Masahiro Tani 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. (72) Inventor ▲ Toku ▼ Naoya Nagata 1006 Kadoma, Kadoma City, Osaka Matsushita Electric Sangyo Co., Ltd. (72) Inventor Kenta Samukawa 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. (72) Inventor Hiroshi Miyaguchi 3-6-12 Kita-Aoyama Minato-ku, Tokyo Aoyama Fuji Building Japan Within Instruments Co., Ltd. (56) Reference JP-A-9-55869 (JP, A) JP-A-7-302073 (JP, A) JP-A-5-191782 (JP, A) JP-A-8-154227 ( JP, A) JP 5-328247 (JP, A) JP 9-128959 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G06F 12 / 00-12 / 02 H04N 5/073 H04N 5 / 76,5 / 80-5 / 907 G09G 5/00-5/42

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 メモリをアクセスするための複数のアド
レスを生成するメモリアドレス発生装置であって、 所定のタイミングで、N個(Nは自然数)のアドレスを該各
アドレスの所定の相対関係に基づいて更新するアドレス
更新手段を具備し、 前記各アドレスの所定の相対関係は、K個(Kは自然数)の
所定値によって表され、 前記アドレス更新手段は、前記各アドレスを前記K個(K
は自然数)の所定値によって更新し、 前記K個(Kは自然数)の所定値は、オフセット値であっ
て、 前記アドレス更新手段は、前記アドレスよりあらかじめ
定めた所定のアドレスを前記オフセット値に基づく演算
により選択的に更新して基準アドレスとした後、前記基
準アドレスの演算結果及び前記オフセット値に基づく演
算により、前記基準アドレス以外のアドレスを更新し、 更新された前記各アドレスをインクリメントする メモリ
アドレス発生装置。
1. Multiple ads for accessing memory.
A memory address generation device for generating a response, and at a predetermined timing, N (N is a natural number) addresses
Address to be updated based on the predetermined relative relationship of addresses
An update means is provided, and the predetermined relative relationship of each address is K (K is a natural number).
It is represented by a predetermined value, and the address updating means uses the K addresses (K
Was updated by the predetermined value is a natural number), the predetermined value of K (K is a natural number) is a offset value, said address updating means, in advance from the address
Calculate the specified address based on the offset value
After the reference address selectively Update by, by calculation based on the calculation result and the offset value of the reference address, it updates the address other than the reference address, updated the memory address generator to increment the respective address apparatus.
【請求項2】 前記アドレス更新手段は、前記基準アド
レスとなる前記各アドレスのうちの1つの更新方向と、
前記各アドレスのうちの他のものの更新方向とを逆に
し、その更新方向を加減算識別信号としてアドレス更新
手段の情報に入力する請求項に記載のメモリアドレス
発生装置。
2. The address updating means includes an updating direction of one of the respective addresses serving as the reference address,
Reverse the update direction of the other one of the above addresses
Address is updated by using the update direction
2. The memory address generating device according to claim 1 , wherein the information of the means is input .
【請求項3】 周波数が異なる第1同期信号及び第2同
期信号を具備し、 前記アドレス更新手段は、前記第1及び第2同期信号を
選択的に用いて、前記各アドレスを選択的に更新する請
求項に記載のメモリアドレス発生装置。
3. A first synchronization signal and a second synchronization signal having different frequencies are provided, and the address updating means selectively updates each of the addresses by selectively using the first and second synchronization signals. The memory address generator according to claim 1 .
【請求項4】 前記アドレス更新手段は、1つのメモリ
のアドレス空間を論理的に複数の領域に分割し、各領域
毎に、相互に異なるそれぞれの進め方でそれぞれのアド
レスポインタをインクリメントすることにより、アドレ
スを発生する請求項1乃至3のいずれかに記載のメモリ
アドレス発生装置。
4. The address updating means logically divides the address space of one memory into a plurality of areas, and increments the respective address pointers in respective different ways for each area, 4. The memory address generating device according to claim 1, which generates an address.
【請求項5】 前記アドレス更新手段は、1つのメモリ
のアドレス空間を0番地を含む第1領域と最終番地を含
む第2領域とに単一の境界値で分割し、どちらの領域に
ついても0番地を基準とする論理アドレスでアドレス演
算を行い、第2領域に関しては演算結果を反転すること
により実アドレスを出力する請求項に記載のメモリア
ドレス発生装置。
5. The address updating means divides the address space of one memory into a first area including an address 0 and a second area including an end address with a single boundary value, and 0 is applied to both areas. 5. The memory address generation device according to claim 4 , wherein an address operation is performed with a logical address based on an address, and a real address is output by inverting the operation result for the second area.
【請求項6】 M種類(Mは自然数)の同期信号と、この同
期信号とは非同期のK種類(Kは自然数)の非同期信号とを
具備し、 前記アドレス更新手段は、1つのメモリのアドレス空間
内に、非同期系の信号の書き込み及び読み出しを行うた
めの専用領域を設け、非同期系の信号の読み出しアドレ
スを、所定のタイミング毎に保持しておいた書き込みの
アドレスと、書き込みと読み出しの周波数差に相当する
識別信号を基に算出する請求項に記載のメモリアドレ
ス発生装置。
6. An M-type (M is a natural number) synchronization signal and a K-type (K is a natural number) asynchronous signal asynchronous with the synchronization signal are provided, and the address updating means is an address of one memory. A dedicated area for writing and reading asynchronous signals is provided in the space, and the read addresses of the asynchronous signals are held at predetermined timings and the write and read frequencies. Equivalent to the difference
The memory address generation device according to claim 5 , wherein the memory address generation device is calculated based on an identification signal .
JP35852897A 1997-10-03 1997-12-25 Memory address generator Expired - Fee Related JP3455405B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP35852897A JP3455405B2 (en) 1997-12-25 1997-12-25 Memory address generator
EP98118641A EP0908827B8 (en) 1997-10-03 1998-10-02 Memory interface device and memory address generation device
DE69836786T DE69836786T2 (en) 1997-10-03 1998-10-02 Memory interface device and memory address generation device
EP06011660A EP1691296A3 (en) 1997-10-03 1998-10-02 Memory interface device and memory address generation device
US09/165,785 US6453394B2 (en) 1997-10-03 1998-10-02 Memory interface device and memory address generation device
US10/195,975 US6732252B2 (en) 1997-10-03 2002-07-16 Memory interface device and memory address generation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35852897A JP3455405B2 (en) 1997-12-25 1997-12-25 Memory address generator

Publications (2)

Publication Number Publication Date
JPH11191077A JPH11191077A (en) 1999-07-13
JP3455405B2 true JP3455405B2 (en) 2003-10-14

Family

ID=18459796

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35852897A Expired - Fee Related JP3455405B2 (en) 1997-10-03 1997-12-25 Memory address generator

Country Status (1)

Country Link
JP (1) JP3455405B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5132451B2 (en) * 2008-07-02 2013-01-30 株式会社リコー Image forming apparatus
JP4970378B2 (en) * 2008-07-31 2012-07-04 株式会社東芝 Memory controller and image processing apparatus

Also Published As

Publication number Publication date
JPH11191077A (en) 1999-07-13

Similar Documents

Publication Publication Date Title
JP2970216B2 (en) Image display device and method for generating video pixel data
US5838296A (en) Apparatus for changing the magnification of video graphics prior to display therefor on a TV screen
US7102687B2 (en) Image data conversion processing device and information processing device having the same
JPH0630384A (en) Sampling frequency converter for digital signal
US5602565A (en) Method and apparatus for displaying video image
CA1260605A (en) Standard converting apparatus
US5469228A (en) Memory address and display control apparatus for high definition television
US6453394B2 (en) Memory interface device and memory address generation device
US5029006A (en) Video signal processing circuit capable of enlarging and displaying a picture
EP0264961A2 (en) Television special effects system
JPH06332843A (en) Moving image video data transfer device and computer system
EP0068882B1 (en) A crt display device with a picture-rearranging circuit
JP3455405B2 (en) Memory address generator
US20070030260A1 (en) Circuit for controlling display of modulated image in an image display device, and image display method and device
KR100445014B1 (en) Memory device for digital image signal, data recording method and reading method
JP5151786B2 (en) Storage element and storage method
JPH06124189A (en) Image display device and image display control method
CA2276201C (en) Image data conversion processing device and information processing device having the same
US6256049B1 (en) Memory management method for entering data into and reading data out of a memory device
JP3145477B2 (en) Sub screen display circuit
JP3018384B2 (en) Video signal processing circuit
JP2572420B2 (en) Video signal processing circuit
JPH0764530A (en) Control system for image display device
KR0151442B1 (en) Indication control circuit of tv
JPH0683300A (en) Palette control circuit

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030708

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20090725

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090725

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100725

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110725

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110725

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120725

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130725

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees