JPH0613913A - Data string rearrangement circuit - Google Patents

Data string rearrangement circuit

Info

Publication number
JPH0613913A
JPH0613913A JP3146531A JP14653191A JPH0613913A JP H0613913 A JPH0613913 A JP H0613913A JP 3146531 A JP3146531 A JP 3146531A JP 14653191 A JP14653191 A JP 14653191A JP H0613913 A JPH0613913 A JP H0613913A
Authority
JP
Japan
Prior art keywords
data
flip
terminal
flop
input
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.)
Withdrawn
Application number
JP3146531A
Other languages
Japanese (ja)
Inventor
Mitsuharu Oki
光晴 大木
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP3146531A priority Critical patent/JPH0613913A/en
Publication of JPH0613913A publication Critical patent/JPH0613913A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To reduce the circuit scale and to quicken the operating speed by connecting storage means in cascade, using a selection means to select an output from a connecting point among plural storage means connected in cascade and outputting only one output. CONSTITUTION:The circuit is provided with a storage means (FF) receiving each input data string to latch the data and shifting the data stored in response to a prescribed signal and with a selection means 24 receiving plural input signals and selectively outputting only one signal among the plural input signals. Then plural FFs 211-21m are provided and connected in cascade and the selection means 24 selectively outputs the output from connecting points (including input output points) of the plural FFs 211-21m connected in cascade as plural input signals to rearrange the sequence of the input data strings. Thus, the plural FFs 211-21m implement the processing shifting only the data stored in terms of prescribed signals.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、入力データ列の各デー
タの順番を所望の順番に並べ換えて出力するデータ列並
べ換え回路に関し、例えば、画像データ等の圧縮処理を
行う際に用いて好適なデータ列並べ換え回路に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data string rearrangement circuit for rearranging the order of each data of an input data string in a desired order and outputting the same, and is suitable for use in, for example, compressing image data. The present invention relates to a data string rearrangement circuit.

【0002】[0002]

【従来の技術】従来より、画像データを圧縮する画像デ
ータ圧縮技術の分野においては、例えば、2次元DCT
(離散コサイン変換)処理を用いて画像データの圧縮処
理が行われることがある。当該2次元DCT処理は、例
えば、1次元のDCT演算を行う回路を用い、画像デー
タの入力データ列の行方向の1次元DCTを行った後、
行順のデータ列を列順に並べ換え、更に、別の1次元D
CT演算を行う回路で列方向の1次元DCTを行う事に
より実現されることが多い。
2. Description of the Related Art Conventionally, in the field of image data compression technology for compressing image data, for example, a two-dimensional DCT is used.
Image data compression processing may be performed using (discrete cosine transform) processing. In the two-dimensional DCT processing, for example, a circuit that performs one-dimensional DCT calculation is used to perform one-dimensional DCT in the row direction of an input data string of image data,
Rearrange the data sequence in row order into column order, and then use another one-dimensional D
It is often realized by performing one-dimensional DCT in the column direction by a circuit that performs CT calculation.

【0003】このような例えば2次元DCT処理等を行
う際に用いられる入力データ列の並べ換えを行う回路と
しては、通常、図58に示すような構成の回路が用いら
れる。この図58の構成は、入力端子1には並べ換えを
行おうとする一群のデータからなるシリアル入力データ
列が供給される。この入力データ列は、切換スイッチ2
を介して、上記入力データ列の一群のデータの数と同じ
ワード数のRAM3,4の何れか一方に順次書き込まれ
る。これらRAM3,4に書き込まれたデータは、読出
アドレスデータRAに応じて読み出されるが、このと
き、当該読出アドレスデータRAは、上記入力データれ
づの各データが所望の順番で読み出されるようなアドレ
スデータに制御される。このように、RAMからデータ
が読み出される際に読出アドレスデータRAを制御する
ことで、データ列の並べ換えが実現される。すなわち、
RAMにデータを書き込む際には、例えばRAMのアド
レスの0番地から順にデータの書き込みが行われるよう
な書込アドレスデータWAを用い、データ読み出しの際
には、例えば、上記書き込みの際の番地とは異なる読み
出し番地から読み出されると共に所望の読み出し順序で
データが読み出されることでデータ列の並べ換えが行わ
れる。上記RAM3,4の何れか一方から読み出された
データ列は、切換スイッチ5を介して出力端子6から出
力データ列として出力される。
As a circuit for rearranging the input data string used when performing such two-dimensional DCT processing, for example, a circuit having a structure shown in FIG. 58 is usually used. In the configuration of FIG. 58, the input terminal 1 is supplied with a serial input data string composed of a group of data to be rearranged. This input data string is the changeover switch 2
Data is sequentially written to any one of the RAMs 3 and 4 having the same number of words as the number of data of the group of input data strings. The data written in the RAMs 3 and 4 is read according to the read address data RA. At this time, the read address data RA is an address at which the respective pieces of the input data are read in a desired order. Controlled by data. In this way, by controlling the read address data RA when the data is read from the RAM, the rearrangement of the data string is realized. That is,
When writing data to the RAM, for example, write address data WA is used so that data is sequentially written from address 0 of the RAM, and when reading data, for example, the address at the time of writing is used. Are read from different read addresses and the data is read in a desired read order to rearrange the data strings. The data string read from one of the RAMs 3 and 4 is output as an output data string from the output terminal 6 via the changeover switch 5.

【0004】ここで、上記一群の入力データ列は、シリ
アルに順次供給されるものであるので、データ列の並べ
換え処理をリアルタイムで行うために、一方のRAMに
書き込みが行われている時には、他方のRAMからデー
タの読み出しが行われる。すなわち、例えば、上記切換
スイッチ2が被切換端子aに切り換えられると入力デー
タ列の各データは、RAM3に順次記憶される。この
時、上記切換スイッチ5は被切換端子bに切り換えられ
ると共に、RAM4からは先に記憶されているデータ列
の各データが並べ換えられて読み出され、これらが出力
データ列となる。逆に、上記切換スイッチ2において被
切換端子bに切り換えられると、上記RAM4に入力デ
ータ列が格納され、RAM3からは既に格納されている
データが並べ換えられて読み出される。この時の切換ス
イッチ5は被切換端子aに切り換えられる。このような
スイッチの切り換え及びRAMの書込/読出が繰り返さ
れることで順次供給される入力データ列の各データの並
べ換えがリアルタイムで行われる。なお、上記切換スイ
ッチ2,5の切り換え制御や、RAM3,4への各アド
レスデータの制御は、図示を省略するコントロール回路
によりなされる。また、一方のRAMに供給される入力
データ列が奇数番目のデータ列であるとすると、他方の
RAMに供給される入力データ列は偶数番目のデータ列
となる。
Here, since the group of input data strings is sequentially supplied in series, in order to perform the rearrangement processing of the data strings in real time, while writing to one RAM, the other The data is read from the RAM. That is, for example, when the changeover switch 2 is changed over to the changed terminal a, each data of the input data string is sequentially stored in the RAM 3. At this time, the changeover switch 5 is changed over to the terminal b to be changed over, and each data of the previously stored data sequence is rearranged and read out from the RAM 4, and these become the output data sequence. On the contrary, when the changeover switch 2 is switched to the switched terminal b, the input data string is stored in the RAM 4, and the already stored data is rearranged and read out from the RAM 3. At this time, the selector switch 5 is switched to the switched terminal a. By repeating such switching of the switches and writing / reading of the RAM, rearrangement of each data of the input data string sequentially supplied is performed in real time. The switching control of the changeover switches 2 and 5 and the control of each address data to the RAMs 3 and 4 are performed by a control circuit (not shown). Further, if the input data string supplied to one RAM is an odd-numbered data string, the input data string supplied to the other RAM is an even-numbered data string.

【0005】[0005]

【発明が解決しようとする課題】ところが、上述した図
58のデータ列並べ換え回路は、シリアルで順次供給さ
れる入力データ列の各データの順番をリアルタイムで並
べ換え処理するために、入力データ列のデータ数と同じ
ワード数のRAMが2個必要となっており、回路規模が
大きくなるという欠点がある。また、RAMを使用して
いるため、動作速度も遅いものとなっている。
However, in the above-described data string rearrangement circuit of FIG. 58, in order to rearrange the order of each data of the input data string sequentially supplied in real time, the data of the input data string is processed. Since two RAMs with the same number of words as the number of RAMs are required, there is a drawback that the circuit scale becomes large. Moreover, since the RAM is used, the operation speed is slow.

【0006】そこで、本発明は、上述のような実情に鑑
みて提案されたものであり、回路規模が小さく動作速度
も速いデータ列並べ換え回路を提供することを目的とす
るものである。
Therefore, the present invention has been proposed in view of the above circumstances, and an object thereof is to provide a data string rearrangement circuit having a small circuit scale and a high operation speed.

【0007】[0007]

【課題を解決するための手段】本発明のデータ列並べ換
え回路は、上述の目的を達成するために提案されたもの
であり、複数のデータからなる入力データ列の各データ
の順番を並べ換えて出力するデータ列並べ換え回路であ
って、上記入力データ列の各データが供給され該データ
を保持すると共に所定の信号に応じて記憶されているデ
ータをシフトする記憶手段と、複数の入力信号が供給さ
れ、これら複数の入力信号の中から1つの信号のみを選
択的に出力する選択手段とを有し、上記記憶手段を複数
個設けると共に各記憶手段を縦続接続し、上記選択手段
は上記縦続接続した複数の記憶手段の接続点(入出力点
も含む)からの出力を上記複数の入力信号として上記選
択的に出力することで上記入力データ列の各データの順
番の並べ換えを行うようにしたものである。
The data string rearrangement circuit of the present invention is proposed to achieve the above-mentioned object, and outputs the data by rearranging the order of each data of an input data string composed of a plurality of data. A data string rearrangement circuit for supplying each data of the input data string, holding the data, and shifting the stored data according to a predetermined signal, and a plurality of input signals are supplied. A selection means for selectively outputting only one signal from the plurality of input signals, a plurality of storage means are provided and each storage means is connected in cascade, and the selection means is connected in cascade. The outputs from the connection points (including the input / output points) of the plurality of storage means are selectively output as the plurality of input signals to rearrange the order of each data of the input data string. It is obtained by way.

【0008】また、本発明のデータ列並べ換え回路は、
複数のデータからなる入力データ列の各データの順番を
並べ換えて出力するデータ列並べ換え回路であって、上
記入力データ列の各データが供給され該データを保持す
ると共に所定の信号に応じて記憶されているデータをシ
フトする記憶手段と、複数の入力信号が供給され、これ
ら複数の入力信号の中から1つの信号のみを選択的に出
力する選択手段とを有し、上記記憶手段を複数個設ける
と共に各記憶手段を縦続接続した第1の並べ換え手段を
更に複数個設けて各第1の並べ換え手段を縦続接続し、
上記選択手段は上記縦続接続した第1の並べ換え手段の
接続点(入出力点も含む)からの出力を上記複数の入力
信号として上記選択的に出力することで上記入力データ
列の各データの順番の並べ換えを行うようにしたもので
ある。
Further, the data string rearrangement circuit of the present invention is
A data string rearrangement circuit for rearranging and outputting the order of each data of an input data string composed of a plurality of data, wherein each data of the input data string is supplied, and the data is held and stored in accordance with a predetermined signal. A plurality of input signals are supplied, and a selection means for selectively outputting only one signal from the plurality of input signals is provided, and a plurality of the storage means are provided. In addition, a plurality of first rearrangement means in which each storage means is connected in cascade are further provided to connect each first rearrangement means in cascade.
The selection means selectively outputs the outputs from the connection points (including the input / output points) of the first rearrangement means connected in cascade as the plurality of input signals, thereby ordering the respective data of the input data string. Is to be rearranged.

【0009】更に、上記第1の並べ換え手段が複数個縦
続接続されてなる第2の並べ換え手段をさらに複数個設
けて縦続接続することも可能であり、これにより複数個
の第1の並べ換え手段による並べ換え処理を何回か続け
て行って所望の並べ換えを行うようにすることも可能と
なっている。
Further, it is also possible to provide a plurality of second rearranging means in which a plurality of the first rearranging means are connected in cascade to connect them in series, whereby a plurality of first rearranging means can be used. It is also possible to perform the rearrangement process several times in succession to perform a desired rearrangement.

【0010】[0010]

【作用】本発明のデータ列並べ換え回路によれば、複数
個の記憶手段或いは複数個の第1の並べ換え手段を縦続
接続し、各接続点からの信号を選択手段で選択すること
でデータ列の並べ換えが行われ、各記憶手段は所定の信
号で記憶されているデータをシフトするのみの処理を行
うものであるため、書込/読出のアドレスが不要であ
り、かつ高速に処理できる。
According to the data string rearranging circuit of the present invention, a plurality of storage means or a plurality of first rearranging means are connected in cascade, and the signal from each connection point is selected by the selecting means to save the data string. Since the rearrangement is performed and each storage unit performs only the process of shifting the data stored by the predetermined signal, the address for writing / reading is not required and the process can be performed at high speed.

【0011】[0011]

【実施例】以下に、本発明のデータ列並べ換え回路の実
施例を図面を参照しながら説明する。図1は本発明のデ
ータ列並べ換え回路の第1の実施例の構成を示してい
る。この図1のデータ列並べ換え回路は、入力端子20
に供給された入力データ列の各データの順番を並べ換え
て出力端子25から出力するデータ列並べ換え回路であ
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a data string rearrangement circuit of the present invention will be described below with reference to the drawings. FIG. 1 shows the configuration of a first embodiment of a data string rearrangement circuit of the present invention. The data string rearrangement circuit of FIG.
Is a data string rearrangement circuit that rearranges the order of each data of the input data string supplied to the output terminal 25 and outputs it from the output terminal 25.

【0012】すなわち、このデータ列並べ換え回路は、
入力データ列の各データが供給され該データが保持され
ると共に所定の信号として端子221 ,222 ,・・
・,22n-2 ,22n-1 ,22n ,22n+1 ,2
n+2 ,・・・, 22m から供給されるイネーブル信号
によって、記憶されているデータをシフトする記憶手段
としてのフリップフロップ(FF)と、複数の被切換選
択端子24S0 ,24S1 ,・・・,24Sn-2 ,24
n-1 ,24Sn ,24Sn+1 ,24Sn+2 ,・・・,
24Sm のうちの何れか1つの被切換選択端子を選択す
ることで上記複数の被切換端子24S0 〜24Sm に供
給される複数の入力信号の中から1つの信号のみを選択
的に出力する選択手段である切換選択スイッチ24とを
有し、上記フリップフロップを複数個(例えばフリップ
フロップ211 ,212 ,・・・,21n-2 ,2
n-1 ,21n ,21n+1 ,21n+2 ,・・・,
m )設けると共に各フリップフロップをそれぞれ縦続
接続し、上記切換選択スイッチ24は上記縦続接続した
複数のフリップフロップ210 〜21m の接続点(入出
力点も含む)からの出力を上記複数の被切換選択端子2
4S0 〜24Sm に供給される入力信号として上記選択
的に出力することで供給された入力データ列の各データ
の順番を並べ換えて出力するようにしたものである。な
お、上記切換選択スイッチ24は、端子23を介した図
示を省略するコントロール回路からの切換コントロール
信号により切換制御される。更に、各端子222 〜22
m に供給されるイネーブル信号も上記コントロール回路
から供給されるものである。
That is, this data string rearrangement circuit is
Each data of the input data string is supplied and held, and at the same time, as a predetermined signal, terminals 22 1 , 22 2 , ...
.., 22 n-2 , 22 n-1 , 22 n , 22 n + 1 , 2
Flip-flops (FF) as storage means for shifting the stored data according to the enable signal supplied from 2 n + 2 , ... , 22 m , and a plurality of switching selection terminals 24S 0 , 24S 1 , ..., 24S n-2 , 24
S n-1, 24S n, 24S n + 1, 24S n + 2, ···,
Outputs either only one one signal from among a plurality of input signals supplied to the plurality of the switching terminal 24S 0 ~24S m by selecting the switching selection terminal selectively of 24S m And a plurality of flip-flops (for example, flip-flops 21 1 , 21 2 , ..., 21 n-2 , 2).
1 n-1 , 21 n , 21 n + 1 , 21 n + 2 , ... , 2
1 m) each connected in cascade each flip-flop provided with, the switching selection switch 24 is the output from the connection point of the plurality of flip-flops 21 0 through 21 m as described above cascaded (including input and output point) of the plurality Switched selection terminal 2
By selectively outputting as the input signal supplied to 4S 0 to 24S m , the order of each data of the supplied input data string is rearranged and output. The changeover selection switch 24 is controlled by a changeover control signal from a control circuit (not shown) via the terminal 23. Further, each terminal 22 2 to 22
The enable signal supplied to m is also supplied from the control circuit.

【0013】この図1の第1の実施例において、入力端
子20には、複数のデータ(一群のデータ)からなる入
力データ列の各データがシリアル入力(xd ,・・・,
c,xb ,xa ,xe ,xf ,・・・,xg の順にシ
リアル入力)されてくるとする。この場合、上記端子2
1 〜22m に供給される各イネーブル信号をすべてO
N(例えばハイレベル)とすることで、各フリップフロ
ップ211 〜21m では、上記供給された各データが順
にシフトされる。したがって、上記入力端子20に上記
データxg の次のデータxh がきた時(時刻)には、フ
リップフロップ21m にはデータxd が格納され、フリ
ップフロップ21n+2 にはデータxc が、フリップフロ
ップ21n+1 にはデータxb が、フリップフロップ21
n にはデータxa が、フリップフロップ21n-1 にはデ
ータxe が、フリップフロップ21n-2 にはデータxf
が、フリップフロップ211 にはデータxg が格納され
ていることになる。
In the first embodiment of FIG. 1, each data of an input data string consisting of a plurality of data (a group of data) is serially input (x d , ..., To the input terminal 20.
x c , x b , x a , x e , x f , ..., X g in this order). In this case, the terminal 2
All the enable signal supplied to the 2 1 through 22 m O
By setting to N (for example, high level), each of the supplied data is sequentially shifted in each of the flip-flops 21 1 to 21 m . Therefore, when the next data x h of the data x g came to the input terminal 20 (time), the flip-flop 21 m contains data x d, the flip-flop 21 n + 2 data x c However, the data x b is stored in the flip-flop 21 n + 1.
The data x a is stored in n , the data x e is stored in the flip-flop 21 n-1 , and the data x f is stored in the flip-flop 21 n-2.
However, the data x g is stored in the flip-flop 21 1 .

【0014】この時、上記フリップフロップ21n 内の
データxa を取り出すとする。この場合、上記端子22
1 〜22m に供給される各イネーブル信号のうち、端子
221 〜22n までのイネーブル信号をON(例えばハ
イレベル)とし、残りの端子22n+1 〜22m をOFF
(例えばローレベル)とする。また、切換選択スイッチ
24は、端子23を介した切換コントロール信号により
被切換選択端子24Sn を選択する。これにより、出力
端子25からは、上記フリップフロップ21nに格納さ
れ後にシフトされてくるデータxa が出力されることに
なる。また、このデータxa よりも後のデータxe ,x
f ,・・・,xg は、対応する各フリップフロップへの
イネーブル信号がONなので1個づつ後段のフリップフ
ロップへシフトされ、フリップフロップ211 には次の
データxh が格納される。またこの時、イネーブル信号
がOFFとなっているフリップフロップ21n+1 〜21
mにおいては、上記格納されている各データがそのまま
保持される。これにより、入力データ列の中からデータ
a を取り出すことができる。
At this time, the data x a in the flip-flop 21 n is taken out. In this case, the terminal 22
Of the enable signals supplied to 1 to 22 m , the enable signals to the terminals 22 1 to 22 n are turned on (for example, high level), and the remaining terminals 22 n + 1 to 22 m are turned off.
(Eg low level). Further, the changeover selection switch 24 selects the changeover selected terminal 24S n according to the changeover control signal via the terminal 23. As a result, the data x a stored in the flip-flop 21 n and shifted later is output from the output terminal 25. Also, data x e , x after this data x a
Since the enable signals for the corresponding flip-flops are ON, f 1 , ..., X g are shifted one by one to the subsequent flip-flops, and the next data x h is stored in the flip-flop 21 1 . At this time, the flip-flops 21 n + 1 to 21 whose enable signal is OFF are
In m , each of the above stored data is held as it is. As a result, the data x a can be extracted from the input data string.

【0015】ここで、以下に述べるように、各イネーブ
ル信号と切換選択スイッチを制御することでデータ列の
並べ換えが可能となる。この第1の実施例において、図
2〜図20を用いてデータ列並べ換え処理の具体例につ
いて説明する。
Here, as will be described below, the data strings can be rearranged by controlling each enable signal and the changeover selection switch. In the first embodiment, a specific example of the data string rearrangement process will be described with reference to FIGS.

【0016】図2は上記図1に示した第1の実施例のデ
ータ列並べ換え回路の一具体例を示している。この図2
のデータ列並べ換え回路も、入力端子10に供給された
入力データ列の各データの順番を並べ換えて出力端子1
5から出力するデータ列並べ換え回路である。
FIG. 2 shows a specific example of the data string rearrangement circuit of the first embodiment shown in FIG. This Figure 2
The data string rearrangement circuit also rearranges the order of each data of the input data string supplied to the input terminal 10 and outputs the output terminal 1
5 is a data string rearrangement circuit to be output from 5.

【0017】すなわち、この図2のデータ列並べ換え回
路は、端子121 〜124 から供給されるイネーブル信
号によって、記憶されているデータをシフトするフリッ
プフロップ(FF)と、複数の被切換選択端子14a〜
14eのうちの何れか1つの被切換選択端子を選択する
ことで上記複数の被切換端子14a〜14eに供給され
る複数の入力信号の中から1つの信号のみを選択的に出
力する切換選択スイッチ14とを有し、上記フリップフ
ロップを複数個(例えばフリップフロップ111 〜11
5 )設けると共に各フリップフロップをそれぞれ縦続接
続し、上記切換選択スイッチ14は上記縦続接続した複
数のフリップフロップ111 〜115 の接続点及び入出
力点からの出力を上記複数の被切換選択端子14a〜1
4eに供給される入力信号として上記選択的に出力する
ことで供給された入力データ列を並べ換えて出力するよ
うにしたものである。なお、上記切換選択スイッチ14
は、端子13を介した図示を省略するコントロール回路
からの切換コントロール信号により切換制御される。ま
た、各端子121 〜124 に供給されるイネーブル信号
も上記コントロール回路から供給されるものである。
That is, the data string rearrangement circuit of FIG. 2 has a flip-flop (FF) that shifts stored data according to an enable signal supplied from terminals 12 1 to 12 4 and a plurality of switched selection terminals. 14a ~
A selection switch for selectively outputting only one signal from the plurality of input signals supplied to the plurality of switched terminals 14a to 14e by selecting any one of the switched terminals 14e. And a plurality of flip-flops (for example, flip-flops 11 1 to 11).
5 ) The flip-flops are provided and the flip-flops are connected in cascade, and the changeover selection switch 14 outputs the output from the connection point and the input / output point of the plurality of cascaded flip-flops 11 1 to 11 5 to the plurality of selected selection terminals. 14a-1
By selectively outputting as the input signal supplied to 4e, the supplied input data sequence is rearranged and output. The changeover selection switch 14
Is switched and controlled by a switching control signal from a control circuit (not shown) via the terminal 13. The enable signal supplied to each of the terminals 12 1 to 12 4 is also supplied from the control circuit.

【0018】この図2に示す第1の実施例の具体例回路
は、例えば画像データの圧縮の際に行われる画像データ
の並べ換え処理を行う構成となっている。この図2にお
いて、入力端子10には、複数のデータすなわち例えば
図3に示すように4行4列の各データからなる入力デー
タ列の各データが行順にシリアル入力(A0 ,A1 ,A
5 ,A6 ,A2 ,A4 ,A7 ,A12,A3 ,A8
11,A13,A9 ,A10,A14,A15の順にシリアル入
力)されてくるとする。図2の第1の実施例の具体例回
路は、この図3に示した4行4列の各データに対して、
例えば、図4に示すいわゆるジグザグ走査のようにして
入力データ列の各データの順番を並べ換えて(A0 ,A
1 ,A2 ,A3 ,A4 ,A5 ,A6 ,A7 ,A8
9 ,A10,A11,A12,A13,A14,A15の順に並べ
換える)出力端子15からシリアル出力するデータ列並
べ換え回路である。すなわち、この第1の実施例の具体
例におていは、上記切換コントロール信号及びイネーブ
ル信号が、上記図4のジグザグ走査に応じた信号となさ
れている。
The circuit of the concrete example of the first embodiment shown in FIG. 2 is configured to perform a rearrangement process of image data, which is carried out when the image data is compressed, for example. In FIG. 2, the input terminal 10, the data of the input data sequence consisting of the data of four rows and four columns as shown in the plurality of data, that FIG. 3, for example a serial input to the line sequential (A 0, A 1, A
5 , A 6 , A 2 , A 4 , A 7 , A 12 , A 3 , A 8 ,
A 11 , A 13 , A 9 , A 10 , A 14 , and A 15 are serially input in this order). The concrete circuit of the first embodiment shown in FIG. 2 has the following four-row-four-column data shown in FIG.
For example, the order of each data of the input data string is rearranged by the so-called zigzag scanning shown in FIG. 4 (A 0 , A
1 , A 2 , A 3 , A 4 , A 5 , A 6 , A 7 , A 8 ,
A 9, A 10, A 11 , A 12, rearranges the order of A 13, A 14, A 15 ) is a data string rearranging circuit for serial output from the output terminal 15. That is, in the specific example of the first embodiment, the switching control signal and the enable signal are signals corresponding to the zigzag scanning of FIG.

【0019】ここで、図5〜図20は上記図2と同じ構
成を示している。先ず、図5において、入力端子10に
は、上記図3の1行目のデータA0 ,A1 ,A5
6 ,A2 ,・・・がこの行の順番で供給されるとす
る。この時、上記端子121 〜124 に供給される各イ
ネーブル信号は、全てON(例えばハイレベル)とされ
る。これにより、各フリップフロップ111 〜114
は、上記供給された各データが順にシフトされる。した
がって、入力端子10に上記データA2 の次のデータA
4 がきた時(時刻)には、フリップフロップ115 には
データA0 が格納され、フリップフロップ114 にはデ
ータA1 が、フリップフロップ113 にはデータA
5 が、フリップフロップ112 にはデータA6 が、フリ
ップフロップ111にはデータA2 が格納されているこ
とになる。また、この場合、切換選択スイッチ14は、
端子13(図示は省略)を介した切換コントロール信号
により被切換選択端子14aが選択されることで、出力
端子15からは、上記フリップフロップ115 に格納さ
れ後にシフトされて取り出されるデータA0 が出力され
ることになる。
Here, FIGS. 5 to 20 show the same structure as that of FIG. First, in FIG. 5, the data A 0 , A 1 , A 5 , A 5 ,
It is assumed that A 6 , A 2 , ... Are supplied in this row order. At this time, all the enable signals supplied to the terminals 12 1 to 12 4 are turned on (for example, high level). As a result, in the flip-flops 11 1 to 11 4 , the supplied data are sequentially shifted. Therefore, the data A next to the above data A 2 is input to the input terminal 10.
The (time) when the 4 came, to the flip-flop 11 5 contains data A 0, data A 1 in the flip-flop 11 4 receives the data in the flip-flop 11 3 A
5 , the data A 6 is stored in the flip-flop 11 2 , and the data A 2 is stored in the flip-flop 11 1 . In this case, the changeover selection switch 14 is
By selecting the switched selection terminal 14a by the switching control signal via the terminal 13 (not shown), the output terminal 15 receives the data A 0 stored in the flip-flop 11 5 and then shifted and taken out. Will be output.

【0020】次に、図6において、上記図3に示したよ
うに入力端子10に上記データA4の次のデータA7
きた時(時刻)には、フリップフロップ115 にはデー
タA1 が格納され、フリップフロップ114 にはデータ
5 が、フリップフロップ113 にはデータA6 が、フ
リップフロップ112 にはデータA2 が、フリップフロ
ップ111 にはデータA4 が格納されていることにな
る。なお、この時の各イネーブル信号も全てオンであ
る。また、この場合、切換選択スイッチ14の被切換選
択端子14aが選択されることで、上記出力端子15か
らは、上記フリップフロップ115 に格納され後にシフ
トされて取り出されるデータA1 が出力される。
Next, in FIG. 6, when the data A 7 next to the data A 4 comes to the input terminal 10 (time) as shown in FIG. 3, the flip-flop 11 5 receives the data A 1 There are stored, the data A 5 are the flip-flop 11 4, the data A 6 to the flip-flop 11 3, the flip-flop 11 2 data A 2 is, to the flip-flop 11 1 is stored data A 4 Will be there. At this time, all the enable signals are also on. Further, in this case, by selecting the switched selection terminal 14a of the selection switch 14, the output terminal 15 outputs the data A 1 which is stored in the flip-flop 11 5 and then shifted and taken out. .

【0021】更に、図7において、上記図3に示したよ
うに入力端子10に上記データA7の次のデータA12
きた時刻には、フリップフロップ115 にはデータA5
が格納され、フリップフロップ114 にはデータA
6 が、フリップフロップ113 にはデータA2 が、フリ
ップフロップ112 にはデータA4 が、フリップフロッ
プ111 にはデータA7 が格納されていることになる。
ここで、この時、上述した図4に示すようないわゆるジ
グザグ走査のようなデータの並べ換えを行うには、上記
端子123 及び124 のイネーブル信号がOFF(例え
ばローレベル)とされ、残りの端子121 及び122
イネーブル信号はONとされる。これにより、フリップ
フロップ115 及び114 では、新たなデータの取り込
みが停止され、既に記憶されているデータの保持(デー
タA5 及びA6 )がなされる。また、この時、上記切換
選択スイッチ14においては、上記コントロール信号に
基づいて被切換選択端子14cが選択される。これによ
り、上記出力端子15からは、上記フリップフロップ1
3 に格納され後にシフトされて取り出されるデータA
2 が出力されることになる。
Further, in FIG. 7, at the time when the next data A 12 after the data A 7 comes to the input terminal 10 as shown in FIG. 3, the flip-flop 11 5 receives the data A 5
Is stored, and the data A is stored in the flip-flop 11 4.
6 , the data A 2 is stored in the flip-flop 11 3 , the data A 4 is stored in the flip-flop 11 2 , and the data A 7 is stored in the flip-flop 11 1 .
Here, at this time, in order to perform data rearrangement such as the so-called zigzag scanning as shown in FIG. 4, the enable signals of the terminals 12 3 and 12 4 are turned off (for example, low level), and the remaining The enable signals at the terminals 12 1 and 12 2 are turned on. As a result, the flip-flops 11 5 and 11 4 stop taking in new data and hold the already stored data (data A 5 and A 6 ). At this time, in the changeover selection switch 14, the changeover selection terminal 14c is selected based on the control signal. As a result, the flip-flop 1 is output from the output terminal 15.
Data A stored in 1 3 and then shifted and extracted
2 will be output.

【0022】以下同様に、図8において、図3に示した
ように入力端子10に上記データA12の次のデータA3
がきた時刻には、フリップフロップ115 にはデータA
5 が格納され、フリップフロップ114 にはデータA6
が、フリップフロップ113にはデータA4 が、フリッ
プフロップ112 にはデータA7 が、フリップフロップ
111 にはデータA12が格納されていることになる。こ
こで、上述した図4に示すようなデータの並べ換えを行
うには、上記端子121 〜124 の全てのイネーブル信
号がOFFとされる。これにより、各フリップフロップ
111 〜115では、新たなデータの取り込みが停止さ
れ、既に記憶されているデータの保持がなされる。ま
た、この時、上記切換選択スイッチ14においては、上
記コントロール信号に基づいて被切換選択端子14eが
選択される。これにより、上記出力端子15からは、入
力端子10に供給されたデータA3 がそのまま出力端子
15から出力されることになる。
Similarly, in FIG. 8, the data A 3 next to the data A 12 is input to the input terminal 10 as shown in FIG.
When the time comes, the data A is stored in the flip-flop 11 5.
5 is stored, and the data A 6 is stored in the flip-flop 11 4.
However, the data A 4 is stored in the flip-flop 11 3 , the data A 7 is stored in the flip-flop 11 2 , and the data A 12 is stored in the flip-flop 11 1 . Here, in order to rearrange the data as shown in FIG. 4 described above, all the enable signals of the terminals 12 1 to 12 4 are turned off. As a result, the flip-flops 11 1 to 11 5 stop taking in new data, and hold the already stored data. At this time, in the changeover selection switch 14, the changeover selection terminal 14e is selected based on the control signal. As a result, the data A 3 supplied to the input terminal 10 is directly output from the output terminal 15 from the output terminal 15.

【0023】図9において、図3に示したように入力端
子10に上記データA3 の次のデータA8 がきた時刻に
は、フリップフロップ115 にはデータA5 が格納さ
れ、フリップフロップ114 にはデータA6 が、フリッ
プフロップ113 にはデータA4 が、フリップフロップ
112 にはデータA7 が、フリップフロップ111 には
データA12が格納されている。ここで、上述した図4に
示すようなデータの並べ換えを行うには、上記端子12
3 及び124 のイネーブル信号がOFFとされ、残りの
端子121 及び122 のイネーブル信号はONとされ
る。これにより、フリップフロップ115 及び114
は、新たなデータの取り込みが停止され、既に記憶され
ているデータの保持(データA5,6 )がなされる。ま
た、この時、上記切換選択スイッチ14においては、被
切換選択端子14cが選択される。これにより、出力端
子15からは、上記フリップフロップ113 に格納され
後にシフトされて取り出されるデータA4 が出力される
ことになる。
In FIG. 9, as shown in FIG. 3, at the time when the next data A 8 after the above data A 3 arrives at the input terminal 10, the data A 5 is stored in the flip-flop 11 5 , and the flip-flop 11 5 is stored. data A 6 to 4, the flip-flop 11 3 data A 4 is data A 7 to the flip-flop 11 2 is, to the flip-flop 11 1 is stored data A 12. Here, in order to rearrange the data as shown in FIG.
The enable signals of 3 and 12 4 are turned off, and the enable signals of the remaining terminals 12 1 and 12 2 are turned on. As a result, the flip-flops 11 5 and 11 4 stop taking in new data and hold the already stored data (data A 5, A 6 ). At this time, in the changeover selection switch 14, the changeover selection terminal 14c is selected. As a result, the output terminal 15 outputs the data A 4 which is stored in the flip-flop 11 3 and then shifted and taken out.

【0024】図10において、図3に示したように入力
端子10に上記データA8 の次のデータA11がきた時刻
には、フリップフロップ115 にはデータA5 が格納さ
れ、フリップフロップ114 にはデータA6 が、フリッ
プフロップ113 にはデータA7 が、フリップフロップ
112 にはデータA12が、フリップフロップ111 には
データA8 が格納されている。ここで、上述した図4に
示すようなデータの並べ換えを行うには、上記端子12
1 〜124 のイネーブル信号が全てONとされる。これ
により、各フリップフロップ111 〜115 ではデータ
シフトが行われる。また、この時、上記切換選択スイッ
チ14においては、被切換選択端子14aが選択され
る。これにより、出力端子15からは、上記フリップフ
ロップ115 に格納され後にシフトされて取り出される
データA5 が出力されることになる。
In FIG. 10, as shown in FIG. 3, at the time when the next data A 11 of the data A 8 comes to the input terminal 10, the data A 5 is stored in the flip-flop 11 5 , and the flip-flop 11 5 is stored. Data A 6 is stored in 4 , data A 7 is stored in the flip-flop 11 3 , data A 12 is stored in the flip-flop 11 2 , and data A 8 is stored in the flip-flop 11 1 . Here, in order to rearrange the data as shown in FIG.
All the enable signals 1 to 12 4 are turned on. As a result, the data shift is performed in each of the flip-flops 11 1 to 11 5 . At this time, in the changeover selection switch 14, the changeover selection terminal 14a is selected. As a result, the output terminal 15 outputs the data A 5 which is stored in the flip-flop 11 5 and is then shifted and taken out.

【0025】図11において、図3に示したように入力
端子10に上記データA11の次のデータA13がきた時刻
には、フリップフロップ115 にはデータA6 が格納さ
れ、フリップフロップ114 にはデータA7 が、フリッ
プフロップ113 にはデータA12が、フリップフロップ
112 にはデータA8 が、フリップフロップ111 には
データA11が格納されている。ここで、上述した図4に
示すようなデータの並べ換えを行うには、上記端子12
1 〜124 のイネーブル信号が全てONとされる。これ
により、各フリップフロップ111 〜115 ではデータ
シフトが行われる。また、この時、上記切換選択スイッ
チ14においては、被切換選択端子14aが選択され
る。これにより、出力端子15からは、上記フリップフ
ロップ115 に格納され後にシフトされて取り出される
データA6 が出力されることになる。
In FIG. 11, at the time when the next data A 13 following the above data A 11 arrives at the input terminal 10 as shown in FIG. 3, the data A 6 is stored in the flip-flop 11 5 , and the flip-flop 11 Data A 7 is stored in 4; data A 12 is stored in the flip-flop 11 3; data A 8 is stored in the flip-flop 11 2; data A 11 is stored in the flip-flop 11 1 . Here, in order to rearrange the data as shown in FIG.
All the enable signals 1 to 12 4 are turned on. As a result, the data shift is performed in each of the flip-flops 11 1 to 11 5 . At this time, in the changeover selection switch 14, the changeover selection terminal 14a is selected. As a result, the output terminal 15 outputs the data A 6 which is stored in the flip-flop 11 5 and is then shifted and taken out.

【0026】図12において、図3に示したように入力
端子10に上記データA13の次のデータA9 がきた時刻
には、フリップフロップ115 にはデータA7 が格納さ
れ、フリップフロップ114 にはデータA12が、フリッ
プフロップ113 にはデータA8 が、フリップフロップ
112 にはデータA11が、フリップフロップ111 には
データA13が格納されている。ここで、上述した図4に
示すようなデータの並べ換えを行うには、上記端子12
1 〜124 のイネーブル信号が全てONとされる。これ
により、各フリップフロップ111 〜115 ではデータ
シフトが行われる。また、この時、上記切換選択スイッ
チ14においては、被切換選択端子14aが選択され
る。これにより、出力端子15からは、上記フリップフ
ロップ115 に格納され後にシフトされて取り出される
データA7 が出力されることになる。
In FIG. 12, at the time when the next data A 9 of the above data A 13 arrives at the input terminal 10 as shown in FIG. 3, the data A 7 is stored in the flip-flop 11 5 , and the flip-flop 11 5 is stored. Data A 12 is stored in 4; data A 8 is stored in the flip-flop 11 3; data A 11 is stored in the flip-flop 11 2; data A 13 is stored in the flip-flop 11 1 . Here, in order to rearrange the data as shown in FIG.
All the enable signals 1 to 12 4 are turned on. As a result, the data shift is performed in each of the flip-flops 11 1 to 11 5 . At this time, in the changeover selection switch 14, the changeover selection terminal 14a is selected. As a result, the output terminal 15 outputs the data A 7 that is stored in the flip-flop 11 5 and then shifted and taken out.

【0027】図13において、図3に示したように入力
端子10に上記データA9 の次のデータA10がきた時刻
には、フリップフロップ115 にはデータA12が格納さ
れ、フリップフロップ114 にはデータA8 が、フリッ
プフロップ113 にはデータA11が、フリップフロップ
112 にはデータA13が、フリップフロップ111 には
データA9 が格納されている。ここで、上述した図4に
示すようなデータの並べ換えを行うには、上記端子12
4 のイネーブル信号がOFFとされ、残りの端子121
〜123 のイネーブル信号はONとされる。これによ
り、フリップフロップ115 では、新たなデータの取り
込みが停止され既に記憶されているデータの保持(デー
タA12)がなされる。この時、上記切換選択スイッチ1
4においては、被切換選択端子14bが選択される。こ
れにより、出力端子15からは、上記フリップフロップ
114 に格納され後にシフトされて取り出されるデータ
8が出力されることになる。
[0027] In FIG. 13, the next time the data A 10 came in the data A 9 to the input terminal 10 as shown in FIG. 3, the data A 12 is stored in the flip-flop 11 5, flip-flop 11 data A 8 to 4, the flip-flop 11 3 data A 11 is, data A 13 to the flip-flop 11 2 is, the flip-flop 11 1 is stored data A 9 is. Here, in order to rearrange the data as shown in FIG.
The enable signal of 4 is turned off, and the remaining terminals 12 1
The enable signals of ~ 12 3 are turned on. Accordingly, the flip-flop 11 5, holding the data of the new data capture is stored is stopped previously (data A 12) is made. At this time, the changeover selection switch 1
In 4, the switched selection terminal 14b is selected. As a result, the output terminal 15 outputs the data A 8 which is stored in the flip-flop 11 4 and then shifted and taken out.

【0028】図14において、図3に示したように入力
端子10に上記データA10の次のデータA14がきた時刻
には、フリップフロップ115 にはデータA12が、フリ
ップフロップ114 にはデータA11が、フリップフロッ
プ113 にはデータA13が、フリップフロップ112
はデータA9 が、フリップフロップ111 にはデータA
10が格納されている。ここで、上述した図4に示すよう
なデータの並べ換えを行うには、上記端子122 ,12
3 ,124 のイネーブル信号がOFFとされ、残りの端
子121 のイネーブル信号はONとされる。これによ
り、フリップフロップ113 ,114 ,115 では、新
たなデータの取り込みが停止され既に記憶されているデ
ータの保持(データA12,A11,A13)がなされる。こ
の時、上記切換選択スイッチ14においては、被切換選
択端子14dが選択される。これにより、出力端子15
からは、上記フリップフロップ112 に格納され後にシ
フトされて取り出されるデータA9 が出力されることに
なる。
[0028] In FIG. 14, the next time the data A 14 has come of the data A 10 to the input terminal 10 as shown in FIG. 3, data A 12 to the flip-flop 11 5 is the flip-flop 11 4 Is the data A 11 , the flip-flop 11 3 is the data A 13 , the flip-flop 11 2 is the data A 9 , and the flip-flop 11 1 is the data A 13.
10 is stored. Here, to perform the reordering of the data as shown in FIG. 4 described above, the terminals 12 2, 12
The enable signals of 3 and 12 4 are turned off, and the enable signals of the remaining terminals 12 1 are turned on. As a result, the flip-flops 11 3 , 11 4 , and 11 5 stop taking new data and hold the already stored data (data A 12 , A 11 , and A 13 ). At this time, the switch selection switch 14 selects the switch selection terminal 14d. As a result, the output terminal 15
Will output the data A 9 stored in the flip-flop 11 2 and then shifted and taken out.

【0029】図15において、図3に示したように入力
端子10に上記データA14の次のデータA15がきた時刻
には、フリップフロップ115 にはデータA12が、フリ
ップフロップ114 にはデータA11が、フリップフロッ
プ113 にはデータA13が、フリップフロップ112
はデータA10が、フリップフロップ111 にはデータA
14が格納されている。ここで、上記図4のデータの並べ
換えを行うには、上記端子122 ,123 ,124 のイ
ネーブル信号がOFFとされ、残りの端子121 のイネ
ーブル信号はONとされる。これにより、フリップフロ
ップ113 ,114 ,115 では、新たなデータの取り
込みが停止され既に記憶されているデータの保持(デー
タA12,A11,A13)がなされる。この時、上記切換選
択スイッチ14においては、被切換選択端子14dが選
択される。これにより、出力端子15からは、上記フリ
ップフロップ112 に格納され後にシフトされて取り出
されるデータA10が出力されることになる。
In FIG. 15, as shown in FIG. 3, at the time when the next data A 15 after the above data A 14 arrives at the input terminal 10, the data A 12 is sent to the flip-flop 11 5 and the data A 15 is sent to the flip-flop 11 4 . Is the data A 11 , the flip-flop 11 3 is the data A 13 , the flip-flop 11 2 is the data A 10 , and the flip-flop 11 1 is the data A 13.
14 are stored. Here, in order to rearrange the data of FIG. 4, the enable signals of the terminals 12 2 , 12 3 and 12 4 are turned off, and the enable signals of the remaining terminals 12 1 are turned on. As a result, the flip-flops 11 3 , 11 4 , and 11 5 stop taking new data and hold the already stored data (data A 12 , A 11 , and A 13 ). At this time, the switch selection switch 14 selects the switch selection terminal 14d. As a result, the output terminal 15 outputs the data A 10 which is stored in the flip-flop 11 2 and is then shifted and taken out.

【0030】図16において、入力端子10に上記デー
タA15の次の4行4列(図3と同様であり、図3の図中
の各データのAをBに代える)の最初のデータB0 がき
た時刻には、フリップフロップ115 にはデータA12
格納され、フリップフロップ114 にはデータA11が、
フリップフロップ113 にはデータA13が、フリップフ
ロップ112 にはデータA14が、フリップフロップ11
1 にはデータA15が格納されている。ここで、上記デー
タの並べ換えを行うには、上記端子124 のイネーブル
信号がOFFとされ、残りの端子121 〜123 のイネ
ーブル信号はONとされる。これにより、フリップフロ
ップ115 では、新たなデータの取り込みが停止され既
に記憶されているデータの保持(データA12)がなされ
る。この時、上記切換選択スイッチ14においては、被
切換選択端子14bが選択される。これにより、出力端
子15からは、上記フリップフロップ114 に格納され
後にシフトされて取り出されるデータA11が出力される
ことになる。
In FIG. 16, the first data B of the next 4 rows and 4 columns (the same as in FIG. 3 except that A of each data in FIG. 3 is replaced by B) of the above data A 15 is input terminal 10. At time 0 came, to the flip-flop 11 5 contains data a 12, data a 11 to the flip-flop 11 4 is,
The data A 13 is stored in the flip-flop 11 3 and the data A 14 is stored in the flip-flop 11 2.
Data A 15 is stored in 1 . Here, in order to rearrange the data, the enable signal of the terminal 12 4 is turned off, and the enable signals of the remaining terminals 12 1 to 12 3 are turned on. Accordingly, the flip-flop 11 5, holding the data of the new data capture is stored is stopped previously (data A 12) is made. At this time, in the changeover selection switch 14, the changeover selection terminal 14b is selected. As a result, the output terminal 15 outputs the data A 11 that is stored in the flip-flop 11 4 and then shifted and taken out.

【0031】図17において、入力端子10に上記デー
タB0 の次のデータB1 がきた時刻には、フリップフロ
ップ115 にはデータA12が格納され、フリップフロッ
プ114 にはデータA13が、フリップフロップ113
はデータA14が、フリップフロップ112 にはデータA
15が、フリップフロップ111 にはデータB0 が格納さ
れている。ここで、上記データの並べ換えを行うには、
上記端子121 〜124 のイネーブル信号が全てONと
される。これにより、各フリップフロップ111 〜11
5 ではデータシフトが行われる。また、この時、上記切
換選択スイッチ14においては、被切換選択端子14a
が選択される。これにより、出力端子15からは、上記
フリップフロップ115 に格納され後にシフトされて取
り出されるデータA12が出力されることになる。
[0031] In FIG. 17, above the next data B time 1 came data B 0 to the input terminal 10, the flip-flop 11 5 contains data A 12, data A 13 to the flip-flop 11 4 is , The data A 14 is stored in the flip-flop 11 3 and the data A 14 is stored in the flip-flop 11 2.
15 and the data B 0 is stored in the flip-flop 11 1 . Here, to rearrange the above data,
All the enable signals of the terminals 12 1 to 12 4 are turned on. As a result, each of the flip-flops 11 1 to 11
In 5 , data shift is performed. At this time, in the changeover selection switch 14, the changeover selection terminal 14a is selected.
Is selected. As a result, the output terminal 15 outputs the data A 12 that is stored in the flip-flop 11 5 and then shifted and taken out.

【0032】図18において、入力端子10に上記デー
タB1 の次のデータB5 がきた時刻には、フリップフロ
ップ115 にはデータA13が格納され、フリップフロッ
プ114 にはデータA14が、フリップフロップ113
はデータA15が、フリップフロップ112 にはデータB
0 が、フリップフロップ111 にはデータB1 が格納さ
れている。ここで、上記データの並べ換えを行うには、
上記端子121 〜124 のイネーブル信号が全てONと
され、これにより、各フリップフロップ111〜115
ではデータシフトが行われる。また、この時、上記切換
選択スイッチ14においては被切換選択端子14aが選
択される。これにより、出力端子15からは、上記フリ
ップフロップ115 に格納され後にシフトされて取り出
されるデータA13が出力されることになる。
[0032] In FIG. 18, the data B 1 of the next data B 5 came time to the input terminal 10, the flip-flop 11 5 contains data A 13, data A 14 to the flip-flop 11 4 is , The data A 15 is stored in the flip-flop 11 3 and the data B is stored in the flip-flop 11 2.
0 , the data B 1 is stored in the flip-flop 11 1 . Here, to rearrange the above data,
All the enable signals of the terminals 12 1 to 12 4 are turned on, whereby each of the flip-flops 11 1 to 11 5 is turned on.
Then, data shift is performed. Further, at this time, the switch selection switch 14 selects the switch selection terminal 14a. As a result, the output terminal 15 outputs the data A 13 that is stored in the flip-flop 11 5 and then shifted and taken out.

【0033】図19において、入力端子10に上記デー
タB5 の次のデータB6 がきた時刻には、フリップフロ
ップ115 にはデータA14が、フリップフロップ114
にはデータA15が、フリップフロップ113 にはデータ
0 が、フリップフロップ112 にはデータB1 が、フ
リップフロップ111 にはデータB5 が格納されてい
る。ここで、上記データの並べ換えを行うには、上記端
子121 〜124 のイネーブル信号が全てONとされ、
これにより、各フリップフロップ111 〜115ではデ
ータシフトが行われる。また、この時、上記切換選択ス
イッチ14においては被切換選択端子14aが選択され
る。これにより、出力端子15からは、上記フリップフ
ロップ115 に格納され後にシフトされて取り出される
データA14が出力される。
In FIG. 19, at the time when the next data B 6 after the above data B 5 arrives at the input terminal 10, the data A 14 is stored in the flip-flop 11 5 and the data A 14 is stored in the flip-flop 11 4.
Stores the data A 15 , the flip-flop 11 3 stores the data B 0 , the flip-flop 11 2 stores the data B 1 , and the flip-flop 11 1 stores the data B 5 . Here, in order to rearrange the data, all the enable signals of the terminals 12 1 to 12 4 are turned on,
As a result, the data shift is performed in each of the flip-flops 11 1 to 11 5 . Further, at this time, the switch selection switch 14 selects the switch selection terminal 14a. Thus, from the output terminal 15, data A 14 taken out is shifted after being stored in the flip-flop 11 5 is output.

【0034】図20において、入力端子10に上記デー
タB6 の次のデータB2 がきた時刻には、フリップフロ
ップ115 にはデータA15が、フリップフロップ114
にはデータB0 が、フリップフロップ113 にはデータ
1 が、フリップフロップ112 にはデータB5 が、フ
リップフロップ111 にはデータB6 が格納されてい
る。ここで、上記データの並べ換えを行うには、上記端
子121 〜124 のイネーブル信号が全てONとされ、
これにより、各フリップフロップ111 〜115ではデ
ータシフトが行われる。また、この時、上記切換選択ス
イッチ14においては被切換選択端子14aが選択され
る。これにより、出力端子15からは、上記フリップフ
ロップ115 に格納され後にシフトされて取り出される
データA15が出力される。
In FIG. 20, at the time when the next data B 2 after the above data B 6 arrives at the input terminal 10, the flip-flop 11 5 receives the data A 15 and the flip-flop 11 4 returns.
Stores data B 0 , flip-flop 11 3 stores data B 1 , flip-flop 11 2 stores data B 5 , and flip-flop 11 1 stores data B 6 . Here, in order to rearrange the data, all the enable signals of the terminals 12 1 to 12 4 are turned on,
As a result, the data shift is performed in each of the flip-flops 11 1 to 11 5 . Further, at this time, the switch selection switch 14 selects the switch selection terminal 14a. As a result, the output terminal 15 outputs the data A 15 that is stored in the flip-flop 11 5 and then shifted and taken out.

【0035】上述のような処理を行うことで、図3の順
に供給されたデータを図4の順で出力することが可能と
なる。以後、このような処理を繰り返すことで順次供給
される入力データ列に対してもデータの並べ換え処理が
可能となる。
By performing the above-described processing, the data supplied in the order of FIG. 3 can be output in the order of FIG. After that, by repeating such processing, the data rearrangement processing can be performed on the input data sequence that is sequentially supplied.

【0036】このように、本発明の第1の実施例の具体
例回路においては、各構成要素がフリップフロップと切
換選択スイッチのみとなっているため、前述した従来例
の回路のようにRAMを用いる構成に比べて、回路規模
が小さく、高速動作が可能となっている。したがって、
例えば、8行8列の画像データ処理において、例えばD
CTのように行から列に変換する必要のある処理に対し
て高速処理ができ、非常に有効となる。
As described above, in the specific example circuit of the first embodiment of the present invention, each of the constituent elements is only the flip-flop and the changeover selection switch. The circuit scale is smaller than that of the configuration used, and high-speed operation is possible. Therefore,
For example, in image data processing of 8 rows and 8 columns, for example, D
High-speed processing can be performed for processing that requires conversion from rows to columns such as CT, which is extremely effective.

【0037】次に、図21は本発明のデータ列並べ換え
回路の第2の実施例の構成を示している。この図21の
データ列並べ換え回路は、入力端子40に供給された入
力データ列の各データの順番を並べ換えて出力端子45
から出力するデータ列並べ換え回路である。なお、この
第2の実施例において、図22の構成は、図21の各シ
フトレジスタ(r)内の構成を示している。このため、
図22の構成において、端子30には、図21の入力端
子40を介した入力データ或いは前段のシフトレジスタ
からの出力が供給され、図22の端子35からの出力
は、図21の後段のシフトレジスタ或いは切換選択スイ
ッチに送られるようになっている。
Next, FIG. 21 shows the configuration of the second embodiment of the data string rearrangement circuit of the present invention. The data string rearrangement circuit of FIG. 21 rearranges the order of each data of the input data string supplied to the input terminal 40 and outputs the output terminal 45.
It is a data string rearrangement circuit for outputting from. In addition, in the second embodiment, the configuration of FIG. 22 shows the configuration in each shift register (r) of FIG. For this reason,
In the configuration of FIG. 22, the terminal 30 is supplied with the input data via the input terminal 40 of FIG. 21 or the output from the shift register of the previous stage, and the output from the terminal 35 of FIG. 22 is the shift of the latter stage of FIG. It is sent to a register or a changeover selection switch.

【0038】すなわち、この図21及び図22におい
て、第2の実施例のデータ列並べ換え回路は、図22に
示すように、入力データ列の各データが供給され該デー
タを保持すると共に所定の信号として端子42から供給
されるイネーブル信号によって、記憶されているデータ
をシフトするフリップフロップ(FF)と、図21に示
すように、複数の被切換選択端子44S0 ,44S1
・・・,44Sq のうちの何れか1つの被切換選択端子
を選択することで上記複数の被切換端子44S0〜44
q に供給される複数の入力信号の中から1つの信号の
みを選択的に出力する切換選択スイッチ44とを有し、
上記フリップフロップを複数個(例えば図22のように
フリップフロップ311 ,312 ,・・・,31p )設
けると共に各フリップフロップを縦続接続した第1の並
べ換え手段であるシフトレジスタを更に複数個(例えば
図21のシフトレジスタ411 ,412 ,・・・,41
q )設けて各シフトレジスタ411 〜41q を縦続接続
し、上記切換選択スイッチ44は上記縦続接続したシフ
トレジスタ411 〜41q の接続点からの出力を上記複
数の入力信号として上記選択的に出力することで上記入
力データ列の並べ換えを行うようにしたものである。な
お、上記切換選択スイッチ44は、端子43を介した図
示を省略するコントロール回路からの切換コントロール
信号により切換制御される。また、各シフトレジスタ4
1 〜41q の端子421 ,422 ,・・・,42q
供給されるイネーブル信号も上記コントロール回路から
供給されるものである。
That is, in FIG. 21 and FIG. 22, the data string rearrangement circuit of the second embodiment is supplied with each data of the input data string as shown in FIG. As shown in FIG. 21, a flip-flop (FF) that shifts the stored data according to an enable signal supplied from the terminal 42 as shown in FIG. 21 and a plurality of switched selection terminals 44S 0 , 44S 1 ,
, 44S q by selecting one of the selected terminals to be switched, the plurality of switched terminals 44S 0 to 44S.
And a changeover selection switch 44 for selectively outputting only one signal from the plurality of input signals supplied to S q ,
A plurality of the above-mentioned flip-flops (for example, flip-flops 31 1 , 31 2 , ..., 31 p as shown in FIG. 22) are provided, and a plurality of shift registers which are first rearranging means in which the respective flip-flops are connected in cascade are further provided. (For example, the shift registers 41 1 , 41 2 , ..., 41 in FIG.
q ) are provided to connect the shift registers 41 1 to 41 q in cascade, and the changeover selection switch 44 selectively outputs the output from the connection point of the cascaded shift registers 41 1 to 41 q as the plurality of input signals. The input data string is rearranged by outputting to. The changeover selection switch 44 is controlled by a changeover control signal from a control circuit (not shown) via the terminal 43. In addition, each shift register 4
The enable signals supplied to the terminals 42 1 , 42 2 , ..., 42 q of 1 1 to 41 q are also supplied from the control circuit.

【0039】なお、上記第2の実施例においては、図2
3に示すように、図22の構成を第2の並べ換え手段
(R)として、この図22の構成を更に複数個(第2の
並べ換え手段51,512 ,・・・,51r )設けて縦
続接続することも可能である。この場合、図21の出力
端子45から出力されたデータは、図23の構成の後段
の第2の並べ換え手段或いは出力端子55に送られる。
これにより図21の構成によるデータ列並べ換え処理を
何回か続けて行って所望の並べ換えを行うようにするこ
とも可能となっている。
It should be noted that in the second embodiment, as shown in FIG.
As shown in FIG. 3, the configuration shown in FIG. 22 is used as a second rearrangement means (R), and a plurality of the configurations shown in FIG. 22 (second rearrangement means 51, 51 2 , ..., 51 r ) are provided. It is also possible to make a cascade connection. In this case, the data output from the output terminal 45 in FIG. 21 is sent to the second rearrangement unit or the output terminal 55 in the latter stage of the configuration in FIG.
As a result, it is possible to carry out the data sequence rearrangement process with the configuration of FIG. 21 several times in succession to perform the desired rearrangement.

【0040】ここで、図24〜図55を用いて上記第2
の実施例におけるデータ列並べ換え処理の具体例につい
て説明する。
Now, referring to FIGS. 24 to 55, the second
A specific example of the data string rearrangement process in the embodiment will be described.

【0041】図24は上記図21及び図22に示した第
2の実施例のデータ列並べ換え回路の具体例を示してい
る。この図24のデータ列並べ換え回路は、入力端子1
00に供給された入力データ列の各データの順番を並べ
換えて出力端子125から出力するデータ列並べ換え回
路であって、上述した第1の実施例の具体例と同様に、
例えば画像データの圧縮の際に用いられるジグザグ走査
のような画像データの並べ換え処理を行うものである。
なお、この図24の構成は、第2の実施例回路を2個縦
続接続したものであって、当該図24の入力段の構成
は、前述の図21においてシフトレジスタが1個で該シ
フトレジスタ内のフリップフロップが2個の場合の例と
なっており、また、出力段の構成は3つのフリップフロ
ップからなるシフトレジスタと2つのフリップフロップ
からなるシフトレジスタとが設けられた例を示してい
る。
FIG. 24 shows a concrete example of the data string rearrangement circuit of the second embodiment shown in FIGS. 21 and 22. The data string rearrangement circuit of FIG.
00 is a data string rearrangement circuit that rearranges the order of the respective data of the input data string supplied to 00 and outputs it from the output terminal 125, as in the specific example of the first embodiment described above.
For example, the image data rearrangement processing such as the zigzag scanning used when compressing the image data is performed.
The configuration of FIG. 24 is obtained by cascade-connecting two circuits of the second embodiment, and the configuration of the input stage of FIG. 24 is one shift register in FIG. In this example, the number of flip-flops is two, and the configuration of the output stage is an example in which a shift register including three flip-flops and a shift register including two flip-flops are provided. .

【0042】すなわち、この図24の具体例回路おい
て、端子102,112,122にはイネーブル信号が
供給され、フリップフロップ1011 及び1012 から
なるシフトレジスタ101と、フリップフロップ111
1 ,1112 ,1113 からなるシフトレジスタ111
と、フリップフロップ1211 ,1212 からなるシフ
トレジスタ121とが縦続接続されている。
That is, in the specific circuit of FIG. 24, the enable signal is supplied to the terminals 102, 112 and 122, and the shift register 101 including the flip-flops 101 1 and 101 2 and the flip-flop 111.
Shift register 111 including 1 , 111 2 , and 111 3.
And a shift register 121 including flip-flops 121 1 and 121 2 are connected in cascade.

【0043】ここで、シフトレジスタ101と111と
の間には被切換選択端子104a及び104bを有する
切換選択スイッチ104が設けられており、該被切換選
択端子104aには上記フリップフロップ1012 の出
力が供給され、被切換選択端子104bにはフリップフ
ロップ1011 の入力(入力端子100への入力)が供
給されるようになっている。また、当該シフトレジスタ
101のフリップフロップ1011 及び1012 には端
子102からのイネーブル信号が供給され、切換選択ス
イッチ104には端子103を介した切換コントロール
信号が供給されるようになっている。
Here, the changeover selection switch 104 having the changeover selection terminals 104a and 104b is provided between the shift registers 101 and 111, and the output of the flip-flop 101 2 is output to the changeover selection terminal 104a. And the input of the flip-flop 101 1 (input to the input terminal 100) is supplied to the switched selection terminal 104b. Further, the flip-flops 101 1 and 101 2 of the shift register 101 is the enable signal from terminal 102 is supplied to the change-over selector switch 104 switching control signal through the terminal 103 are supplied.

【0044】更に、シフトレジスタ121の後段には3
入力1出力の切換選択スイッチ124が設けられ、この
切換選択スイッチ124の被切換選択端子124aには
シフトレジスタ121のフリップフロップ1212 の出
力が供給され、被切換選択端子124cには上記切換選
択スイッチ104の出力が供給されるようになっている
と共に、被切換選択端子124bは上記シフトレジスタ
111と121との間の接続点と接続されている。ま
た、シフトレジスタ111の各フリップフロップには端
子112を介したイネーブル信号が、シフトレジスタ1
21の各フリップフロップには端子122を介したイネ
ーブル信号が供給され、切換選択スイッチ124には端
子123を介した切換コントロール信号が供給されるよ
うになっている。これらイネーブル信号や切換コントロ
ール信号も前述同様に図示を省略したコントロール回路
から供給されるものである。
Further, in the subsequent stage of the shift register 121, 3
Input 1-output selector selection switch 124 is provided, this is to be switched and selected terminal 124a of the change-over selector switch 124 the output of flip-flop 121 2 of the shift register 121 are supplied, the switching selection switch to be switched and selected terminal 124c The output of 104 is supplied, and the switched selection terminal 124b is connected to the connection point between the shift registers 111 and 121. In addition, an enable signal via the terminal 112 is applied to each flip-flop of the shift register 111.
An enable signal is supplied to each flip-flop 21 through a terminal 122, and a changeover control signal is supplied to a changeover selection switch 124 through a terminal 123. These enable signals and switching control signals are also supplied from a control circuit (not shown) as in the above.

【0045】この図24において、入力端子100に
は、複数のデータすなわち例えば前述の図3に示したよ
うな4行4列の各データからなる入力データ列の各デー
タが行順にシリアル入力(例えばA0 ,A1 ,A5 ,A
6 ,A2 ,A4 ,A7 ,A12,A3 ,A8 ,A11
13,A9 ,A10,A14,A15の順にシリアル入力)さ
れてくるとする。この図24の構成は、上述した図21
及び22の構成を2個直列に接続した例を示しており、
入力段の構成で上記入力データ列の各データの順番をA
0 ,A1 ,A5 ,A6 ,A2 ,A4 ,A7 ,A12
3 ,A13,A8 ,A11,A14,A15,A9 ,A10とい
う順番に並べ換え、出力段の構成で当該入力段の構成に
より並べ換えられたデータの順番をさらにA0 ,A1
2 ,A3 ,A4 ,A5 ,A6 ,A7 ,A8 ,A9 ,A
10,A11,A12,A13,A14,A15という前述した図4
のジグザグ走査により得られるデータの順番に並べ換え
ている。この並べ換え後のデータが出力端子125から
出力される。また、この図24の構成においても、切換
コントロール信号及びイネーブル信号が、上記図4のジ
グザグ走査に応じた信号となされている。
In FIG. 24, a plurality of pieces of data, that is, each piece of data of an input data row composed of each piece of data of 4 rows and 4 columns as shown in FIG. A 0 , A 1 , A 5 , A
6 , A 2 , A 4 , A 7 , A 12 , A 3 , A 8 , A 11 ,
It is assumed that A 13 , A 9 , A 10 , A 14 , and A 15 are serially input in this order). The configuration of FIG. 24 corresponds to that of FIG.
And 22 shows an example in which two configurations of 22 are connected in series,
In the configuration of the input stage, the order of each data of the above input data string is A
0 , A 1 , A 5 , A 6 , A 2 , A 4 , A 7 , A 12 ,
A 3, A 13, A 8 , A 11, A 14, A 15, A 9, A 10 rearranged in order of further order of data rearranged by the arrangement of the input stage in the construction of output stage A 0, A 1 ,
A 2 , A 3 , A 4 , A 5 , A 6 , A 7 , A 8 , A 9 , A
10 , A 11 , A 12 , A 13 , A 14 , A 15 shown in FIG.
The data is rearranged in the order of data obtained by zigzag scanning. The rearranged data is output from the output terminal 125. Also in the configuration of FIG. 24, the switching control signal and the enable signal are signals corresponding to the zigzag scanning of FIG.

【0046】ここで、図25〜図40は上記図24の入
力段構成(シフトレジスタ101及び切換選択スイッチ
104等)と同じ構成を示している。先ず、図25にお
いて、入力端子100には、前記図3の1行目からデー
タA0 ,A1 ,A5 ,A6 ,A2 ,A4 ,A7 ,A12
3 ,A8 ,A11,A13,A9 ,A10,A14,A15の順
にシリアル入力されてくる。この時、上記端子102に
供給されるイネーブル信号はON(例えばハイレベル)
とされる。これにより、各フリップフロップ1011
1012 では、上記供給された各データが順にシフトさ
れる。したがって、入力端子100に上記データA1
次のデータA5 がきた時(時刻)には、フリップフロッ
プ1012 にはデータA0 が格納され、フリップフロッ
プ1011 にはデータA1 が格納されていることにな
る。また、この場合、切換選択スイッチ104は、端子
103(図示省略)を介した切換コントロール信号によ
り被切換選択端子104aが選択されることで、端子1
05からは、上記フリップフロップ1012 に格納され
た後にシフトされて取り出されるデータA0 が出力され
ることになる。
25 to 40 show the same structure as the input stage structure (shift register 101, changeover selection switch 104, etc.) of FIG. 24. First, in FIG. 25, the data A 0 , A 1 , A 5 , A 6 , A 2 , A 4 , A 7 , A 12 , from the first row of FIG.
A 3, A 8, A 11 , A 13, A 9, A 10, A 14, coming is serially inputted in the order of A 15. At this time, the enable signal supplied to the terminal 102 is ON (for example, high level).
It is said that As a result, each flip-flop 101 1 ,
At 101 2 , the supplied data are sequentially shifted. Therefore, when the next data A 5 of the data A 1 came to an input terminal 100 (time), the flip-flop 101 2 is stored data A 0, data A 1 is stored in the flip-flop 101 1 Will be. Further, in this case, the changeover selection switch 104 selects the terminal 1a to be changed over by the changeover control signal via the terminal 103 (not shown).
From 05, the data A 0 that is stored in the flip-flop 101 2 and then shifted and taken out is output.

【0047】次に、図26において、前記図3に示した
ように入力端子100に上記データA5 の次のデータA
6 がきた時(時刻)には、フリップフロップ1012
はデータA1 が、フリップフロップ1011 にはデータ
5 が格納されていることになる。なお、この時のイネ
ーブル信号もONとなされる。また、この場合、切換選
択スイッチ104の被切換選択端子104aが選ばれる
ことで、上記端子105からは、上記フリップフロップ
1012 に格納された後にシフトされて取り出されるデ
ータA1 が出力されることになる。
Next, referring to FIG. 26, as shown in FIG. 3, the data A 5 next to the data A 5 is input to the input terminal 100.
The time (time) of 6 has come, the data A 1 to the flip-flop 101 2 is, so that the stored data A 5 are the flip-flop 101 1. The enable signal at this time is also turned on. Further, in this case, by selecting the switched selection terminal 104a of the selection switch 104, the terminal 105 outputs the data A 1 stored in the flip-flop 101 2 and then shifted and taken out. become.

【0048】更に、図27において、前記図3のように
入力端子100に上記データA6 の次のデータA2 がき
た時刻には、フリップフロップ1012 にはデータA5
が、フリップフロップ1011 にはデータA6 が格納さ
れていることになる。なお、この時のイネーブル信号も
ONとなされる。また、切換選択スイッチ104は被切
換選択端子104aが選ばれ、上記端子105からは上
記フリップフロップ1012 に格納された後にシフトさ
れて取り出されるデータA5 が出力されることになる。
Further, in FIG. 27, at the time when the next data A 2 after the above data A 6 arrives at the input terminal 100 as shown in FIG. 3, the flip-flop 101 2 receives the data A 5
However, the data A 6 is stored in the flip-flop 101 1 . The enable signal at this time is also turned on. Further, the changeover selection switch 104 selects the changeover selection terminal 104a, and the terminal 105 outputs the data A 5 which is stored in the flip-flop 101 2 and then shifted and taken out.

【0049】以下同様に、図28においては入力端子1
00にデータA4 が供給されて端子105からはデータ
6 が出力され、図29においては入力端子100にデ
ータA7 が供給されて端子105からはデータA2 が出
力され、図30においては入力端子100にデータA12
が供給されて端子105からはデータA4 が出力され、
図31においては入力端子100にデータA3 が供給さ
れて端子105からはデータA7 が出力され、図32に
おいては入力端子100にデータA4 が供給されて端子
105からはデータA12が出力され、図33においては
入力端子100にデータA11が供給されて端子105か
らはデータA3 が出力される。
Similarly, the input terminal 1 in FIG.
Data A 4 is supplied to 00 and data A 6 is output from the terminal 105, data A 7 is supplied to the input terminal 100 in FIG. 29, data A 2 is output from the terminal 105, and in FIG. Data A 12 on input terminal 100
Is supplied and data A 4 is output from the terminal 105,
In FIG. 31, the data A 3 is supplied to the input terminal 100 and the data A 7 is output from the terminal 105. In FIG. 32, the data A 4 is supplied to the input terminal 100 and the data A 12 is output from the terminal 105. In FIG. 33, the data A 11 is supplied to the input terminal 100 and the data A 3 is output from the terminal 105.

【0050】また、図34において、入力端子100に
上記データA11の次のデータA13がきた時刻には、フリ
ップフロップ1012 にはデータA8 が、フリップフロ
ップ1011 にはデータA11が格納されている。この
時、上記端子102へのイネーブル信号がOFFとされ
る。これにより、フリップフロップ1011 及び101
2 では、新たなデータの取り込みが停止され、既に記憶
されているデータの保持(データA8 及びA11)がなさ
れる。また、この時、切換選択スイッチ104は被切換
選択端子104bが選ばれる。これにより、端子105
からは上記入力端子100に供給されたデータA13がそ
のまま出力されることになる。
Further, in FIG. 34, at the time when the next data A 13 of the above data A 11 arrives at the input terminal 100, the data A 8 is stored in the flip-flop 101 2 and the data A 11 is stored in the flip-flop 101 1. It is stored. At this time, the enable signal to the terminal 102 is turned off. As a result, the flip-flops 101 1 and 101
In 2 , the acquisition of new data is stopped and the already stored data is held (data A 8 and A 11 ). Further, at this time, as the changeover selection switch 104, the changeover selection terminal 104b is selected. As a result, the terminal 105
Therefore, the data A 13 supplied to the input terminal 100 is directly output.

【0051】図35と図36においては、イネーブル信
号が共にONとされ、切換選択スイッチ104の被切換
選択端子104aが選ばれる。これにより、図35で
は、入力端子100にデータA9 が供給されて端子10
5からはデータA8 が出力され、図36においては入力
端子100にデータA10が供給されて端子105からは
データA11が出力される。
In FIG. 35 and FIG. 36, the enable signals are both turned on, and the switch selection terminal 104a of the switch selection switch 104 is selected. As a result, in FIG. 35, the data A 9 is supplied to the input terminal 100 and the terminal 10 receives the data A 9.
5, data A 8 is output, in FIG. 36, data A 10 is supplied to the input terminal 100 and data A 11 is output from the terminal 105.

【0052】図37と図38においては、イネーブル信
号が共にOFFとされ、切換選択スイッチ104の被切
換選択端子104bが選ばれる。これにより、図37で
は、入力端子100にデータA14が供給されて端子10
5からはそのままデータA14が出力され、図38におい
ては入力端子100にデータA15が供給されて端子10
5からはデータA15がそのまま出力される。
In FIGS. 37 and 38, the enable signals are both turned off, and the switch selection terminal 104b of the switch selection switch 104 is selected. As a result, in FIG. 37, the data A 14 is supplied to the input terminal 100 and
5, the data A 14 is output as it is, and the data A 15 is supplied to the input terminal 100 in FIG.
Data A 15 is output from 5 as it is.

【0053】図39と図40においては、イネーブル信
号が共にONとされ、切換選択スイッチ104の被切換
選択端子104aが選ばれる。この図39の入力端子1
00には上記データ15の次の4行4列(図3と同様であ
り、図3の図中の各データAをBに代える)の最初のデ
ータB0 が供給される。これにより、図39では、入力
端子100にデータB0 が供給されて端子105からは
データA9 が出力され、図40においては入力端子10
0にデータB0 の次のデータB1 が供給されて端子10
5からはデータA15が出力される。
In FIGS. 39 and 40, the enable signals are both turned on, and the switch selection terminal 104a of the switch selection switch 104 is selected. Input terminal 1 of FIG. 39
00 is supplied with the first data B 0 of the next 4 rows and 4 columns of the data 15 (similar to FIG. 3 and replacing each data A in the drawing of FIG. 3 with B). As a result, in FIG. 39, the data B 0 is supplied to the input terminal 100 and the data A 9 is output from the terminal 105, and in FIG.
0 is supplied with the next data B 1 of the data B 0 and the terminal 10
Data A 15 is output from 5.

【0054】上述したようにして、図24の入力段構成
により図3の順(A0 ,A1 ,A5,A6 ,A2
4 ,A7 ,A12,A3 ,A8 ,A11,A13,A9 ,A
10,A14,A15の順)に供給されたデータを前述したA
0 ,A1 ,A5 ,A6 ,A2 ,A4 ,A7 ,A12
3 ,A13,A8 ,A11,A14,A15,A9 ,A10の順
に並べ換える処理がなされる。
As described above, according to the input stage configuration of FIG. 24, the order (A 0 , A 1 , A 5 , A 6 , A 2 , A 2 ,
A 4 , A 7 , A 12 , A 3 , A 8 , A 11 , A 13 , A 9 , A
The data supplied in the order of 10 , A 14 , A 15 )
0 , A 1 , A 5 , A 6 , A 2 , A 4 , A 7 , A 12 ,
Processing for rearranging A 3 , A 13 , A 8 , A 11 , A 14 , A 15 , A 9 , and A 10 is performed.

【0055】図41〜図56は上記図24の出力段構成
(シフトレジスタ111,121及び切換選択スイッチ
124等)と同じ構成を示している。先ず、図41にお
いて、端子105は上記図25〜図40の端子105と
同じものである。この端子105には、上述した図24
の入力段構成により並べ換えられたデータがA0
1 ,A5 ,A6 ,A2 ,A4 ,A7 ,A12,A3 ,A
13,A8 ,A11,A14,A15,A9 ,A10の順にシリア
ル入力されてくる。この時、上記端子112及び122
に供給されるイネーブル信号はONとされる。これによ
り、各フリップフロップ1111 ,1112 ,1113
及び1211 ,1212 では、上記供給された各データ
が順にシフトされる。したがって、端子105に上記デ
ータA2 の次のデータA4 がきた時刻には、フリップフ
ロップ1212 にはデータA0 が格納され、フリップフ
ロップ1211 にはデータA1 が、フリップフロップ1
113にはデータA5 が、フリップフロップ1112
はデータA6 が、フリップフロップ1111 にはデータ
2 が格納されていることになる。また、この場合、切
換選択スイッチ124は、端子123(図示省略)を介
した切換コントロール信号により被切換選択端子124
aが選択されることで、端子125からは、上記フリッ
プフロップ1212 に格納された後にシフトされて取り
出されるデータA0 が出力されることになる。
41 to 56 show the same configuration as the output stage configuration (shift registers 111, 121, changeover selection switch 124, etc.) shown in FIG. First, in FIG. 41, the terminal 105 is the same as the terminal 105 in FIGS. 25 to 40. The terminal 105 is connected to the terminal shown in FIG.
Data rearranged by the input stage configuration of A 0 ,
A 1 , A 5 , A 6 , A 2 , A 4 , A 7 , A 12 , A 3 , A
Serial inputs are made in the order of 13 , A 8 , A 11 , A 14 , A 15 , A 9 , and A 10 . At this time, the terminals 112 and 122
The enable signal supplied to is turned on. As a result, each of the flip-flops 111 1 , 111 2 , 111 3
And 121 1 and 121 2 , the supplied data are sequentially shifted. Therefore, the next data A 4 came time of the data A 2 to the terminal 105, the flip-flop 121 2 is stored data A 0, data A 1 to the flip-flop 121 1, flip-flop 1
11 3 stores the data A 5 , the flip-flop 111 2 stores the data A 6 , and the flip-flop 111 1 stores the data A 2 . Further, in this case, the changeover selection switch 124 is operated by the changeover control signal via the terminal 123 (not shown).
When a is selected, the data A 0 that is stored in the flip-flop 121 2 and then shifted and taken out is output from the terminal 125.

【0056】次に、図42において、端子105に上記
データA4 の次のデータA7 がきた時刻には、フリップ
フロップ1212 にはデータA1 が、フリップフロップ
1211 にはデータA5 が、フリップフロップ1113
にはデータA6 が、フリップフロップ1112 にはデー
タA2 が、フリップフロップ1111 にはデータA4
格納されていることになる。この時のイネーブル信号は
ONで、切換選択スイッチ104は被切換選択端子10
4aが選ばれることで、上記端子125からは、上記フ
リップフロップ1212 に格納された後にシフトされて
取り出されるデータA1 が出力されることになる。
Next, in FIG. 42, at the time when the next data A 7 after the above data A 4 arrives at the terminal 105, the data A 1 is stored in the flip-flop 121 2 , and the data A 5 is stored in the flip-flop 121 1. , Flip-flop 111 3
The data A 6 is stored in the flip-flop 111 2 , the data A 2 is stored in the flip-flop 111 2 , and the data A 4 is stored in the flip-flop 111 1 . At this time, the enable signal is ON, and the selection switch 104 is the selected terminal 10 to be switched.
By selecting 4a, the data A 1 that is stored in the flip-flop 121 2 and then shifted and taken out is output from the terminal 125.

【0057】更に、図43において、端子105にデー
タA12がきた時刻には、フリップフロップ1212 には
データA5 が、フリップフロップ1211 にはデータA
6 が、フリップフロップ1113 にはデータA2 が、フ
リップフロップ1112 にはデータA4 が、フリップフ
ロップ1111 にはデータA7 が格納されていることに
なる。この時、上記端子122へのイネーブル信号をO
FFとし、端子112へのイネーブル信号をONとす
る。これにより、フリップフロップ1211 及び121
2 では新たなデータの取り込みが停止されて既に記憶さ
れているデータの保持(データA5 及びA6 )がなさ
れ、フリップフロップ1111 ,1112 ,1113
はデータシフトが行われる。この時、切換選択スイッチ
124は被切換選択端子124bが選ばれる。これによ
り、端子125からは上記フリップフロップ1113
格納された後にシフトされて取り出されるデータA2
出力されることになる。
Further, in FIG. 43, when the data A 12 arrives at the terminal 105, the data A 5 is stored in the flip-flop 121 2 and the data A 12 is stored in the flip-flop 121 1.
6 , the data A 2 is stored in the flip-flop 111 3 , the data A 4 is stored in the flip-flop 111 2 , and the data A 7 is stored in the flip-flop 111 1 . At this time, the enable signal to the terminal 122 is set to O.
FF, and the enable signal to the terminal 112 is turned on. As a result, the flip-flops 121 1 and 121
At 2 , the acquisition of new data is stopped and the already stored data is retained (data A 5 and A 6 ), and the flip-flops 111 1 , 111 2 , 111 3 perform data shift. At this time, as the changeover selection switch 124, the changeover selected terminal 124b is selected. As a result, the data A 2 stored in the flip-flop 111 3 and then shifted and taken out is output from the terminal 125.

【0058】図44において、端子105にデータA3
がきた時刻には、フリップフロップ1212 にはデータ
5 が、フリップフロップ1211 にはデータA6 が、
フリップフロップ1113 にはデータA4 が、フリップ
フロップ1112 にはデータA7 が、フリップフロップ
1111 にはデータA12が格納されている。この時、上
記端子112及び122へのイネーブル信号をOFFと
する。これにより、各フリップフロップでは新たなデー
タの取り込みが停止されて既に記憶されているデータの
保持(データA5 ,A6 ,A4 ,A7 ,A12)がなされ
る。またこの時、切換選択スイッチ124は被切換選択
端子124cが選ばれる。これにより、端子125から
は上記端子105に供給されたデータA3 がそのまま出
力されることになる。
In FIG. 44, data A 3 is input to the terminal 105.
When the time comes, the data A 5 is stored in the flip-flop 121 2 and the data A 6 is stored in the flip-flop 121 1 .
The flip-flop 111 3 stores data A 4 , the flip-flop 111 2 stores data A 7 , and the flip-flop 111 1 stores data A 12 . At this time, the enable signals to the terminals 112 and 122 are turned off. As a result, the fetching of new data is stopped in each flip-flop, and the already stored data is retained (data A 5 , A 6 , A 4 , A 7 , A 12 ). At this time, the selection terminal 124c is selected as the selection switch 124. As a result, the data A 3 supplied to the terminal 105 is directly output from the terminal 125.

【0059】図45において、端子105にデータA13
がきた時刻には、フリップフロップ1212 にはデータ
5 が、フリップフロップ1211 にはデータA6 が、
フリップフロップ1113 にはデータA4 が、フリップ
フロップ1112 にはデータA7 が、フリップフロップ
1111 にはデータA12が格納されている。この時、上
記端子122へのイネーブル信号をOFFとし、端子1
12へのイネーブル信号をONとする。これにより、フ
リップフロップ1211 及び1212 では新たなデータ
の取り込みが停止されて既に記憶されているデータの保
持(データA5及びA6 )がなされ、フリップフロップ
1111 ,1112 ,1113 ではデータシフトが行わ
れる。また、切換選択スイッチ124は被切換選択端子
124bが選ばれる。これにより、端子125からは上
記フリップフロップ1113 に格納された後にシフトさ
れて取り出されるデータA4 が出力される。
In FIG. 45, data A 13 is input to the terminal 105.
When the time comes, the data A 5 is stored in the flip-flop 121 2 and the data A 6 is stored in the flip-flop 121 1 .
The flip-flop 111 3 stores data A 4 , the flip-flop 111 2 stores data A 7 , and the flip-flop 111 1 stores data A 12 . At this time, the enable signal to the terminal 122 is turned off and the terminal 1
The enable signal to 12 is turned on. As a result, the fetching of new data is stopped in the flip-flops 121 1 and 121 2 , and the data already stored (data A 5 and A 6 ) is held, and the flip-flops 111 1 , 111 2 , and 111 3 are held. Data shift is performed. Further, as the changeover selection switch 124, the changeover selection terminal 124b is selected. As a result, the data A 4 stored in the flip-flop 111 3 and then shifted and taken out is output from the terminal 125.

【0060】図46,図47,図48においては、イネ
ーブル信号が共にONとされ、切換選択スイッチ124
の被切換選択端子124aが選ばれる。これにより、図
46では、端子105にデータA8 が供給されると共に
各フリップフロップにおいてデータシフトが行われて出
力端子からはフリップフロップ1212 からのデータA
5 が出力され、同じく、図47においては端子105に
データA11が供給されて端子125からはデータA6
出力され、図48においては端子105にデータA14
供給されて端子125からはデータA7 が出力される。
In FIG. 46, FIG. 47, and FIG. 48, the enable signals are both turned on, and the changeover selection switch 124 is turned on.
The switched selection terminal 124a is selected. Accordingly, in FIG. 46, the data A 8 is supplied to the terminal 105, the data shift is performed in each flip-flop, and the data A 8 from the flip-flop 121 2 is output from the output terminal.
5 is output, likewise, data is output A 6 from the terminal 125 the data A 11 to the terminal 105 is supplied in FIG. 47, from the terminal 125 the data A 14 to the terminal 105 is supplied in FIG. 48 Data A 7 is output.

【0061】以下同様にして、図49では端子122へ
のイネーブル信号がOFFで端子112へのイネーブル
信号がONとなされると共に被切換選択端子124bが
選ばれ、図50及び図51では各イネーブル信号が共に
OFFとなされると共に被切換選択端子124cが選ば
れ、図52では端子122へのイネーブル信号がOFF
で端子112へのイネーブル信号がONとなされると共
に被切換選択端子124bが選ばれ、図53,図54,
図55,図56では各イネーブル信号が共にONとなさ
れると共に被切換選択端子124aが選ばれる。これに
より、図49では端子105にデータA15が供給されて
端子125からはデータA8 が出力され、図50では端
子105にデータA9 が供給されて端子125からはデ
ータA9がそのまま出力され、図51では端子105に
データA10が供給されて端子125からはデータA10
そのまま出力され、図52では端子105にデータA15
の次の4行4列のデータB0 が供給されて端子125か
らはデータA11が出力され、図53では端子105にデ
ータB1 が供給されて端子125からはデータA12が出
力され、図54では端子105にデータB5 が供給され
て端子125からはデータA13が出力され、図55では
端子105にデータB6 が供給されて端子125からは
データA14が出力され、図56では端子105にデータ
2 が供給されて端子125からはデータA15が出力さ
れる。
Similarly, in FIG. 49, the enable signal to the terminal 122 is turned off and the enable signal to the terminal 112 is turned on, and the switch selection terminal 124b is selected. In FIGS. 50 and 51, each enable signal is selected. Are turned off and the selected terminal to be switched 124c is selected, and the enable signal to the terminal 122 is turned off in FIG.
The enable signal to the terminal 112 is turned on, and the switched selection terminal 124b is selected.
In FIG. 55 and FIG. 56, each enable signal is turned on and the switched selection terminal 124a is selected. As a result, in FIG. 49, the data A 15 is supplied to the terminal 105 and the data A 8 is output from the terminal 125, and in FIG. 50, the data A 9 is supplied to the terminal 105 and the data A 9 is directly output from the terminal 125. 51, the data A 10 is supplied to the terminal 105 and the data A 10 is directly output from the terminal 125. In FIG. 52, the data A 15 is output to the terminal 105.
The data B 0 of the next 4 rows and 4 columns is supplied and the data A 11 is output from the terminal 125. In FIG. 53, the data B 1 is supplied to the terminal 105 and the data A 12 is output from the terminal 125. 54, the data B 5 is supplied to the terminal 105 and the data A 13 is output from the terminal 125. In FIG. 55, the data B 6 is supplied to the terminal 105 and the data A 14 is output from the terminal 125 in FIG. Then, the data B 2 is supplied to the terminal 105 and the data A 15 is output from the terminal 125.

【0062】上述したようにして、図24の入力段構成
によりA0 ,A1 ,A5 ,A6 ,A2 ,A4 ,A7 ,A
12,A3 ,A13,A8 ,A11,A14,A15,A9 ,A10
の順に供給されたデータをA0 ,A1 ,A2 ,A3 ,A
4 ,A5 ,A6 ,A7 ,A8,A9 ,A10,A11
12,A13,A14,A15という前述した図4のジグザグ
走査により得られるデータの順番に並べ換えている。
As described above, according to the input stage configuration of FIG. 24, A 0 , A 1 , A 5 , A 6 , A 2 , A 4 , A 7 , A
12 , A 3 , A 13 , A 8 , A 11 , A 14 , A 15 , A 9 , A 10
The data supplied in the order of A 0 , A 1 , A 2 , A 3 , A
4 , A 5 , A 6 , A 7 , A 8 , A 9 , A 10 , A 11 ,
The data items A 12 , A 13 , A 14 , and A 15 are rearranged in the order of the data obtained by the zigzag scanning of FIG.

【0063】この図24の構成においても、前述した第
1の実施例の具体例回路のように、高速動作と回路規模
の小型化が可能となる。
Also in the configuration of FIG. 24, high-speed operation and miniaturization of the circuit scale can be realized as in the concrete circuit of the first embodiment described above.

【0064】また、上述した図24の第2の実施例の具
体例回路構成によれば、切換選択スイッチ104及び1
24を2入力1出力及び3入力1出力のものとしている
ので、前述した図2に示した第1の実施例の具体例回路
の切換選択スイッチ14のような5入力1出力のものよ
りも高速で動作させることが可能となる。
Further, according to the specific example circuit configuration of the second embodiment of FIG. 24, the changeover selection switches 104 and 1 are provided.
Since 24 is for 2-input 1-output and 3-input 1-output, it is faster than 5-input 1-output such as the changeover selection switch 14 of the concrete example circuit of the first embodiment shown in FIG. It is possible to operate with.

【0065】上述した本発明の第2の実施例の他の具体
例としては、図57に示すような構成をも挙げることが
できる。この他の具体例回路は、上述した図24の具体
例回路のような処理を行う回路であって、例えば、入力
データが3ビット語長である場合の例を示し、入力段に
おいてパラレル/シリアル変換を行った後、ビットシリ
アルデータとしてこのデータの並べ換え処理を行うよう
にしたものである。
As another specific example of the above-described second embodiment of the present invention, a configuration as shown in FIG. 57 can be cited. Another specific example circuit is a circuit that performs processing similar to the specific example circuit of FIG. 24 described above, and shows, for example, a case where input data has a 3-bit word length, and parallel / serial in the input stage. After conversion, this data is rearranged as bit serial data.

【0066】すなわち、この図57の構成においては、
パラレル/シリアル変換回路200及びシリアル/パラ
レル変換回路201と、3つのフリップフロップ131
1 ,1312 ,1313 からなるシフトレジスタ131
と、フリップフロップ1411 〜1413 からなるシフ
トレジスタ141と、フリップフロップ1511 〜15
3 からなるシフトレジスタ151と、フリップフロッ
プ1611 〜1613からなるシフトレジスタ161
と、フリップフロップ1711 〜1713 からなるシフ
トレジスタ171と、フリップフロップ1811 〜18
3 からなるシフトレジスタ181と、フリップフロッ
プ1911 〜1913 からなるシフトレジスタ191と
を有し、これらが縦続接続されている。また、シフトレ
ジスタ141と151との間には被切換選択端子134
a及び134bを有する切換選択スイッチ134が設け
られており、該被切換選択端子134aには上記フリッ
プフロップ1412 の出力が供給され、被切換選択端子
134bにはフリップフロップ1311 の入力が供給さ
れるようになっている。更に、当該シフトレジスタ13
1のフリップフロップ1311 〜1313 と、シフトレ
ジスタ141のフリップフロップ1411 〜1413
には端子132からのイネーブル信号が供給され、切換
選択スイッチ134には端子133を介した切換コント
ロール信号が供給されるようになっている。
That is, in the configuration of FIG. 57,
Parallel / serial conversion circuit 200, serial / parallel conversion circuit 201, and three flip-flops 131
A shift register 131 composed of 1 , 131 2 , 131 3.
And a shift register 141 composed of flip-flops 141 1 to 141 3 , and flip-flops 151 1 to 15
Shift register 151 composed of 1 3 and shift register 161 composed of flip-flops 161 1 to 161 3.
When a shift register 171 composed of flip-flops 171 1 to 171 3, the flip-flop 181 1-18
A shift register 181 composed of 1 3, and a shift register 191 composed of flip-flops 191 1 to 191 3, it is connected in cascade. Further, between the shift registers 141 and 151, there is a switched selection terminal 134.
A changeover selection switch 134 having a and 134b is provided, the output of the flip-flop 141 2 is supplied to the changeover selected terminal 134a, and the input of the flip-flop 131 1 is supplied to the changeover selected terminal 134b. It has become so. Further, the shift register 13
A first flip-flop 131 1 to 131 3, the enable signal from the terminal 132 is supplied to the flip-flop 141 1 to 141 3 of the shift register 141, switching control signals to switching selection switch 134 via the terminal 133 It is being supplied.

【0067】更に、シフトレジスタ191の後段には3
入力1出力の切換選択スイッチ194が設けられ、この
切換選択スイッチ194の被切換選択端子194aには
シフトレジスタ191のフリップフロップ1913 の出
力が供給され、被切換選択端子194cには上記切換選
択スイッチ134の出力が供給されるようになっている
と共に、被切換選択端子194bは上記シフトレジスタ
171と181との間の接続点と接続されている。ま
た、シフトレジスタ151,161,171の各フリッ
プフロップには端子152を介したイネーブル信号が、
シフトレジスタ181及び191の各フリップフロップ
には端子182を介したイネーブル信号が供給され、切
換選択スイッチ194には端子193を介した切換コン
トロール信号が供給されるようになっている。これらイ
ネーブル信号や切換コントロール信号も前述同様に図示
を省略したコントロール回路から供給されるものであ
る。
Further, in the subsequent stage of the shift register 191, there are 3
Is provided changeover selection switch 194 of the input 1 output, this is to be switched and selected terminal 194a of switching the selection switch 194 is supplied the output of the flip-flop 191 3 of the shift register 191, the switching selection switch to be switched and selected terminal 194c The output of 134 is supplied, and the switched selection terminal 194b is connected to the connection point between the shift registers 171 and 181. Further, the enable signal via the terminal 152 is supplied to each flip-flop of the shift registers 151, 161, 171.
The flip-flops of the shift registers 181 and 191 are supplied with an enable signal via a terminal 182, and the changeover selection switch 194 is supplied with a changeover control signal via a terminal 193. These enable signals and switching control signals are also supplied from a control circuit (not shown) as in the above.

【0068】この図57の回路において、入力端子13
1 ,1302 ,1303 には、上記3ビット語長のデ
ータの各データが供給される。例えば、入力端子130
1 には最上位ビット(MSB)が、入力端子1303
は最下位ビット(LSB)が供給される。この入力デー
タはパラレル/シリアル変換回路200によりシリアル
データとして後段の構成に供給される。
In the circuit of FIG. 57, the input terminal 13
Each of the data of the 3-bit word length is supplied to 0 1 , 130 2 , 130 3 . For example, the input terminal 130
The most significant bit (MSB) is supplied to 1 , and the least significant bit (LSB) is supplied to the input terminal 130 3 . This input data is supplied to the subsequent stage configuration as serial data by the parallel / serial conversion circuit 200.

【0069】ここで、上記シフトレジスタ131は前述
の図24のフリップフロップ1011 と対応し、シフト
レジスタ141は前記フリップフロップ1012 と、切
換選択スイッチ134は前記切換選択スイッチ104
と、シフトレジスタ151は前記フリップフロップ11
1 と、シフトレジスタ161は前記フリップフロップ
1112 と、シフトレジスタ171は前記フリップフロ
ップ1113 と、シフトレジスタ181は前記フリップ
フロップ1211 と、シフトレジスタ191は前記フリ
ップフロップ1212 と、切換選択スイッチ194は前
記切換選択スイッチ124と対応している。また、端子
132は前記端子102と対応し、端子133は前記端
子103と、端子152は前記端子112と、端子18
2は前記端子122と、端子193は前記端子123と
それぞれ対応している。この図57における各部の動作
は前述の図24と同じとなされるため、説明は省略す
る。ただし、この図57の構成においては、図24の回
路と異なり、3ビット単位で処理がなされる。データ列
が並べ換えられたデータは、シリアル/パラレル変換回
路201を介することで再び3ビット語長のデータに変
換され、出力端子1911 〜1913 から出力される。
The shift register 131 corresponds to the flip-flop 101 1 shown in FIG. 24, the shift register 141 is the flip-flop 101 2, and the changeover selection switch 134 is the changeover selection switch 104.
And the shift register 151 is the flip-flop 11
1 1 , the shift register 161 is the flip-flop 111 2 , the shift register 171 is the flip-flop 111 3 , the shift register 181 is the flip-flop 121 1 , the shift register 191 is the flip-flop 121 2 , and switching selection is performed. The switch 194 corresponds to the changeover selection switch 124. Also, the terminal 132 corresponds to the terminal 102, the terminal 133 is the terminal 103, the terminal 152 is the terminal 112, and the terminal 18.
2 corresponds to the terminal 122, and the terminal 193 corresponds to the terminal 123. Since the operation of each unit in FIG. 57 is the same as that in FIG. 24 described above, the description thereof will be omitted. However, in the configuration of FIG. 57, unlike the circuit of FIG. 24, processing is performed in units of 3 bits. The data in which the data strings have been rearranged is again converted into 3-bit word length data by passing through the serial / parallel conversion circuit 201, and output from the output terminals 191 1 to 191 3 .

【0070】この図57の構成においても、前述した図
24と同様の処理を行うことができる。なお、このよう
に3ビット語長のデータの処理を行う場合には、上記図
57の構成の代わりに、図24の構成を3つ並列に配置
し、上記3ビットの各桁毎に図24の構成を1個づつ割
り当てて処理するようにしてもよい。ただし、図57を
用いることにより各構成要素を結ぶ配線長を短くするこ
とができる。また、切換選択スイッチの数も図24の構
成を3つ並列に配する場合よりも1/3にすることがで
きる。なお、今後、技術が進歩した時、他の演算回路も
高速動作が可能となることが期待でき、この高速動作が
可能になった場合には、図57のパラレル/シリアル変
換回路200及びシリアル/パラレル変換回路201
は、不要となり、より構成の簡略化が可能となる。
Also in the configuration of FIG. 57, the same processing as that of FIG. 24 described above can be performed. In the case of processing data having a 3-bit word length in this manner, instead of the configuration shown in FIG. 57, three configurations shown in FIG. 24 are arranged in parallel and each digit of the 3-bits shown in FIG. The above configurations may be assigned one by one and processed. However, by using FIG. 57, it is possible to shorten the wiring length connecting the respective constituent elements. Further, the number of changeover selection switches can be reduced to 1/3 as compared with the case where three configurations in FIG. 24 are arranged in parallel. It should be noted that, in the future, as the technology advances, it can be expected that other arithmetic circuits can also operate at high speed. When this high speed operation becomes possible, the parallel / serial conversion circuit 200 and the serial / serial conversion circuit 200 of FIG. Parallel conversion circuit 201
Are unnecessary, and the configuration can be further simplified.

【0071】上述したように、本発明の実施例のデータ
列並べ換え回路によれば、RAMを使用せずに、フリッ
プフロップと切換選択スイッチのみで構成されているた
め、高速動作が可能となっている。また、従来例のよう
にRAMを用いた場合、このRAMはデータをビットシ
リアルで扱えるほどの高速動作はできないため、外部と
のデータのやりとりでは、逆にシリアル/パラレル変換
回路及びパラレル/シリアル変換回路が必要となり、構
成も大型化することになる。
As described above, according to the data string rearrangement circuit of the embodiment of the present invention, the RAM is not used and only the flip-flops and the changeover selection switches are used. Therefore, high speed operation is possible. There is. Further, when a RAM is used as in the conventional example, this RAM cannot operate at a high speed enough to handle data in bit serial. Therefore, when exchanging data with the outside, the serial / parallel conversion circuit and the parallel / serial conversion are reversed. A circuit is required, and the configuration becomes large.

【0072】[0072]

【発明の効果】上述のように、本発明のデータ列並べ換
え回路においては、記憶手段或いは複数の記憶手段から
なる第1の並べ換え手段を複数個設けると共に各記憶手
段或いは第1の並べ換え手段を縦続接続し、選択手段は
この縦続接続した複数の記憶手段或いは第1の並べ換え
手段の接続点からの出力を選択的に切り換えて1つのみ
を出力するようにしているため、回路規模が小さく、か
つ、高速にデータ列の並べ換え処理を行うことが可能と
なっている。
As described above, in the data string rearranging circuit of the present invention, a plurality of first rearranging means including a memory means or a plurality of memory means are provided, and each memory means or the first rearranging means is cascaded. Since the connecting means and the selecting means selectively switch the output from the connection points of the plurality of storage means or the first rearranging means connected in cascade to output only one, the circuit scale is small, and It is possible to perform rearrangement processing of data strings at high speed.

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

【図1】本発明実施例のデータ列並べ換え回路の第1の
実施例を示すブロック回路図である。
FIG. 1 is a block circuit diagram showing a first embodiment of a data string rearrangement circuit of an embodiment of the present invention.

【図2】第1の実施例の具体例回路のブロック回路図で
ある。
FIG. 2 is a block circuit diagram of a specific example circuit of the first embodiment.

【図3】画像データの入力順を示す図である。FIG. 3 is a diagram showing an input order of image data.

【図4】データ列並べ換え処理が行われる画像データを
示す図である。
FIG. 4 is a diagram showing image data on which a data string rearrangement process is performed.

【図5】第1の実施例の具体例回路においてデータA0
を出力する際の動作を説明するための図である。
FIG. 5 shows data A 0 in the specific example circuit of the first embodiment.
FIG. 7 is a diagram for explaining the operation when outputting the.

【図6】第1の実施例の具体例回路においてデータA1
を出力する際の動作を説明するための図である。
FIG. 6 shows data A 1 in the specific circuit of the first embodiment.
FIG. 7 is a diagram for explaining the operation when outputting the.

【図7】第1の実施例の具体例回路においてデータA2
を出力する際の動作を説明するための図である。
FIG. 7 shows data A 2 in the specific circuit of the first embodiment.
FIG. 7 is a diagram for explaining the operation when outputting the.

【図8】第1の実施例の具体例回路においてデータA3
を出力する際の動作を説明するための図である。
FIG. 8 shows data A 3 in the specific circuit of the first embodiment.
FIG. 7 is a diagram for explaining the operation when outputting the.

【図9】第1の実施例の具体例回路においてデータA4
を出力する際の動作を説明するための図である。
FIG. 9 shows data A 4 in the specific example circuit of the first embodiment.
FIG. 7 is a diagram for explaining the operation when outputting the.

【図10】第1の実施例の具体例回路においてデータA
5 を出力する際の動作を説明するための図である。
FIG. 10 shows data A in the specific example circuit of the first embodiment.
FIG. 6 is a diagram for explaining the operation when outputting 5 .

【図11】第1の実施例の具体例回路においてデータA
6 を出力する際の動作を説明するための図である。
FIG. 11 shows the data A in the specific example circuit of the first embodiment.
FIG. 6 is a diagram for explaining the operation when outputting 6 .

【図12】第1の実施例の具体例回路においてデータA
7 を出力する際の動作を説明するための図である。
FIG. 12 shows the data A in the specific example circuit of the first embodiment.
FIG. 8 is a diagram for explaining the operation when outputting 7 .

【図13】第1の実施例の具体例回路においてデータA
8 を出力する際の動作を説明するための図である。
FIG. 13 shows the data A in the specific example circuit of the first embodiment.
FIG. 8 is a diagram for explaining the operation when outputting 8 .

【図14】第1の実施例の具体例回路においてデータA
9 を出力する際の動作を説明するための図である。
FIG. 14 shows the data A in the specific example circuit of the first embodiment.
FIG. 9 is a diagram for explaining an operation when 9 is output.

【図15】第1の実施例の具体例回路においてデータA
10を出力する際の動作を説明するための図である。
FIG. 15 shows the data A in the specific example circuit of the first embodiment.
FIG. 6 is a diagram for explaining an operation when outputting 10 .

【図16】第1の実施例の具体例回路においてデータA
11を出力する際の動作を説明するための図である。
FIG. 16 shows data A in the specific example circuit of the first embodiment.
FIG. 11 is a diagram for explaining an operation when outputting 11 .

【図17】第1の実施例の具体例回路においてデータA
12を出力する際の動作を説明するための図である。
FIG. 17 shows the data A in the specific example circuit of the first embodiment.
FIG. 6 is a diagram for explaining the operation when outputting 12 ;

【図18】第1の実施例の具体例回路においてデータA
13を出力する際の動作を説明するための図である。
FIG. 18 shows the data A in the specific example circuit of the first embodiment.
FIG. 7 is a diagram for explaining the operation when outputting 13 ;

【図19】第1の実施例の具体例回路においてデータA
14を出力する際の動作を説明するための図である。
FIG. 19 shows the data A in the specific example circuit of the first embodiment.
FIG. 10 is a diagram for explaining the operation when outputting 14 ;

【図20】第1の実施例の具体例回路においてデータA
15を出力する際の動作を説明するための図である。
FIG. 20 shows the data A in the specific example circuit of the first embodiment.
FIG. 6 is a diagram for explaining the operation when outputting 15 .

【図21】本発明の第2の実施例のデータ列並べ換え回
路を示すブロック回路図である。
FIG. 21 is a block circuit diagram showing a data string rearrangement circuit according to a second embodiment of the present invention.

【図22】第2の実施例回路のシフトレジスタ内の構成
を示すブロック回路図である。
FIG. 22 is a block circuit diagram showing the configuration in the shift register of the second embodiment circuit.

【図23】第2の実施例回路を更に縦続接続した構成を
示すブロック回路図である。
FIG. 23 is a block circuit diagram showing a configuration in which the circuits of the second embodiment are further connected in cascade.

【図24】第2の実施例の具体例回路を示すブロック回
路図である。
FIG. 24 is a block circuit diagram showing a specific example circuit of the second embodiment.

【図25】第2の実施例の具体例回路の入力段構成にお
いてデータA0 を出力する際の動作を説明するための図
である。
FIG. 25 is a diagram for explaining an operation when outputting data A 0 in the input stage configuration of the specific example circuit of the second example.

【図26】第2の実施例の具体例回路の入力段構成にお
いてデータA1 を出力する際の動作を説明するための図
である。
FIG. 26 is a diagram for explaining an operation when outputting data A 1 in the input stage configuration of the specific example circuit of the second example.

【図27】第2の実施例の具体例回路の入力段構成にお
いてデータA5 を出力する際の動作を説明するための図
である。
FIG. 27 is a diagram for explaining the operation when outputting data A 5 in the input stage configuration of the specific example circuit of the second example.

【図28】第2の実施例の具体例回路の入力段構成にお
いてデータA6 を出力する際の動作を説明するための図
である。
FIG. 28 is a diagram for explaining the operation when outputting data A 6 in the input stage configuration of the specific example circuit of the second example.

【図29】第2の実施例の具体例回路の入力段構成にお
いてデータA2 を出力する際の動作を説明するための図
である。
FIG. 29 is a diagram for explaining an operation when outputting data A 2 in the input stage configuration of the specific example circuit of the second example.

【図30】第2の実施例の具体例回路の入力段構成にお
いてデータA4 を出力する際の動作を説明するための図
である。
FIG. 30 is a diagram for explaining an operation when outputting data A 4 in the input stage configuration of the specific example circuit of the second example.

【図31】第2の実施例の具体例回路の入力段構成にお
いてデータA7 を出力する際の動作を説明するための図
である。
FIG. 31 is a diagram for explaining an operation when outputting data A 7 in the input stage configuration of the specific example circuit of the second example.

【図32】第2の実施例の具体例回路の入力段構成にお
いてデータA12を出力する際の動作を説明するための図
である。
FIG. 32 is a diagram for explaining an operation when outputting data A 12 in the input stage configuration of the specific example circuit of the second example.

【図33】第2の実施例の具体例回路の入力段構成にお
いてデータA3 を出力する際の動作を説明するための図
である。
FIG. 33 is a diagram for explaining the operation when outputting data A 3 in the input stage configuration of the specific example circuit of the second example.

【図34】第2の実施例の具体例回路の入力段構成にお
いてデータA13を出力する際の動作を説明するための図
である。
FIG. 34 is a diagram for explaining an operation when outputting data A 13 in the input stage configuration of the specific example circuit of the second example.

【図35】第2の実施例の具体例回路の入力段構成にお
いてデータA8 を出力する際の動作を説明するための図
である。
FIG. 35 is a diagram for explaining an operation when outputting data A 8 in the input stage configuration of the specific example circuit of the second example.

【図36】第2の実施例の具体例回路の入力段構成にお
いてデータA11を出力する際の動作を説明するための図
である。
FIG. 36 is a diagram for explaining the operation when outputting data A 11 in the input stage configuration of the specific example circuit of the second example;

【図36】第2の実施例の具体例回路の入力段構成にお
いてデータA14を出力する際の動作を説明するための図
である。
FIG. 36 is a diagram for explaining an operation when outputting data A 14 in the input stage configuration of the specific example circuit of the second example.

【図38】第2の実施例の具体例回路の入力段構成にお
いてデータA15を出力する際の動作を説明するための図
である。
FIG. 38 is a diagram for explaining an operation when outputting data A 15 in the input stage configuration of the specific example circuit of the second example;

【図39】第2の実施例の具体例回路の入力段構成にお
いてデータA9 を出力する際の動作を説明するための図
である。
FIG. 39 is a diagram for explaining an operation when outputting data A 9 in the input stage configuration of the specific example circuit of the second example;

【図40】第2の実施例の具体例回路の入力段構成にお
いてデータA10を出力する際の動作を説明するための図
である。
FIG. 40 is a diagram for explaining an operation when outputting data A 10 in the input stage configuration of the specific example circuit of the second example.

【図41】第2の実施例の具体例回路の出力段の構成に
おいてデータA0 を出力する際の動作を説明するための
図である。
FIG. 41 is a diagram for explaining the operation when outputting data A 0 in the configuration of the output stage of the specific example circuit of the second example.

【図42】第2の実施例の具体例回路の出力段の構成に
おいてデータA1 を出力する際の動作を説明するための
図である。
FIG. 42 is a diagram for explaining an operation when outputting data A 1 in the configuration of the output stage of the specific example circuit of the second example;

【図43】第2の実施例の具体例回路の出力段の構成に
おいてデータA2 を出力する際の動作を説明するための
図である。
FIG. 43 is a diagram for explaining an operation when outputting data A 2 in the configuration of the output stage of the specific example circuit of the second example.

【図44】第2の実施例の具体例回路の出力段の構成に
おいてデータA3 を出力する際の動作を説明するための
図である。
FIG. 44 is a diagram for explaining the operation when outputting data A 3 in the configuration of the output stage of the specific example circuit of the second example.

【図45】第2の実施例の具体例回路の出力段の構成に
おいてデータA4 を出力する際の動作を説明するための
図である。
FIG. 45 is a diagram for explaining the operation when outputting data A 4 in the configuration of the output stage of the specific example circuit of the second example.

【図46】第2の実施例の具体例回路の出力段の構成に
おいてデータA5 を出力する際の動作を説明するための
図である。
FIG. 46 is a diagram for explaining an operation when outputting data A 5 in the configuration of the output stage of the specific example circuit of the second example;

【図47】第2の実施例の具体例回路の出力段の構成に
おいてデータA6 を出力する際の動作を説明するための
図である。
FIG. 47 is a diagram for explaining an operation when outputting data A 6 in the configuration of the output stage of the specific example circuit of the second example.

【図48】第2の実施例の具体例回路の出力段の構成に
おいてデータA7 を出力する際の動作を説明するための
図である。
FIG. 48 is a diagram for explaining the operation when outputting the data A 7 in the configuration of the output stage of the specific example circuit of the second example.

【図49】第2の実施例の具体例回路の出力段の構成に
おいてデータA8 を出力する際の動作を説明するための
図である。
FIG. 49 is a diagram for explaining an operation when outputting data A 8 in the configuration of the output stage of the specific example circuit of the second example.

【図50】第2の実施例の具体例回路の出力段の構成に
おいてデータA9 を出力する際の動作を説明するための
図である。
FIG. 50 is a diagram for explaining an operation when outputting data A 9 in the configuration of the output stage of the specific example circuit of the second example.

【図51】第2の実施例の具体例回路の出力段の構成に
おいてデータA10を出力する際の動作を説明するための
図である。
FIG. 51 is a diagram for explaining the operation when outputting data A 10 in the configuration of the output stage of the specific example circuit of the second example.

【図52】第2の実施例の具体例回路の出力段の構成に
おいてデータA11を出力する際の動作を説明するための
図である。
FIG. 52 is a diagram for explaining an operation when outputting data A 11 in the configuration of the output stage of the specific example circuit of the second example;

【図53】第2の実施例の具体例回路の出力段の構成に
おいてデータA12を出力する際の動作を説明するための
図である。
FIG. 53 is a diagram for explaining the operation when outputting the data A 12 in the configuration of the output stage of the specific example circuit of the second example.

【図54】第2の実施例の具体例回路の出力段の構成に
おいてデータA13を出力する際の動作を説明するための
図である。
FIG. 54 is a diagram for explaining the operation when outputting the data A 13 in the configuration of the output stage of the specific example circuit of the second example.

【図55】第2の実施例の具体例回路の出力段の構成に
おいてデータA14を出力する際の動作を説明するための
図である。
FIG. 55 is a diagram for explaining the operation when outputting data A 14 in the configuration of the output stage of the specific example circuit of the second example.

【図56】第2の実施例の具体例回路の出力段の構成に
おいてデータA15を出力する際の動作を説明するための
図である。
FIG. 56 is a diagram for explaining an operation when outputting data A 15 in the configuration of the output stage of the specific example circuit of the second example;

【図56】第2の実施例の他の具体例回路の構成を示す
ブロック回路図である。
FIG. 56 is a block circuit diagram showing the configuration of another specific example circuit of the second embodiment.

【図57】従来例のデータ列並べ換え回路の構成を示す
ブロック回路図である。
FIG. 57 is a block circuit diagram showing a configuration of a conventional data string rearrangement circuit.

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

211 〜21m ・・・・フリップフロップ 24,44・・・・・・切換選択スイッチ 411 〜41q ・・・・シフトレジスタ21 1 to 21 m ... Flip-flops 24, 44 ... Changeover selection switches 41 1 to 41 q ... Shift register

【手続補正書】[Procedure amendment]

【提出日】平成3年11月5日[Submission date] November 5, 1991

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0003[Name of item to be corrected] 0003

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0003】 このような例えば2次元DCT処理等を
行う際に用いられる入力データ列の並べ換えを行う回路
としては、通常、図58に示すような構成の回路が用い
られる。この図58の構成は、入力端子1には並べ換え
を行おうとする一群のデータからなるシリアル入力デー
タ列が供給される。この入力データ列は、切換スイッチ
2を介して、上記入力データ列の一群のデータの数と同
じワード数のRAM3,4の何れか一方に順次書き込ま
れる。これらRAM3,4に書き込まれたデータは、読
出アドレスデータRAに応じて読み出されるが、このと
き、当該読出アドレスデータRAは、上記入力データ列
の各データが所望の順番で読み出されるようなアドレス
データに制御される。このように、RAMからデータが
読み出される際に読出アドレスデータRAを制御するこ
とで、データ列の並べ換えが実現される。すなわち、R
AMにデータを書き込む際には、例えばRAMのアドレ
スの0番地から順にデータの書き込みが行われるような
書込アドレスデータWAを用い、データ読み出しの際に
は、例えば、上記書き込みの際の番地とは異なる読み出
し番地から読み出されると共に所望の読み出し順序でデ
ータが読み出されることでデータ列の並べ換えが行われ
る。上記RAM3,4の何れか一方から読み出されたデ
ータ列は、切換スイッチ5を介して出力端子6から出力
データ列として出力される。
As a circuit for rearranging the input data sequence used when performing such two-dimensional DCT processing, for example, a circuit having a configuration as shown in FIG. 58 is usually used. In the configuration of FIG. 58, the input terminal 1 is supplied with a serial input data string composed of a group of data to be rearranged. This input data string is sequentially written to either one of the RAMs 3 and 4 having the same number of words as the number of data of a group of the input data string via the changeover switch 2. The data written in the RAMs 3 and 4 is read according to the read address data RA. At this time, the read address data RA is the address data such that each data of the input data string is read in a desired order. Controlled by. In this way, by controlling the read address data RA when the data is read from the RAM, the rearrangement of the data string is realized. That is, R
When writing data to the AM, for example, write address data WA is used so that data is sequentially written from address 0 of the RAM, and when reading data, for example, the address at the time of writing is used. Are read from different read addresses and the data is read in a desired read order to rearrange the data strings. The data string read from one of the RAMs 3 and 4 is output as an output data string from the output terminal 6 via the changeover switch 5.

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0070[Name of item to be corrected] 0070

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0070】 この図57の構成においても、前述した
図24と同様の処理を行うことができる。なお、このよ
うに3ビット語長のデータの処理を行う場合には、上記
図57の構成の代わりに、図24の構成を3つ並列に配
置し、上記3ビットの各桁毎に図24の構成を1個づつ
割り当てて処理するようにしてもよい。ただし、図57
を用いることにより各構成要素を結ぶ配線長を短くする
ことができる。また、切換選択スイッチの数も図24の
構成を3つ並列に配する場合よりも1/3にすることが
できる。なお、今後、技術が進歩した時、他の演算回路
も高速動作が可能となることが期待でき、この高速動作
が可能になった場合には、他の演算回路もビットシリア
ルの演算回路となり図57のパラレル/シリアル変換回
路200及びシリアル/パラレル変換回路201は、不
要となり、より構成の簡略化が可能となる。
Also in the configuration of FIG. 57, the same processing as that of FIG. 24 described above can be performed. In the case of processing data having a 3-bit word length in this manner, instead of the configuration shown in FIG. 57, three configurations shown in FIG. 24 are arranged in parallel and each digit of the 3-bits shown in FIG. The above configurations may be assigned one by one and processed. However, in FIG.
By using, it is possible to shorten the wiring length that connects each component. Further, the number of changeover selection switches can be reduced to 1/3 as compared with the case where three configurations in FIG. 24 are arranged in parallel. In the future, when technology advances, it can be expected that other arithmetic circuits will also be able to operate at high speed. If this high-speed operation becomes possible, other arithmetic circuits will also become bit-serial arithmetic circuits. The parallel / serial conversion circuit 200 and the serial / parallel conversion circuit 201 of 57 are unnecessary, and the configuration can be further simplified.

【手続補正3】[Procedure 3]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図5[Name of item to be corrected] Figure 5

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図5】 [Figure 5]

【手続補正4】[Procedure amendment 4]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図6[Name of item to be corrected] Figure 6

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図6】 [Figure 6]

【手続補正5】[Procedure Amendment 5]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図7[Name of item to be corrected] Figure 7

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図7】 [Figure 7]

【手続補正6】[Procedure correction 6]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図8[Correction target item name] Figure 8

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図8】 [Figure 8]

【手続補正7】[Procedure Amendment 7]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図9[Correction target item name] Figure 9

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図9】 [Figure 9]

【手続補正8】[Procedure Amendment 8]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図10[Name of item to be corrected] Fig. 10

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図10】 [Figure 10]

【手続補正9】[Procedure Amendment 9]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図11[Name of item to be corrected] Figure 11

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図11】 FIG. 11

【手続補正10】[Procedure Amendment 10]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図12[Name of item to be corrected] Fig. 12

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図12】 [Fig. 12]

【手続補正11】[Procedure Amendment 11]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図13[Name of item to be corrected] Fig. 13

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図13】 [Fig. 13]

【手続補正12】[Procedure Amendment 12]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図14[Name of item to be corrected] Fig. 14

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図14】 FIG. 14

【手続補正13】[Procedure Amendment 13]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図15[Correction target item name] Figure 15

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図15】 FIG. 15

【手続補正14】[Procedure Amendment 14]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図16[Correction target item name] Fig. 16

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図16】 FIG. 16

【手続補正15】[Procedure Amendment 15]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図17[Name of item to be corrected] Fig. 17

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図17】 FIG. 17

【手続補正16】[Procedure Amendment 16]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図18[Name of item to be corrected] Fig. 18

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図18】 FIG. 18

【手続補正17】[Procedure Amendment 17]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図19[Name of item to be corrected] Fig. 19

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図19】 FIG. 19

【手続補正18】[Procedure 18]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図20[Name of item to be corrected] Fig. 20

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図20】 ─────────────────────────────────────────────────────
FIG. 20 ─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成5年6月4日[Submission date] June 4, 1993

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】図面の簡単な説明[Name of item to be corrected] Brief description of the drawing

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

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

【図1】本発明実施例のデータ列並べ換え回路の第1の
実施例を示すブロック回路図である。
FIG. 1 is a block circuit diagram showing a first embodiment of a data string rearrangement circuit of an embodiment of the present invention.

【図2】第1の実施例の具体例回路のブロック回路図で
ある。
FIG. 2 is a block circuit diagram of a specific example circuit of the first embodiment.

【図3】画像データの入力順を示す図である。FIG. 3 is a diagram showing an input order of image data.

【図4】データ列並べ換え処理が行われる画像データを
示す図である。
FIG. 4 is a diagram showing image data on which a data string rearrangement process is performed.

【図5】第1の実施例の具体例回路においてデータA
を出力する際の動作を説明するための図である。
FIG. 5 shows data A 0 in the specific example circuit of the first embodiment.
FIG. 7 is a diagram for explaining the operation when outputting the.

【図6】第1の実施例の具体例回路においてデータA
を出力する際の動作を説明するための図である。
FIG. 6 shows data A 1 in the specific example circuit of the first embodiment.
FIG. 7 is a diagram for explaining the operation when outputting the.

【図7】第1の実施例の具体例回路においてデータA
を出力する際の動作を説明するための図である。
FIG. 7 shows data A 2 in the specific example circuit of the first embodiment.
FIG. 7 is a diagram for explaining the operation when outputting the.

【図8】第1の実施例の具体例回路においてデータA
を出力する際の動作を説明するための図である。
FIG. 8 shows data A 3 in the specific example circuit of the first embodiment.
FIG. 7 is a diagram for explaining the operation when outputting the.

【図9】第1の実施例の具体例回路においてデータA
を出力する際の動作を説明するための図である。
FIG. 9 shows the data A 4 in the specific example circuit of the first embodiment.
FIG. 7 is a diagram for explaining the operation when outputting the.

【図10】第1の実施例の具体例回路においてデータA
を出力する際の動作を説明するための図である。
FIG. 10 shows data A in the specific example circuit of the first embodiment.
5 is a diagram for explaining an operation when outputting 5 ; FIG.

【図11】第1の実施例の具体例回路においてデータA
を出力する際の動作を説明するための図である。
FIG. 11 shows the data A in the specific example circuit of the first embodiment.
6 is a diagram for explaining the operation when outputting 6 ; FIG.

【図12】第1の実施例の具体例回路においてデータA
を出力する際の動作を説明するための図である。
FIG. 12 shows the data A in the specific example circuit of the first embodiment.
FIG. 7 is a diagram for explaining an operation when 7 is output.

【図13】第1の実施例の具体例回路においてデータA
を出力する際の動作を説明するための図である。
FIG. 13 shows the data A in the specific example circuit of the first embodiment.
FIG. 8 is a diagram for explaining the operation when outputting 8 ;

【図14】第1の実施例の具体例回路においてデータA
を出力する際の動作を説明するための図である。
FIG. 14 shows the data A in the specific example circuit of the first embodiment.
9 is a diagram for explaining an operation when 9 is output. FIG.

【図15】第1の実施例の具体例回路においてデータA
10を出力する際の動作を説明するための図である。
FIG. 15 shows the data A in the specific example circuit of the first embodiment.
FIG. 10 is a diagram for explaining an operation when outputting 10 .

【図16】第1の実施例の具体例回路においてデータA
11を出力する際の動作を説明するための図である。
FIG. 16 shows data A in the specific example circuit of the first embodiment.
It is a figure for demonstrating the operation | movement at the time of outputting 11 .

【図17】第1の実施例の具体例回路においてデータA
12を出力する際の動作を説明するための図である。
FIG. 17 shows the data A in the specific example circuit of the first embodiment.
FIG. 10 is a diagram for explaining the operation when outputting 12 ;

【図18】第1の実施例の具体例回路においてデータA
13を出力する際の動作を説明するための図である。
FIG. 18 shows the data A in the specific example circuit of the first embodiment.
13 is a diagram for explaining an operation when outputting 13 ; FIG.

【図19】第1の実施例の具体例回路においてデータA
14を出力する際の動作を説明するための図である。
FIG. 19 shows the data A in the specific example circuit of the first embodiment.
It is a figure for demonstrating the operation | movement at the time of outputting 14 .

【図20】第1の実施例の具体例回路においてデータA
15を出力する際の動作を説明するための図である。
FIG. 20 shows the data A in the specific example circuit of the first embodiment.
It is a figure for demonstrating the operation | movement at the time of outputting 15 .

【図21】本発明の第2の実施例のデータ列並べ換え回
路を示すブロック回路図である。
FIG. 21 is a block circuit diagram showing a data string rearrangement circuit according to a second embodiment of the present invention.

【図22】第2の実施例回路のシフトレジスタ内の構成
を示すブロック回路図である。
FIG. 22 is a block circuit diagram showing the configuration in the shift register of the second embodiment circuit.

【図23】第2の実施例回路を更に縦続接続した構成を
示すブロック回路図である。
FIG. 23 is a block circuit diagram showing a configuration in which the circuits of the second embodiment are further connected in cascade.

【図24】第2の実施例の具体例回路を示すブロック回
路図である。
FIG. 24 is a block circuit diagram showing a specific example circuit of the second embodiment.

【図25】第2の実施例の具体例回路の入力段構成にお
いてデータAを出力する際の動作を説明するための図
である。
FIG. 25 is a diagram for explaining the operation when outputting data A 0 in the input stage configuration of the specific example circuit of the second example.

【図26】第2の実施例の具体例回路の入力段構成にお
いてデータAを出力する際の動作を説明するための図
である。
FIG. 26 is a diagram for explaining an operation when outputting data A 1 in the input stage configuration of the specific example circuit of the second example.

【図27】第2の実施例の具体例回路の入力段構成にお
いてデータAを出力する際の動作を説明するための図
である。
FIG. 27 is a diagram for explaining an operation when outputting data A 5 in the input stage configuration of the specific example circuit of the second example.

【図28】第2の実施例の具体例回路の入力段構成にお
いてデータAを出力する際の動作を説明するための図
である。
FIG. 28 is a diagram for explaining an operation when outputting data A 6 in the input stage configuration of the specific example circuit of the second example.

【図29】第2の実施例の具体例回路の入力段構成にお
いてデータAを出力する際の動作を説明するための図
である。
FIG. 29 is a diagram for explaining the operation when outputting data A 2 in the input stage configuration of the specific example circuit of the second example.

【図30】第2の実施例の具体例回路の入力段構成にお
いてデータAを出力する際の動作を説明するための図
である。
FIG. 30 is a diagram for explaining an operation when outputting data A 4 in the input stage configuration of the specific example circuit of the second example.

【図31】第2の実施例の具体例回路の入力段構成にお
いてデータAを出力する際の動作を説明するための図
である。
FIG. 31 is a diagram for explaining an operation when outputting data A 7 in the input stage configuration of the specific example circuit of the second example.

【図32】第2の実施例の具体例回路の入力段構成にお
いてデータA12を出力する際の動作を説明するための
図である。
FIG. 32 is a diagram for explaining an operation when outputting data A 12 in the input stage configuration of the specific example circuit of the second example.

【図33】第2の実施例の具体例回路の入力段構成にお
いてデータAを出力する際の動作を説明するための図
である。
FIG. 33 is a diagram for explaining an operation when outputting data A 3 in the input stage configuration of the specific example circuit of the second example.

【図34】第2の実施例の具体例回路の入力段構成にお
いてデータA13を出力する際の動作を説明するための
図である。
FIG. 34 is a diagram for explaining an operation when outputting data A 13 in the input stage configuration of the specific example circuit of the second example;

【図35】第2の実施例の具体例回路の入力段構成にお
いてデータAを出力する際の動作を説明するための図
である。
FIG. 35 is a diagram for explaining an operation when outputting data A 8 in the input stage configuration of the specific example circuit of the second example.

【図36】第2の実施例の具体例回路の入力段構成にお
いてデータA11を出力する際の動作を説明するための
図である。
FIG. 36 is a diagram for explaining an operation when outputting data A 11 in the input stage configuration of the specific example circuit of the second example;

【図37】第2の実施例の具体例回路の入力段構成にお
いてデータA14を出力する際の動作を説明するための
図である。
FIG. 37 is a diagram for explaining an operation when outputting data A 14 in the input stage configuration of the specific example circuit of the second example.

【図38】第2の実施例の具体例回路の入力段構成にお
いてデータA15を出力する際の動作を説明するための
図である。
FIG. 38 is a diagram for explaining an operation when outputting data A 15 in the input stage configuration of the specific example circuit of the second example;

【図39】第2の実施例の具体例回路の入力段構成にお
いてデータAを出力する際の動作を説明するための図
である。
FIG. 39 is a diagram for explaining an operation when outputting data A 9 in the input stage configuration of the specific example circuit of the second example;

【図40】第2の実施例の具体例回路の入力段構成にお
いてデータA10を出力する際の動作を説明するための
図である。
FIG. 40 is a diagram for explaining an operation when outputting data A 10 in the input stage configuration of the specific example circuit of the second example.

【図41】第2の実施例の具体例回路の出力段の構成に
おいてデータAを出力する際の動作を説明するための
図である。
FIG. 41 is a diagram for explaining an operation when outputting data A 0 in the configuration of the output stage of the specific example circuit of the second example.

【図42】第2の実施例の具体例回路の出力段の構成に
おいてデータAを出力する際の動作を説明するための
図である。
FIG. 42 is a diagram for explaining the operation when outputting the data A 1 in the configuration of the output stage of the specific example circuit of the second example;

【図43】第2の実施例の具体例回路の出力段の構成に
おいてデータAを出力する際の動作を説明するための
図である。
FIG. 43 is a diagram for explaining an operation when outputting data A 2 in the configuration of the output stage of the specific example circuit of the second example.

【図44】第2の実施例の具体例回路の出力段の構成に
おいてデータAを出力する際の動作を説明するための
図である。
FIG. 44 is a diagram for explaining an operation when outputting data A 3 in the configuration of the output stage of the specific example circuit of the second example.

【図45】第2の実施例の具体例回路の出力段の構成に
おいてデータAを出力する際の動作を説明するための
図である。
FIG. 45 is a diagram for explaining an operation when outputting data A 4 in the configuration of the output stage of the specific example circuit of the second example.

【図46】第2の実施例の具体例回路の出力段の構成に
おいてデータAを出力する際の動作を説明するための
図である。
FIG. 46 is a diagram for explaining the operation when outputting data A 5 in the configuration of the output stage of the specific example circuit of the second example.

【図47】第2の実施例の具体例回路の出力段の構成に
おいてデータAを出力する際の動作を説明するための
図である。
FIG. 47 is a diagram for explaining the operation when outputting data A 6 in the configuration of the output stage of the specific example circuit of the second example.

【図48】第2の実施例の具体例回路の出力段の構成に
おいてデータAを出力する際の動作を説明するための
図である。
FIG. 48 is a diagram for explaining the operation when outputting data A 7 in the configuration of the output stage of the specific example circuit of the second example.

【図49】第2の実施例の具体例回路の出力段の構成に
おいてデータAを出力する際の動作を説明するための
図である。
FIG. 49 is a diagram for explaining the operation when outputting the data A 8 in the configuration of the output stage of the specific example circuit of the second example.

【図50】第2の実施例の具体例回路の出力段の構成に
おいてデータAを出力する際の動作を説明するための
図である。
FIG. 50 is a diagram for explaining the operation when outputting data A 9 in the configuration of the output stage of the specific example circuit of the second example.

【図51】第2の実施例の具体例回路の出力段の構成に
おいてデータA10を出力する際の動作を説明するため
の図である。
FIG. 51 is a diagram for explaining the operation when outputting data A 10 in the configuration of the output stage of the specific example circuit of the second example.

【図52】第2の実施例の具体例回路の出力段の構成に
おいてデータA11を出力する際の動作を説明するため
の図である。
FIG. 52 is a diagram for explaining an operation when outputting data A 11 in the configuration of the output stage of the specific example circuit of the second example;

【図53】第2の実施例の具体例回路の出力段の構成に
おいてデータA12を出力する際の動作を説明するため
の図である。
FIG. 53 is a diagram for explaining the operation when outputting data A 12 in the configuration of the output stage of the specific example circuit of the second example.

【図54】第2の実施例の具体例回路の出力段の構成に
おいてデータA13を出力する際の動作を説明するため
の図である。
FIG. 54 is a diagram for explaining the operation when outputting the data A 13 in the configuration of the output stage of the specific example circuit of the second example;

【図55】第2の実施例の具体例回路の出力段の構成に
おいてデータA14を出力する際の動作を説明するため
の図である。
FIG. 55 is a diagram for explaining an operation when outputting data A 14 in the configuration of the output stage of the specific example circuit of the second example.

【図56】第2の実施例の具体例回路の出力段の構成に
おいてデータA15を出力する際の動作を説明するため
の図である。
FIG. 56 is a diagram for explaining the operation when outputting the data A 15 in the configuration of the output stage of the specific example circuit of the second example;

【図57】第2の実施例の他の具体例回路の構成を示す
ブロック回路図である。
FIG. 57 is a block circuit diagram showing the configuration of another specific example circuit of the second embodiment.

【図58】従来例のデータ列並べ換え回路の構成を示す
ブロック回路図である。
FIG. 58 is a block circuit diagram showing a configuration of a conventional data string rearrangement circuit.

【符号の説明】 21〜21・・・・フリップフロップ 24,44・・・・・・切換選択スイッチ 41〜41・・・・シフトレジスタ[Explanation of Codes] 21 l to 21 m ··· Flip-flops 24, 44 ··· Selection switch 41 l to 41 q ··· Shift register

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数のデータからなる入力データ列の各
データの順番を並べ換えて出力するデータ列並べ換え回
路において、 上記入力データ列の各データが供給され該データを保持
すると共に所定の信号に応じて記憶されているデータを
シフトする記憶手段と、 複数の入力信号が供給され、これら複数の入力信号の中
から1つの信号のみを選択的に出力する選択手段とを有
し、 上記記憶手段を複数個設けると共に各記憶手段を縦続接
続し、上記選択手段は上記縦続接続した複数の記憶手段
の接続点からの出力を上記複数の入力信号として上記選
択的に出力することで上記入力データ列の各データの順
番の並べ換えを行うことを特徴とするデータ列並べ換え
回路。
1. A data string rearrangement circuit for rearranging the order of each data of an input data string consisting of a plurality of data and outputting the data, wherein each data of the input data string is supplied and held, and in response to a predetermined signal Storage means for shifting the stored data and a selection means for supplying a plurality of input signals and selectively outputting only one signal from the plurality of input signals. A plurality of storage means are provided and each storage means is connected in cascade, and the selection means selectively outputs the output from the connection point of the plurality of storage means connected in cascade as the plurality of input signals to output the input data string. A data string rearrangement circuit for rearranging the order of each data.
【請求項2】 複数のデータからなる入力データ列の各
データの順番を並べ換えて出力するデータ列並べ換え回
路において、 上記入力データ列の各データが供給され該データを保持
すると共に所定の信号に応じて記憶されているデータを
シフトする記憶手段と、 複数の入力信号が供給され、これら複数の入力信号の中
から1つの信号のみを選択的に出力する選択手段とを有
し、 上記記憶手段を複数個設けると共に各記憶手段を縦続接
続した第1の並べ換え手段を更に複数個設けて各第1の
並べ換え手段を縦続接続し、上記選択手段は上記縦続接
続した第1の並べ換え手段の接続点からの出力を上記複
数の入力信号として上記選択的に出力することで上記入
力データ列の各データの順番の並べ換えを行うことを特
徴とするデータ列並べ換え回路。
2. A data string rearrangement circuit for rearranging the order of each data of an input data string composed of a plurality of data and outputting the data, wherein each data of the input data string is supplied and held, and in response to a predetermined signal Storage means for shifting the stored data and a selection means for supplying a plurality of input signals and selectively outputting only one signal from the plurality of input signals. A plurality of first rearranging means, each of which is provided with a plurality of storage means connected in cascade, are further provided to connect each first rearranging means in cascade, and the selecting means is connected from the connection point of the first rearranging means connected in cascade. A data string rearrangement circuit for rearranging the order of each data of the input data string by selectively outputting the output of the above as the plurality of input signals. .
JP3146531A 1991-05-23 1991-05-23 Data string rearrangement circuit Withdrawn JPH0613913A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3146531A JPH0613913A (en) 1991-05-23 1991-05-23 Data string rearrangement circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3146531A JPH0613913A (en) 1991-05-23 1991-05-23 Data string rearrangement circuit

Publications (1)

Publication Number Publication Date
JPH0613913A true JPH0613913A (en) 1994-01-21

Family

ID=15409754

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3146531A Withdrawn JPH0613913A (en) 1991-05-23 1991-05-23 Data string rearrangement circuit

Country Status (1)

Country Link
JP (1) JPH0613913A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005160021A (en) * 2003-11-06 2005-06-16 Matsushita Electric Ind Co Ltd Signal processing method and signal processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005160021A (en) * 2003-11-06 2005-06-16 Matsushita Electric Ind Co Ltd Signal processing method and signal processor
JP4559785B2 (en) * 2003-11-06 2010-10-13 パナソニック株式会社 Signal processing method and signal processing apparatus

Similar Documents

Publication Publication Date Title
US5477543A (en) Structure and method for shifting and reordering a plurality of data bytes
JPH01134495A (en) Image rotator
JPH0534746B2 (en)
JP3744285B2 (en) Shift register and control method thereof
KR960005102B1 (en) Barrel shifter
US5008852A (en) Parallel accessible memory device
JPH0613913A (en) Data string rearrangement circuit
EP0122739A2 (en) List vector control apparatus
JP2811924B2 (en) Data stirrer
KR100205351B1 (en) Address alignment system for semiconductor memory device
JP4295234B2 (en) FIR type digital filter
JP2824976B2 (en) 2D array data rotation device
JPH05161094A (en) Programmable device for storing digital video line
JPS60221848A (en) Data storage device
JP2000020705A (en) Parallel image processing processor
JPH0668055A (en) Digital signal processor
CN117725002A (en) Data transmission method, data transmission device and electronic equipment
JP2524637B2 (en) Data input device to barrel shifter
JPS63245742A (en) Data memory device
JPH0581417A (en) Rearrangement circuit
JPH1083381A (en) Signal processor
JPH064689A (en) Parallel dsp processor of linear array type
JPH0553898A (en) Function memory
JPH0743698B2 (en) Parallel data processor
JPH0785259A (en) Data processing method and signal processor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980806