JPH0437934A - Address conversion circuit - Google Patents

Address conversion circuit

Info

Publication number
JPH0437934A
JPH0437934A JP2141667A JP14166790A JPH0437934A JP H0437934 A JPH0437934 A JP H0437934A JP 2141667 A JP2141667 A JP 2141667A JP 14166790 A JP14166790 A JP 14166790A JP H0437934 A JPH0437934 A JP H0437934A
Authority
JP
Japan
Prior art keywords
counter
address
selector
data
outputs
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
JP2141667A
Other languages
Japanese (ja)
Inventor
Takuya Ichikawa
市川 卓也
Katsuhiro Eguchi
勝博 江口
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2141667A priority Critical patent/JPH0437934A/en
Publication of JPH0437934A publication Critical patent/JPH0437934A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Image Processing (AREA)
  • Memory System (AREA)
  • Color Television Systems (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔概要] データの順序を並べかえるために必要なアドレス変換回
路に関し、 電力消費を少なく、実装面積を小さくし、LSI化を容
易にすることを目的とし、 データのメモリへの書き込みアドレスおよび読み出しア
ドレスとを発生するアドレス変換回路において、自らの
イネーブル状態において、循環的な上位アドレスを発生
する第1のカウンタと、自らのイネーブル状態において
、循環的な下位アドレスを発生する第2のカウンタと、
前記第1のカウンタヘイネーブル信号を出力する第1の
セレクタと、前記第2のカウンタヘイネーブル信号を出
力する第1のセレクタと、前記第1および第2のカウン
タの出力が共に最大値に達したことを検出して前記第1
および第2のセレクタを共に一方の選択から他方の選択
へ切り換えるように制御するデコード・切り換え手段と
を有してなり、前記第1のセレクタは、前記第20カウ
ンタのリップルキャリ出力と、常時イネーブルな信号と
を入力端子に受け、前記第2のセレクタは、前記第10
カウンタのリップルキャリ出力と、常時イネーブルな信
号とを入力端子に受け、前記第1および第2のセレクタ
の一方は前記常時イネーブルな信号を選択し、他方は、
前記一方のセレクタのリップルキャリ出力を選択するよ
うに構成する。
[Detailed Description of the Invention] [Summary] The purpose of this invention is to reduce power consumption, reduce the mounting area, and facilitate LSI integration with regard to address conversion circuits necessary for rearranging the order of data. In an address translation circuit that generates a write address and a read address, a first counter generates a cyclical upper address in its enabled state, and a first counter generates a cyclical lower address in its enabled state. a second counter;
A first selector that outputs the first counter hay enable signal, a first selector that outputs the second counter hay enable signal, and outputs of the first and second counters both reach a maximum value. detecting that the first
and a decoding/switching means for controlling both the second selector to switch from one selection to the other selection, and the first selector is connected to the ripple carry output of the 20th counter and the ripple carry output of the 20th counter. the second selector receives the tenth signal at its input terminal;
The ripple carry output of the counter and the always-enabled signal are received at the input terminals, one of the first and second selectors selects the always-enabled signal, and the other selects the always-enabled signal.
The ripple carry output of the one selector is selected.

〔産業上の利用分野〕[Industrial application field]

本発明は、データの順序を並べかえるために必要なアド
レス変換回路に関する。
The present invention relates to an address conversion circuit necessary for rearranging the order of data.

例えば、各画素毎に輝度信号と3種類の色差信号からな
るディジタルカラー画像データ信号は、輝度信号と、そ
れぞれの色差信号とを別々のフィルタ回路にて処理を行
うために、それぞれ、データの順序を並べ変えることが
要求される。
For example, a digital color image data signal consisting of a luminance signal and three types of color difference signals for each pixel is processed in separate filter circuits, so the data order is different. is required to be rearranged.

また、一般に、画像データ等は、縦横変換を行うことが
要求されることがある。
Additionally, image data and the like are generally required to undergo vertical and horizontal conversion.

〔従来の技術および発明が解決しようとする課題〕第8
図は、従来のアドレス変換回路の構成を示すものである
。第8図において、30は書き込みアドレス発生カウン
タ、31はアドレス変換ROM132はセレクタ、33
はRAM、そして、34はデータレジスタである。
[Prior art and problems to be solved by the invention] Part 8
The figure shows the configuration of a conventional address conversion circuit. In FIG. 8, 30 is a write address generation counter, 31 is an address conversion ROM 132 is a selector, and 33 is a write address generation counter.
is a RAM, and 34 is a data register.

RAM33に対して入力データが書き込まれるタイミン
グにおいては、書き込みアドレス発生カウンタ30にて
発生された循環的アドレスが直接RAM33に供給され
るようにセレクタ32が制御される。また、RAM33
からデータが読み出されるタイミングにおいては、書き
込みアドレス発生カウンタ30にて発生された循環的ア
ドレスがROM31においてアドレス変換されたものが
セレクタ32において選択されて、RAM33に供給さ
れる。こうして、RAM33への書き込みアドレスと読
み出しアドレスとが変換されていることにより、データ
の順序が並べ変えられる。
At the timing when input data is written to the RAM 33, the selector 32 is controlled so that the cyclic address generated by the write address generation counter 30 is directly supplied to the RAM 33. Also, RAM33
At the timing when data is read from the ROM 31, the cyclic address generated by the write address generation counter 30 is converted into an address in the ROM 31, and the selected one is selected by the selector 32 and supplied to the RAM 33. In this way, by converting the write address and read address to the RAM 33, the order of the data is rearranged.

しかしながら、上記の従来の構成においては、ROMを
使用して変換している為、消費電力が大きく、実装面積
も大きくなるという問題があった。
However, in the conventional configuration described above, since the conversion is performed using a ROM, there are problems in that power consumption is large and the mounting area is also large.

本発明は、上記の問題点に鑑み、なされたもので、電力
消費が少なく、実装面積が小さく、且つ、LSI化を容
易にするアドレス変換回路を提供することを目的とする
ものである。
The present invention has been made in view of the above problems, and an object of the present invention is to provide an address conversion circuit that consumes less power, has a small mounting area, and is easily integrated into an LSI.

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

第1図は本発明によるデータのメモリへの書き込みアド
レスおよび読み出しアドレスとを発生するアドレス変換
回路の基本構成図である。第1図において、■は第1の
カウンタ、2は、第2のカウンタ、3は第1のセレクタ
、4は第2のセレクタ、そして、5はデコード・切り換
え手段である。
FIG. 1 is a basic configuration diagram of an address conversion circuit that generates a write address and a read address for data into a memory according to the present invention. In FIG. 1, ■ is a first counter, 2 is a second counter, 3 is a first selector, 4 is a second selector, and 5 is a decoding/switching means.

第1のカウンタ1は、自らのイネーブル状態において、
循環的な上位アドレスを発生する。
The first counter 1, in its enabled state,
Generates a circular upper address.

第2のカウンタ2は、自らのイネーブル状態において、
循環的な下位アドレスを発生する。
The second counter 2, in its enabled state,
Generates circular low-order addresses.

第1のセレクタ3は、前記第1のカウンタ1ヘイネーブ
ル信号を出力する。
The first selector 3 outputs the first counter 1 hay enable signal.

第1のセレクタ4は、前記第2のカウンタ2ヘイネーブ
ル信号を出力する。
The first selector 4 outputs the second counter 2 enable signal.

デコード・切り換え手段5は、前記第1および第2のカ
ウンタ1,2の出力が共に最大値に達したことを検出し
て前記第1および第2のセレクタ3.4を共に一方の選
択から他方の選択へ切り換えるように制御する。
The decoding/switching means 5 detects that the outputs of the first and second counters 1 and 2 have both reached the maximum value, and switches both the first and second selectors 3.4 from one selection to the other. control to switch to the selection.

前記第1のセレクタ3は、前記第20カウンタ2のリッ
プルキャリ出力と、常時イネーブルな信号とを入力端子
に受け、前記第2のセレクタ4は、前記第1のカラ“ン
タ1のリップルキャリ出力と、常時イネーブルな信号と
を入力端子に受け、前記第1および第2のセレクタ3.
4の一方は前記常時イネーブルな信号を選択し、他方は
、前記一方のセレクタのリップルキャリ出力を選択する
The first selector 3 receives the ripple carry output of the 20th counter 2 and an always-enable signal at its input terminal, and the second selector 4 receives the ripple carry output of the first color counter 1. and an always-enable signal at the input terminals of the first and second selectors 3.
One of the four selectors selects the always-enabled signal, and the other selects the ripple carry output of the one selector.

〔作用] 第1のセレクタ3が第2のカウンタ2のリップルキャリ
出力を選択し、第2のセレクタが常時イネーブルの信号
を選択しているときは、図示しないクロックに同期して
アドレスの下位ビットを出力する第2のカウンタ2のカ
ウントが循環的に増加し、第2のカウンタ2のカウント
が最大値となってリップルキャリ出力が有効となる毎に
、アドレスの上位ビットを出力する第1のカウンタのカ
ウントがインクリメントされる。こうして、このような
選択状態においては、アドレスの下位のビットが最大値
に達する毎にアドレスの上位のビットがカウントアツプ
される。すなわち、アドレス全体として、循環的に増加
する。
[Operation] When the first selector 3 selects the ripple carry output of the second counter 2 and the second selector selects the always enabled signal, the lower bits of the address are synchronized with a clock (not shown). The count of the second counter 2 that outputs increases cyclically, and each time the count of the second counter 2 reaches the maximum value and the ripple carry output becomes valid, the first counter that outputs the upper bit of the address increases cyclically. The count of the counter is incremented. Thus, in such a selected state, the upper bits of the address are counted up each time the lower bits of the address reach the maximum value. That is, the addresses as a whole increase cyclically.

こうして、第1および第2のカウンタ1.2のカウント
が共に最大値となると、デコード・切り換え手段5は、
上記の第1および第2のセレクタ3.4の選択を、第1
のセレクタ3が常時イネーブルの信号を選択し、第2の
セレクタが第1のカウンタ1のリップルキャリ出力を選
択するように切り換える。
In this way, when the counts of the first and second counters 1.2 both reach the maximum value, the decoding/switching means 5
The selection of the first and second selectors 3.4 above is
The selector 3 selects the always enabled signal, and the second selector selects the ripple carry output of the first counter 1.

この切り換えられた状態においては、アドレスの上位ビ
ットを出力する第1のカウンタ1は、常時イネーブルで
あるので、上記のクロックに同期してアドレスの上位ビ
ットを出力する第1のカウンタlのカウントが循環的に
増加し、他方、アドレスの下位ビットを出力する第2の
カウンタ2のカウントは、第1のカウンタ1のカウント
が最大値となってリップルキャリ出力が有効となる毎に
インクリメントされる。こうして、このような選択状態
においては、クロックの1周期毎に、第1図のアドレス
変換回路から出力されるアドレスは、第2のカウンタ2
の最大値分(第1のカウンタ1の1力ウント分)づつ飛
び飛びに変化し、第1のカウンタ1の出力が最大値に達
する毎に、アドレスの下位のビットを出力する第2のカ
ウンタ2のカウントがカウントアツプされる。
In this switched state, the first counter 1 that outputs the upper bits of the address is always enabled, so the count of the first counter l that outputs the upper bits of the address in synchronization with the above clock is The count of the second counter 2, which increases cyclically and outputs the lower bits of the address, is incremented each time the count of the first counter 1 reaches the maximum value and the ripple carry output becomes valid. Thus, in such a selected state, the address output from the address conversion circuit of FIG.
The second counter 2 changes intermittently by the maximum value (one count of the first counter 1) and outputs the lower bit of the address each time the output of the first counter 1 reaches the maximum value. The count is incremented.

例えば、第2図に示されるように、第1のカウンタ1の
カウントの範囲を0〜3として縦軸にとり、第2のカウ
ンタ2のカウントの範囲をC−F(16進数)として横
軸にとると、上記の前者の選択状態においては、第2図
の格子の左の第1の列から第2の列・・・の順にアドレ
スが出力されることになり、他方で、上記の後者の選択
状態においては、第2図の格子の上の第1の行から第2
の行・・・の順にアドレスが出力されることになる。
For example, as shown in Fig. 2, the count range of the first counter 1 is plotted as 0 to 3 on the vertical axis, and the count range of the second counter 2 is plotted as C-F (hexadecimal) on the horizontal axis. Then, in the former selection state mentioned above, addresses will be output in order from the first column to the second column on the left of the grid in Fig. 2, and on the other hand, in the latter selection state mentioned above, In the selected state, from the first row to the second row on the grid in FIG.
The addresses will be output in the order of the lines...

したがって、上記の前者の選択状態および後者の選択状
態の一方において入力データのメモリへの書き込みを行
い、他方の選択状態において該メモリからの読み出しを
行えば、これらのデータの縦横変換が行われ得る。
Therefore, if input data is written to the memory in one of the former selection state and the latter selection state, and read from the memory in the other selection state, vertical and horizontal conversion of these data can be performed. .

[実施例] 第3図は、本発明の実施例の構成を示すものである。第
3図において、11,13,16.および18はデータ
レジスタ、12,17.19.および23はインバータ
、14および15はRAM、20および24はカウンタ
、22および25はセレクタ、そして、21はデコード
回路である。
[Embodiment] FIG. 3 shows the configuration of an embodiment of the present invention. In FIG. 3, 11, 13, 16. and 18 are data registers, 12, 17.19. and 23 are inverters, 14 and 15 are RAMs, 20 and 24 are counters, 22 and 25 are selectors, and 21 is a decoding circuit.

RAM14および15は、ダブルバッファ構成となって
おり、一方のRAMに入力データを書き込んでいる1サ
イクルの間、他方のRAMからは前のサイクルで書き込
まれたデータが(入力されたときと異なる順序で)読み
出される。それぞれのRAM14.15のデータ入力側
およびデータ出力側には、それぞれ、データレジスタが
設けられており、例えば、一方のRAM14に入力デー
タが書き込まれているサイクルでは、RAM14の入力
側データレジスタ11はイネーブルで、該RAM14の
出力側のデータレジスタ16はイネーブルではない。ま
た、そのとき、他方のRAM15は、前のサイクルデー
タ書き込まれたデータの読み出しサイクルとなっており
、その入力側データレジスタ13はイネーブルではなく
、出力側のデータレジスタ18はイネーブルである。上
記のデータレジスタ11.13,16.および18は、
切り換え信号によってイネーブル、または非イネーブル
にされる。
RAMs 14 and 15 have a double buffer configuration, and during one cycle when input data is written to one RAM, the data written in the previous cycle is sent from the other RAM (in a different order than when it was input). ) is read out. A data register is provided on the data input side and data output side of each RAM 14, 15, respectively. For example, in a cycle in which input data is written to one RAM 14, the input side data register 11 of the RAM 14 is is enabled, and the data register 16 on the output side of the RAM 14 is not enabled. Also, at this time, the other RAM 15 is in the cycle of reading data written in the previous cycle data, its input side data register 13 is not enabled, and its output side data register 18 is enabled. The above data registers 11.13, 16. and 18 are
Enabled or disabled by a switching signal.

上記のRAM14および15に供給されるアドレスは、
前述の第1図の構成に対応する、カウンタ20,24、
セレクタ22,25、インバータ19.23、およびデ
コード回路21からなる構成によって生成される。
The addresses supplied to the RAMs 14 and 15 above are:
Counters 20, 24, corresponding to the configuration shown in FIG.
It is generated by a configuration consisting of selectors 22 and 25, inverters 19 and 23, and decoding circuit 21.

カウンタ20および24は、それぞれ、上記のアドレス
の上位4ビツト、および、下位4ビツトを出力するため
のものであって、それぞれ、循環的なアドレスを出力す
るために、リップルキャリRC出力端子がインバータ1
9または23を介して自らのロード制御端子LOADに
接続されている。図示しないロード入力としては、それ
ぞれのカウンタにおいてカウントの最小値が印加される
Counters 20 and 24 are for outputting the upper 4 bits and lower 4 bits of the above address, respectively, and each has a ripple carry RC output terminal connected to an inverter in order to output a circular address. 1
9 or 23 to its own load control terminal LOAD. As a load input (not shown), the minimum count value of each counter is applied.

カウンタ20および24の2つのイネーブル端子ETお
よびEPのうち、EPは、それぞれ、常時イネーブルに
固定されており、ETは、それぞれ、セレクタ22およ
び25の出力に接続されている。セレクタ22は、常時
イネーブルなレベルと、カウンタ24のリップルキャリ
出力を入力し、デコード回路21からの制御により、そ
の一方を選択している。同様に、セレクタ25は、常時
イネーブルなレベルと、カウンタ20のリップルキャリ
出力を入力し、デコード回路21からの制御により、そ
の一方を選択している。
Of the two enable terminals ET and EP of the counters 20 and 24, EP is fixed to be enabled at all times, and ET is connected to the outputs of selectors 22 and 25, respectively. The selector 22 receives the always enabled level and the ripple carry output of the counter 24, and selects one of them under control from the decoding circuit 21. Similarly, the selector 25 receives the always enabled level and the ripple carry output of the counter 20, and selects one of them under control from the decoding circuit 21.

セレクタ20がカウンタ24のリップルキャリ出力を選
択し、セレクタ25が常時イネーブルレベルを選択して
いるときは、図示しないクロックに同期してアドレスの
下位4ビツトを出力するカウンタ24のカウントが循環
的に増加し、カウンタ24のカウントが最大値となって
リップルキャリ出力が有効となる毎に、アドレスの上位
ビットを出力するカウンタ20のカウントがインクリメ
ントされる。こうして、このような選択状態においては
、アドレスの下位のビットが最大値に達する毎にアドレ
スの上位のビットがカウントアツプされる。すなわち、
アドレス全体として、循環的に増加する。
When the selector 20 selects the ripple carry output of the counter 24 and the selector 25 selects the constant enable level, the count of the counter 24, which outputs the lower 4 bits of the address in synchronization with a clock (not shown), is cyclical. Each time the count of the counter 24 reaches the maximum value and the ripple carry output becomes valid, the count of the counter 20 that outputs the upper bit of the address is incremented. Thus, in such a selected state, the upper bits of the address are counted up each time the lower bits of the address reach the maximum value. That is,
The address as a whole increases cyclically.

こうして、カウンタ20および24のカウントが共に最
大値となると、デコード化21は、上記のセレクタ22
および25の選択を、セレクタ22が常時イネーブルの
信号を選択し、セレクタ25がカウンタ20のリップル
キャリ出力を選択するように切り換える。
In this way, when the counts of counters 20 and 24 both reach the maximum value, decoding 21
and 25 are switched so that the selector 22 selects the always enabled signal and the selector 25 selects the ripple carry output of the counter 20.

この切り換えられた状態においては、アドレスの上位ビ
ットを出力するカウンタ20は、常時イネーブルである
ので、上記のクロックに同期してアドレスの上位ビット
を出力するカウンタ20のカウントが循環的に増加し、
他方、アドレスの下位ビットを出力するカウンタ24の
カウントは、カウンタ20のカウントが最大値となって
リップルキャリ出力が有効となる毎にインクリメントさ
れる。こうして、このような選択状態においては、クロ
ックの1周期毎に、上記の構成から出力されるアドレス
は、カウンタ24の最大値分(カウンタ20の1力ウン
ト分)づつ飛び飛びに変化し、カウンタ20の出力が最
大値に達する毎に、アドレスの下位のビットを出力する
カウンタ24のカウントがカウントアンプされる。
In this switched state, the counter 20 that outputs the upper bits of the address is always enabled, so the count of the counter 20 that outputs the upper bits of the address increases cyclically in synchronization with the above clock.
On the other hand, the count of the counter 24 that outputs the lower bits of the address is incremented each time the count of the counter 20 reaches the maximum value and the ripple carry output becomes valid. In this manner, in such a selection state, the address output from the above configuration changes intermittently by the maximum value of the counter 24 (one output count of the counter 20) every cycle of the clock, and Each time the output of the address reaches the maximum value, the count of the counter 24 that outputs the lower bit of the address is counted and amplified.

ここで、第4図は、前述のように、各画素毎に輝度信号
、6.i (i=0〜3)と、3種類の色差信号Bi、
Ci、Di (i=0〜3)からなるディジタルカラー
画像データ信号を示すものである。
Here, in FIG. 4, as mentioned above, the luminance signal 6. i (i=0 to 3), three types of color difference signals Bi,
This shows a digital color image data signal consisting of Ci and Di (i=0 to 3).

これらの信号は、輝度信号と、それぞれの色差信号とを
別々のフィルタ回路にて処理を行うために、それぞれ、
データの順序を第5図に示されるように並べ変えること
が要求されている。
These signals are processed in separate filter circuits for the luminance signal and each color difference signal, respectively.
It is required that the data be rearranged as shown in FIG.

そのため、第3図のカウンタ20が16進数のC−Fを
循環的に出力し、カウンタ24が0〜3を循環的に出力
するものとすると、第2図に示されるように1.カウン
タ24のカウントの範囲をO〜3として縦軸にとり、カ
ウンタ20のカウントの範囲をC−F(16進数)とし
て横軸にとると、上記の前者の選択状態においては、第
2図の格子の左の第1の列から第2の列・・・の順にア
ドレスが出力されることになり、他方で、上記の後者の
選択状態においては、第3図の格子の上の第1の行から
第2の行・・・の順にアドレスが出力されることになる
Therefore, if the counter 20 in FIG. 3 cyclically outputs hexadecimal numbers CF, and the counter 24 cyclically outputs 0 to 3, then 1. If the count range of the counter 24 is taken as O to 3 on the vertical axis, and the count range of the counter 20 is taken as C-F (hexadecimal) on the horizontal axis, in the former selection state mentioned above, the grid of FIG. Addresses are output in order from the first column to the left of Addresses are output in order from the second row to the second row, and so on.

したがって、上記の前者の選択状態に出力されるアドレ
スによっては、第4図の入力データは、一方のRAMに
第6図に示されるように書き込まれ、上記の後者の選択
状態に出力されるアドレスによっては、第4図の入力デ
ータは、一方のRAMに第7図に示されるように書き込
まれる。そして、それぞれ、次のサイクルにおいては、
第6図に示されるように書き込まれたデータは、上記の
後者の選択状態に出力されるアドレスによって読み出さ
れ、第7図に示されるように書き込まれたデータは、上
記の前者の選択状態に出力されるアドレスによって読み
出される。したがって、それぞれのRAMにおいて、第
2図、第6図、および第7図に示されるようなアドレス
における縦横変換が行われ、第4図のように入力された
データが第5図のように読み出される。
Therefore, depending on the address output in the former selection state, the input data in FIG. 4 is written to one RAM as shown in FIG. 6, and the address output in the latter selection state is In some cases, the input data of FIG. 4 is written to one of the RAMs as shown in FIG. And in each next cycle,
The data written as shown in FIG. 6 is read by the address output in the latter selection state, and the data written as shown in FIG. 7 is read out in the former selection state. It is read by the address output to. Therefore, in each RAM, vertical and horizontal conversions are performed at the addresses as shown in Figures 2, 6, and 7, and the data input as shown in Figure 4 is read out as shown in Figure 5. It will be done.

こうして、アドレスの上位ビットを出力するカウンタと
下位ビットを出力するカウンタのイネーブルのタイミン
グを切り換え制御することにより、ROM等を用いるこ
となく、アドレスの縦横変換を行う回路を構成すること
ができる。
In this way, by switching and controlling the enabling timing of the counter that outputs the upper bits of the address and the counter that outputs the lower bits of the address, it is possible to configure a circuit that performs horizontal and vertical conversion of the address without using a ROM or the like.

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

本発明のアドレス変換回路によれば、電力消費が少なく
、実装面積が小さく、且つ、LSI化が容易である。
According to the address translation circuit of the present invention, power consumption is low, the mounting area is small, and it is easy to implement into an LSI.

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

第1図は本発明の基本構成図、 第2図はメモリのアドレスの説明図、 第3図は本発明の実施例の構成図、 第4図は本発明の実施例における入力データ列を示す図
、 第5図は本発明の実施例における出力データ列を示す図
、 第6図は本発明の実施例において第2図のメモリアドレ
スに書き込まれたデータの1例を示す図、第7図は本発
明の実施例において第2図のメモリアドレスに書き込ま
れたデータの1例を示す図、そして、 第8図は従来のアドレス変換回路の構成図である。 〔符号の説明] 1−・第1のカウンタ、2・・−第2のカウンタ、3・
−第1のセレクタ、4・・・第2のセレクタ、5・−デ
コード・切り換え手段、 11.13,16.18・−データレジスタ、12.1
7,19.23・・−インバータ、14.15−・RA
M、20.24−・−カウンタ、22.25−−−セレ
クタ、21・−デコード回路。 メモリアドレスの説明図 第2図 D 第2図のメモリアドレス1こ書込まれたデータの1例を
示す図第6図
Fig. 1 is a basic configuration diagram of the present invention, Fig. 2 is an explanatory diagram of memory addresses, Fig. 3 is a configuration diagram of an embodiment of the present invention, and Fig. 4 shows an input data string in an embodiment of the present invention. 5 is a diagram showing an output data string in an embodiment of the present invention, FIG. 6 is a diagram illustrating an example of data written to the memory address in FIG. 2 in an embodiment of the present invention, and FIG. 2 is a diagram showing an example of data written to the memory address in FIG. 2 in the embodiment of the present invention, and FIG. 8 is a configuration diagram of a conventional address conversion circuit. [Explanation of symbols] 1--first counter, 2--second counter, 3--
- first selector, 4... second selector, 5 - decoding/switching means, 11.13, 16.18 - data register, 12.1
7,19.23...-Inverter, 14.15--RA
M, 20.24--counter, 22.25--selector, 21.--decoding circuit. Figure 2D is an explanatory diagram of memory addresses. Figure 6 is a diagram showing an example of data written to the memory address 1 in Figure 2.

Claims (1)

【特許請求の範囲】 データのメモリへの書き込みアドレスおよび読み出しア
ドレスとを発生するアドレス変換回路において、 自らのイネーブル状態において、循環的な上位アドレス
を発生する第1のカウンタ(1)と、自らのイネーブル
状態において、循環的な下位アドレスを発生する第2の
カウンタ(2)と、前記第1のカウンタ(1)へイネー
ブル信号を出力する第1のセレクタ(3)と、 前記第2のカウンタ(2)へイネーブル信号を出力する
第1のセレクタ(4)と、 前記第1および第2のカウンタ(1、2)の出力が共に
最大値に達したことを検出して前記第1および第2のセ
レクタ(3、4)を共に一方の選択から他方の選択へ切
り換えるように制御するデコード・切り換え手段(5)
とを有してなり、前記第1のセレクタ(3)は、前記第
2のカウンタ(2)のリップルキャリ出力と、常時イネ
ーブルな信号とを入力端子に受け、前記第2のセレクタ
(4)は、前記第1のカウンタ(1)のリップルキャリ
出力と、常時イネーブルな信号とを入力端子に受け、 前記第1および第2のセレクタ(3、4)の一方は前記
常時イネーブルな信号を選択し、他方は、前記一方のセ
レクタのリップルキャリ出力を選択することを特徴とす
るアドレス変換回路。
[Claims] In an address translation circuit that generates a write address and a read address for data in a memory, a first counter (1) that generates a cyclical upper address in its enabled state; a second counter (2) that generates a cyclical lower address in an enabled state; a first selector (3) that outputs an enable signal to the first counter (1); 2) a first selector (4) that outputs an enable signal to the first selector (4); decoding/switching means (5) for controlling the selectors (3, 4) of both to switch from one selection to the other selection;
The first selector (3) receives the ripple carry output of the second counter (2) and a constant enable signal at its input terminal, and the second selector (4) receives the ripple carry output of the first counter (1) and the always-enabled signal at its input terminal, and one of the first and second selectors (3, 4) selects the always-enabled signal. and the other selects the ripple carry output of the one selector.
JP2141667A 1990-06-01 1990-06-01 Address conversion circuit Pending JPH0437934A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2141667A JPH0437934A (en) 1990-06-01 1990-06-01 Address conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2141667A JPH0437934A (en) 1990-06-01 1990-06-01 Address conversion circuit

Publications (1)

Publication Number Publication Date
JPH0437934A true JPH0437934A (en) 1992-02-07

Family

ID=15297385

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2141667A Pending JPH0437934A (en) 1990-06-01 1990-06-01 Address conversion circuit

Country Status (1)

Country Link
JP (1) JPH0437934A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11496689B2 (en) 2020-02-05 2022-11-08 Samsung Electronics Co., Ltd. Image sensor module image compression method thereof and electronic device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11496689B2 (en) 2020-02-05 2022-11-08 Samsung Electronics Co., Ltd. Image sensor module image compression method thereof and electronic device

Similar Documents

Publication Publication Date Title
JPH0474387A (en) Semiconductor storage device
US7283169B2 (en) Timing signal apparatus
US4992653A (en) Linear image sensor
JPH0437934A (en) Address conversion circuit
JP2744968B2 (en) Image reading device
JP2507319B2 (en) Video memory
JPH0348518B2 (en)
JP2652960B2 (en) Scan converter circuit
JPH0727343B2 (en) Video memory
JPH05252039A (en) Multi-channel d/a converter of 3-line serial data transfer system
JP3263977B2 (en) Semiconductor device
JPH0393090A (en) video memory
JP2526042Y2 (en) Memory / register control circuit
JPH0328879B2 (en)
JPH0750856B2 (en) Delay circuit
JP2689456B2 (en) Image display size conversion circuit
JPS6157115A (en) Data delay circuit
JPS61192139A (en) Frame converting circuit
JPH09251545A (en) Picture processor
JPH0969909A (en) Test pattern generating circuit
JPH05227556A (en) Time slot interchanger
JPH0571115B2 (en)
JPS61239793A (en) Frame memory device
JPS58105189A (en) Display memory controller
JPH03189991A (en) Semiconductor memory device