JPH04143992A - Address generation circuit for image memory - Google Patents

Address generation circuit for image memory

Info

Publication number
JPH04143992A
JPH04143992A JP2266713A JP26671390A JPH04143992A JP H04143992 A JPH04143992 A JP H04143992A JP 2266713 A JP2266713 A JP 2266713A JP 26671390 A JP26671390 A JP 26671390A JP H04143992 A JPH04143992 A JP H04143992A
Authority
JP
Japan
Prior art keywords
address
bits
row
column
bit
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.)
Pending
Application number
JP2266713A
Other languages
Japanese (ja)
Inventor
Kazuhiko Nakamura
和彦 中村
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2266713A priority Critical patent/JPH04143992A/en
Publication of JPH04143992A publication Critical patent/JPH04143992A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dram (AREA)

Abstract

PURPOSE:To easily generate an address by setting N bits from low-order first to N-th bits of a first address counter as the low-order bits of a column address, and setting the N bits from low-order (N+1)-th to 2N-th bits as the low-order bits of a row address. CONSTITUTION:Address counters 11 and 12 are operated by a common clock C, and the row address Ar1 is comprised setting the output of the fourth bit, the fifth bit, and the sixth fit from the lower-order of the counter 11 in this case as low-order three bits, and also, the column address Ac1 is comprised setting the output of the first bit, the second bit, and the third bit from the low-order of the counter 11 as the low-order three bits. Thereby, the row address Ar1 progresses by one at every eight progression of the column address Ac1, and the address making access sequentially in each block unit of 8X8 word can be generated.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は画像メモリのアドレス発生回路に関し、特に画
像データをブロック単位で符号化、復号化する回路に使
用する画像メモリのアドレス発生回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an address generation circuit for an image memory, and more particularly to an address generation circuit for an image memory used in a circuit that encodes and decodes image data in units of blocks.

〔従来の技術〕[Conventional technology]

従来の画像メモリのアドレス発生回路は、第3図に示す
ようにカラムアドレスカウンタ21と、ロウアドレスカ
ウンタ22と、カラムアドレスとロウアドレスとを切替
えるセレクタ23とを備えている。カラムアドレスカウ
ンタ21は、カラム開始アドレスBeおよびデータの読
み書きと同じ周期のクロックCcに応じてカラムアドレ
スAcを生成し出力する。ロウアドレスカウンタ22は
、ロウ開始アドレスBrおよび10つ分のデータアクセ
ス毎に印加されるクロックCrに応じてロウアドレスA
rを生成し出力する。セレクタ23は、カラムアドレス
AcおよびロウアドレスArを選択信号Sに応じて選択
してアドレスAOとて出力する。
As shown in FIG. 3, a conventional image memory address generation circuit includes a column address counter 21, a row address counter 22, and a selector 23 for switching between a column address and a row address. The column address counter 21 generates and outputs a column address Ac in response to a column start address Be and a clock Cc having the same cycle as data reading and writing. The row address counter 22 selects the row address A according to the row start address Br and the clock Cr applied every 10 data accesses.
Generate and output r. The selector 23 selects a column address Ac and a row address Ar according to a selection signal S and outputs the selected address as an address AO.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

画像データをブロック単位で符号化、復号化すル場合、
例えば8×8ワードのブロック単位で処理する場合は、
第5図に示すように画像メモリをアクセスする必要があ
る。上述した従来の画像メモリのアドレス発生回路によ
り第2図に示すようなブロック単位でアクセスするアド
レスを生成するためには、複雑な制御回路が必要となる
When encoding and decoding image data in blocks,
For example, when processing in blocks of 8 x 8 words,
It is necessary to access the image memory as shown in FIG. In order to generate addresses accessed in blocks as shown in FIG. 2 using the conventional image memory address generation circuit described above, a complicated control circuit is required.

本発明の目的は、簡単な回路構成で画像メモリをブロッ
ク単位でアクセスするアドレスを生成できる画像メモリ
のアドレス発生回路を提供することにある。
An object of the present invention is to provide an image memory address generation circuit that can generate addresses for accessing the image memory in blocks with a simple circuit configuration.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の画像メモリのアドレス発生回路は、2NX2N
 (NはN>2の整数)ワードに区分されたブロック毎
に画像データをアクセスするカラムアドレスおよびロウ
アドレスを生成する画像メモリのアドレス発生回路にお
いて、共通のクロックに応じてカウント動作を行ってM
ビット(MはM>Nの整数)の信号を出力する第1およ
び第2のアドレスカウンタを備え、前記第1のアドレス
カウンタの下位第1ビット目から第Nビット目までのN
ビットを前記カラムアドレスの下位ビットとし、前記第
1のアドレスカウンタの下位第N十1ビット目から第2
Nビット目までのNビットを前記ロウアドレスの下位ビ
ットとして構成されるまた、前記カラムアドレスおよび
前記ロウアドレスにカラム開始アドレスおよびロウ開始
アドレスをそれぞれ加算する手段と、前記第1および第
2の加算回路が出力するアドレスとカラム終了アドレス
およびロウ終了アドレスとをそれぞれ比較して一致した
ときに前記第1および第2のアドレスカウンタをそれぞ
れ停止させる手段とを具備して構成してもよい。
The address generation circuit of the image memory of the present invention is 2NX2N
(N is an integer of N>2) In the address generation circuit of the image memory that generates column addresses and row addresses for accessing image data for each block divided into words, a counting operation is performed in accordance with a common clock.
It includes first and second address counters that output signals of bits (M is an integer where M>N), and the N bits from the first lower bit to the Nth bit of the first address counter are provided.
bits are the lower bits of the column address, and the lower N11th bit of the first address counter to the second
N bits up to the Nth bit are configured as lower bits of the row address, and means for adding a column start address and a row start address to the column address and the row address, respectively, and the first and second additions. The device may be configured to include means for comparing the address output by the circuit with the column end address and the row end address, respectively, and stopping the first and second address counters when they match.

〔実施例〕〔Example〕

次に図面を参照して本発明を説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示すブロック図であり、5
12 X512ワードのアドレス空間をもつ画像メモリ
上で8×8ワードのブロック単位でアクセスするアドレ
スを生成する場合の構成を示している。
FIG. 1 is a block diagram showing one embodiment of the present invention.
This figure shows a configuration for generating addresses to be accessed in blocks of 8×8 words on an image memory having an address space of 12×512 words.

アドレスカウンタ11および12は共通のクロックCで
動作しており、アドレスカウンタ11の下位から4ビッ
ト目、5ビット目および6ビット目の出力を下位3ビッ
トとしてロウアドレスArtを構成し、また、アドレス
カウンタ11の下位ら1ビット目、2ビット目および3
ビット目の出力を下位3ビットとしてカラムアドレスA
ctを構成する。このようにすることにより、ロウアド
レスArlは第2図に示すように、カラムアドレスAc
lが8進む毎に1ずつ進み、8×8ワードの各ブロック
単位で順次アクセスするアドレスを生成することができ
る。
The address counters 11 and 12 operate on a common clock C, and the outputs of the fourth, fifth, and sixth bits from the lowest order of the address counter 11 constitute the row address Art as the lowest three bits. 1st bit, 2nd bit, and 3rd bit from the bottom of counter 11
Column address A with the bit-th output as the lower 3 bits
Configure ct. By doing this, the row address Arl is changed to the column address Ac as shown in FIG.
Each time l advances by 8, it advances by 1, and addresses can be generated to sequentially access each block of 8×8 words.

また、加算回路13および14でカラムアドレスAC1
およびロウアドレスArlに開始アドレスBCおよびB
rをそれぞれ加えることにより、画像メモリの任意のア
ドレスからアクセスを開始することが可能となる。更に
、比較回路15および16により、終了アドレスEcお
よびErと加算回路13および14から出力されるカラ
ムアドレスAc2およびロウアドレスAr2とを比較し
、一致したときに論理回路18.19によってイネーブ
ル信号を生成して各アドレスカウンタ11.12の動作
を停止させることも可能となる。セレクタ17は、カラ
ムアドレスAc2およびロウアドレスAr2を選択信号
Sに応じて選択してアドレスAoとして出力する。
In addition, column address AC1 is added to adder circuits 13 and 14.
and start addresses BC and B to row address Arl.
By adding r to each, it becomes possible to start accessing from any address in the image memory. Furthermore, the comparison circuits 15 and 16 compare the end addresses Ec and Er with the column address Ac2 and row address Ar2 output from the addition circuits 13 and 14, and when they match, the logic circuits 18 and 19 generate an enable signal. It is also possible to stop the operation of each address counter 11, 12 by doing so. The selector 17 selects the column address Ac2 and the row address Ar2 according to the selection signal S and outputs the selected column address Ac2 and the row address Ar2 as the address Ao.

なお、本実施例では512 X512ワードのアドレス
空間をもつ画像メモリ上で8×8ワードのブロック単位
でアクセスするアドレスの生成する場合について説明し
たが、2N×2N (NはN>2の整数)ワードに区分
されたブロック毎に画像データをアクセスするアドレス
についても同様に生成することができる。
In this embodiment, a case has been described in which addresses are generated to be accessed in blocks of 8 x 8 words on an image memory having an address space of 512 x 512 words, but 2N x 2N (N is an integer where N>2) Addresses for accessing image data can be similarly generated for each block divided into words.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、2N ×2N (
NはN>2の整数)ワードに区分されたブトレスおよび
ロウアドレスを生成する場合、共通のクロックに応じて
カウント動作を行ってMピッ) (MはMAHの整数)
の信号を出力する第1および第2のアドレスカウンタを
設け、第1のアドレスカウンタの下位第1ビット目から
第Nビット目までのNビットをカラムアドレスの下位ビ
ットとし、また、第1のアドレスカウンタの下位筒N千
1ビット目から第2Nビット目までのNビットをロウア
ドレスの下位ビットとすることにより、簡単にアドレス
を生成できる。また、カラムアドレスおよびロウアドレ
スにカラム開始アドレスおよびロウ開始アドレスをそれ
ぞれ加算したアドレスを使用すれば、任意のアドレスか
らアクセスを開始できる。更に、カラムアドレスおよび
ロウアドレスとカラム終了アドレスおよびロウ終了アド
レスとをそれぞれ比較して一致したときに第1および第
2のアドレスカウンタをそれぞれ停止させれば、任意の
アドレスで停止させることができる。
As explained above, according to the present invention, 2N × 2N (
(N is an integer with N>2) When generating buttress and row addresses divided into words, count operations are performed according to a common clock and M pis) (M is an integer of MAH)
A first and a second address counter are provided which output a signal, and N bits from the first lower bit to the Nth bit of the first address counter are used as the lower bits of the column address, and the first address counter outputs a signal of the column address. An address can be easily generated by using N bits from the N11st bit to the 2nd Nth bit of the lower column of the counter as the lower bits of the row address. Further, by using an address obtained by adding a column start address and a row start address to a column address and a row address, respectively, access can be started from an arbitrary address. Furthermore, by comparing the column address and row address with the column end address and row end address, and stopping the first and second address counters when they match, it is possible to stop the first and second address counters at any address.

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

第1図は本発明の一実施例を示すブロック図、第2図(
aL  (b)は第1図に示すカラムアドレスAclお
よびロウアドレスArlの動きを示す図、第3図は従来
の画像メモリのアドレス発生回路の一例を示すブロック
図である。 11.12・・・・・・アドレスカウンタ、13.14
・・・・・・加算回路、15.16・・・・・・比較回
路、17゜23・・・・・・セレクタ、18.19・・
・・・・論理回路、21・・・・・・カラムアドレスカ
ウンタ、22・・・・・・ロウアドレスカウンタN A
cl、 Ac2+ Ac・・・・・・カラムアドレス、
Arl、 Ar2+ Ar・・・・・・ロウアドレス、
Be・・・・・・カラム開始アドレス、Br・・・・・
・ロウ開始アドレス、C,Cc、Cr・・・・・・クロ
ック、EC・・・・・・カラム終了アドレス、Er・・
・・・・ロウ終了アドレスS・・・・・・選択信号。
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 (
aL(b) is a diagram showing the movement of column address Acl and row address Arl shown in FIG. 1, and FIG. 3 is a block diagram showing an example of an address generation circuit of a conventional image memory. 11.12...Address counter, 13.14
... Addition circuit, 15.16 ... Comparison circuit, 17゜23 ... Selector, 18.19 ...
...Logic circuit, 21 ... Column address counter, 22 ... Row address counter N A
cl, Ac2+ Ac... Column address,
Arl, Ar2+ Ar...Row address,
Be... Column start address, Br...
・Row start address, C, Cc, Cr...Clock, EC...Column end address, Er...
...Row end address S...Selection signal.

Claims (1)

【特許請求の範囲】 1、2^N×2^N(NはN>2の整数)ワードに区分
されたブロック毎に画像データをアクセスするカラムア
ドレスおよびロウアドレスを生成する画像メモリのアド
レス発生回路において、 共通のクロックに応じてカウント動作を行ってMビット
(MはM>Nの整数)の信号を出力する第1および第2
のアドレスカウンタを備え、前記第1のアドレスカウン
タの下位第1ビット目から第Nビット目までのNビット
を前記カラムアドレスの下位ビットとし、前記第1のア
ドレスカウンタの下位第N+1ビット目から第2Nビッ
ト目までのNビットを前記ロウアドレスの下位ビットと
することを特徴とする画像メモリのアドレス発生回路。 2、請求項1記載の画像メモリのアドレス発生回路にお
いて、前記カラムアドレスおよび前記ロウアドレスにカ
ラム開始アドレスおよびロウ開始アドレスをそれぞれ加
算する手段と、前記第1および第2の加算回路が出力す
るアドレスとカラム終了アドレスおよびロウ終了アドレ
スとをそれぞれ比較して一致したときに前記第1および
第2のアドレスカウンタをそれぞれ停止させる手段とを
具備したことを特徴とする画像メモリのアドレス発生回
路。
[Claims] Image memory address generation that generates column addresses and row addresses for accessing image data for each block divided into 1, 2^N x 2^N (N is an integer where N>2) words. In the circuit, the first and second circuits perform a counting operation according to a common clock and output an M-bit signal (M is an integer where M>N).
N bits from the first lower bit to the Nth bit of the first address counter are the lower bits of the column address, and the lower bits from the N+1st lower bit of the first address counter An address generation circuit for an image memory, characterized in that N bits up to the 2Nth bit are used as lower bits of the row address. 2. The address generation circuit for an image memory according to claim 1, further comprising means for adding a column start address and a row start address to the column address and the row address, respectively, and addresses output by the first and second addition circuits. and a column end address and a row end address, and means for respectively stopping the first and second address counters when they match.
JP2266713A 1990-10-04 1990-10-04 Address generation circuit for image memory Pending JPH04143992A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2266713A JPH04143992A (en) 1990-10-04 1990-10-04 Address generation circuit for image memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2266713A JPH04143992A (en) 1990-10-04 1990-10-04 Address generation circuit for image memory

Publications (1)

Publication Number Publication Date
JPH04143992A true JPH04143992A (en) 1992-05-18

Family

ID=17434649

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2266713A Pending JPH04143992A (en) 1990-10-04 1990-10-04 Address generation circuit for image memory

Country Status (1)

Country Link
JP (1) JPH04143992A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0213395A (en) * 1988-04-26 1990-01-17 E I Du Pont De Nemours & Co Monoclonal antibody to tissue plasminogen activator
JPH02121186A (en) * 1988-10-28 1990-05-09 Hitachi Ltd Semiconductor memory
JPH02186834A (en) * 1989-01-13 1990-07-23 Sharp Corp Line memory
JPH02206088A (en) * 1989-02-06 1990-08-15 Toshiba Corp Image memory device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0213395A (en) * 1988-04-26 1990-01-17 E I Du Pont De Nemours & Co Monoclonal antibody to tissue plasminogen activator
JPH02121186A (en) * 1988-10-28 1990-05-09 Hitachi Ltd Semiconductor memory
JPH02186834A (en) * 1989-01-13 1990-07-23 Sharp Corp Line memory
JPH02206088A (en) * 1989-02-06 1990-08-15 Toshiba Corp Image memory device

Similar Documents

Publication Publication Date Title
JPH02190928A (en) Divider
JPH04143992A (en) Address generation circuit for image memory
JP2570985B2 (en) Semiconductor associative memory device
JPH0553920A (en) Structured address generator
JP2622553B2 (en) Microcomputer
JP2002091901A (en) Priority encoder
SU1548799A1 (en) Device for conversion of brightness histograms
JP2563537Y2 (en) Memory chip select circuit
JPH06231007A (en) Illegal address detection circuit for computer
JP2616714B2 (en) Semiconductor storage device
JPH08335887A (en) Interleaved address generation circuit with multiple interleaved matrices
SU637869A1 (en) Permanent storage
JPH03113653A (en) Address generation circuit
JPS61105640A (en) Parallel complement circuit
JPH06125277A (en) Huffman decoder circuit
JPS63229538A (en) Access control system for memory element of electronic computer
JPH09130255A (en) Pulse generation circuit
JPH0546440A (en) Hardware tracer circuit
JPS61196496A (en) Memory device
JPH0628016A (en) Sequence control stopping circuit
JPS5977536A (en) Address generation transfer system of dma controller
JPS63142446A (en) Address generating system
JPH04130549A (en) memory device
JPS61199294A (en) Memory address decoding circuit
JPH0224748A (en) Address switching circuit