JP2001196941A - Interleaver and interleaving method - Google Patents

Interleaver and interleaving method

Info

Publication number
JP2001196941A
JP2001196941A JP2000004553A JP2000004553A JP2001196941A JP 2001196941 A JP2001196941 A JP 2001196941A JP 2000004553 A JP2000004553 A JP 2000004553A JP 2000004553 A JP2000004553 A JP 2000004553A JP 2001196941 A JP2001196941 A JP 2001196941A
Authority
JP
Japan
Prior art keywords
data
address
interleave
size
interleave pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000004553A
Other languages
Japanese (ja)
Inventor
Hajime Kuriyama
元 栗山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2000004553A priority Critical patent/JP2001196941A/en
Publication of JP2001196941A publication Critical patent/JP2001196941A/en
Pending legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)
  • Digital Transmission Methods That Use Modulated Carrier Waves (AREA)

Abstract

PROBLEM TO BE SOLVED: To continuously conduct interleave processing at a prescribed speed by using an interleave pattern that is generated at an optional generating speed and an optional size. SOLUTION: An interleave pattern generating section 102 generates an interleave pattern on the basis of a size calculated by a size calculation section 111. An address selection section 112 selects only a valid address among addresses of the interleave pattern and stores the selected address to an address storage section 103. A data processing discrimination section 113 calculates a parallel processing value resulting from dividing a product between a data size and an interleave generating speed by a data processing speed, and informs a data control section 114 about processing start information when number of addresses stored in the address storage section 103 is a value resulting from subtracting the parallel processing value from the size of the generated interleave pattern or over. The data control section 114 receiving the information uses the address stored in the address storage section 103 to conduct interleave processing.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ターボ符号化/復
号装置等の信号処理装置で使用されるインタリーブ装置
およびインタリーブ方法に関する。
The present invention relates to an interleave device and an interleave method used in a signal processing device such as a turbo encoding / decoding device.

【0002】[0002]

【従来の技術】無線通信においては、信号において局所
的に連続して誤りが発生するバースト誤りの発生により
信号の誤り訂正能力の劣化を低減するために、ビットイ
ンタリーブシステムを併用したインタリーブ通信が提案
されている。
2. Description of the Related Art In radio communication, interleave communication using a bit interleave system is proposed in order to reduce the deterioration of the error correction capability of a signal due to the occurrence of a burst error in which an error occurs locally locally in the signal. Have been.

【0003】以下、図5を用いて、従来のインタリーブ
装置について説明する。図5は、従来のインタリーブ装
置の構成を示すブロック図である。
Hereinafter, a conventional interleaving apparatus will be described with reference to FIG. FIG. 5 is a block diagram showing a configuration of a conventional interleave device.

【0004】図5において、制御部11は、インタリー
ブパターンのサイズをインタリーブパターン生成部12
に出力する。また、制御部11は、外部から入力された
データをデータ記憶部13に書き込み、データの書き込
みが終了した後、データ記憶部13からデータを読み出
し、外部に出力する。インタリーブパターン生成部12
は、サイズ情報に基づいてインタリーブパターンを生成
し、制御部11に出力する。データ記憶部13は、デー
タを記憶し、要求に応じて制御部11にデータを出力す
る。
[0005] In FIG. 5, a control unit 11 determines the size of an interleave pattern by an interleave pattern generation unit 12.
Output to Further, the control unit 11 writes data input from the outside into the data storage unit 13, and after the data writing is completed, reads the data from the data storage unit 13 and outputs the data to the outside. Interleave pattern generator 12
Generates an interleave pattern based on the size information and outputs the interleaved pattern to the control unit 11. The data storage unit 13 stores data and outputs the data to the control unit 11 according to a request.

【0005】次に、図5のインタリーブ装置の動作手順
ついて説明する。最初に、外部から入力されたデータサ
イズの情報に基づいて、制御部11は、生成するインタ
リーブパターンサイズをインタリーブパターン生成部1
2に出力する。インタリーブパターン生成部12は、イ
ンタリーブパターンサイズに基づいて、インタリーブパ
ターンを生成し、制御部11に出力する。制御部11
は、インタリーブパターンをアドレスとして、外部から
入力したデータを、データ記憶部13の所定のアドレス
位置に書き込む。そして、制御部11は、データの書き
込み処理が一通り終了した後、データ記憶部13から、
所定の順にデータを読み出し、外部に出力する。
Next, the operation procedure of the interleave device shown in FIG. 5 will be described. First, based on data size information input from the outside, the control unit 11 determines the size of the interleave pattern to be generated by the interleave pattern generation unit 1.
Output to 2. The interleave pattern generation unit 12 generates an interleave pattern based on the interleave pattern size, and outputs the generated interleave pattern to the control unit 11. Control unit 11
Writes data input from the outside into a predetermined address position of the data storage unit 13 using the interleave pattern as an address. Then, after the data writing process is completely completed, the control unit 11 reads from the data storage unit 13
Data is read out in a predetermined order and output to the outside.

【0006】次に、上述した信号の並べ替え(インタリ
ーブ)動作について、7つのデータの順序を(D1,D
2,D3,D4,D5,D6,D7)から(D5,D
2,D6,D3,D4,D1,D7)に並べ替える2つ
の例を示す。
Next, regarding the above-described signal rearranging (interleaving) operation, the order of seven data is changed to (D1, D
2, D3, D4, D5, D6, D7) to (D5, D
2, D6, D3, D4, D1, D7).

【0007】図6(a)は、インタリーブ動作における
データの流れを示す図である。インタリーブ装置に入力
されたデータ(D1,D2,D3,D4,D5,D6,
D7)は、アドレス(A1、A2,A3,A4,A5,
A6,A7)の並びでデータ記憶部13に書き込まれ
る。そして、制御部11は、データ記憶部13からデー
タを読み出す場合、アドレスとしてインタリーブパター
ンを用いる。この場合、インタリーブパターンに基づい
たアドレス(A5、A2,A6,A3,A4,A1,A
7)の並びで、記憶部からデータを順に読み出す。この
結果、データは、(D5,D2,D6,D3,D4,D
1,D7)の順序に並び替えられる。
FIG. 6A is a diagram showing a data flow in the interleaving operation. Data input to the interleaver (D1, D2, D3, D4, D5, D6,
D7) is an address (A1, A2, A3, A4, A5)
A6, A7) are written in the data storage unit 13 in a sequence. Then, when reading data from the data storage unit 13, the control unit 11 uses an interleave pattern as an address. In this case, the addresses based on the interleave pattern (A5, A2, A6, A3, A4, A1, A
Data is sequentially read from the storage unit in the order of 7). As a result, the data is (D5, D2, D6, D3, D4, D
1, D7).

【0008】図6(b)は、もう1つのインタリーブ動
作におけるデータの流れを示す。インタリーブ装置に入
力されたデータ(D1,D2,D3,D4,D5,D
6,D7)は、インタリーブパターンに基づいたアドレ
ス(A6、A2,A4,A5,A1,A3,A7)の並
びでデータ記憶部13に書き込まれる。そして、制御部
11は、アドレス(A1、A2,A3,A4,A5,A
6,A7)の並びでデータ記憶部13からデータを読み
出す。この結果、データは、(D5,D2,D6,D
3,D4,D1,D7)の順序に並び替えられる。
FIG. 6B shows a data flow in another interleaving operation. The data (D1, D2, D3, D4, D5, D
6, D7) are written in the data storage unit 13 in a sequence of addresses (A6, A2, A4, A5, A1, A3, A7) based on the interleave pattern. Then, the control unit 11 stores the addresses (A1, A2, A3, A4, A5, A
The data is read from the data storage unit 13 in the order of (6, A7). As a result, the data becomes (D5, D2, D6, D
3, D4, D1, D7).

【0009】上記2つの方法で使用するインタリーブパ
ターンは、データ記憶部13にデータを書き込む際、又
はデータ記憶部13から読み出す際のアドレスとして用
いられるので、データと同じサイズであればよい。この
場合、インタリーブパターンの生成速度は、データを処
理する速度と同じであれば、一定速度で連続的にインタ
リーブ処理が行うことができる。
The interleave pattern used in the above two methods is used as an address when writing data to the data storage unit 13 or when reading data from the data storage unit 13, so that the interleave pattern may have the same size as the data. In this case, if the generation speed of the interleave pattern is the same as the data processing speed, the interleave processing can be performed continuously at a constant speed.

【0010】ところが、インタリーブパターンは、その
生成方法により特定のサイズに限定されることがある。
この場合、インタリーブパターンは、データのサイズと
同じ又はより大きいサイズで生成される。例えば、素数
を用いたインタリーバ(渋谷彰、須田博人、“素数を用
いたW−CDMA用Turbo符号インタリーバ、”B-
5-78、電子情報通信学会通信ソサエティ大会、1999年)
は、データサイズが1280ビットの際、素数67の2
0倍である1340ビットのサイズのインタリーブパタ
ーンを生成させている。この場合、生成したインタリー
ブパターンのアドレスのうち、データサイズより大きい
アドレスを無効とし、データサイズと同じ又はより小さ
いアドレスをインタリーブ処理に使用する。
[0010] However, the interleave pattern may be limited to a specific size depending on the generation method.
In this case, the interleave pattern is generated with a size equal to or larger than the size of the data. For example, an interleaver using prime numbers (Akira Shibuya, Hiroto Suda, "Turbo code interleaver for W-CDMA using prime numbers," B-
5-78, IEICE Communications Society Conference, 1999)
Is the prime number 67-2 when the data size is 1280 bits.
An interleave pattern having a size of 1340 bits which is 0 times is generated. In this case, among the addresses of the generated interleave pattern, an address larger than the data size is invalidated, and an address equal to or smaller than the data size is used for the interleave processing.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、従来の
インタリーブ装置は、無効アドレスが生成された場合、
有効なアドレスが生成されるまで、データを記憶部に書
き込む、又は、読み出す操作を停止しなければならない
という問題がある。
However, the conventional interleaving apparatus has a problem that when an invalid address is generated,
There is a problem that the operation of writing or reading data to the storage unit must be stopped until a valid address is generated.

【0012】また、インタリーブパターンの生成速度が
データを処理する速度より遅い場合、アドレスのひとつ
が生成されてデータ処理された後、次のアドレスが生成
されるまで、データを書き込む、又は、読み出す操作を
停止しなければならないという問題もある。
If the generation speed of the interleave pattern is lower than the data processing speed, the operation of writing or reading data after one of the addresses is generated and processed, and then until the next address is generated. There is also a problem that must be stopped.

【0013】本発明は、かかる点に鑑みてなされたもの
であり、任意の生成速度と任意のサイズで生成されるイ
ンタリーブパターンを用いて、一定速度で、連続的にイ
ンタリーブ処理を行うことができるインタリーブ装置及
びインタリーブ方法を提供することを目的とする。
The present invention has been made in view of such a point, and it is possible to continuously perform an interleave process at a constant speed using an interleave pattern generated at an arbitrary generation speed and an arbitrary size. An object of the present invention is to provide an interleaving apparatus and an interleaving method.

【0014】[0014]

【課題を解決するための手段】本発明のインタリーブ装
置は、インタリーブパターンを生成する生成手段と、生
成されたインタリーブパターンに対応するアドレスを記
憶するアドレス記憶手段と、データを記憶するデータ記
憶手段と、データの処理速度、データのサイズ、インタ
リーブパターンの生成速度、及び前記アドレス記憶手段
に記憶されたアドレスの数に基づいてデータ処理を開始
できるか否かを判断する判断手段と、前記判断手段にて
データ処理を開始できると判断された場合、前記アドレ
ス記憶手段のアドレスに基づいて、前記データ記憶手段
へのデータの格納、取り出しを制御する制御手段と、を
具備する構成を採る。
According to the present invention, there is provided an interleaving apparatus, comprising: generating means for generating an interleave pattern; address storage means for storing an address corresponding to the generated interleave pattern; and data storage means for storing data. A data processing speed, a data size, an interleave pattern generation speed, and a determination unit that determines whether or not data processing can be started based on the number of addresses stored in the address storage unit. When it is determined that the data processing can be started by the data storage means, control means for controlling storage and retrieval of data to and from the data storage means based on the address of the address storage means is adopted.

【0015】本発明のインタリーブ装置は、制御手段
は、アドレス記憶手段に記憶されたアドレスの順でデー
タ記憶手段にデータを格納し、所定の単位のデータを格
納した後に、前記データ記憶手段より先頭アドレスから
順にデータを取り出す構成を採る。
In the interleave device of the present invention, the control means stores the data in the data storage means in the order of the addresses stored in the address storage means, and after storing the data in a predetermined unit, the control means stores A configuration is adopted in which data is taken out sequentially from the address.

【0016】本発明のインタリーブ装置は、制御手段
は、先頭アドレスから順にデータをデータ記憶手段に格
納し、所定の単位のデータを格納した後に、アドレス記
憶手段に記憶されたアドレスの順にデータを前記データ
記憶手段より取り出す構成を採る。
In the interleave device of the present invention, the control means stores the data in the data storage means in order from the head address, stores the data in a predetermined unit, and then stores the data in the order of the addresses stored in the address storage means. A configuration for taking out data from the data storage means is adopted.

【0017】これらの構成によれば、インタリーブパタ
ーンとデータを同じタイミングで連続的に送出すること
ができるので、インタリーブ処理を一定速度で連続して
行うことができる。
According to these configurations, the interleave pattern and the data can be continuously transmitted at the same timing, so that the interleave processing can be continuously performed at a constant speed.

【0018】本発明のインタリーブ装置は、判断手段
は、アドレス記憶手段に格納されたアドレスの数が、デ
ータの処理速度からインタリーブパターンの生成速度を
減算した値をデータの処理速度で除した値にデータサイ
ズを乗じた値以上である場合に、データ処理を開始でき
ると判断する構成を採る。
In the interleaving apparatus according to the present invention, the judging means determines that the number of addresses stored in the address storage means is a value obtained by dividing a value obtained by subtracting the interleave pattern generation speed from the data processing speed by the data processing speed. A configuration is adopted in which it is determined that data processing can be started when the value is equal to or larger than the value obtained by multiplying the data size.

【0019】この構成によれば、データの処理速度とイ
ンタリーブパターンの生成速度が異なる場合でも、デー
タ処理とインタリーブ作成の処理のうち、より時間のか
かる処理を、この2つの処理にかかる時間の差の分だけ
先に実行して、前記2つの処理を並行して行うことがで
きるので、必要最小限の時間でインタリーブ処理を行う
ことができる。
According to this configuration, even when the data processing speed and the interleave pattern generation speed are different, the more time-consuming processing of the data processing and the interleave generation processing is performed by the difference between the two processings. And the two processes can be performed in parallel, so that the interleaving process can be performed in the minimum necessary time.

【0020】本発明のインタリーブ装置は、インタリー
ブパターンの中からデータ処理に用いるアドレスを選択
する選択手段を具備し、アドレス記憶手段は、前記選択
手段にて選択されたアドレスを記憶し、判断手段は、デ
ータの処理速度、データのサイズ、インタリーブパター
ンの生成速度、及び前記アドレス記憶手段に記憶された
アドレスの数に加え、インタリーブパターンのサイズに
基づいてデータ処理を開始できるか否かを判断する構成
を採る。
The interleave device of the present invention comprises a selection means for selecting an address used for data processing from an interleave pattern, the address storage means stores the address selected by the selection means, and the determination means A configuration for determining whether data processing can be started based on the size of the interleave pattern in addition to the data processing speed, the data size, the interleave pattern generation speed, and the number of addresses stored in the address storage means. Take.

【0021】本発明のインタリーブ装置は、選択手段
は、生成されたインタリーブパターンのうち、データサ
イズより小さいアドレスを選択してアドレス記憶手段に
出力する構成を採る。
The interleave device of the present invention employs a configuration in which the selection means selects an address smaller than the data size from the generated interleave patterns and outputs the selected address to the address storage means.

【0022】これらの構成によれば、処理するデータの
サイズと生成可能なインタリーブパターンのサイズを比
較することでインタリーブパターンの中で、必要なアド
レスを選択することができるので、データサイズとイン
タリーブパターンサイズが異なる場合にもインタリーブ
処理を一定速度で連続して行うことができる
According to these configurations, a necessary address can be selected from the interleave pattern by comparing the size of the data to be processed with the size of the interleave pattern that can be generated. Interleave processing can be performed continuously at a constant speed even when the size is different

【0023】本発明のインタリーブ装置は、生成可能な
インタリーブパターンの中で、データサイズより同じま
たは大きいサイズで、かつ最も小さいサイズを算出する
算出手段を具備し、生成手段は、前記算出手段にて算出
されたサイズのインタリーブパターンを生成する構成を
採る。
The interleave device of the present invention comprises a calculating means for calculating the smallest size that is the same or larger than the data size among the interleaving patterns that can be generated. A configuration for generating an interleave pattern of the calculated size is adopted.

【0024】この構成によれば、必要最小サイズのイン
タリーブパターンを生成することができるので、インタ
リーブ処理を行う時間を短くすることができる。
According to this configuration, it is possible to generate an interleave pattern of a required minimum size, so that it is possible to shorten the time for performing the interleave processing.

【0025】本発明のインタリーブ装置は、判断手段
は、データサイズに生成手段のインタリーブパターン生
成速度を乗じた値をデータの処理速度で除した並列処理
値を算出し、アドレス記憶手段に格納されたアドレスの
数が、生成するインタリーブパターンのサイズから前記
並列処理値を減算した値以上である場合に、データ処理
を開始できると判断する構成を採る。
In the interleave device of the present invention, the judging means calculates a parallel processing value by dividing a value obtained by multiplying the data size by the interleave pattern generation speed of the generating means by a data processing speed, and stores the parallel processing value in the address storage means. When the number of addresses is equal to or greater than the value obtained by subtracting the parallel processing value from the size of the generated interleave pattern, it is determined that data processing can be started.

【0026】この構成によれば、インタリーブパターン
のサイズとデータのサイズが異なる場合でも、データ処
理とインタリーブ作成の処理のうち、より時間のかかる
処理を、この2つの処理にかかる時間の差の分だけ先に
実行することにより、前記2つの処理を並行して行うこ
とができるので、必要最小限の時間でインタリーブ処理
を行うことができる。
According to this configuration, even when the size of the interleave pattern is different from the size of the data, of the data processing and the interleave creation processing, the more time-consuming processing is replaced by the time difference between the two processings. By executing the processing first, the two processings can be performed in parallel, so that the interleaving processing can be performed in a minimum necessary time.

【0027】本発明のインタリーブ装置は、生成手段
は、生成するインタリーブパターンのサイズと直前に生
成したインタリーブパターンのサイズが等しい場合、こ
の情報を判断手段に通知し、前記判断手段は、当該情報
によりデータ処理を開始できると判断し、データ処理開
始を制御手段に通知する構成を採る。
In the interleave device of the present invention, when the size of the interleave pattern to be generated is equal to the size of the immediately preceding interleave pattern, the generation unit notifies this information to the judgment unit. A configuration is adopted in which it is determined that data processing can be started, and the start of data processing is notified to the control means.

【0028】この構成によれば、複数のデータをインタ
リーブ処理する際に、1つのインタリーブパターンを再
利用することにより、2回目以降のインタリーブ処理で
はインタリーブパターンを作成する処理を行う必要がな
くなり、この分の時間が短縮されるので、インタリーブ
処理を行う時間を短くすることができる。
According to this configuration, when interleaving a plurality of data, one interleave pattern is reused, so that it is not necessary to perform a process of creating an interleave pattern in the second and subsequent interleave processes. Since the time for minutes is shortened, the time for performing the interleave processing can be shortened.

【0029】本発明のインタリーブ装置は、アドレス記
憶手段は、データの先入れ先出し処理を行う構成を採
る。
The interleave device of the present invention employs a configuration in which the address storage means performs data first-in first-out processing.

【0030】この構成によれば、一定でない速度で生成
されるインタリーブパターン又はデータ処理速度と異な
る速度で生成されるインタリーブパターンを、記憶手段
を通して一定速度で出力するため、インタリーブ処理を
一定速度で連続して行うことができる。
According to this configuration, an interleave pattern generated at a non-constant speed or an interleave pattern generated at a speed different from the data processing speed is output at a constant speed through the storage means. You can do it.

【0031】本発明の信号処理装置は、前記いずれかの
インタリーブ装置を有する構成を採る。
The signal processing device of the present invention employs a configuration having any one of the above-mentioned interleaving devices.

【0032】この構成によれば、信号処理装置は、イン
タリーブ装置においてデータを一定速度で連続的に処理
することにより、信号処理の一時停止などの複雑な制御
を不要とし、その分の回路規模を削減できる信号処理装
置を実現することができる。
According to this configuration, the signal processing device continuously processes data at a constant speed in the interleave device, thereby eliminating the need for complicated control such as temporary suspension of signal processing, and reducing the circuit scale for that. A signal processing device that can be reduced can be realized.

【0033】本発明の通信端末装置は、前記信号処理装
置を有する構成を採る。
A communication terminal device according to the present invention employs a configuration having the signal processing device.

【0034】この構成によれば、通信端末装置は、信号
処理装置において信号処理の一時停止などの複雑な制御
を不要とし、その分の回路規模を削減することにより、
より回路規模の少なく、より小型の通信端末装置を実現
することができる。
According to this configuration, the communication terminal device does not need complicated control such as temporary suspension of signal processing in the signal processing device, and reduces the circuit scale by that amount.
A smaller communication terminal device having a smaller circuit scale can be realized.

【0035】本発明の基地局装置は、前記信号処理装置
を有する構成を採る。
The base station apparatus according to the present invention employs a configuration having the signal processing device.

【0036】この構成によれば、基地局装置は、信号処
理装置において信号処理の一時停止などの複雑な制御を
不要とし、その分の回路規模を削減することにより、よ
り回路規模の少なく、より小型の基地局装置を実現する
ことができる。
[0036] According to this configuration, the base station apparatus does not need complicated control such as temporary suspension of signal processing in the signal processing apparatus, and reduces the circuit scale by that amount. A small base station device can be realized.

【0037】本発明のインタリーブ方法は、あらかじめ
インタリーブパターンを生成し、このインタリーブパタ
ーンのアドレスを記憶し、データの処理速度からインタ
リーブパターンの生成速度を減算した値をデータの処理
速度で除した値にデータサイズを乗じた開始条件値を算
出し、記憶した前記アドレスの数が、前記開始条件値以
上になった時点で、インタリーブ処理する速度にあわせ
て前記アドレスを一定速度で連続的に出力し、インタリ
ーブ処理を一定速度で連続的に行うようにした。
According to the interleave method of the present invention, an interleave pattern is generated in advance, the address of the interleave pattern is stored, and a value obtained by subtracting the interleave pattern generation speed from the data processing speed is divided by the data processing speed. A start condition value multiplied by a data size is calculated, and when the number of the stored addresses is equal to or greater than the start condition value, the addresses are continuously output at a constant speed in accordance with the speed of the interleave processing, The interleave processing is performed continuously at a constant speed.

【0038】本発明のインタリーブ方法は、あらかじめ
インタリーブパターンを生成し、このインタリーブパタ
ーンの中からデータ処理に用いるアドレスを選択して記
憶し、データサイズにインタリーブ生成速度を乗じた値
をデータの処理速度で除した並列処理値を算出し、記憶
された前記アドレスの数が、前記インタリーブパターン
のサイズから前記並列処理値を減算した値以上である時
点で、インタリーブ処理する速度にあわせてインタリー
ブパターンのアドレスを一定速度で連続的に出力し、イ
ンタリーブ処理を一定速度で連続的に行うようにした。
According to the interleave method of the present invention, an interleave pattern is generated in advance, an address used for data processing is selected and stored from the interleave pattern, and a value obtained by multiplying the data size by the interleave generation speed is used as a data processing speed. At the time when the number of the stored addresses is equal to or greater than the value obtained by subtracting the parallel processing value from the size of the interleave pattern, the address of the interleave pattern is calculated according to the speed of the interleave processing. Are continuously output at a constant speed, and the interleave processing is continuously performed at a constant speed.

【0039】これらの方法によれば、インタリーブパタ
ーンとデータを同じタイミングで連続的に送出すること
ができるので、インタリーブ処理を一定速度で連続して
行うことができる。
According to these methods, the interleave pattern and the data can be continuously transmitted at the same timing, so that the interleave processing can be continuously performed at a constant speed.

【0040】[0040]

【発明の実施の形態】本発明の骨子は、任意のタイミン
グで生成されたインタリーブパターンから有効アドレス
を選択して記憶し、一定の速度で連続的に出力してデー
タ処理に用いることより、一定速度で連続的にインタリ
ーブ処理することである。以下、本発明の実施の形態に
ついて、図面を参照して詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The gist of the present invention is that an effective address is selected and stored from an interleave pattern generated at an arbitrary timing, and is continuously output at a constant speed and used for data processing. It is to interleave continuously at a speed. Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

【0041】(実施の形態)図1は、本発明の一実施の
形態に係るインタリーブ装置の構成を示すブロック図で
ある。図1において、制御部101は、入力されたデー
タのサイズに基づいて、インタリーブパターンのサイズ
を算出し、インタリーブパターン生成部102に出力す
る。また、制御部101は、インタリーブパターン生成
部102にて生成されたインタリーブパターンに基づい
て、有効アドレスを選択し、アドレス記憶部103に出
力する。さらに、制御部101は、アドレス記憶部10
3から得た有効アドレスに基づいて、入力されたデータ
をデータ記憶部104に書き込み、書き込みが一通り終
了した後、先頭アドレスから順にデータを取り出して外
部に出力する。
(Embodiment) FIG. 1 is a block diagram showing a configuration of an interleaver according to an embodiment of the present invention. In FIG. 1, control section 101 calculates the size of the interleave pattern based on the size of the input data, and outputs the calculated size to interleave pattern generation section 102. Further, control section 101 selects an effective address based on the interleave pattern generated by interleave pattern generation section 102 and outputs it to address storage section 103. Further, the control unit 101 controls the address storage unit 10
Based on the effective address obtained from Step 3, the input data is written to the data storage unit 104. After the writing is completed, the data is sequentially extracted from the top address and output to the outside.

【0042】インタリーブパターン生成部102は、イ
ンタリーブパターンサイズに基づいてインタリーブパタ
ーンを生成し、制御部101に出力する。なお、インタ
リーブパターンの生成方法は、文献「“素数を用いたW
−CDMA用Turbo符号インタリーバ、”渋谷彰、
須田博人、B-5-78、電子情報通信学会通信ソサエティ大
会、1999年」等に記載されている。アドレス記憶部10
3は、有効アドレスを順次記憶し、記憶した時期が古い
順に一定速度で制御部101に出力する。データ記憶部
104は、データを蓄積し、要求に応じて制御部101
に出力する。
[0042] Interleave pattern generation section 102 generates an interleave pattern based on the interleave pattern size, and outputs it to control section 101. The method of generating the interleave pattern is described in the document “W using prime numbers.
-Turbo code interleaver for CDMA, "Akira Shibuya,
Hiroto Suda, B-5-78, IEICE Communication Society Conference, 1999 ". Address storage unit 10
Reference numeral 3 sequentially stores the effective addresses, and outputs the effective addresses to the control unit 101 at a constant speed in ascending order. The data storage unit 104 stores data, and the control unit 101
Output to

【0043】次に、制御部101の内部構成について説
明する。
Next, the internal configuration of the control unit 101 will be described.

【0044】制御部101は、サイズ算出部111と、
アドレス選択部112と、データ処理判断部113と、
データ制御部114と、から主に構成される。
The control unit 101 includes a size calculation unit 111,
An address selection unit 112, a data processing determination unit 113,
And a data control unit 114.

【0045】サイズ算出部111は、生成可能なインタ
リーブパターンのサイズの中からデータサイズより同じ
かより大きいものを選択する。そして、サイズ算出部1
11は、選択したサイズの中で最も小さいサイズを選択
し、選択したサイズを示す情報をインタリーブパターン
生成部102に出力する。
The size calculation unit 111 selects a size of the interleave pattern that can be generated, which is equal to or larger than the data size. Then, the size calculation unit 1
11 selects the smallest one of the selected sizes, and outputs information indicating the selected size to the interleave pattern generation unit 102.

【0046】アドレス選択部112は、インタリーブパ
ターンの中で、外部から入力されたデータサイズより大
きいものは無効アドレスとし、同じか小さいものを有効
アドレスとして選択し、アドレス記憶部103に出力す
る。また、アドレス選択部112は、出力した有効アド
レスの数をデータ処理判断部113に出力する。
The address selection unit 112 selects an interleave pattern having a data size larger than the data size input from the outside as an invalid address, and selects the same or smaller one as a valid address, and outputs the selected address to the address storage unit 103. Further, the address selection unit 112 outputs the number of output valid addresses to the data processing determination unit 113.

【0047】データ処理判断部113は、データサイ
ズ、インタリーブパターンサイズ、出力された有効アド
レスの数、インタリーブパターン生成部102のインタ
リーブパターン生成速度、及びデータ記憶部104のデ
ータ処理速度に基づいてデータの並べ替え処理を開始で
きるかどうかを判断する。そして、データ処理判断部1
13は、データの並べ替え処理を開始できると判断した
場合、処理開始信号をデータ制御部114に出力する。
なお、データ処理判断部113の詳細な動作について
は、後述する。
The data processing determination unit 113 determines the data size based on the data size, the interleave pattern size, the number of output effective addresses, the interleave pattern generation speed of the interleave pattern generation unit 102, and the data processing speed of the data storage unit 104. Determine whether the sorting process can be started. Then, the data processing determining unit 1
13 determines that the data rearrangement process can be started, and outputs a process start signal to the data control unit 114.
The detailed operation of the data processing determination unit 113 will be described later.

【0048】データ制御部114は、処理開始信号を受
信した場合、アドレス記憶部103から出力されたアド
レスに対応するデータ記憶部104のアドレスに、外部
から入力したデータの書き込む。そして、データ制御部
114は、データの書き込みが終了した後、データ記憶
部104の先頭アドレスからデータを読み出して外部に
出力する。
When the data control unit 114 receives the processing start signal, it writes the externally input data to the address of the data storage unit 104 corresponding to the address output from the address storage unit 103. Then, after the data writing is completed, the data control unit 114 reads the data from the head address of the data storage unit 104 and outputs the data to the outside.

【0049】次に、データ処理判断部113の詳細な動
作について説明する。インタリーブ装置における、イン
タリーブパターンの生成速度をVilp (bit/s)、データ
処理速度をVdata (bit/s)、インタリーブパターンサイ
ズをLilp (bit)、データサイズをLdata (bit)、アド
レス記憶部104に記憶するアドレス数をNaddとす
る。
Next, the detailed operation of the data processing judgment section 113 will be described. In the interleave device, the generation speed of the interleave pattern is V ilp (bit / s), the data processing speed is V data (bit / s), the interleave pattern size is L ilp (bit), the data size is L data (bit), and the address. It is assumed that the number of addresses stored in the storage unit 104 is N add .

【0050】インタリーブパターンをすべて生成するた
めに必要な時間は、Lilp/Vilp (s)となる。また、デ
ータをすべて処理するために必要な時間は、Ldata/V
data(s)となる。
The time required to generate all the interleave patterns is Lilp / Vilp (s). Also, the time required to process all data is L data / V
data (s).

【0051】ここで、データをすべて処理し終えるまで
に、インタリーブパターンをすべて生成するには、イン
タリーブパターンをすべて生成するために必要な時間L
ilp/Vilp (s)と、データをすべて処理するために必要
な時間Ldata/Vdata (s)の差Lilp/Vilp―Ldata
data (s)より先にインタリーブパターンを生成し始め
ればよい。そして、この時間に生成するインタリーブパ
ターンの数は、Vil p×(Lilp/Vilp―Ldata/V
data)となる。
Here, in order to generate all the interleave patterns before all the data are processed, the time L required to generate all the interleave patterns is obtained.
ilp / V ilp and (s), the difference between the time required to process all data L data / V data (s) L ilp / V ilp -L data /
What is necessary is just to start generating an interleave pattern before V data (s). Then, the number of interleave pattern generated in this time, V il p × (L ilp / V ilp -L data / V
data ).

【0052】すなわち、アドレス記憶部103が、以下
に示す式(1)を満たす整数Nadd個のアドレスを記憶
した後に、処理を開始すれば、必要最小限の時間で一定
速度で連続的にインタリーブ処理を行うことができる。
That is, if the address storage unit 103 starts the process after storing an integer N add addresses satisfying the following equation (1), the interleave is continuously performed at a constant speed in a minimum necessary time. Processing can be performed.

【0053】[0053]

【数1】 (Equation 1)

【0054】また、データのサイズと同じサイズのイン
タリーブパターンが生成可能である場合、以下に示す式
(2)が成立する。
When an interleave pattern having the same size as the data size can be generated, the following equation (2) holds.

【数2】 (Equation 2)

【0055】式(2)を用いて式(1)から以下に示す
式(3)が導かれる。
The following equation (3) is derived from the equation (1) using the equation (2).

【数3】 (Equation 3)

【0056】すなわち、データと同じサイズのインタリ
ーブパターンが生成可能である場合、アドレス記憶部1
03が式(3)を満たす整数Nadd個のアドレスを記憶
した後に、処理を開始すれば、必要最小限の時間で一定
速度で連続的にインタリーブ処理を行うことができる。
That is, if an interleave pattern of the same size as the data can be generated, the address storage unit 1
If the process is started after 03 stores the integer N add addresses satisfying the expression (3), the interleave process can be continuously performed at a constant speed in a minimum necessary time.

【0057】次に、図1のインタリーブ装置の動作手順
について説明する。最初に、外部から入力されたデータ
サイズの情報は、サイズ算出部111に入力される。サ
イズ算出部111は、データサイズに基づいて、生成可
能なインタリーブパターンのサイズを算出し、インタリ
ーブパターン生成部102に出力する。
Next, the operation procedure of the interleave apparatus of FIG. 1 will be described. First, information on the data size input from the outside is input to the size calculation unit 111. Size calculating section 111 calculates the size of the interleaved pattern that can be generated based on the data size, and outputs the size to interleaved pattern generating section 102.

【0058】インタリーブパターン生成部102は、デ
ータサイズの情報に基づいて、インタリーブパターンを
生成し始める。生成されたインタリーブパターンは、ア
ドレス選択部112に出力される。
The interleave pattern generator 102 starts generating an interleave pattern based on the information on the data size. The generated interleave pattern is output to address selection section 112.

【0059】アドレス選択部112は、外部から入力さ
れたデータサイズの情報に基づいて、データサイズと同
じか、より小さいインタリーブパターンを有効アドレス
としてアドレス記憶部103に出力する。また、アドレ
ス選択部112は、アドレス記憶部103に出力した有
効アドレスの数をデータ処理判断部113に出力する。
The address selection unit 112 outputs an interleave pattern having the same or smaller data size as an effective address to the address storage unit 103 based on information on the data size input from the outside. In addition, the address selection unit 112 outputs the number of valid addresses output to the address storage unit 103 to the data processing determination unit 113.

【0060】アドレス記憶部103は、入力された有効
アドレスを記憶し、データ制御部114からの要求に応
じて、一定速度で連続的に、有効アドレスをデータ制御
部114に出力する。
Address storage section 103 stores the input effective address and outputs the effective address to data control section 114 continuously at a constant speed in response to a request from data control section 114.

【0061】データ処理判断部113は、データサイ
ズ、インタリーブパターンサイズ、インタリーブパター
ン生成部102のインタリーブパターン生成速度、及び
データ記憶部104のデータ処理速度に基づいて、上述
したデータ処理を開始する条件を導き出す。そして、デ
ータ処理判断部113は、有効アドレスの数がこの条件
を満たした場合に、データ処理開始信号をデータ制御部
114に出力する。
The data processing determination unit 113 determines conditions for starting the above-described data processing based on the data size, the interleave pattern size, the interleave pattern generation speed of the interleave pattern generation unit 102, and the data processing speed of the data storage unit 104. derive. Then, when the number of valid addresses satisfies this condition, data processing determination section 113 outputs a data processing start signal to data control section 114.

【0062】データ制御部114は、データ処理開始信
号を受信した場合、データ処理を開始する。具体的に
は、データ制御部114は、アドレス記憶部103から
入力したアドレスに基づいて、外部から入力したデータ
をデータ記憶部104に書き込む。そして、データ制御
部114は、データ記憶部104にデータを一通り書き
込み終えた後、先頭アドレスから順に読み出して外部に
出力する。これにより、データの並べ替えが実現され
る。
When the data control section 114 receives the data processing start signal, it starts the data processing. Specifically, the data control unit 114 writes externally input data to the data storage unit 104 based on the address input from the address storage unit 103. After the data control unit 114 finishes writing data in the data storage unit 104, the data control unit 114 sequentially reads the data from the head address and outputs the data to the outside. Thereby, the rearrangement of data is realized.

【0063】このように、本発明は、インタリーブパタ
ーンをあらかじめ生成してアドレス記憶部103に有効
アドレスとして記憶し、一定速度で連続処理するために
必要な数のアドレスがアドレス記憶部103に記憶され
た後、データ処理を開始することにより、一定速度で連
続的にインタリーブ処理を行うことができる。
As described above, according to the present invention, an interleave pattern is generated in advance and stored as an effective address in the address storage unit 103, and the necessary number of addresses for continuous processing at a constant speed are stored in the address storage unit 103. After that, by starting data processing, interleave processing can be performed continuously at a constant speed.

【0064】次に、図2、図3、及び図4を用いて、イ
ンタリーブパターンの中から有効アドレスを選択する動
作、及びデータの書き込み動作の具体例を説明する。図
2、図3、及び図4は、7個のデータ(D1,D2,D
3,D4,D5,D6,D7)を、8個のアドレスから
なるインタリーブパターン(A6、A2,A4,A5,
A1,A8,A3,A7)を用いて、インタリーブ処理
する例を示す。
Next, a specific example of an operation of selecting an effective address from the interleave pattern and a data write operation will be described with reference to FIGS. 2, 3, and 4. FIGS. 2, 3 and 4 show seven data (D1, D2, D
3, D4, D5, D6, D7) into an interleave pattern (A6, A2, A4, A5,
A1, A8, A3, A7) will be described.

【0065】データに付された数字は、入力される順序
を示し、アドレスに付された数字は、アドレス記憶部1
03にデータを書きこむアドレスを示す。7個のデータ
を並べ替えるために必要なアドレスは7個であるから、
生成する8個のアドレスのうち一番大きなアドレスを示
すA8は、無効アドレスとなる。この場合、データサイ
ズが7、インタリーブパターンサイズが8であるから、
データ処理速度とインタリーブパターン生成速度が同じ
場合、式(1)の条件より、アドレス記憶部103に1
個のアドレスが格納された時点でデータ処理を開始すれ
ば、一定速度で連続的にインタリーブ処理を行うことが
できる。
The numbers attached to the data indicate the input order, and the numbers attached to the addresses correspond to the address storage unit 1.
03 shows an address at which data is written. Since seven addresses are necessary to rearrange seven data,
A8 indicating the largest address among the eight generated addresses is an invalid address. In this case, since the data size is 7 and the interleave pattern size is 8,
When the data processing speed and the interleave pattern generation speed are the same, the address storage unit 103 stores 1
If the data processing is started when the addresses are stored, the interleave processing can be performed continuously at a constant speed.

【0066】図2は、第1ステップ、第2ステップ、及
び第3ステップの動作を示す。最初に、第1ステップの
動作を説明する。アドレスA6がインタリーブパターン
生成部102からアドレス選択部112に出力される。
A6は、データサイズ7以下であり、アドレス選択部1
12にて有効アドレスであると判断され、アドレス記憶
部103に格納される。ここで、アドレス記憶部103
に記憶されたアドレスの数が1となり、データ処理開始
の条件を満たしたので、次のステップからデータ処理が
開始される。
FIG. 2 shows the operations of the first, second, and third steps. First, the operation of the first step will be described. Address A6 is output from interleave pattern generation section 102 to address selection section 112.
A6 has a data size of 7 or less, and the address selection unit 1
At 12, the address is determined to be a valid address, and is stored in the address storage unit 103. Here, the address storage unit 103
Since the number of addresses stored in the memory cell has become 1 and the condition for starting the data processing has been satisfied, the data processing is started from the next step.

【0067】次に、第2ステップの動作を説明する。ア
ドレスA2がインタリーブパターン生成部102からア
ドレス選択部112に出力される。A2は、データサイ
ズ7以下であり、アドレス選択部112にて有効アドレ
スであると判断され、アドレス記憶部103に格納され
る。1番目のステップでアドレス記憶部103に格納さ
れたアドレスA6はデータ制御部114に出力され、デ
ータ制御部114に入力されたデータD1はデータ記憶
部104のアドレスA6に格納される。
Next, the operation of the second step will be described. Address A2 is output from interleave pattern generation section 102 to address selection section 112. A2 has a data size of 7 or less, is determined to be a valid address by the address selection unit 112, and is stored in the address storage unit 103. The address A6 stored in the address storage unit 103 in the first step is output to the data control unit 114, and the data D1 input to the data control unit 114 is stored in the address A6 of the data storage unit 104.

【0068】次に、第3ステップの動作を説明する。ア
ドレスA4がインタリーブパターン生成部102からア
ドレス選択部112に出力される。A4は、データサイ
ズ7以下であり、アドレス選択部112にて有効アドレ
スであると判断され、アドレス記憶部103に格納され
る。2番目のステップでアドレス記憶部103に格納さ
れたアドレスA2はデータ制御部114に出力され、デ
ータ制御部114に入力されたデータD2はデータ記憶
部104のアドレスA2に格納される。
Next, the operation of the third step will be described. Address A4 is output from interleave pattern generation section 102 to address selection section 112. A4 has a data size of 7 or less, is determined to be a valid address by the address selection unit 112, and is stored in the address storage unit 103. The address A2 stored in the address storage unit 103 in the second step is output to the data control unit 114, and the data D2 input to the data control unit 114 is stored in the address A2 of the data storage unit 104.

【0069】図3は、第4ステップ、第5ステップ、及
び第6ステップの動作を示す。まず、第4ステップの動
作を説明する。アドレスA5がインタリーブパターン生
成部102からアドレス選択部112に出力される。A
5は、データサイズ7以下であり、アドレス選択部11
2にて有効アドレスであると判断され、アドレス記憶部
103に格納される。3番目のステップでアドレス記憶
部103に格納されたアドレスA4はデータ制御部11
4に出力され、データ制御部114に入力されたデータ
D3はデータ記憶部104のアドレスA4に格納され
る。
FIG. 3 shows the operations of the fourth, fifth and sixth steps. First, the operation of the fourth step will be described. Address A5 is output from interleave pattern generation section 102 to address selection section 112. A
Reference numeral 5 denotes a data size of 7 or less, and the address selection unit 11
2 is determined to be a valid address, and is stored in the address storage unit 103. The address A4 stored in the address storage unit 103 in the third step is the data control unit 11
The data D3 output to the data control unit 114 and input to the data control unit 114 is stored at the address A4 of the data storage unit 104.

【0070】次に、第5ステップの動作を説明する。ア
ドレスA1がインタリーブパターン生成部102からア
ドレス選択部112に出力される。A1は、データサイ
ズ7以下であり、アドレス選択部112にて有効アドレ
スであると判断され、アドレス記憶部103に格納され
る。4番目のステップでアドレス記憶部103に格納さ
れたアドレスA5はデータ制御部114に出力され、デ
ータ制御部114に入力されたデータD4はデータ記憶
部104のアドレスA5に格納される。
Next, the operation of the fifth step will be described. Address A1 is output from interleave pattern generation section 102 to address selection section 112. A1 has a data size of 7 or less, is determined by the address selection unit 112 to be a valid address, and is stored in the address storage unit 103. The address A5 stored in the address storage unit 103 in the fourth step is output to the data control unit 114, and the data D4 input to the data control unit 114 is stored in the address A5 of the data storage unit 104.

【0071】次に、第6ステップの動作を説明する。ア
ドレスA8がインタリーブパターン生成部102からア
ドレス選択部112に出力される。A8は、データサイ
ズ7より大きいので、アドレス選択部112にて無効ア
ドレスであると判断され、アドレス記憶部103に記憶
されない。5番目のステップでアドレス記憶部103に
格納されたアドレスA1はデータ制御部114に出力さ
れ、データ制御部114に入力されたデータD5はデー
タ記憶部104のアドレスA1に格納される。
Next, the operation of the sixth step will be described. Address A8 is output from interleave pattern generation section 102 to address selection section 112. Since A8 is larger than the data size 7, A8 is determined as an invalid address by the address selection unit 112 and is not stored in the address storage unit 103. The address A1 stored in the address storage unit 103 in the fifth step is output to the data control unit 114, and the data D5 input to the data control unit 114 is stored in the address A1 of the data storage unit 104.

【0072】図4は、第7ステップと第8ステップの動
作を示す。まず、第7ステップの動作を説明する。アド
レスA3がインタリーブパターン生成部102からアド
レス選択部112に出力される。A3は、データサイズ
7以下であり、アドレス選択部112にて有効アドレス
であると判断され、アドレス記憶部103に格納され
る。アドレス記憶部103は、記憶しているアドレスが
ないので、A3をデータ制御部114に出力し、データ
制御部114に入力されたデータD6は記憶部103の
アドレスA3に格納される。
FIG. 4 shows the operations of the seventh and eighth steps. First, the operation of the seventh step will be described. Address A3 is output from interleave pattern generation section 102 to address selection section 112. A3 has a data size of 7 or less, is determined to be a valid address by the address selection unit 112, and is stored in the address storage unit 103. Since there is no stored address, address storage section 103 outputs A3 to data control section 114, and data D6 input to data control section 114 is stored at address A3 of storage section 103.

【0073】最後に、第8ステップの動作を説明する。
アドレスA7がインタリーブパターン生成部102から
アドレス選択部112に出力される。A7は、データサ
イズ7以下であり、アドレス選択部112にて有効アド
レスであると判断され、アドレス記憶部103に格納さ
れる。アドレス記憶部103は、記憶しているアドレス
がないので、A7をデータ制御部114に出力し、デー
タ制御部114に入力されたデータD7は記憶部103
のアドレスA7に格納される。
Finally, the operation of the eighth step will be described.
Address A7 is output from interleave pattern generation section 102 to address selection section 112. A7 has a data size of 7 or less, is determined by the address selection unit 112 to be a valid address, and is stored in the address storage unit 103. Since there is no stored address, address storage section 103 outputs A7 to data control section 114, and data D7 input to data control section 114 stores data D7 in storage section 103.
At address A7.

【0074】7つのデータがすべて記憶部に記憶された
後、データ制御部114は、アドレス(A1、A2,A
3,A4,A5,A6,A7)の順で記憶部からデータ
を読み出し、外部に出力する。この結果、データは、
(D5,D2,D6,D3,D4,D1,D7)の順序
に並び替えられる。
After all the seven data are stored in the storage unit, the data control unit 114 sets the address (A1, A2, A
3, A4, A5, A6, A7), the data is read from the storage unit and output to the outside. As a result, the data
(D5, D2, D6, D3, D4, D1, D7).

【0075】以上のように、アドレスを記憶するアドレ
ス記憶部103を持つことにより、一定速度で連続的に
インタリーブ処理が可能であることがわかる。
As described above, it can be seen that the provision of the address storage unit 103 for storing addresses enables continuous interleave processing at a constant speed.

【0076】なお、本実施の形態では、生成した1つの
インタリーブパターンを用いて、1つのデータ処理して
いる場合について説明しているが、本発明はこれに限ら
れず、1つの生成したインタリーブパターンを繰り返し
用いて、同じサイズの複数のデータをインタリーブ処理
することもすることもできる。
In the present embodiment, the case where one data process is performed using one generated interleave pattern is described. However, the present invention is not limited to this, and one generated interleave pattern is used. Can be used repeatedly to interleave a plurality of data of the same size.

【0077】この場合、インタリーブパターン生成部1
02は、生成するインタリーブパターンのサイズと直前
に生成したインタリーブパターンのサイズが等しいとき
に、この情報をデータ処理判断部113に通知する。通
知を受けたデータ処理判断部113は、データ処理を開
始できると判断し、データ処理開始をデータ制御部11
4に通知する。そして、データ処理開始の通知を受けた
データ制御部114は、データ処理を開始する。
In this case, the interleave pattern generation unit 1
No. 02 notifies the data processing determination unit 113 of this information when the size of the interleave pattern to be generated is equal to the size of the immediately preceding interleave pattern. Upon receiving the notification, the data processing determination unit 113 determines that the data processing can be started, and instructs the data control unit 11 to start the data processing.
Notify 4. Then, the data control unit 114 receiving the notification of the start of the data processing starts the data processing.

【0078】このように本実施の形態によれば、複数の
データをインタリーブ処理する際に、1つのインタリー
ブパターンを再利用することにより、2回目以降のイン
タリーブ処理ではインタリーブパターンを作成する処理
を行う必要がなくなり、この分の時間が短縮されるの
で、インタリーブ処理を行う時間を短くすることができ
る。
As described above, according to the present embodiment, when interleaving a plurality of data, one interleave pattern is reused, so that the interleave pattern is created in the second and subsequent interleave processes. This eliminates the necessity, and the time required for the interleaving process can be shortened.

【0079】また、本実施の形態では、データ記憶部1
04にデータを書き込む際に、インタリーブパターンを
アドレスとして用いるが、データを先頭アドレスから順
にデータ記憶部104に書き込み、データ記憶部104
からデータを読み出す際のアドレスにインタリーブパタ
ーンを用いてもよい。
In this embodiment, the data storage unit 1
When data is written in the data storage unit 104, the interleave pattern is used as an address.
Alternatively, an interleave pattern may be used for an address when data is read from the memory.

【0080】また、本実施の形態のアドレス記憶部10
3は、アドレスの先入れ先出しを行うFIFO(Fas
t in fast out)部としてもよい。これに
より、一定でない速度で生成されるインタリーブパター
ン又はデータ処理速度と異なる速度で生成されるインタ
リーブパターンを、アドレス記憶部103を通して一定
速度で出力するため、インタリーブ処理を一定速度で連
続して行うことができる。
The address storage unit 10 according to the present embodiment
Reference numeral 3 denotes a FIFO (Fas
(t in fast out) section. Accordingly, an interleave pattern generated at a non-constant speed or an interleave pattern generated at a speed different from the data processing speed is output at a constant speed through the address storage unit 103, so that the interleave process is continuously performed at a constant speed. Can be.

【0081】また、本実施の形態で説明したインタリー
ブ装置は、ターボ符号化/復号装置等の信号処理装置に
組み込むことができる。さらに、この信号処理装置は、
無線通信を行う通信端末装置及び基地局装置等の誤り訂
正部に組み込むことができる。これにより、信号処理の
一時停止などの複雑な制御を不要とすることができるの
で、その分の回路規模を削減することができ、回路規模
の少なく、小型の装置を実現することができる。
The interleave device described in the present embodiment can be incorporated in a signal processing device such as a turbo encoding / decoding device. Furthermore, this signal processing device
It can be incorporated in an error correction unit of a communication terminal device and a base station device that perform wireless communication. This eliminates the need for complicated control such as temporary suspension of signal processing, so that the circuit scale can be reduced accordingly, and a small-sized device with a small circuit scale can be realized.

【0082】[0082]

【発明の効果】以上説明したように、本発明によれば、
任意の生成速度と任意のサイズで生成されるインタリー
ブパターンを用いて、一定速度で、連続的にインタリー
ブ処理を行うことができる。
As described above, according to the present invention,
By using an interleave pattern generated at an arbitrary generation speed and an arbitrary size, interleave processing can be continuously performed at a constant speed.

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

【図1】本発明の一実施の形態に係るインタリーブ装置
の構成を示すブロック図
FIG. 1 is a block diagram showing a configuration of an interleave device according to an embodiment of the present invention.

【図2】上記実施の形態に係るインタリーブ装置の動作
を説明するためのデータの流れを示す図
FIG. 2 is a diagram showing a data flow for explaining an operation of the interleaving apparatus according to the embodiment.

【図3】上記実施の形態に係るインタリーブ装置の動作
を説明するためのデータの流れを示す図
FIG. 3 is a diagram showing a data flow for explaining an operation of the interleaving apparatus according to the embodiment.

【図4】上記実施の形態に係るインタリーブ装置の動作
を説明するためのデータの流れを示す図
FIG. 4 is a diagram showing a data flow for explaining an operation of the interleaving apparatus according to the embodiment.

【図5】従来のインタリーブ装置の構成を示すブロック
FIG. 5 is a block diagram showing a configuration of a conventional interleave device.

【図6】従来のインタリーブ動作を説明するためのデー
タ処理を示す図
FIG. 6 is a diagram showing data processing for explaining a conventional interleaving operation;

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

101 制御部 102 インタリーブパターン生成部 103 アドレス記憶部 104 データ記憶部 111 サイズ算出部 112 アドレス選択部 113 データ処理判断部 114 データ制御部 Reference Signs List 101 control unit 102 interleave pattern generation unit 103 address storage unit 104 data storage unit 111 size calculation unit 112 address selection unit 113 data processing determination unit 114 data control unit

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】 インタリーブパターンを生成する生成手
段と、生成されたインタリーブパターンに対応するアド
レスを記憶するアドレス記憶手段と、データを記憶する
データ記憶手段と、データの処理速度、データのサイ
ズ、インタリーブパターンの生成速度、及び前記アドレ
ス記憶手段に記憶されたアドレスの数に基づいてデータ
処理を開始できるか否かを判断する判断手段と、前記判
断手段にてデータ処理を開始できると判断された場合、
前記アドレス記憶手段のアドレスに基づいて、前記デー
タ記憶手段へのデータの格納、取り出しを制御する制御
手段と、を具備することを特徴とするインタリーブ装
置。
1. An interleave pattern generation unit, an address storage unit for storing an address corresponding to the generated interleave pattern, a data storage unit for storing data, a data processing speed, a data size, and an interleave. Determining means for determining whether or not data processing can be started based on a pattern generation speed and the number of addresses stored in the address storage means; and when the determining means determines that data processing can be started. ,
Control means for controlling storage and retrieval of data to and from the data storage means based on the address of the address storage means.
【請求項2】 制御手段は、アドレス記憶手段に記憶さ
れたアドレスの順でデータ記憶手段にデータを格納し、
所定の単位のデータを格納した後に、前記データ記憶手
段より先頭アドレスから順にデータを取り出すことを特
徴とする請求項1記載のインタリーブ装置。
2. The control means stores data in the data storage means in the order of the addresses stored in the address storage means,
2. The interleave apparatus according to claim 1, wherein after storing a predetermined unit of data, the data is taken out from the data storage means in order from a head address.
【請求項3】 制御手段は、先頭アドレスから順にデー
タをデータ記憶手段に格納し、所定の単位のデータを格
納した後に、アドレス記憶手段に記憶されたアドレスの
順にデータを前記データ記憶手段より取り出すことを特
徴とする請求項1記載のインタリーブ装置。
3. The control means stores data in the data storage means in order from the start address, and after storing data in a predetermined unit, retrieves the data from the data storage means in the order of the addresses stored in the address storage means. The interleaving device according to claim 1, wherein:
【請求項4】 判断手段は、アドレス記憶手段に格納さ
れたアドレスの数が、データの処理速度からインタリー
ブパターンの生成速度を減算した値をデータの処理速度
で除した値にデータサイズを乗じた値以上である場合
に、データ処理を開始できると判断することを特徴とす
る請求項1から請求項3のいずれかに記載のインターリ
ーブ装置。
4. The determination means multiplies the number of addresses stored in the address storage means by a value obtained by subtracting a value obtained by subtracting an interleave pattern generation speed from a data processing speed by a data processing speed by a data size. 4. The interleave device according to claim 1, wherein it is determined that data processing can be started when the value is equal to or more than the value.
【請求項5】 インタリーブパターンの中からデータ処
理に用いるアドレスを選択する選択手段を具備し、アド
レス記憶手段は、前記選択手段にて選択されたアドレス
を記憶し、判断手段は、データの処理速度、データのサ
イズ、インタリーブパターンの生成速度、及び前記アド
レス記憶手段に記憶されたアドレスの数に加え、インタ
リーブパターンのサイズに基づいてデータ処理を開始で
きるか否かを判断することを特徴とする請求項1から請
求項3のいずれかに記載のインタリーブ装置。
5. An image processing apparatus comprising: selecting means for selecting an address to be used for data processing from an interleave pattern; address storing means storing the address selected by said selecting means; Determining whether data processing can be started based on the size of the interleave pattern in addition to the size of the data, the generation speed of the interleave pattern, and the number of addresses stored in the address storage means. The interleave device according to any one of claims 1 to 3.
【請求項6】 選択手段は、生成されたインタリーブパ
ターンのうち、データサイズより小さいアドレスを選択
してアドレス記憶手段に出力することを特徴とする請求
項5のインタリーブ装置。
6. The interleave apparatus according to claim 5, wherein the selection means selects an address smaller than the data size from the generated interleave patterns and outputs the selected address to the address storage means.
【請求項7】 生成可能なインタリーブパターンの中
で、データサイズより同じまたは大きいサイズで、かつ
最も小さいサイズを算出する算出手段を具備し、生成手
段は、前記算出手段にて算出されたサイズのインタリー
ブパターンを生成することを特徴とする請求項5又は請
求項6に記載のインタリーブ装置。
7. A calculating means for calculating a smallest size which is equal to or larger than the data size among interleaved patterns which can be generated, wherein the generating means calculates a size of the size calculated by the calculating means. The interleave device according to claim 5, wherein an interleave pattern is generated.
【請求項8】 判断手段は、データサイズに生成手段の
インタリーブパターン生成速度を乗じた値をデータの処
理速度で除した並列処理値を算出し、アドレス記憶手段
に格納されたアドレスの数が、生成するインタリーブパ
ターンのサイズから前記並列処理値を減算した値以上で
ある場合に、データ処理を開始できると判断することを
特徴とする請求項5から請求項7のいずれかに記載のイ
ンターリーブ装置。
8. The judging means calculates a parallel processing value obtained by dividing a value obtained by multiplying the data size by an interleave pattern generation speed of the generating means by a data processing speed, and determines that the number of addresses stored in the address storage means is 8. The interleaving apparatus according to claim 5, wherein it is determined that data processing can be started when the value is equal to or greater than a value obtained by subtracting the parallel processing value from the size of the generated interleave pattern.
【請求項9】 生成手段は、生成するインタリーブパタ
ーンのサイズと直前に生成したインタリーブパターンの
サイズが等しい場合、この情報を判断手段に通知し、前
記判断手段は、当該情報によりデータ処理を開始できる
と判断し、データ処理開始を制御手段に通知することを
特徴とする請求項5から請求項8のいずれかに記載のイ
ンタリーブ装置。
9. When the size of an interleave pattern to be generated is equal to the size of an immediately preceding interleave pattern, the generation unit notifies this information to the determination unit, and the determination unit can start data processing based on the information. 9. The interleave apparatus according to claim 5, wherein the control unit notifies the control unit of the start of data processing.
【請求項10】 アドレス記憶手段は、データの先入れ
先出し処理を行うことを特徴とする請求項1から請求項
9のいずれかに記載のインタリーブ装置。
10. The interleave apparatus according to claim 1, wherein the address storage means performs first-in first-out processing of data.
【請求項11】 請求項1から請求項10のいずれかに
記載のインタリーブ装置を有することを特徴とする信号
処理装置。
11. A signal processing device comprising the interleaving device according to claim 1. Description:
【請求項12】 請求項11に記載の信号処理装置を有
することを特徴とする通信端末装置。
12. A communication terminal device comprising the signal processing device according to claim 11.
【請求項13】 請求項11に記載の信号処理装置を有
することを特徴とする基地局装置。
13. A base station apparatus comprising the signal processing apparatus according to claim 11.
【請求項14】 あらかじめインタリーブパターンを生
成し、このインタリーブパターンのアドレスを記憶し、
データの処理速度からインタリーブパターンの生成速度
を減算した値をデータの処理速度で除した値にデータサ
イズを乗じた開始条件値を算出し、記憶した前記アドレ
スの数が、前記開始条件値以上になった時点で、インタ
リーブ処理する速度にあわせて前記アドレスを一定速度
で連続的に出力し、インタリーブ処理を一定速度で連続
的に行うことを特徴とするインタリーブ方法。
14. An interleave pattern is generated in advance, and an address of the interleave pattern is stored.
Calculate the start condition value by multiplying the value obtained by subtracting the interleave pattern generation speed from the data processing speed by the data processing speed by the data size, and store the number of the addresses, the number of the addresses being greater than or equal to the start condition value. An interleaving method, wherein the address is continuously output at a constant speed in accordance with the speed of the interleaving process, and the interleaving process is continuously performed at a constant speed.
【請求項15】 あらかじめインタリーブパターンを生
成し、このインタリーブパターンの中からデータ処理に
用いるアドレスを選択して記憶し、データサイズにイン
タリーブ生成速度を乗じた値をデータの処理速度で除し
た並列処理値を算出し、記憶された前記アドレスの数
が、前記インタリーブパターンのサイズから前記並列処
理値を減算した値以上である時点で、インタリーブ処理
する速度にあわせてインタリーブパターンのアドレスを
一定速度で連続的に出力し、インタリーブ処理を一定速
度で連続的に行うことを特徴とするインタリーブ方法。
15. A parallel processing in which an interleave pattern is generated in advance, an address used for data processing is selected from the interleave pattern and stored, and a value obtained by multiplying a data size by an interleave generation speed is divided by a data processing speed. At the time when the number of the stored addresses is equal to or greater than the value obtained by subtracting the parallel processing value from the size of the interleave pattern, the addresses of the interleave pattern are continuously transferred at a constant speed in accordance with the speed of the interleave processing. An interleaving method characterized in that interleaving processing is performed continuously at a constant speed.
JP2000004553A 2000-01-13 2000-01-13 Interleaver and interleaving method Pending JP2001196941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000004553A JP2001196941A (en) 2000-01-13 2000-01-13 Interleaver and interleaving method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000004553A JP2001196941A (en) 2000-01-13 2000-01-13 Interleaver and interleaving method

Publications (1)

Publication Number Publication Date
JP2001196941A true JP2001196941A (en) 2001-07-19

Family

ID=18533326

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000004553A Pending JP2001196941A (en) 2000-01-13 2000-01-13 Interleaver and interleaving method

Country Status (1)

Country Link
JP (1) JP2001196941A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6871270B2 (en) 2001-12-03 2005-03-22 Samsung Electronics Co., Ltd. Device and method for minimizing puncturing-caused output delay
JP2009526445A (en) * 2006-02-02 2009-07-16 クゥアルコム・インコーポレイテッド Method and apparatus for generating permutations

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6871270B2 (en) 2001-12-03 2005-03-22 Samsung Electronics Co., Ltd. Device and method for minimizing puncturing-caused output delay
US7093085B2 (en) 2001-12-03 2006-08-15 Samsung Electronics Co., Ltd. Device and method for minimizing puncturing-caused output delay
JP2009526445A (en) * 2006-02-02 2009-07-16 クゥアルコム・インコーポレイテッド Method and apparatus for generating permutations
US8082479B2 (en) 2006-02-02 2011-12-20 Qualcomm Incorporated Methods and apparatus for generating permutations

Similar Documents

Publication Publication Date Title
JP4749657B2 (en) DMA controller
JP2006331408A (en) Memory card capable of improving reading performance
JPH07205496A (en) Page printer and method for data compression
JP2004289667A (en) Image processor
US9054691B2 (en) Information processing apparatus or information processing method
US8688947B1 (en) Aligned data access
US7769966B2 (en) Apparatus and method for judging validity of transfer data
JP2003050739A (en) Memory controller
JP2001196941A (en) Interleaver and interleaving method
KR100808144B1 (en) Fast Generation Circuit of Ranging Binary Sequence and its method
JP2005252712A (en) Device and method for deciding validity of transfer data
JP2009153020A (en) Data processing apparatus
US8606039B2 (en) Information processing apparatus, control method for the same, and computer program
US7295622B2 (en) System and method for information decoding using batched processing of independent parameters
JP2002084316A (en) Variable length packet write and read circuit
JPH0723008A (en) Voice processing system for varying encoding processing timing
JP5548443B2 (en) Image processing apparatus and control method thereof
JP2000326571A (en) Device and method for controlling printing, and memory medium
JP2005293118A (en) Disk cache control circuit, disk controller and disk cache control method
JP4943588B2 (en) Display drive circuit
JP3328211B2 (en) Data stream controller
JP2776347B2 (en) Drawing device for printer
JP2003216479A (en) Memory read timing adjusting circuit and memory read timing adjusting method
CN117198370A (en) Method for generating termination impedance parameter and test system
JPH11168392A (en) Data error correction device and data error correction method