JPH0897731A - Interleave method and interleave circuit - Google Patents
Interleave method and interleave circuitInfo
- Publication number
- JPH0897731A JPH0897731A JP6225460A JP22546094A JPH0897731A JP H0897731 A JPH0897731 A JP H0897731A JP 6225460 A JP6225460 A JP 6225460A JP 22546094 A JP22546094 A JP 22546094A JP H0897731 A JPH0897731 A JP H0897731A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- read
- sequentially
- mode
- write
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Detection And Correction Of Errors (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Error Detection And Correction (AREA)
- Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
Abstract
(57)【要約】
【目的】 メモリの回路規模を大きくすることなく入力
データの分散間隔を大きくする。
【構成】 2組のメモリ100,200に対して、一方
のメモリの読み出し動作と他方のメモリの書き込み動作
とが交互に逆になるように制御するインターリーブ方式
において、一方の書き込みモードのメモリに対しては、
記憶セルアレイの行方向に入力データを順次連続的に書
き込み、その行の書き込みを終えたならば、隣の行につ
いて同様の書き込み動作を順次行い、他方の読み出しモ
ードのメモリに対しては、記憶セルアレイの列方向に順
次連続的にデータを読み出し、その列のすべてのデータ
を読み出したならば、あらかじめ決められた規則に従っ
た非連続的な順序でつぎに読み出すべき列の選択を行
い、選択された列について同様の読み出し動作を順次行
う。
(57) [Abstract] [Purpose] To increase the distribution interval of input data without increasing the circuit scale of the memory. In an interleave method in which two memories 100 and 200 are controlled so that a read operation of one memory and a write operation of the other memory are alternately reversed, a memory in one write mode is controlled. Is
When the input data is sequentially and continuously written in the row direction of the memory cell array and the writing of that row is completed, the same write operation is sequentially performed for the adjacent row, and the memory cell array for the memory in the other read mode. If data is read continuously in the column direction of, and all the data in that column is read, the next column to be read is selected in a non-continuous order according to a predetermined rule, and the selected columns are selected. The same read operation is sequentially performed on the selected columns.
Description
【0001】[0001]
【産業上の利用分野】この発明は、誤り訂正を目的とし
たインターリーブ方式およびインターリーブ回路の改良
に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interleave system and an interleave circuit for the purpose of error correction.
【0002】[0002]
【従来の技術】従来よりよく知られているように、イン
ターリーブ方式を採用することで誤り訂正符号における
バースト誤りの訂正能力が向上する。つまり、インター
リーブ方式を適用することでバースト誤りが分散するこ
とになり(誤りの集中が緩和される)、誤り訂正符号が
本来もっている訂正能力の範囲内に誤りの集中を抑える
ことが可能になる。2. Description of the Related Art As is well known in the art, by adopting an interleave method, the capability of correcting a burst error in an error correction code is improved. In other words, by applying the interleave method, burst errors are dispersed (error concentration is mitigated), and error concentration can be suppressed within the range of the correction capability that the error correction code originally has. .
【0003】図1はインターリーブ回路の構成を示す。
2はセレクタ、100及び200はそれぞれメモリ回路
ブロック、6はメモリ回路ブロック100および200
に並列データを取り込むためのコントローラ、7はメモ
リ回路ブロック100および200からの出力データを
制御するコントローラ、8はセレクタである。メモリ回
路ブロック100の内部はシリアル/パラレル変換器3
1、m個のFIFOメモリ401〜40m、出力データ
セレクタ51で構成されており、メモリ回路ブロック2
00も同様に構成されており、シリアル/パラレル変換
器32、m個のFIFOメモリ411〜41m、出力デ
ータセレクタ52からなる。FIG. 1 shows the structure of an interleave circuit.
2 is a selector, 100 and 200 are memory circuit blocks respectively, and 6 is memory circuit blocks 100 and 200.
Is a controller for fetching parallel data to the controller, 7 is a controller for controlling output data from the memory circuit blocks 100 and 200, and 8 is a selector. The inside of the memory circuit block 100 is a serial / parallel converter 3
The memory circuit block 2 is composed of 1 and m FIFO memories 401 to 40m and an output data selector 51.
00 has the same configuration and includes a serial / parallel converter 32, m FIFO memories 411 to 41m, and an output data selector 52.
【0004】セレクタ2は入力データストリームをメモ
リ回路ブロック100側に送り込むか、あるいは200
側に送り込むかを切り替えている。今、かりにセレクタ
2がメモリ回路ブロック100を選択しているとすると
このメモリ回路ブロック100は書き込みモードであ
り、もう一方のメモリ回路ブロック200は読み出しモ
ードになっている。そして、セレクタ8は読み出しモー
ドのメモリ回路ブロック200を選択し、メモリの内容
が出力される。書き込みモードのメモリ回路ブロック1
00へ規定数のデータを書き終えたとき、読み出しモー
ドのメモリ回路ブロック200からのデータもちょうど
読み終えるので、それぞれのメモリ回路ブロックのモー
ドを逆転して同様の動作を繰り返す。The selector 2 sends the input data stream to the memory circuit block 100 side or 200
Switching to send to the side. If the selector 2 is now selecting the memory circuit block 100, this memory circuit block 100 is in the write mode and the other memory circuit block 200 is in the read mode. Then, the selector 8 selects the memory circuit block 200 in the read mode, and the contents of the memory are output. Memory circuit block 1 in write mode
When the specified number of data has been written to 00, the data from the memory circuit block 200 in the read mode is also just read, so the mode of each memory circuit block is reversed and the same operation is repeated.
【0005】ここで従来のメモリ回路ブロックの動作を
説明する。メモリ回路ブロック100が書き込みモード
時にはセレクタ2からの入力データはシリアル/パラレ
ル変換器31に供給される。シリアル/パラレル変換器
31では供給されたデータを入力側コントローラ6の制
御のもとにm個のパラレルデータ変換し、FIFO40
1〜FIFO40mまでのm個のFIFOに書き込んで
ゆく。図2にはこのシリアル/パラレル変換器31とF
IFOメモリ401〜40mとの接続を示した。このよ
うにパラレル/シリアル変換器31により入力されたm
個のデータを順次FIFO401からFIFO40mま
でのFIFOに書き込み、順次このような書き込み動作
を繰り返して規定数のデータをメモリに書き込んでゆ
く。The operation of the conventional memory circuit block will be described below. When the memory circuit block 100 is in the write mode, the input data from the selector 2 is supplied to the serial / parallel converter 31. The serial / parallel converter 31 converts the supplied data into m pieces of parallel data under the control of the input side controller 6, and the FIFO 40
Writing is performed in m FIFOs from 1 to 40 m. FIG. 2 shows the serial / parallel converter 31 and the F
The connection with the IFO memories 401 to 40m is shown. Thus, m input by the parallel / serial converter 31
Each piece of data is sequentially written into the FIFOs from the FIFO 401 to the FIFO 40m, and such a writing operation is sequentially repeated to write a specified number of data in the memory.
【0006】一方、この時メモリ回路ブロック200は
読み出しモードであり、出力側セレクタコントローラ7
の制御のもとに最初にFIFO411に書き込まれたす
べてのデータを読み出し、このFIFO411に書き込
まれたデータをすべて読み出した後、次のFIFO41
2のデータを読み出し、同様にFIFO41mまでのす
べてのFIFOに書き込まれたデータを逐次読み出す。
セレクタ52はこのように読み出されたFIFO出力を
セレクタ8に供給するように切り替え動作を行ってい
る。セレクタ8は読み出しモード側のメモリ回路ブロッ
クの出力を選択しているから、このセレクタ52の出力
がセレクタ8より出力され出力データストリームにな
る。On the other hand, at this time, the memory circuit block 200 is in the read mode, and the output side selector controller 7
First, all the data written in the FIFO 411 is read out under the control of, and after reading all the data written in this FIFO 411, the next FIFO 41
The data of No. 2 is read out, and similarly, the data written in all the FIFOs up to the FIFO 41m are sequentially read out.
The selector 52 performs a switching operation so as to supply the FIFO output thus read to the selector 8. Since the selector 8 selects the output of the memory circuit block on the read mode side, the output of the selector 52 is output from the selector 8 and becomes the output data stream.
【0007】図3はコントローラ6,7の具体的構成を
示す。61および71はm進カウンタであり72はn進
カウンタである。上述の動作を行うためにコントローラ
6のm進カウンタ61はm個のデータクロック毎にS/
P変換器のロード信号を発生し、実際にこのmビットの
並列データをFIFO401からFIFO40mのFI
FOに書き込んでゆく。またコントローラ7はm進カウ
ンタ71とn進カウンタ72で構成されており、n進カ
ウンタ72でたとえばFIFO401の全内容を読み出
したことを検出してm進カウンタ71の状態を進めるよ
うに構成している。具体的には、n進カウンタ72のn
カウント出力毎に、m進カウンタ71のクロックをイネ
ーブルして状態を進めるように構成している。そして、
このm進カウンタ71のカウント出力を出力側セレクタ
51および52の制御信号としている。FIG. 3 shows a specific configuration of the controllers 6 and 7. Reference numerals 61 and 71 are m-ary counters, and 72 is an n-ary counter. In order to perform the above-described operation, the m-ary counter 61 of the controller 6 performs S / S every m data clocks.
The load signal of the P converter is generated, and this m-bit parallel data is actually transmitted from the FIFO 401 to the FIFO 40m of the FI.
Write in the FO. The controller 7 is composed of an m-ary counter 71 and an n-ary counter 72, and is configured to advance the state of the m-ary counter 71 by detecting that the n-ary counter 72 has read out the entire contents of the FIFO 401, for example. There is. Specifically, n of the n-ary counter 72
For each count output, the clock of the m-ary counter 71 is enabled to advance the state. And
The count output of the m-ary counter 71 is used as a control signal for the output side selectors 51 and 52.
【0008】図4はこのような従来のインターリーブ方
式によるメモリのアクセス状況を説明している。図示し
たようにメモリ回路ブロックにおける2次元行列的に構
成されたメモリの書き込み及び読み出しの方向が隣あう
行および列の順にシーケンシャルであることに特徴があ
る。この結果、図5に示すように出力データストリーム
は入力データの一が入れ替えられて出力される。FIG. 4 illustrates a memory access state according to such a conventional interleave method. As shown in the drawing, the writing and reading directions of the memory configured in a two-dimensional matrix in the memory circuit block are sequential in the order of adjacent rows and columns. As a result, as shown in FIG. 5, in the output data stream, one of the input data is replaced and output.
【0009】このようなインターリーブ回路はブロック
符号と畳み込み符号の連接符号化を行う場合にしばしば
用いられる。連接符号化された受信データストリームの
畳み込み符号をビタビ複号すると、もし訂正能力以上の
伝送路誤りがあるとビタビ複号回路はバースト的な誤り
を発生する。インターリーブ処理を施さなければ、外符
号として連接されたブロック符号の一つのブロックの中
に誤りが集中してしまい、このブロック内の誤りを訂正
できなくなる。しかし、インターリーブ処理を施すこと
により、このバースト的な誤りを分散させることができ
るので、ブロック符号で分散された誤りを訂正できるの
である。Such an interleave circuit is often used when performing concatenated coding of a block code and a convolutional code. When the convolutional code of the concatenated coded received data stream is Viterbi-decoded, if there is a transmission line error exceeding the correction capability, the Viterbi decoding circuit generates a burst-like error. If the interleaving process is not performed, errors concentrate in one block of the block code concatenated as the outer code, and the error in this block cannot be corrected. However, since the burst-like error can be dispersed by performing the interleave processing, the error dispersed by the block code can be corrected.
【0010】またフェーディングにより受信レベルが低
下し、いわゆる瞬時C/Nが低下して誤りがバースト的
に発生するような伝送路において、このインターリーブ
方式がしばしば使用される。この場合も、インターリー
ブ処理を行うことによって、誤り訂正能力以上の誤りが
フェーディングにより集中的に発生することがなくな
り、誤りを分散させることによって効果的な誤り訂正を
施すことができる。Further, this interleave system is often used in a transmission line in which the reception level is lowered by fading, so-called instantaneous C / N is lowered, and errors occur in bursts. Also in this case, by performing the interleaving process, it is possible to prevent the errors exceeding the error correction capability from intensively occurring due to fading, and it is possible to perform the error correction effectively by dispersing the errors.
【0011】このように、インターリーブ処理はバース
ト的に集中して発生する誤りを分散させることによって
誤り訂正処理の効果を向上させることを目的に用いられ
ているので、その能力はいかに誤りを分散させるかで評
価される。As described above, the interleaving process is used for the purpose of improving the effect of the error correction process by dispersing the errors generated by burst-like concentration. Is evaluated by.
【0012】[0012]
【発明が解決しようとする課題】従来のインターリーブ
方式では、図4および図5に示したように、m行n列の
マトリックス状に構成されているメモリを用いたとき、
入力データはnデータ毎に分散される。したがって、入
力データの分散間隔を大きくするにはメモリの回路規模
を大きくする必要がある。According to the conventional interleave method, as shown in FIGS. 4 and 5, when a memory arranged in a matrix of m rows and n columns is used,
The input data is distributed every n data. Therefore, in order to increase the distribution interval of input data, it is necessary to increase the circuit scale of the memory.
【0013】この発明の目的は、メモリの回路規模を大
きくしなくても、入力データの分散間隔を従来よりも大
きくすることができるようにしたインターリーブ方式お
よびインターリーブ回路を提供することにある。An object of the present invention is to provide an interleaving system and an interleaving circuit in which the distribution interval of input data can be made larger than before without increasing the circuit scale of the memory.
【0014】[0014]
【課題を解決するための手段】第1の発明では、行列2
次元配列の記憶セルアレイを有する2組のメモリに対し
て、一方のメモリの読み出し動作と他方のメモリの書き
込み動作とが交互に逆になるように制御して共通の入出
力データストリームを取り扱うインターリーブ方式にお
いて、一方の書き込みモードのメモリに対しては、記憶
セルアレイの行方向に入力データを順次連続的に書き込
み、その行の書き込みを終えたならば、隣の行について
同様の書き込み動作を順次行い、他方の読み出しモード
のメモリに対しては、記憶セルアレイの列方向に順次連
続的にデータを読み出し、その列のすべてのデータを読
み出したならば、あらかじめ決められた規則に従った非
連続的な順序でつぎに読み出すべき列の選択を行い、選
択された列について同様の読み出し動作を順次行い、そ
れぞれのメモリに対して前記の書き込みモードおよび読
み出しモードの一連の動作を終えたならば、両メモリの
動作モードを逆転させて同様な動作を繰り返すようにし
た。According to the first invention, the matrix 2
An interleave method for handling a common input / output data stream by controlling so that the read operation of one memory and the write operation of the other memory are alternately reversed with respect to two sets of memories having a dimensional array of memory cell arrays. In, in one of the write mode memories, input data is sequentially and continuously written in the row direction of the memory cell array, and when the writing of the row is completed, the same write operation is sequentially performed on the adjacent row, For the memory in the other read mode, if data is read sequentially and continuously in the column direction of the memory cell array and all the data in that column is read, a non-sequential order according to a predetermined rule. Select the column to be read next with, and perform the same read operation for the selected column in sequence. Upon completion of the series of operations of the write mode and read mode and were to repeat the same operation by reversing the operation mode of the memories.
【0015】第2の発明では、行列2次元配列の記憶セ
ルアレイを有する2組のメモリに対して、一方のメモリ
の読み出し動作と他方のメモリの書き込み動作とが交互
に逆になるように制御して共通の入出力データストリー
ムを取り扱うインターリーブ方式において、一方の書き
込みモードのメモリに対しては、記憶セルアレイの行方
向に順次連続的に入力データを書き込み、その行の書き
込みを終えたならば、あらかじめ決められた規則に従っ
た非連続的な順序でつぎに読み出すべき行の選択を行
い、選択された行について同様の書き込み動作を順次行
い、他方の読み出しモードのメモリに対しては、記憶セ
ルアレイの列方向にデータを順次連続的に読み出し、そ
の列のすべてのデータを読み出したならば、隣の列につ
いて同様の読み出し動作を順次行い、それぞれのメモリ
に対して前記の書き込みモードおよび読み出しモードの
一連の動作を終えたならば、両メモリの動作モードを逆
転させて同様な動作を繰り返すようにした。According to the second aspect of the present invention, two sets of memories having a two-dimensional matrix storage cell array are controlled so that the read operation of one memory and the write operation of the other memory are alternately reversed. In the interleave method that handles a common input / output data stream, the input data is sequentially and continuously written in the row direction of the memory cell array to the memory in one of the write modes. The row to be read next is selected in a non-continuous order according to the determined rule, the same write operation is sequentially performed on the selected row, and the memory cell array of the other read mode is selected. If you read all the data in the column sequentially and continuously, and read all the data in that column, the same reading will be performed for the next column. Sequentially performed work, Once for each of the memory after a series of operations of the write mode and read mode, and repeats the same operation by reversing the operation mode of the memories.
【0016】また第1の発明のインターリーブ方式を適
用したインターリーブ回路は、行列2次元配列の記憶セ
ルアレイを有する2組のメモリに対して、一方のメモリ
の読み出し動作と他方のメモリの書き込み動作とが交互
に逆になるように制御して共通の入出力データストリー
ムを取り扱うインターリーブ回路であって、一方の書き
込みモードのメモリに対しては、記憶セルアレイの行方
向に入力データを順次連続的に書き込み、その行の書き
込みを終えたならば、隣の行について同様の書き込み動
作を順次行う書き込み順序制御手段と、他方の読み出し
モードのメモリに対しては、記憶セルアレイの列方向に
順次連続的にデータを読み出し、その列のすべてのデー
タを読み出したならば、あらかじめ決められた規則に従
った非連続的な順序でつぎに読み出すべき列の選択を行
い、選択された列について同様の読み出し動作を順次行
う読み出し順序制御手段と、それぞれのメモリに対して
前記の書き込みモードおよび読み出しモードの一連の動
作を終えたならば、両メモリの動作モードを逆転させて
同様な動作を繰り返すモード切り替え制御手段とを備え
る。In the interleave circuit to which the interleave method of the first invention is applied, the read operation of one memory and the write operation of the other memory are performed for two sets of memories having a memory cell array of a matrix two-dimensional array. An interleave circuit that handles a common input / output data stream by controlling them so that they are alternately reversed.For a memory in one write mode, input data is sequentially and continuously written in the row direction of a memory cell array. When the writing of the row is completed, the writing order control means for sequentially performing the same writing operation on the adjacent row and the memory in the other reading mode sequentially and continuously write the data in the column direction of the memory cell array. After reading and reading all the data in that column, the non-sequential order according to a predetermined rule Then, the column to be read is selected next, and the read order control means for sequentially performing the same read operation for the selected column and the series of operations in the write mode and the read mode for each memory are completed. For example, a mode switching control unit that reverses the operation modes of both memories and repeats similar operations is provided.
【0017】また第2の発明のインターリーブ方式を適
用したインターリーブ回路は、行列2次元配列の記憶セ
ルアレイを有する2組のメモリに対して、一方のメモリ
の読み出し動作と他方のメモリの書き込み動作とが交互
に逆になるように制御して共通の入出力データストリー
ムを取り扱うインターリーブ回路であって、一方の書き
込みモードのメモリに対しては、記憶セルアレイの行方
向に順次連続的に入力データを書き込み、その行の書き
込みを終えたならば、あらかじめ決められた規則に従っ
た非連続的な順序でつぎに読み出すべき行の選択を行
い、選択された行について同様の書き込み動作を順次行
う書き込み順序制御手段と、他方の読み出しモードのメ
モリに対しては、記憶セルアレイの列方向にデータを順
次連続的に読み出し、その列のすべてのデータを読み出
したならば、隣の列について同様の読み出し動作を順次
行う読み出し順序制御手段と、それぞれのメモリに対し
て前記の書き込みモードおよび読み出しモードの一連の
動作を終えたならば、両メモリの動作モードを逆転させ
て同様な動作を繰り返すモード切り替え制御手段とを備
える。In the interleave circuit to which the interleave system of the second invention is applied, the read operation of one memory and the write operation of the other memory are performed for two sets of memories having a memory cell array of a matrix two-dimensional array. An interleave circuit that handles a common input / output data stream by controlling them so that they are alternately reversed, and sequentially writes input data in a row direction of a memory cell array to a memory in one write mode, When the writing of the row is finished, the writing order control means for selecting the row to be read next in a non-continuous order according to a predetermined rule and sequentially performing the same writing operation on the selected row. And for the memory in the other read mode, the data is sequentially and continuously read in the column direction of the memory cell array. If all the data in that column has been read, read sequence control means for sequentially performing the same read operation for the adjacent column, and if the series of operations in the write mode and read mode described above for each memory is completed. For example, a mode switching control unit that reverses the operation modes of both memories and repeats similar operations is provided.
【0018】前記の各発明の構成において、「あらかじ
め決められた規則に従った非連続的な順序」とは、セッ
ト分割法あるいはビット反転法により規定された順序で
ある。In the above-mentioned configurations of the inventions, "a discontinuous order according to a predetermined rule" is an order defined by the set division method or the bit inversion method.
【0019】[0019]
【作用】書き込みモードか読み出しモードのいずれか一
方の動作において、あらかじめ決められた規則に従った
非連続的な順序、例えばセット分割法あるいはビット反
転法に従った順序でメモリをアクセスすることで、入力
データの分散間隔を、同一の回路規模のメモリについて
従来の方式よりも大きくすることができ、誤り訂正の特
性が向上するIn either the write mode or the read mode, the memory is accessed in a non-continuous order according to a predetermined rule, for example, according to the set division method or the bit inversion method, The distribution interval of input data can be made larger than that of the conventional method for the memory of the same circuit scale, and the error correction characteristic is improved.
【0020】[0020]
【実施例】以下、本発明の実施例を図面を参照して説明
する。Embodiments of the present invention will be described below with reference to the drawings.
【0021】対象とするインターリーブ回路の構成は図
1で表現されたレベルでは従来例と同一であるが、シリ
アル/パラレル変換器31および32からFIFO40
1〜40mおよびFIFO411〜41mへの接続が異
なる。従来例におけるメモリのアクセスは、図2に示し
たように、インターリーブメモリの行および列の若い順
に読み書きを行っていた。これに対して本発明では、メ
モリへの書き込み(またはメモリからの読み出し)時は
従来どうりにメモリをアクセスするが、メモリからの読
み出し(またはメモリへの書き込み)時にはあらかじめ
決められた規則に従って順序による。この規則としてセ
ット分割法とビット反転法を用いていることが特徴であ
る。The structure of the target interleave circuit is the same as that of the conventional example at the level expressed in FIG. 1, but the serial / parallel converters 31 and 32 to the FIFO 40 are used.
1 to 40 m and the connections to the FIFOs 411 to 41 m are different. In the memory access in the conventional example, as shown in FIG. 2, reading and writing were performed from the youngest row and column of the interleaved memory. On the other hand, in the present invention, when writing (or reading from) the memory, the memory is accessed as in the conventional case, but when reading from (or writing to) the memory, the order is determined according to a predetermined rule. by. This rule is characterized by using the set division method and the bit inversion method.
【0022】図6はセット分割法の例を示す。この例の
ように、たとえばFIFO数が8のメモリからなる集合
があったとき、この集合をそれぞれの最小ユークリッド
距離がもとの集合の最小ユークリッド距離よりも大きく
なるようなふたつの四つのFIFOからなる集合に分割
し、さらにこの分割した集合に対しても順次同様の分割
を繰り返し行ってゆく。そして各FIFOに対して読み
出し順序番号を割り振る。この図6の例では隣あう順序
番号間では平均では約3.8行、最小でも2行離れてお
り、従来の常に1行しか離れない配列よりもデータを分
散させることができていることがわかる。さらに図7に
は同様のセット分割法を用いて図6とは異なる位置番号
および順序番号を割り当てた例であるが、この例での隣
あう順序番号間では約4.4行、最小でも3行離れてお
り、図6の割り当てよりもさらにデータを分散させるこ
とができる。FIG. 6 shows an example of the set division method. As in this example, when there is, for example, a set consisting of memories each having a FIFO number of 8, the set is divided into four FIFOs whose minimum Euclidean distance is larger than the minimum Euclidean distance of the original set. Then, the same division is sequentially repeated for the divided set. Then, a read order number is assigned to each FIFO. In the example of FIG. 6, the average number of adjacent sequence numbers is about 3.8 lines, and the minimum number of lines is two lines, which means that the data can be dispersed more than the conventional array in which only one line is always separated. Recognize. Further, FIG. 7 shows an example in which a position number and a sequence number different from those in FIG. 6 are assigned by using the same set division method. In this example, adjacent sequence numbers have about 4.4 lines, and at least 3 lines. The rows are separated and the data can be distributed more than the allocation in FIG.
【0023】図8(a),(b)はビット反転法による
順序規則の定義の仕方について説明している。この方法
はFIFO401〜40mに順にメモリ行番号を割り付
け、このメモリ行番号を2進数で表した数のビットの並
び順を反転した数を求め、このビット反転数に従ってF
IFOからの読み出し順序を決定する手法である。この
ビット反転法を用いたときも隣合う順序番号間では平均
で約3.6行、最小でも2行離れており、このようなビ
ット反転法による順序規則を用いても従来の常に1行し
か離れない配列よりもデータを分散させことができる。FIGS. 8A and 8B explain how to define the order rule by the bit inversion method. This method allocates memory line numbers to the FIFOs 401 to 40m in order, obtains a number obtained by reversing the order of arrangement of bits of the memory line number represented by a binary number, and according to this bit inversion number, F
This is a method of determining the order of reading from the IFO. Even when this bit inversion method is used, the adjacent sequence numbers are on average about 3.6 lines apart, and at least 2 lines apart, and even if such an order rule by the bit inversion method is used, only one line is always present. The data can be distributed more than the arrays that are not separated.
【0024】図9は図6の割り当て法の順序番号に従っ
てその位置番号に相当するメモリの行あるいは列番号を
呼んでゆくときの本発明の第1の実施例によるメモリア
クセスの方法を示す。このようなメモリアクセスを実現
する回路として図1のインターリーブ回路を用いること
ができるが、入出力回路としては図10に示したように
メモリからの読み出し順序を制御するために、あらかじ
め読み出し順序がプログラムされたROM70をm進カ
ウンタ71の出力でアクセスしている。FIG. 9 shows a memory access method according to the first embodiment of the present invention when the row or column number of the memory corresponding to the position number is called according to the sequence number of the allocation method of FIG. The interleave circuit of FIG. 1 can be used as a circuit for realizing such a memory access. However, as the input / output circuit, the read order is programmed in advance in order to control the read order from the memory as shown in FIG. The read ROM 70 is accessed by the output of the m-ary counter 71.
【0025】第1の実施例である図9および図10の例
ではメモリへの書き込みは従来どうりとし、メモリから
の読み出しの時に読み出し順序をあらかじめプログラム
されたROMを用いて制御していたが、第2の実施例と
して逆にメモリへの書き込み時に書き込み順序を制御
し、メモリからの読み出しの時には従来どうりにFIF
O1からFIFOmまで順序読み出してゆくこともでき
る。このようなメモリのアクセス法を図11に示した。
この図11に示すようなメモリアクセス法は図1の従来
のインターリーブ回路においてシリアル/パラレル変換
部31および32を図12のように構成するだけで実現
できる。即ちシリアル/パラレル変換器31および32
からのパラレル出力の各ビットをメモリからの読み出し
順序規則に対応して接続する構成にする。このようにシ
リアル/パラレル変換器の各ビットとFIFOの接続の
対応を変えるだけで入出力制御回路6および7も従来の
どうりでよいので、第1の実施例のようにROMを追加
する必要もない。In the example of FIGS. 9 and 10 which is the first embodiment, the writing to the memory is performed conventionally, and the reading order is controlled by using the preprogrammed ROM when reading from the memory. As a second embodiment, conversely, the writing order is controlled when writing to the memory, and when reading from the memory, the FIF is changed as in the conventional case.
It is also possible to sequentially read from O1 to FIFOm. Such a memory access method is shown in FIG.
The memory access method as shown in FIG. 11 can be realized only by configuring the serial / parallel conversion units 31 and 32 in the conventional interleave circuit of FIG. 1 as shown in FIG. That is, the serial / parallel converters 31 and 32
Each bit of the parallel output from is connected according to the order of reading from the memory. In this way, the input / output control circuits 6 and 7 can be made different from the conventional ones only by changing the correspondence between each bit of the serial / parallel converter and the connection of the FIFO. Therefore, it is necessary to add the ROM as in the first embodiment. Nor.
【0026】[0026]
【発明の効果】以上述べたように、本発明ではメモリア
クセス順序にセット分割法やビット反転法などの規則を
用いることで、メモリの回路規模を大きくすることな
く、従来よりも大きな間隔に入力データを分散できるよ
うなインターリーブ方式および回路となる。As described above, according to the present invention, the rules such as the set division method and the bit inversion method are used for the memory access order, so that the input can be performed at a larger interval than before without increasing the circuit scale of the memory. The interleave system and circuit are such that data can be distributed.
【図1】インターリーブ回路の構成(従来と本発明に共
通する)を説明する図。FIG. 1 is a diagram illustrating a configuration of an interleave circuit (common to a conventional device and the present invention).
【図2】従来のシリアル/パラレル変換器とFIFOメ
モリの接続を説明する図。FIG. 2 is a diagram for explaining a connection between a conventional serial / parallel converter and a FIFO memory.
【図3】従来の入出力制御回路の構成図。FIG. 3 is a configuration diagram of a conventional input / output control circuit.
【図4】従来のインターリーブメモリの構成とそのアク
セス法を説明する図。FIG. 4 is a diagram illustrating a configuration of a conventional interleaved memory and an access method thereof.
【図5】従来のインターリーブメモリの入出力データス
トリームの概念図。FIG. 5 is a conceptual diagram of an input / output data stream of a conventional interleave memory.
【図6】第1のセット分割法による順序規則を説明する
図。FIG. 6 is a diagram illustrating an order rule according to a first set division method.
【図7】第2のセット分割法による順序規則を説明する
図。FIG. 7 is a diagram illustrating an order rule according to a second set division method.
【図8】(a)はビット反転法によるメモリ行番号と読
み出し順序番号の対応を示す図、(b)はビット反転法
による順序規則を説明する図。8A is a diagram showing a correspondence between a memory row number and a reading order number by the bit inversion method, and FIG. 8B is a diagram explaining an order rule by the bit inversion method.
【図9】(a),(b)はそれぞれ第1の実施例におけ
るインターリーブメモリのアクセス法を示す概念図。9A and 9B are conceptual diagrams showing the access method of the interleaved memory in the first embodiment.
【図10】第1の実施例における入出力回路の構成を説
明する図。FIG. 10 is a diagram illustrating a configuration of an input / output circuit according to the first embodiment.
【図11】(a),(b)はそれぞれ第2の実施例にお
けるインターリーブメモリのアクセス法を示す概念図。11A and 11B are conceptual diagrams showing an access method of an interleaved memory in the second embodiment.
【図12】第2の実施例におけるシリアル/パラレル変
換器とFIFOの接続を説明する図。FIG. 12 is a diagram for explaining the connection between the serial / parallel converter and the FIFO in the second embodiment.
1…入力データストリーム 2…セレクト 100,200…メモリ回路ブロック 6,7…コントローラ 8…セレクト 9…出力データストリーム 31,32…シリアル/パラレル変換器 401〜40n…FIFOメモリ 411〜41n…FIFOメモリ 51,52…出力データセレクタ 1 ... Input data stream 2 ... Select 100, 200 ... Memory circuit block 6, 7 ... Controller 8 ... Select 9 ... Output data stream 31, 32 ... Serial / parallel converter 401-40n ... FIFO memory 411-41n ... FIFO memory 51 , 52 ... Output data selector
Claims (8)
る2組のメモリに対して、一方のメモリの読み出し動作
と他方のメモリの書き込み動作とが交互に逆になるよう
に制御して共通の入出力データストリームを取り扱うイ
ンターリーブ方式において、 一方の書き込みモードのメモリに対しては、記憶セルア
レイの行方向に入力データを順次連続的に書き込み、そ
の行の書き込みを終えたならば、隣の行について同様の
書き込み動作を順次行い、 他方の読み出しモードのメモリに対しては、記憶セルア
レイの列方向に順次連続的にデータを読み出し、その列
のすべてのデータを読み出したならば、あらかじめ決め
られた規則に従った非連続的な順序でつぎに読み出すべ
き列の選択を行い、選択された列について同様の読み出
し動作を順次行い、 それぞれのメモリに対して前記の書き込みモードおよび
読み出しモードの一連の動作を終えたならば、両メモリ
の動作モードを逆転させて同様な動作を繰り返すことを
特徴とするインターリーブ方式。1. For two sets of memories having a memory cell array of a matrix two-dimensional array, the read operation of one memory and the write operation of the other memory are controlled so as to be alternately reversed, and a common input is performed. In the interleave method that handles the output data stream, the input data is sequentially and continuously written in the row direction of the memory cell array to the memory in one of the write modes. Write operation is sequentially performed, and for the memory in the other read mode, if data is sequentially read continuously in the column direction of the memory cell array and all the data in that column is read, a predetermined rule is applied. The next column to be read is selected in a non-sequential order, and the same read operation is sequentially performed on the selected column. Once for each of the memory after a series of operations of the write mode and read mode, interleaving scheme and repeating the same operation by reversing the operation mode of the memories.
る2組のメモリに対して、一方のメモリの読み出し動作
と他方のメモリの書き込み動作とが交互に逆になるよう
に制御して共通の入出力データストリームを取り扱うイ
ンターリーブ方式において、 一方の書き込みモードのメモリに対しては、記憶セルア
レイの行方向に順次連続的に入力データを書き込み、そ
の行の書き込みを終えたならば、あらかじめ決められた
規則に従った非連続的な順序でつぎに読み出すべき行の
選択を行い、選択された行について同様の書き込み動作
を順次行い、 他方の読み出しモードのメモリに対しては、記憶セルア
レイの列方向にデータを順次連続的に読み出し、その列
のすべてのデータを読み出したならば、隣の列について
同様の読み出し動作を順次行い、 それぞれのメモリに対して前記の書き込みモードおよび
読み出しモードの一連の動作を終えたならば、両メモリ
の動作モードを逆転させて同様な動作を繰り返すことを
特徴とするインターリーブ方式。2. With respect to two sets of memories having a memory cell array of a matrix two-dimensional array, a common input is performed by controlling the read operation of one memory and the write operation of the other memory alternately to be reversed. In the interleave method that handles the output data stream, the input data is sequentially and continuously written to the memory in one of the write modes in the row direction of the memory cell array, and when the writing of the row is completed, a predetermined rule is set. The row to be read next is selected in a non-contiguous sequence according to the above, and the same write operation is sequentially performed on the selected row.For the memory in the other read mode, data is read in the column direction of the memory cell array. If you read all the data in that column sequentially and sequentially, the same read operation is performed sequentially for the next column. Once for each of the memory after a series of operations of the write mode and read mode, interleaving scheme and repeating the same operation by reversing the operation mode of the memories.
いて、あらかじめ決められた規則に従った非連続的な順
序とは、セット分割法により規定された順序であること
を特徴とするインターリーブ方式。3. The interleave method according to claim 1, wherein the discontinuous order according to a predetermined rule is an order defined by a set division method. .
いて、あらかじめ決められた規則に従った非連続的な順
序とは、ビット反転法により規定された順序であること
を特徴とするインターリーブ方式。4. The interleave method according to claim 1, wherein the discontinuous order according to a predetermined rule is an order defined by a bit inversion method. .
る2組のメモリに対して、一方のメモリの読み出し動作
と他方のメモリの書き込み動作とが交互に逆になるよう
に制御して共通の入出力データストリームを取り扱うイ
ンターリーブ回路であって、 一方の書き込みモードのメモリに対しては、記憶セルア
レイの行方向に入力データを順次連続的に書き込み、そ
の行の書き込みを終えたならば、隣の行について同様の
書き込み動作を順次行う書き込み順序制御手段と、 他方の読み出しモードのメモリに対しては、記憶セルア
レイの列方向に順次連続的にデータを読み出し、その列
のすべてのデータを読み出したならば、あらかじめ決め
られた規則に従った非連続的な順序でつぎに読み出すべ
き列の選択を行い、選択された列について同様の読み出
し動作を順次行う読み出し順序制御手段と、 それぞれのメモリに対して前記の書き込みモードおよび
読み出しモードの一連の動作を終えたならば、両メモリ
の動作モードを逆転させて同様な動作を繰り返すモード
切り替え制御手段とを備えたことを特徴とするインター
リーブ回路。5. For two sets of memories having a memory cell array of a matrix two-dimensional array, a common input is performed by controlling the read operation of one memory and the write operation of the other memory alternately to be reversed. An interleave circuit that handles an output data stream.For a memory in one write mode, input data is sequentially and continuously written in the row direction of the memory cell array, and when the writing of that row is completed, the next row For the write order control means for sequentially performing the same write operation for the above, and for the memory in the other read mode, if the data is sequentially and continuously read in the column direction of the memory cell array and all the data in the column is read. , Select the column to be read next in a non-sequential order according to a predetermined rule, and perform the same for the selected column. A read order control means for sequentially performing a read operation, and a mode in which the same operation is repeated by reversing the operation modes of both memories when the series of operations of the write mode and the read mode are completed for each memory. An interleave circuit comprising a switching control means.
る2組のメモリに対して、一方のメモリの読み出し動作
と他方のメモリの書き込み動作とが交互に逆になるよう
に制御して共通の入出力データストリームを取り扱うイ
ンターリーブ回路であって、 一方の書き込みモードのメモリに対しては、記憶セルア
レイの行方向に順次連続的に入力データを書き込み、そ
の行の書き込みを終えたならば、あらかじめ決められた
規則に従った非連続的な順序でつぎに読み出すべき行の
選択を行い、選択された行について同様の書き込み動作
を順次行う書き込み順序制御手段と、 他方の読み出しモードのメモリに対しては、記憶セルア
レイの列方向にデータを順次連続的に読み出し、その列
のすべてのデータを読み出したならば、隣の列について
同様の読み出し動作を順次行う読み出し順序制御手段
と、 それぞれのメモリに対して前記の書き込みモードおよび
読み出しモードの一連の動作を終えたならば、両メモリ
の動作モードを逆転させて同様な動作を繰り返すモード
切り替え制御手段とを備えたことを特徴とするインター
リーブ回路。6. With respect to two sets of memories having a memory cell array of a matrix two-dimensional array, the read operation of one memory and the write operation of the other memory are controlled so as to be alternately reversed, and a common input is performed. An interleave circuit that handles an output data stream.For a memory in one of the write modes, input data is sequentially and continuously written in the row direction of the memory cell array. For the memory in the other read mode, the write order control means for selecting the row to be read next in a non-continuous order according to the rule and sequentially performing the same write operation for the selected row, If data is sequentially and continuously read in the column direction of the memory cell array and all the data in that column is read, the same applies to the adjacent column. A read order control means for sequentially performing a read operation, and a mode in which the same operation is repeated by reversing the operation modes of both memories when the series of operations of the write mode and the read mode are completed for each memory. An interleave circuit comprising a switching control means.
いて、あらかじめ決められた規則に従った非連続的な順
序とは、ビット反転法により規定された順序であること
を特徴とするインターリーブ回路。7. The interleave circuit according to claim 5, wherein the discontinuous order according to a predetermined rule is an order defined by a bit inversion method. .
いて、あらかじめ決められた規則に従った非連続的な順
序とは、ビット反転法により規定された順序であること
を特徴とするインターリーブ回路。8. The interleave circuit according to claim 5, wherein the discontinuous order according to a predetermined rule is an order defined by a bit inversion method. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22546094A JP3304632B2 (en) | 1994-09-21 | 1994-09-21 | Interleaving method and interleaving circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22546094A JP3304632B2 (en) | 1994-09-21 | 1994-09-21 | Interleaving method and interleaving circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0897731A true JPH0897731A (en) | 1996-04-12 |
| JP3304632B2 JP3304632B2 (en) | 2002-07-22 |
Family
ID=16829689
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP22546094A Expired - Fee Related JP3304632B2 (en) | 1994-09-21 | 1994-09-21 | Interleaving method and interleaving circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3304632B2 (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1999025069A1 (en) * | 1997-11-10 | 1999-05-20 | Ntt Mobile Communications Network, Inc. | Interleaving method, interleaving apparatus, and recording medium in which interleave pattern generating program is recorded |
| WO1999041865A1 (en) * | 1998-02-13 | 1999-08-19 | Sony Corporation | Modulating method, modulating device, demodulating method, and demodulating device |
| US6564343B1 (en) | 1999-02-19 | 2003-05-13 | Fujitsu Limited | Bit interleave circuit and bit deinterleave circuit |
| US7191369B2 (en) * | 1998-05-27 | 2007-03-13 | Ntt Mobile Communications Network, Inc. | Method and device for interleaving and method and device for de-interleaving |
| KR100846017B1 (en) * | 2000-10-30 | 2008-07-11 | 가부시키가이샤 히타치세이사쿠쇼 | Semiconductor device for controlling data communication and wireless communication system |
| JP2011503955A (en) * | 2007-11-06 | 2011-01-27 | サムスン エレクトロニクス カンパニー リミテッド | Method and encoding system for encoding error control code between bit strings |
| CN120412699A (en) * | 2025-07-02 | 2025-08-01 | 深圳佰维存储科技股份有限公司 | Storage device testing method, device, readable storage medium and electronic device |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8572332B2 (en) * | 2008-03-28 | 2013-10-29 | Qualcomm Incorporated | De-interleaving mechanism involving a multi-banked LLR buffer |
-
1994
- 1994-09-21 JP JP22546094A patent/JP3304632B2/en not_active Expired - Fee Related
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1999025069A1 (en) * | 1997-11-10 | 1999-05-20 | Ntt Mobile Communications Network, Inc. | Interleaving method, interleaving apparatus, and recording medium in which interleave pattern generating program is recorded |
| US6631491B1 (en) | 1997-11-10 | 2003-10-07 | Ntt Mobile Communications Network, Inc. | Interleaving method, interleaving apparatus, and recording medium in which interleave pattern generating program is recorded |
| WO1999041865A1 (en) * | 1998-02-13 | 1999-08-19 | Sony Corporation | Modulating method, modulating device, demodulating method, and demodulating device |
| CN1263659B (en) | 1998-02-13 | 2010-09-29 | 索尼公司 | Modulation method, modulation device, demodulation method and demodulation device |
| US7191369B2 (en) * | 1998-05-27 | 2007-03-13 | Ntt Mobile Communications Network, Inc. | Method and device for interleaving and method and device for de-interleaving |
| US7428667B2 (en) | 1998-05-27 | 2008-09-23 | Ntt Mobile Communications Networks, Inc. | Method and device for interleaving and method and device for de-interleaving |
| US7469365B2 (en) | 1998-05-27 | 2008-12-23 | Ntt Mobile Communications Network, Inc. | Method and device for interleaving and method and device for de-interleaving |
| US6564343B1 (en) | 1999-02-19 | 2003-05-13 | Fujitsu Limited | Bit interleave circuit and bit deinterleave circuit |
| KR100846017B1 (en) * | 2000-10-30 | 2008-07-11 | 가부시키가이샤 히타치세이사쿠쇼 | Semiconductor device for controlling data communication and wireless communication system |
| JP2011503955A (en) * | 2007-11-06 | 2011-01-27 | サムスン エレクトロニクス カンパニー リミテッド | Method and encoding system for encoding error control code between bit strings |
| CN120412699A (en) * | 2025-07-02 | 2025-08-01 | 深圳佰维存储科技股份有限公司 | Storage device testing method, device, readable storage medium and electronic device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3304632B2 (en) | 2002-07-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6993699B2 (en) | Turbo decoding apparatus and interleave-deinterleave apparatus | |
| US7096402B2 (en) | Turbo decoder | |
| JPH07212251A (en) | Interleaving process | |
| US8194782B2 (en) | Grouping bits interleaving apparatus and method thereof | |
| JPH0897731A (en) | Interleave method and interleave circuit | |
| JP2002152054A (en) | Apparatus for performing interleaving / deinterleaving including an address generator, a method thereof, and a channel coding system using the same | |
| US7073012B2 (en) | System and method for interleaving data in a communications device | |
| US7013412B2 (en) | Method for segmentally deinterleaving a data signal | |
| US11822492B2 (en) | Signal encoding method and a semiconductor device to generate an optimal transition code in a multi-level signaling system | |
| JP3551881B2 (en) | Interleave device and deinterleave device | |
| US7299387B2 (en) | Address generator for block interleaving | |
| KR100499467B1 (en) | Block interleaving method, and apparatus for the same | |
| US4534029A (en) | Fault alignment control system and circuits | |
| JP3717912B2 (en) | Interleave device | |
| US7308618B2 (en) | Interleaver and device for decoding digital signals comprising such an interleaver | |
| CN109728826A (en) | A kind of data interleaving and deinterleaving method and device | |
| US20070234190A1 (en) | Viterbi Decoding Apparatus and Viterbi Decoding Method | |
| KR100439029B1 (en) | Parallel de-interleaver and receiver including the de-interleaver in CDMA transfer system | |
| JPH03242027A (en) | Parallel error correction system with interleaving function added | |
| JPH10163887A (en) | Interleave device and deinterleave device | |
| JPS5815353A (en) | Data demodulation circuit | |
| KR0183171B1 (en) | Interleaver and deinterleaver and method | |
| JPS61242426A (en) | Chained encoding and error correcting circuit | |
| JPH07273672A (en) | Encoding device, decoder and controller | |
| KR20040031323A (en) | Recording apparatus and method for path metrics of vitervi decoder |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |