JP4318980B2 - Encoding processing device and decoding processing device of radio communication device - Google Patents

Encoding processing device and decoding processing device of radio communication device Download PDF

Info

Publication number
JP4318980B2
JP4318980B2 JP2003276225A JP2003276225A JP4318980B2 JP 4318980 B2 JP4318980 B2 JP 4318980B2 JP 2003276225 A JP2003276225 A JP 2003276225A JP 2003276225 A JP2003276225 A JP 2003276225A JP 4318980 B2 JP4318980 B2 JP 4318980B2
Authority
JP
Japan
Prior art keywords
bit
bits
unit
column
columns
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.)
Expired - Fee Related
Application number
JP2003276225A
Other languages
Japanese (ja)
Other versions
JP2005039672A (en
Inventor
剛 坂井
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2003276225A priority Critical patent/JP4318980B2/en
Publication of JP2005039672A publication Critical patent/JP2005039672A/en
Application granted granted Critical
Publication of JP4318980B2 publication Critical patent/JP4318980B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

この発明は、W−CDMA(wideband code division multiple access)による無線通信装置の符号化処理装置および復号化処理装置に関する。   The present invention relates to an encoding processing device and a decoding processing device of a wireless communication apparatus using W-CDMA (wideband code division multiple access).

従来のW−CDMA無線通信装置におけるデータ送受信時の符号化/復号化処理の高速化技術の一つに、例えば特許文献1に開示されたレートマッチング/デマッチング処理がある。この技術によれば、処理データを複数に分割して得られたそれぞれのデータブロックに対して、挿入(リピティション)または削除(パンクチャ)すべきビットを決定可能としている。   One of the techniques for speeding up the encoding / decoding process at the time of data transmission / reception in the conventional W-CDMA wireless communication apparatus is a rate matching / dematching process disclosed in Patent Document 1, for example. According to this technique, it is possible to determine a bit to be inserted (repetition) or deleted (puncture) for each data block obtained by dividing processing data into a plurality of pieces.

所望のデータ転送レートに適合するように、ビットを挿入または削除するレートマッチングの手法は、3GPP(3rd Generation Partnership Project)の仕様書の一つである3GPP TS25.212のSubclause 4.2.7に規定されている。3GPP TS25.212 のSubclause 4.2.7.5 に規定されたレートマッチングパターン決定アルゴリズムはシリアルな入力ビットの各々に順次適用されることにより、各ビットを挿入または削除すべきか否かビットが特定される。これに対して、特許文献1に開示された技術は、このレートマッチングパターン決定アルゴリズムから導出したアルゴリズムにより、複数のデータブロックの各々について挿入または削除すべきビットを決定することによって、複数のデータブロックに同時に並列にレートマッチング/デマッチング処理を実行する。これにより、高速なレートマッチング/デマッチング処理を実現することが出来る。   A rate matching method for inserting or deleting bits so as to conform to a desired data transfer rate is specified in Subclause 4.2.7 of 3GPP TS25.212, which is one of the specifications of 3GPP (3rd Generation Partnership Project). ing. The rate matching pattern determination algorithm specified in Subclause 4.2.7.5 of 3GPP TS25.212 is sequentially applied to each serial input bit, thereby specifying whether or not each bit should be inserted or deleted. On the other hand, the technique disclosed in Patent Document 1 determines a bit to be inserted or deleted for each of a plurality of data blocks by an algorithm derived from the rate matching pattern determination algorithm. At the same time, the rate matching / dematching process is executed in parallel. Thereby, high-speed rate matching / dematching processing can be realized.

特開2002−199048号公報Japanese Patent Laid-Open No. 2002-199048

W−CDMA無線通信装置におけるデータ送受信時の符号化処理および復号化処理は、データ転送レートが増加すればそれだけ高速化することが求められる。特許文献1に開示されたレートマッチング/デマッチング装置は以上のように構成されているので、レートマッチング/デマッチング部のみの処理は高速化することは可能であるが、第1インタリーブ/第1デインタリーブなどの処理を高速化することはできない。   The encoding process and the decoding process at the time of data transmission / reception in the W-CDMA wireless communication apparatus are required to be accelerated as the data transfer rate increases. Since the rate matching / dematching device disclosed in Patent Document 1 is configured as described above, the processing of only the rate matching / dematching unit can be speeded up, but the first interleaving / first matching is possible. Processing such as deinterleaving cannot be accelerated.

この発明は上記のような課題を解決するためになされたもので、第1の目的は、W−CDMAに準拠しておりさらに符号化処理および復号化処理を高速化することが可能な無線通信装置の符号化処理装置および復号化処理装置を得るものである。   The present invention has been made to solve the above-described problems, and a first object thereof is wireless communication that is compliant with W-CDMA and can further speed up encoding processing and decoding processing. An encoding processing device and a decoding processing device of the apparatus are obtained.

この発明に係る無線通信装置の符号化処理装置は、送信対象のデータビットストリームから、同時に作成される複数の無線フレームの数と同数のビットを取り出し、これらのビットを前記無線フレームの数と同数の複数の列に規則的に分配する並列化処理部と、レートマッチングの基本パラメータを算出するパラメータ算出部と、前記列に分配された各ビットに付与された前記データビットストリーム中のビット番号と前記基本パラメータに基づいて、前記列に分配された前記複数のビットのうち反復または削除されるべきビットを判定する反復/削除判定部と、前記列に分配された各ビットについて、前記データビットストリーム中の反復または削除される先行ビットと当該ビットの合計個数である累積反復/削除ビット数を算出する累積反復/削除ビット数算出部と、前記並列化処理部により前記列に分配された前記複数のビットのうち、前記反復/削除判定部で反復または削除すべきと判定されたビットを反復または削除するとともに、前記累積反復/削除ビット数に基づいて複数のビットをあらためて複数の列に再分配し、前記再分配で得られた複数の列のうち少なくとも二列のビットを互いに入れ替えて、前記再分配および前記入れ替えがされた列のビットをそれぞれ前記複数の無線フレームに格納するレートマッチング・第1インタリーブ部を備えたものである。   The encoding processing device of the wireless communication device according to the present invention extracts the same number of bits as the number of a plurality of wireless frames created simultaneously from the data bit stream to be transmitted, and the same number of these bits as the number of the wireless frames. A parallel processing unit that regularly distributes to a plurality of columns, a parameter calculation unit that calculates basic parameters for rate matching, and a bit number in the data bitstream assigned to each bit distributed to the columns Based on the basic parameters, a repetition / deletion determination unit that determines bits to be repeated or deleted among the plurality of bits distributed to the column, and the data bitstream for each bit distributed to the column Cumulative to calculate the cumulative number of repeated / deleted bits, which is the total number of the previous bit to be repeated or deleted and the bit concerned Of the plurality of bits distributed to the column by the reverse / delete bit number calculation unit, the bit determined to be repeated or deleted by the repetition / deletion determination unit is repeated or deleted. And redistributing a plurality of bits into a plurality of columns based on the cumulative repetition / deletion bit number, replacing at least two bits of the plurality of columns obtained by the redistribution, and redistributing the plurality of bits. And a rate matching / first interleaving unit for storing the bits of the exchanged column in the plurality of radio frames, respectively.

この発明は、並列化処理部が送信対象のデータビットストリームから、同時に作成される複数の無線フレームの数と同数のビットを取り出し、これらのビットを無線フレームの数と同数の複数の列に規則的に分配する。また、パラメータ算出部は、レートマッチングの基本パラメータeini ,eplus,eminus を算出する。さらに、反復/削除判定部は、列に分配された各ビットに付与されたデータビットストリーム中のビット番号mと基本パラメータeini ,eplus,eminus に基づいて、列に分配された複数のビットのうち反復または削除されるべきビットを判定する。さらにまた、累積反復/削除ビット数算出部は、列に分配された各ビットについて、データビットストリーム中の反復または削除される先行ビットと当該ビットの合計個数である累積反復/削除ビット数Dを算出する。レートマッチング・第1インタリーブ部は、並列化処理部により列に分配された複数のビットのうち、反復/削除判定部で反復または削除すべきと判定されたビットを反復または削除するとともに、累積反復/削除ビット数Dに基づいて複数のビットをあらためて複数の列に再分配し、再分配で得られた複数の列のうち少なくとも二列のビットを互いに入れ替えて、再分配および入れ替えがされた列のビットをそれぞれ複数の無線フレームに格納する。このように、累積反復/削除ビット数Dに基づいて複数のビットをあらためて複数の列に再分配することにより、高速にビットの再分配を完了することができ、さらに再分配で得られた複数の列のうち少なくとも二列のビットを入れ替えるだけで第1インタリーブが完了する。従って、レートマッチングで得られたビット自体に基づいてビットの再分配および第1インタリーブをする場合に比べて、高速にビットの再分配および第1インタリーブを完了することが可能である。また、並列化処理部で複数の列に分配すなわち並列化されたビットに対してレートマッチングを行い、列の入れ替えで第1インタリーブを行うので、第1インタリーブ結果は複数の無線フレームに対応しており、無線フレーム分割をあらためて実行する必要がない。以上より、W−CDMAに準拠しながらも、さらに符号化処理を高速化することが可能であるという効果がある。 In the present invention, the parallel processing unit extracts from the data bit stream to be transmitted the same number of bits as the number of a plurality of radio frames created at the same time, and rules these bits into a plurality of columns having the same number as the number of radio frames. To distribute. The parameter calculation unit calculates basic parameters e ini , e plus , and e minus for rate matching. Furthermore, the repetition / deletion determination unit is configured to execute a plurality of distributions distributed to the column based on the bit number m in the data bit stream assigned to each bit distributed to the column and the basic parameters e ini , e plus , e minus . Determine which bits of the bits are to be repeated or deleted. Furthermore, the cumulative repetition / deletion bit number calculation unit calculates, for each bit distributed to the column, the cumulative repetition / deletion bit number D that is the total number of the preceding bits to be repeated or deleted in the data bitstream and the relevant bits. calculate. The rate matching / first interleaving unit repeats or deletes bits determined to be repeated or deleted by the repetition / deletion determination unit among a plurality of bits distributed to the columns by the parallel processing unit, and performs cumulative repetition. / Redistributed / replaced columns by redistributing a plurality of bits to a plurality of columns again based on the number D of deleted bits and replacing at least two bits of the plurality of columns obtained by the redistribution with each other Are stored in a plurality of radio frames. In this way, by redistributing a plurality of bits into a plurality of columns based on the cumulative repetition / deletion bit number D, the bit redistribution can be completed at a high speed, and the plurality of bits obtained by the redistribution can be obtained. The first interleaving is completed only by exchanging bits in at least two of the columns. Therefore, it is possible to complete the bit redistribution and the first interleaving at a higher speed than in the case of the bit redistribution and the first interleaving based on the bit itself obtained by the rate matching. In addition, since the parallel processing unit performs rate matching on the bits distributed or parallelized to a plurality of columns and performs the first interleaving by exchanging the columns, the first interleaving result corresponds to a plurality of radio frames. Therefore, it is not necessary to perform the radio frame division again. As described above, there is an effect that the encoding process can be further speeded up while complying with W-CDMA.

以下、この発明に係る様々な実施の形態を説明する。
実施の形態1.
図1は、W−CDMAによる無線通信システムの下りデータ送信時の符号化処理の概要を示す図である。上位アプリケーションから転送されたトランスポートブロックには、ステップST10においてCRC(巡回冗長検査)コードが付加される。CRCコードが付加されたトランスポートブロックはステップST11において、畳み込み符号化またはターボ符号化処理により符号化される。符号化されたトランスポートブロックすなわちデータブロックは、ステップST12のレートマッチング処理において、所望のデータ転送レートとなるようにビットの反復(レピテション)あるいは削除(パンクチャ)が施される。レートマッチングされたデータブロックはステップST13において、第1インタリーブ処理を受け、ビット順序の並び替え処理が実行される。第1インタリーブされたデータブロックは、ステップST14において時間長さが10msの無線フレームに分割される。
Hereinafter, various embodiments according to the present invention will be described.
Embodiment 1 FIG.
FIG. 1 is a diagram illustrating an outline of an encoding process when downlink data is transmitted in a wireless communication system using W-CDMA. In step ST10, a CRC (Cyclic Redundancy Check) code is added to the transport block transferred from the upper application. In step ST11, the transport block to which the CRC code is added is encoded by convolution encoding or turbo encoding processing. The encoded transport block, that is, the data block is subjected to bit repetition (repetition) or deletion (puncture) so as to obtain a desired data transfer rate in the rate matching process of step ST12. In step ST13, the rate-matched data block undergoes a first interleaving process, and a bit order rearrangement process is executed. The first interleaved data block is divided into radio frames having a time length of 10 ms in step ST14.

ステップST15において、トランスポートチャネル多重化が行われる。ここでは、複数のトランスポートチャネルの無線フレームを多重する。多重化された無線フレームは、ステップST16において第2インタリーブ処理を受け、ステップST17で物理チャネルにマッピングされる。マッピングされたデータはステップST18でQPSK(quadri-phase shit keying)により拡散変調され、ステップST19でベースバンド信号からRF(高周波)信号に変換された後、アンテナより送信される。   In step ST15, transport channel multiplexing is performed. Here, radio frames of a plurality of transport channels are multiplexed. The multiplexed radio frame is subjected to the second interleaving process in step ST16, and is mapped to the physical channel in step ST17. The mapped data is spread and modulated by QPSK (quadri-phase shit keying) in step ST18, converted from a baseband signal to an RF (high frequency) signal in step ST19, and then transmitted from the antenna.

図2は、W−CDMAによる無線通信システムの上りデータ受信時の復号化処理の概要を示す図である。アンテナで受信されたRF信号は、ステップST20でベースバンド信号に変換され、ステップST21でベースバンド信号がQPSKの復調により逆拡散処理されて復号される。復号された物理チャネルのデータは、ステップST22でトランスポートチャネルの多重化された無線フレームに結合され、ステップST23で第2デインタリーブ処理される。次にステップST24でトランスポートチャネル分割が行われる。ここでは、多重化された無線フレームが複数のトランスポートチャネルの無線フレームに分割される。   FIG. 2 is a diagram illustrating an overview of a decoding process when uplink data is received in a wireless communication system based on W-CDMA. The RF signal received by the antenna is converted into a baseband signal in step ST20, and the baseband signal is despread by QPSK demodulation and decoded in step ST21. The decoded physical channel data is combined with the multiplexed radio frame of the transport channel in step ST22 and subjected to the second deinterleaving process in step ST23. Next, transport channel division is performed in step ST24. Here, the multiplexed radio frame is divided into radio frames of a plurality of transport channels.

各トランスポートチャネルの無線フレームは、ステップST25でビットの反復または削除をするレートデマッチング処理を受ける。レートデマッチングされた無線フレームは、ステップST26で無線フレーム結合される。ここでは、無線フレームからトランスポートブロックが組み立てられる。トランスポートブロックはステップST27で第1デインタリーブ処理される。第1デインタリーブ処理されたトランスポートブロックはステップST28でビタビ復号あるいはターボ復号化処理で復号化され、ステップST29のCRC検査後、上位アプリケーションに転送される。   The radio frame of each transport channel is subjected to rate dematching processing in which bits are repeated or deleted in step ST25. The rate-dematched radio frames are combined in step ST26. Here, the transport block is assembled from the radio frame. The transport block is first deinterleaved in step ST27. The transport block subjected to the first deinterleaving process is decoded by Viterbi decoding or turbo decoding process in step ST28, and transferred to the upper application after CRC check in step ST29.

この発明の実施の形態1に係る無線通信装置の符号化処理装置は、W−CDMAによる無線通信システムの基地局に設けられ、図1の下りデータ送信のレートマッチング(ステップST12)、第1インタリーブ(ステップST13)および無線フレーム分割(ステップST14)に適用される。さらに詳しくは、前段階で畳み込み符号化が行われた場合には、レートマッチングでビット反復とビット削除のいずれが使用される場合でもこの実施の形態1が適用され、前段階でターボ符号化が行われた場合にはレートマッチングでビット反復が使用される場合にこの実施の形態1が適用される。図3は、この発明の実施の形態1に係る符号化処理装置を示す機能ブロック図である。無線通信装置の他の構成要素の図示は省略する。   A coding processing apparatus of a wireless communication apparatus according to Embodiment 1 of the present invention is provided in a base station of a wireless communication system using W-CDMA, and performs rate matching (step ST12) for downlink data transmission and first interleaving in FIG. (Step ST13) and radio frame division (step ST14). More specifically, when convolutional coding is performed in the previous stage, the first embodiment is applied regardless of whether bit repetition or bit deletion is used in rate matching, and turbo coding is performed in the previous stage. If so, the first embodiment is applied when bit repetition is used in rate matching. FIG. 3 is a functional block diagram showing the coding processing apparatus according to Embodiment 1 of the present invention. Illustration of other components of the wireless communication device is omitted.

図3に示すように、この符号化処理装置は、パラメータ算出部30、並列化処理部31、D(=eplus数)算出部(反復/削除判定部)32、出力位置制御部(レートマッチング・第1インタリーブ部)33、初期位置算出部34および記憶装置35を備える。パラメータ算出部30は、実体としては無線通信装置のCPU(central processing unit)またはDSP(digital signal processor)であり、プログラムに従って動作する。並列化処理部31、D算出部32、出力位置制御部33、初期位置算出部34は、実体としてはそれぞれFPGA(field programmable gate array)またはLSI(large scale integration)の一部である。記憶装置35はRAM(random access memory)である。 As shown in FIG. 3, the encoding processing apparatus includes a parameter calculation unit 30, a parallelization processing unit 31, a D (= e plus number) calculation unit (repetition / deletion determination unit) 32, an output position control unit (rate matching). First interleaving unit) 33, an initial position calculation unit 34, and a storage device 35 are provided. The parameter calculation unit 30 is actually a CPU (central processing unit) or a DSP (digital signal processor) of the wireless communication apparatus, and operates according to a program. The parallel processing unit 31, the D calculation unit 32, the output position control unit 33, and the initial position calculation unit 34 are each part of an FPGA (field programmable gate array) or LSI (large scale integration). The storage device 35 is a random access memory (RAM).

パラメータ算出部30は、レートマッチング処理に必要なパラメータであるeini ,eplus,eminus を算出する。これらのパラメータは、上述した3GPP TS25.212 のSubclause 4.2.7 に規定されており、eini はレートマッチングパターン決定アルゴリズムの変数eの初期値であり、eplusは変数eの増分であり、eminus は変数eの減分である。パラメータ算出部30は、データレートなどに基づいてこれらのパラメータの算出を同仕様書に準拠して行う。 The parameter calculation unit 30 calculates e ini , e plus , and e minus that are parameters necessary for the rate matching process. These parameters are specified in Subclause 4.2.7 of 3GPP TS25.212 described above, e ini is an initial value of variable e of the rate matching pattern determination algorithm, e plus is an increment of variable e, e minus is a decrement of the variable e. The parameter calculation unit 30 calculates these parameters based on the data rate and the like in accordance with the same specification.

3GPP TS25.212 のSubclause 4.2.7.5 によれば、パラメータeini ,eplus,eminus を使用するレートマッチングパターン決定アルゴリズムは、図4に示す通りであるが、後述するようにこの実施の形態は図示のレートマッチングパターン決定アルゴリズムをさらに発展させたアルゴリズム(以下、「変数算出・反復/削除決定アルゴリズム」という)を利用する。なお、図4において、Xはレートマッチング処理に入力されるビットの数であり、この明細書において後述する変数kに相当する。また、mは入力ビットストリーム中の各ビットに付与されたビット番号である。 According to Subclause 4.2.7.5 of 3GPP TS25.212, the rate matching pattern determination algorithm using parameters e ini , e plus , and e minus is as shown in FIG. 4. An algorithm (hereinafter referred to as “variable calculation / iteration / deletion determination algorithm”) further developed from the illustrated rate matching pattern determination algorithm is used. In FIG. 4, X i is the number of bits input to the rate matching process, and corresponds to a variable k described later in this specification. Further, m is a bit number assigned to each bit in the input bit stream.

パラメータ算出部30は、これらのパラメータeini ,eplus,eminus を算出した後、D(=eplus数)算出部32へパラメータeini ,eplus,eminus を通知する。 After calculating these parameters e ini , e plus , e minus , the parameter calculation unit 30 notifies the D (= e plus number) calculation unit 32 of the parameters e ini , e plus , e minus .

また、既知である入力ビット数k、第1インタリーブ列数(この実施の形態では同時に作成される無線フレームの数に等しい)nは、並列化処理部31、D算出部32および出力位置制御部33へ予め通知されている。同時に作成される無線フレームの数nとは、送信時の1サイクルであるTTI(transmission time interval)中に送信される無線フレームの数であり、2,4,8の何れかの値である。1つの無線フレームの時間長さは10msであるから、3GPP TS25.212 のSubclause 4.2.5.2 に規定の通り、TTI=20msであればn=2、TTI=40msであればn=4、TTI=80msであればn=8である。   Further, the known number k of input bits and the number of first interleaved columns (equal to the number of radio frames created simultaneously in this embodiment) n are a parallel processing unit 31, a D calculation unit 32, and an output position control unit. 33 is notified in advance. The number n of radio frames created at the same time is the number of radio frames transmitted during a transmission time interval (TTI), which is one cycle at the time of transmission, and is a value of 2, 4, or 8. Since the time length of one radio frame is 10 ms, as defined in Subclause 4.2.5.2 of 3GPP TS25.212, n = 2 when TTI = 20 ms, n = 4 when TTI = 40 ms, and TTI = If 80 ms, n = 8.

並列化処理部31には、図1のステップST11にて畳み込み符号化器またはターボ符号化器(図示せず)で符号化された送信対象である入力ビットS(0),S(1),…S(k−1)のストリームが入力される。並列化処理部31は、入力ビットS(0),S(1),…S(k−1)から、入力された順番に従って第1インタリーブの列数n(この実施の形態では同時に作成される無線フレーム数に等しい)のビットS(i),S(i+1),…,S(i+n−1)を取り出し、これらのビットを一度にn個の複数の列に分配すなわち並列化して、n個のビットS(i),S(i+1),…,S(i+n−1)を出力位置制御部33に並列に供給する。iは0,n,2n,3n,...のうちの任意の整数である。   The parallel processing unit 31 includes input bits S (0), S (1), which are transmission targets encoded by a convolutional encoder or a turbo encoder (not shown) in step ST11 of FIG. ... S (k-1) stream is input. The parallel processing unit 31 generates the first interleaved column number n (in this embodiment, simultaneously from the input bits S (0), S (1),... S (k−1) according to the input order. Bits S (i), S (i + 1),..., S (i + n-1) are taken out, and these bits are distributed to n columns at a time, ie, n in parallel. Bits S (i), S (i + 1),..., S (i + n−1) are supplied to the output position control unit 33 in parallel. i is 0, n, 2n, 3n,. . . Is an arbitrary integer.

出力位置制御部33は、D算出部32および初期位置算出部34から供給される情報に基づいて、レートマッチングおよび第1インタリーブを一括して行う。この一括処理については後に詳述する。   The output position control unit 33 collectively performs rate matching and first interleaving based on information supplied from the D calculation unit 32 and the initial position calculation unit 34. This collective processing will be described in detail later.

D算出部32は、パラメータeini ,eplus,eminus を用いて、変数算出・反復/削除決定アルゴリズムにより、レートマッチングで反復または削除されるべきビットを決定する。変数算出・反復/削除決定アルゴリズムによれば、反復または削除されるべきビットの決定と同時に累積反復/削除ビット数Dを求めることができる。累積反復/削除ビット数Dは各ビットに変数算出・反復/削除決定アルゴリズムを適用したときに、パラメータeplusをインクリメントした回数を示す。この累積反復/削除ビット数Dは、各ビットについて、ビットストリーム中の反復または削除された先行するビットの個数と、そのビットが反復または削除される場合にはそのビットの個数(1個)の合計個数を示すので、ビットの増加または減少に伴い各ビットを適正に同数の列に再分配するために役立つ。D算出部32は、レートマッチングで反復または削除されるべきビットを指定した反復/削除指示と、累積反復/削除ビット数D(=eplus数)を出力位置制御部33に供給する。 The D calculation unit 32 uses the parameters e ini , e plus , and e minus to determine a bit to be repeated or deleted by rate matching using a variable calculation / iteration / deletion determination algorithm. According to the variable calculation / iteration / deletion determination algorithm, the cumulative repetition / deletion bit number D can be obtained simultaneously with determination of bits to be repeated or deleted. The cumulative iteration / deletion bit number D indicates the number of times the parameter e plus is incremented when the variable calculation / repetition / deletion decision algorithm is applied to each bit. This cumulative repetition / deletion bit number D is, for each bit, the number of preceding bits that have been repeated or deleted in the bitstream and, if that bit is repeated or deleted, the number of bits (one). As the total number is shown, it helps to properly redistribute each bit into the same number of columns as the number of bits increases or decreases. The D calculation unit 32 supplies the output position control unit 33 with a repetition / deletion instruction designating a bit to be repeated or deleted by rate matching and a cumulative repetition / deletion bit number D (= e plus number).

出力位置制御部33は、反復/削除指示に基づいてn個のビットのいずれかを反復または削除するとともに、累積反復/削除ビット数Dに基づいて各ビットを必要に応じて繰り下げまたは繰り上げる。すなわち反復または削除に伴い複数のビットをあらためてn個の列に再分配する。また、出力位置制御部33は、このようにしてレートマッチングされたビットのうち最大n個のビットを一度に記憶装置35に出力する。記憶装置35には、n個の記憶部350 〜35n-1 が設けられている。これらの記憶部350 〜35n-1 は、同時に作成されるn個の無線フレーム(便宜上、フレーム0〜フレームn−1という)に対応しており、記憶部350 〜35n-1 の各々は、少なくとも無線フレームの長さに相当する数のビットを格納することが可能であり、記憶装置35にビットを格納することで結果的にビットをそれぞれ複数の無線フレームに格納することになる。記憶装置35にビットを出力するときには、出力位置制御部33は、レートマッチングで得られた列のうち所定の少なくとも二つの列を交換することにより第1インタリーブを行う。 The output position control unit 33 repeats or deletes any of the n bits based on the repetition / deletion instruction, and lowers or raises each bit as necessary based on the cumulative repetition / deletion bit number D. That is, a plurality of bits are newly redistributed into n columns with repetition or deletion. Further, the output position control unit 33 outputs a maximum of n bits out of the rate-matched bits to the storage device 35 at a time. The storage device 35 is provided with n storage units 35 0 to 35 n−1 . These storage units 35 0 to 35 n-1 correspond to n radio frames created simultaneously (referred to as frame 0 to frame n-1 for convenience), and the storage units 35 0 to 35 n-1 Each of the bits can store at least a number of bits corresponding to the length of the radio frame, and by storing the bits in the storage device 35, the bits are consequently stored in a plurality of radio frames. . When outputting bits to the storage device 35, the output position control unit 33 performs first interleaving by exchanging at least two predetermined columns among the columns obtained by rate matching.

レートマッチングに伴い、出力位置制御部33で処理するビットの個数が増減するので、出力列の位置が変化する。そこで、出力位置制御部33は、次にレートマッチング処理する最大n個のビットを再分配する出力列の位置を決定するために、直前のレートマッチング処理結果の最終ビット(例えばS(i+n−1))が再分配された出力列の値を示す最終ビット位置情報を初期位置算出部34に通知する。初期位置算出部34は、最終ビット位置情報に示された最終ビットの出力列の値に基づいて、次のn個のビットの先頭ビット(例えばS(i))の出力列を指定する値を算出し、この値を示す初期位置情報Fini を出力位置制御部33に返す。出力位置制御部33は、初期位置情報Fini に基づいて、次に処理するべきn個のビットを初期位置情報Fini に示された初期列を先頭とする複数の列に再分配する。このようにして、出力位置制御部33は、ビットを円滑かつ高速に再分配する。 As the rate matching is performed, the number of bits processed by the output position control unit 33 increases or decreases, so that the position of the output sequence changes. Therefore, the output position control unit 33 determines the position of the output sequence from which the maximum n bits to be subjected to rate matching processing next are redistributed, for example, the last bit (for example, S (i + n−1) of the previous rate matching processing result. )) Notifies the initial position calculation unit 34 of the final bit position information indicating the value of the redistributed output sequence. Based on the value of the output sequence of the last bit indicated in the final bit position information, the initial position calculation unit 34 sets a value that specifies the output sequence of the first bit of the next n bits (for example, S (i)). The initial position information F ini indicating this value is returned to the output position control unit 33. Based on the initial position information F ini , the output position control unit 33 redistributes n bits to be processed next to a plurality of columns starting from the initial column indicated in the initial position information F ini . In this way, the output position control unit 33 redistributes the bits smoothly and at high speed.

図5および図6を参照しながら、この実施の形態1に係る無線通信装置の符号化処理装置の動作の基本原理を説明する。図5はレートマッチング処理でビットが削除(パンクチャ)される処理の例を示す。この例では、第1インタリーブの列数n(=同時に作成される無線フレームの数)が4、並列化処理部31に一度に入力されるビット数(入力ビット数k)が16、レートマッチング処理で削除されるべきビット数が5であると想定する。並列化処理部31は、シリアルで入力されたビットS(0),S(1),S(2),・・・,S(15)を入力順に従って第1インタリーブの列数nである4列(列0〜列3)に並列化する。   The basic principle of the operation of the encoding processing device of the wireless communication device according to the first embodiment will be described with reference to FIG. 5 and FIG. FIG. 5 shows an example of processing in which bits are deleted (punctured) in the rate matching processing. In this example, the number of first interleaved columns n (= the number of radio frames created simultaneously) is 4, the number of bits input to the parallel processing unit 31 at a time (number of input bits k) is 16, and rate matching processing Assume that the number of bits to be deleted is 5. The parallel processing unit 31 sets the serially input bits S (0), S (1), S (2),..., S (15) to the number n of the first interleaved columns according to the input order. Parallelize to columns (column 0 to column 3).

D算出部32は、変数算出・反復/削除決定アルゴリズムによって、削除されるべきビットを求める。図5のパンクチャパターン(D算出部32からの削除指示によりどのビットを削除すべきか指定される)によれば、ビットS(1),S(4),S(7),S(10),S(13)が削除される。出力位置制御部33は、このパンクチャパターンで指定されたビットを削除するとともに、累積反復/削除ビット数Dに基づいて各ビットをビットの減少分必要に応じて繰り上げる(空白になったビット位置に、後続の最も若い番号を持つ残されたビットを代入する)ことにより、ビットデータの並び替えを行う。例えばビットS(3)は、それまでにレートマッチング処理で1ビット(ビットS(1))が削除されているため、出力位置(出力列)が1ビット繰り上がり、元の列3から1ビット繰り上がった列2の位置に出力されることになる。また、ビットS(9)は、それまでにレートマッチング処理で3ビット(ビットS(1),S(4),S(7))が削除されているため、出力位置が3ビット繰り上がり、元の列1から3ビット繰り上がった列2の位置に出力されることになる。   The D calculation unit 32 obtains bits to be deleted by a variable calculation / iteration / deletion determination algorithm. According to the puncture pattern in FIG. 5 (which bit is to be deleted is specified by the deletion instruction from the D calculation unit 32), the bits S (1), S (4), S (7), S (10), S (13) is deleted. The output position control unit 33 deletes the bit specified by the puncture pattern and moves up each bit as necessary based on the cumulative repetition / deletion bit number D (to the bit position where it becomes blank). Then, the remaining bits having the youngest subsequent numbers are substituted) to rearrange the bit data. For example, for bit S (3), 1 bit (bit S (1)) has been deleted by the rate matching process so far, so the output position (output string) is raised by 1 bit, and 1 bit from the original string 3 It will be output to the position of row 2 that has been raised. In addition, since the bit S (9) has been deleted by the rate matching process so far (bits S (1), S (4), S (7)), the output position is advanced by 3 bits, It is output to the position of column 2 that is 3 bits higher than the original column 1.

より正確には、出力位置制御部33は、一度にn個のビットつまり並列化されたデータの1行に対してレートマッチングする。すなわち、最初は、行0(ビットS(0),S(1),S(2),S(3))に対して、ビットS(1)を削除し、ビットS(0),S(2),S(3)を列0〜2に再分配する。出力位置制御部33は、最終ビットS(3)の列2の値を示す最終ビット位置情報を初期位置算出部34に通知し、次のn個のビットの先頭ビットの列3を示す初期位置情報Fini を初期位置算出部34から受け取る。その後、出力位置制御部33は、行1(ビットS(4),S(5),S(6),S(7))に対して、ビットS(4),S(7)を削除し、ビットS(5),S(6)を列3,0に再分配する。 More precisely, the output position controller 33 performs rate matching on n bits at a time, that is, one row of parallelized data. That is, first, for row 0 (bits S (0), S (1), S (2), S (3)), bit S (1) is deleted and bits S (0), S ( 2) Redistribute S (3) to columns 0-2. The output position control unit 33 notifies the initial position calculation unit 34 of the final bit position information indicating the value of the column 2 of the last bit S (3), and the initial position indicating the column 3 of the first bit of the next n bits. Information F ini is received from the initial position calculation unit 34. Thereafter, the output position control unit 33 deletes bits S (4) and S (7) for row 1 (bits S (4), S (5), S (6), and S (7)). , Bits S (5), S (6) are redistributed into columns 3, 0.

ここで初期位置情報Fini について具体的に説明する。上記の通り、初期位置算出部34には、出力位置制御部33での直前のレートマッチング処理結果の最終ビットの列の位置を示す最終ビット位置情報が通知される。初期位置算出部34は、最終ビット位置情報に示された最終ビットの列の値+1を加算し、その加算結果を第1インタリーブの列数(同時に作成される無線フレーム数)nで除算した余り(モジュロ演算結果)を初期位置情報Fini として格納する。例えば、第1インタリーブの列数n=4で直前行の最終ビット位置が列3であるとすると、(3+1)mod 4=0が初期位置情報Fini である。ここで、mod はモジュロ演算を示す。また、前回の最終ビット位置が列1であるとすると、(1+1)mod 4=2が初期位置情報Fini である。 Here, the initial position information F ini will be specifically described. As described above, the initial position calculation unit 34 is notified of the final bit position information indicating the position of the last bit string of the immediately preceding rate matching processing result in the output position control unit 33. The initial position calculation unit 34 adds the value of the last bit string +1 indicated in the last bit position information, and divides the addition result by the number of first interleaved columns (the number of radio frames created simultaneously) n. (Modulo calculation result) is stored as initial position information F ini . For example, if the number of columns of the first interleave n = 4 and the last bit position of the previous row is column 3, (3 + 1) mod 4 = 0 is the initial position information F ini . Here, mod indicates a modulo operation. If the last bit position of the previous time is column 1, (1 + 1) mod 4 = 2 is the initial position information F ini .

並び替えで得られた各列のビットを、出力位置制御部33は、記憶装置35の各記憶部350 〜35n-1 に出力する。この出力のとき、所定の列(例えば列1と列2)を入れ替える(第1インタリーブする)。例えば、第1インタリーブにより、列0のビットは無線フレーム0に分配され、列1のビットはフレーム2に分配され、列2のビットはフレーム1に分配され、列3のビットはフレーム3に分配される。 The output position control unit 33 outputs the bits of each column obtained by the rearrangement to the storage units 35 0 to 35 n−1 of the storage device 35. At the time of this output, predetermined columns (for example, column 1 and column 2) are exchanged (first interleaving). For example, with first interleaving, column 0 bits are distributed to radio frame 0, column 1 bits are distributed to frame 2, column 2 bits are distributed to frame 1, and column 3 bits are distributed to frame 3. Is done.

図6はレートマッチング処理でビットが反復(リピティション)される処理の例を示す。この例でも、第1インタリーブの列数n(=同時に作成される無線フレームの数)が4、並列化処理部31に一度に入力されるビット数(入力ビット数k)が16、レートマッチング処理で反復されるべきビット数が5であると想定する。並列化処理部31は、シリアルで入力されたビットS(0),S(1),S(2),・・・,S(15)を入力順に従って第1インタリーブの列数nである4列(列0〜列3)に並列化する。   FIG. 6 shows an example of processing in which bits are repeated (repetition) in rate matching processing. Also in this example, the number of first interleaved columns n (= the number of radio frames created simultaneously) is 4, the number of bits input to the parallel processing unit 31 (the number of input bits k) is 16, and the rate matching process Suppose the number of bits to be repeated at 5 is 5. The parallel processing unit 31 sets the serially input bits S (0), S (1), S (2),..., S (15) to the number n of the first interleaved columns according to the input order. Parallelize to columns (column 0 to column 3).

D算出部32は、変数算出・反復/削除決定アルゴリズムによって、反復されるべきビットを求める。図6のリピティションパターン(D算出部32からの反復指示によりどのビットを反復すべきか指定される)によれば、ビットS(1),S(4),S(7),S(10),S(13)が反復される。出力位置制御部33は、このリピティションパターンで指定されたビットを反復するとともに、累積反復/削除ビット数Dに基づいて各ビットをビットの増加分必要に応じて繰り下げることにより、ビットデータの並び替えを行う。例えばビットS(3)は、それまでにレートマッチング処理で1ビット(ビットS(1))が反復されているため、出力位置(出力列)が1ビット繰り下がり、元の列3から1ビット繰り下がった列0の位置に出力されることになる。また、ビットS(9)は、それまでにレートマッチング処理で3ビット(ビットS(1),S(4),S(7))が反復されているため、出力位置が3ビット繰り下がり、元の列1から3ビット繰り下がった列0の位置に出力されることになる。   The D calculation unit 32 obtains a bit to be repeated by a variable calculation / iteration / deletion determination algorithm. According to the repetition pattern of FIG. 6 (which bit is to be repeated is specified by the repetition instruction from the D calculation unit 32), the bits S (1), S (4), S (7), S (10) , S (13) is repeated. The output position control unit 33 repeats the bits specified in this repetition pattern and lowers each bit as necessary based on the cumulative repetition / deletion bit number D, thereby arranging the bit data. Change. For example, for bit S (3), 1 bit (bit S (1)) has been repeated in the rate matching process so far, so the output position (output string) is lowered by 1 bit, and 1 bit from the original string 3 It will be output to the position of row 0 that has been lowered. Also, since the bit S (9) has been repeated 3 bits (bits S (1), S (4), S (7)) in the rate matching process so far, the output position is lowered by 3 bits, It is output to the position of column 0 which is 3 bits lower than the original column 1.

より正確には、出力位置制御部33は、1度にn個のビットつまり並列化されたデータの1行に対してレートマッチングする。すなわち、最初は、行0(ビットS(0),S(1),S(2),S(3))に対して、ビットS(1)を追加し、ビットS(0),S(1),S(1),S(2),S(3)を列0〜3および次の行の列0に再分配する。出力位置制御部33は、最終ビットS(3)の列0の値を示す最終ビット位置情報を初期位置算出部34に通知し、次のn個のビットの先頭ビットの列1を示す初期位置情報Fini を初期位置算出部34から受け取る。その後、出力位置制御部33は、行1(ビットS(4),S(5),S(6),S(7))に対して、ビットS(4),S(7)を反復し、ビットS(4),S(4),S(5),S(6),S(7),S(7)を列1〜3および次の行の列0〜2に再分配する。 More precisely, the output position control unit 33 performs rate matching on n bits at a time, that is, one row of parallelized data. That is, first, bit S (1) is added to row 0 (bits S (0), S (1), S (2), S (3)), and bits S (0), S ( 1) Redistribute S (1), S (2), S (3) to columns 0-3 and column 0 of the next row. The output position control unit 33 notifies the initial position calculation unit 34 of the final bit position information indicating the value of the column 0 of the last bit S (3), and the initial position indicating the column 1 of the first bit of the next n bits. Information F ini is received from the initial position calculation unit 34. Thereafter, the output position control unit 33 repeats bits S (4) and S (7) for row 1 (bits S (4), S (5), S (6), and S (7)). , Bits S (4), S (4), S (5), S (6), S (7), S (7) are redistributed into columns 1-3 and columns 0-2 of the next row.

並び替えで得られた各列のビットを、出力位置制御部33は、記憶装置35の各記憶部350 〜35n-1 に出力する。上記と同様に、この出力のとき、所定の列(例えば列1と列2)を入れ替える(第1インタリーブする)。 The output position control unit 33 outputs the bits of each column obtained by the rearrangement to the storage units 35 0 to 35 n−1 of the storage device 35. Similarly to the above, at the time of this output, a predetermined column (for example, column 1 and column 2) is exchanged (first interleaving).

なお、列の入れ替えは、3GPP TS25.212のSubclause 4.2.5.2 に準拠すればよい。具体的には、TTI=20msつまりn=2であれば、列0,1を無線フレーム0,1にそれぞれ格納する。TTI=40msつまりn=4(図示例)であれば、列0,1,2,3を無線フレーム0,2,1,3にそれぞれ格納する。TTI=80msつまりn=8であれば、列0,1,2,3,4,5,6,7を無線フレーム0,4,2,6,1,5,3,7にそれぞれ格納する。   It should be noted that the replacement of the columns may conform to 3GPP TS25.212 Subclause 4.2.5.2. Specifically, if TTI = 20 ms, that is, n = 2, columns 0 and 1 are stored in radio frames 0 and 1, respectively. If TTI = 40 ms, that is, n = 4 (illustrated example), columns 0, 1, 2, and 3 are stored in radio frames 0, 2, 1, and 3, respectively. If TTI = 80 ms, that is, n = 8, columns 0, 1, 2, 3, 4, 5, 6, and 7 are stored in radio frames 0, 4, 2, 6, 1, 5, 3, and 7, respectively.

次に、レートマッチング処理で使用され、レートマッチングパターンを決定するとともに、累積反復/削除ビット数Dを求める変数算出・反復/削除決定アルゴリズムの詳細を説明する。図7は変数算出・反復/削除決定アルゴリズムを示すフローチャートである。このアルゴリズムはD算出部32で各ビットについて実行され、入力ビット番号mを指定しながら開始される。入力ビット番号mは、3GPP TS25.212 のSubclause 4.2.7.5 のレートマッチングパターン決定アルゴリズムで使用される、1を初期値とする入力ビット番号mと同旨である。図5および図6に示すように、0を初期値とするビットストリームの場合、図示のビット番号に1を加えた値が入力ビット番号mである。例えば、図示のビットS(3)であれば入力ビット番号m=4である。   Next, details of a variable calculation / iteration / deletion determination algorithm used in the rate matching process to determine a rate matching pattern and obtain the cumulative repetition / deletion bit number D will be described. FIG. 7 is a flowchart showing a variable calculation / iteration / deletion determination algorithm. This algorithm is executed for each bit by the D calculating unit 32, and is started while designating the input bit number m. The input bit number m is the same as the input bit number m having an initial value of 1 used in the rate matching pattern determination algorithm of Subclause 4.2.7.5 of 3GPP TS25.212. As shown in FIGS. 5 and 6, in the case of a bit stream having 0 as an initial value, a value obtained by adding 1 to the illustrated bit number is the input bit number m. For example, in the case of the illustrated bit S (3), the input bit number m = 4.

まずステップST30で、累積反復/削除ビット数Dに初期値0を代入する。次にステップST31で、eini −m・eminus +D・eplusが正であるか否か判断する。この判断結果が否定的ならステップST32で、累積反復/削除ビット数Dを1増加させて、再度ステップST31の判断を試行する。ステップST31の判断結果が肯定的ならステップST33に処理が進む。ステップST31からステップST33に処理が進んだ時点でのDがそのビットにとっての確定した累積反復/削除ビット数D(=eplus数)であり、反復または削除された先行するビットの個数と、そのビットが反復または削除される場合にはそのビットの個数(1個)の合計個数を示す。D算出部32はこの時点の累積反復/削除ビット数Dを保持する。 First, in step ST30, an initial value 0 is substituted for the cumulative repetition / deletion bit number D. Next, in step ST31, it is determined whether or not e ini −m · e minus + D · e plus is positive. If this determination result is negative, in step ST32, the cumulative repetition / deletion bit number D is incremented by 1, and the determination in step ST31 is tried again. If the determination result of step ST31 is affirmative, the process proceeds to step ST33. D at the time when the process proceeds from step ST31 to step ST33 is the determined cumulative repetition / deletion bit number D (= e plus number) for that bit, and the number of preceding bits that have been repeated or deleted, When a bit is repeated or deleted, the total number of bits (one) is indicated. The D calculation unit 32 holds the cumulative repetition / deletion bit number D at this time.

ステップST33以降のステップは、入力ビットが反復または削除されるべきビットかどうかを判定するために実行する。ステップST33では式(1)に該当するか否かを判断する。
plus−eminus <eini −m・eminus +D・eplus≦eplus...(1)
この判断結果が否定的であれば、そのビットを反幅または削除しないと決定する(ステップST35)。
The steps after step ST33 are executed to determine whether the input bit is a bit to be repeated or deleted. In step ST33, it is determined whether or not the formula (1) is satisfied.
e plus −e minus <e ini −m · e minus + D · e plus ≦ e plus . . . (1)
If this determination result is negative, it is determined that the bit is not reversed or not deleted (step ST35).

ステップST33の判断結果が肯定的ならステップST34に処理が進む。ステップST34では式(2)に該当するか否かを判断する。
m≧[eini /eminus ]−1...(2)
ここで、[eini /eminus ]は、商eini /eminus が整数であれば商eini /eminus であり、商eini /eminus が整数でなければ商eini /eminus を小数点以下切り上げした整数である。ステップST34の判断結果が否定的であれば、そのビットを反幅または削除しないと決定する(ステップST35)。
If the determination result of step ST33 is affirmative, the process proceeds to step ST34. In step ST34, it is determined whether or not the formula (2) is satisfied.
m ≧ [e ini / e minus ] -1. . . (2)
Here, [e ini / e minus], if the quotient e ini / e minus is an integer and the quotient e ini / e minus, the quotient e ini / e minus is the quotient e ini / e minus be an integer An integer rounded up to the nearest whole number. If the determination result in step ST34 is negative, it is determined that the bit is not reversed or not deleted (step ST35).

ステップST33とステップST34の両方の判定式が満たされる場合にのみ、そのビットを反幅または削除すると決定する(ステップST36)。図示の変数算出・反復/削除決定アルゴリズムは、図4に示された3GPP TS25.212 のSubclause 4.2.7.5 に規定されたレートマッチングパターン決定アルゴリズムを発明者が変形して得たものであり、ステップST33〜ステップST36を通じた判断結果は、3GPP TS25.212 のレートマッチングパターン決定アルゴリズムによる判断結果と正確に一致する。   Only when both the determination formulas of step ST33 and step ST34 are satisfied, the bit is determined to be opposite width or deleted (step ST36). The variable calculation / iteration / deletion determination algorithm shown in the figure is obtained by modifying the rate matching pattern determination algorithm defined in Subclause 4.2.7.5 of 3GPP TS25.212 shown in FIG. The determination result through ST33 to ST36 is exactly the same as the determination result by the rate matching pattern determination algorithm of 3GPP TS25.212.

図8は、図3のD算出部32の具体的回路例を示すブロック図である。図8に示すように、D算出部32は、n個のD(=eplus数)算出ユニット390 〜39n-1 、n個の反復/削除判定ユニット400 〜40n-1 、および最終ビットのD(=eplus数)格納部41を備える。D算出ユニット390 〜39n-1 、および反復/削除判定ユニット400 〜40n-1 は、列0〜n−1の各々のために設けられており、添字0〜n−1はそれぞれ列0〜n−1に対応する。 FIG. 8 is a block diagram illustrating a specific circuit example of the D calculation unit 32 of FIG. As shown in FIG. 8, the D calculation unit 32 includes n D (= e plus number) calculation units 39 0 to 39 n−1 , n iteration / deletion determination units 40 0 to 40 n−1 , and A final bit D (= e plus number) storage unit 41 is provided. D calculation units 39 0 to 39 n-1 and repetition / deletion determination units 400 0 to 40 n-1 are provided for each of columns 0 to n-1 , and subscripts 0 to n-1 are respectively provided. Corresponds to columns 0 to n-1.

D算出ユニット390 〜39n-1 の各々は、図7のフローチャートの変数算出・反復/削除決定アルゴリズムのうちステップST30〜ステップST32に相当する手順を対応する列について実行し、確定した累積反復/削除ビット数D(=eplus数)を出力位置制御部33に通知する(D(i),D(i−1),…D(i+n−1))。D算出ユニット390 〜39n-1 による累積反復/削除ビット数Dの算出後、反復/削除判定ユニット400 〜40n-1 は、変数算出・反復/削除決定アルゴリズムのうちステップST33〜ステップST36に相当する手順を対応する列について実行し、反復または削除すべきとの結論の場合に、反復/削除指示を出力位置制御部33に供給する。 Each of the D calculation units 39 0 to 39 n-1 executes a procedure corresponding to step ST30 to step ST32 in the variable calculation / iteration / deletion determination algorithm of the flowchart of FIG. / The deletion bit number D (= e plus number) is notified to the output position control unit 33 (D (i), D (i−1),... D (i + n−1)). After the cumulative iteration / deletion bit number D is calculated by the D calculation units 39 0 to 39 n−1 , the iteration / deletion determination units 400 0 to 40 n-1 are steps ST33 to ST among the variable calculation / iteration / deletion determination algorithms. The procedure corresponding to ST36 is executed for the corresponding column, and if it is concluded that it should be repeated or deleted, an iteration / deletion instruction is supplied to the output position control unit 33.

n個のD算出ユニット390 〜39n-1 とn個の反復/削除判定ユニット400 〜40n-1 を有することにより、D算出部32は、図5および図6の一行(n個のビット)に対して同時に変数算出・反復/削除決定アルゴリズムを適用することができる。例えば、図5および図6の行0については、ビットS(0)についての累積反復/削除ビット数DがD算出ユニット390 で算出され、ビットS(0)を反復または削除すべきか否かが反復/削除判定ユニット400 で判断され、ビットS(1)についての累積反復/削除ビット数DがD算出ユニット391 で算出され、ビットS(1)を反復または削除すべきか否かが反復/削除判定ユニット401 で判断され、ビットS(3)についての累積反復/削除ビット数DがD算出ユニット39n-1 で算出され、ビットS(3)を反復または削除すべきか否かが反復/削除判定ユニット40n-1 で判断される。 By having n D calculation units 39 0 to 39 n−1 and n iteration / deletion determination units 40 0 to 40 n−1 , the D calculation unit 32 can perform one line (n pieces) in FIGS. The variable calculation / iteration / deletion decision algorithm can be applied to the same bit). For example, for row 0 of FIG. 5 and FIG. 6, the cumulative repetition / puncture bits number D of bits S (0) is calculated by D calculation unit 39 0, whether or not to repeat or delete bits S a (0) There is determined in an iterative / deletion determining unit 40 0, cumulative repetition / puncture bits number D of bits S (1) is calculated by D calculation unit 39 1, whether or not to repeat or delete bits S (1) is Determined by the iteration / deletion determination unit 40 1 , the cumulative iteration / deletion bit number D for the bit S (3) is calculated by the D calculation unit 39 n−1 , and whether or not the bit S (3) should be repeated or deleted. Is determined by the repetition / deletion determination unit 40 n−1 .

D算出ユニット390 〜39n-1 が実行する累積反復/削除ビット数Dの算出手順で初期値として設定するDの値は、最初の行である行0(ビットS(0),S(1),S(2),S(3))について計算するときは、図7のステップST30の通りD=0を使用する。以後の行について計算するときは、直前に計算した行の最終ビットにとっての累積反復/削除ビット数Dを初期値として設定すると好ましい。この目的のため、最終ビットのD格納部41が使用される。入力ビット番号が増えるにつれて、累積反復/削除ビット数Dは増加するので、直前行の累積反復/削除ビット数Dを使えば、ステップST31およびステップST32の計算処理の数を減少させることができる。例えば、行1(ビットS(4),S(5),S(6),S(7))について計算するときは、行0の最終ビットS(3)の計算試行時の累積反復/削除ビット数Dを初期値として設定する。 The value of D set as an initial value in the calculation procedure of the cumulative repetition / deletion bit number D executed by the D calculation units 39 0 to 39 n-1 is the first row, row 0 (bits S (0), S ( When calculating for 1), S (2), S (3)), D = 0 is used as in step ST30 of FIG. When calculating the subsequent rows, it is preferable to set the cumulative repetition / deletion bit number D for the last bit of the row calculated immediately before as an initial value. For this purpose, the last bit D storage 41 is used. Since the cumulative repetition / deletion bit number D increases as the input bit number increases, the number of calculation processes in step ST31 and step ST32 can be reduced by using the cumulative repetition / deletion bit number D in the immediately preceding row. For example, when calculating for row 1 (bits S (4), S (5), S (6), S (7)), cumulative iteration / deletion at the time of calculating the last bit S (3) of row 0 The number of bits D is set as an initial value.

最終ビットのD格納部41には、D算出ユニット39n-1 から直前に計算した行の最終ビットの累積反復/削除ビット数Dの値が供給されて格納される。この累積反復/削除ビット数Dは、次の行に対する変数算出・反復/削除決定アルゴリズムの計算のDの初期値として、D算出ユニット390 〜39n-1 の各々にロードされる。 The last bit D storage unit 41 is supplied with the value of the cumulative repetition / deletion bit number D of the last bit of the last row calculated from the D calculation unit 39 n−1 and stored therein. This cumulative repetition / deletion bit number D is loaded into each of the D calculation units 39 0 to 39 n-1 as an initial value of D in the calculation of the variable calculation / repetition / deletion determination algorithm for the next row.

以上の通り、D算出部32からは、各列ごとに累積反復/削除ビット数Dと、反復または削除すべきビットを指定した反復/削除指示が、出力位置制御部33に通知される。ただし、D算出部32から出力位置制御部33に通知する累積反復/削除ビット数D(i),D(i−1),…D(i+n−1)は、各D算出ユニット390 〜39n-1 で算出されたDを第1インタリーブの列数(同時に作成される無線フレーム数)nで除算した余り(モジュロ演算結果)である。例えば、第1インタリーブの列数n=4で、D算出ユニットで算出されたDが3であるとすると、3mod 4=3を累積反復/削除ビット数Dとして出力位置制御部33に通知する。D算出ユニットで算出されたDが5であるとすると、5mod 4=1を累積反復/削除ビット数Dとして出力位置制御部33に通知する。 As described above, the D calculation unit 32 notifies the output position control unit 33 of the cumulative repetition / deletion bit number D for each column and the repetition / deletion instruction designating the bits to be repeated or deleted. However, the cumulative repetition / deletion bit numbers D (i), D (i−1),... D (i + n−1) notified from the D calculation unit 32 to the output position control unit 33 are the D calculation units 39 0 to 39. This is a remainder (modulo calculation result) obtained by dividing D calculated by n−1 by the number of first interleaved columns (the number of radio frames created simultaneously) n. For example, if the number of columns of the first interleave is n = 4 and D calculated by the D calculating unit is 3, 3mod 4 = 3 is notified to the output position control unit 33 as the cumulative repetition / deletion bit number D. If D calculated by the D calculating unit is 5, 5mod 4 = 1 is notified to the output position control unit 33 as the cumulative repetition / deletion bit number D.

図9および図10は、図3の出力位置制御部33の具体的回路例を示すブロック図である。図9および図10に示すように、出力位置制御部33は、n個の加算器33A0 〜33n-1 、n個の出力位置算出部360 〜36n-1 、n個の書き込み制御部(再分配制御部)370 〜37n-1 、およびビット格納出力部38を備える。加算器33A0 〜33n-1 、出力位置算出部360 〜36n-1 、および書き込み制御部370 〜37n-1 は、列0〜n−1の各々のために設けられており、添字0〜n−1はそれぞれ列0〜n−1に対応する。 9 and 10 are block diagrams illustrating specific circuit examples of the output position control unit 33 in FIG. As shown in FIGS. 9 and 10, the output position control unit 33 includes n adders 33A 0 to 33 n−1 , n output position calculation units 36 0 to 36 n−1 , and n write controls. Units (redistribution control units) 37 0 to 37 n-1 and a bit storage output unit 38. Adders 33A 0 to 33 n-1 , output position calculation units 36 0 to 36 n-1 , and write control units 37 0 to 37 n-1 are provided for each of columns 0 to n-1. Subscripts 0 to n-1 correspond to columns 0 to n-1, respectively.

図11および図12は、図9および図10と同様の図であり、第1インタリーブの列数(同時に作成される無線フレーム数)n=4で、レートマッチング処理でビットS(i),S(i+3)が削除される処理の流れを示す。また、図13および図14は、図9および図10と同様の図であり、第1インタリーブの列数(同時に作成される無線フレーム数)n=4で、レートマッチング処理でビットS(i),S(i+3)が反復される処理の流れを示す。以下、図9から図14を参照しながら、出力位置制御部33の具体的動作を説明する。   FIGS. 11 and 12 are the same as FIGS. 9 and 10, and the number of first interleaved columns (the number of radio frames created simultaneously) n = 4 and bits S (i) and S in the rate matching process. (I + 3) shows the flow of processing to be deleted. FIGS. 13 and 14 are the same diagrams as FIGS. 9 and 10, and the number of first interleaved columns (the number of radio frames created simultaneously) n = 4, and bit S (i) is obtained by rate matching processing. , S (i + 3) shows a process flow in which it is repeated. Hereinafter, a specific operation of the output position control unit 33 will be described with reference to FIGS. 9 to 14.

並列化処理部31から供給されるビットS(i),S(i+1),…,S(i+n−1)は、書き込み制御部370 〜37n-1 に与えられる。加算器33A0 〜33n-1 には、初期位置算出部34から上述の初期位置情報Fini が供給される。一つのTTIのビットストリーム中の最初に出力位置制御部33に供給される行のn個のビットについては、初期位置情報Fini は0であり、以降の行については、初期位置情報Fini はn個のビットのうち先頭ビットの出力列(出力位置)を示す。 Bits S (i), S (i + 1),..., S (i + n−1) supplied from the parallel processing unit 31 are given to the write control units 37 0 to 37 n−1 . The initial position information F ini is supplied from the initial position calculation unit 34 to the adders 33A 0 to 33 n−1 . For the first to the n bits of the row to be supplied to the output position control unit 33 in one TTI bitstream, the initial position information F ini 0, the next lines, the initial position information F ini is An output string (output position) of the first bit among n bits is shown.

加算器33A0 〜33n-1 は、初期位置情報Fini に列番号値Cを加算する。加算結果は、各ビットの位置情報F(i),F(i+1),・・・,F(i+n−1)として出力位置算出部360〜36n-1 へロードされる。
列番号値C(0),C(1),・・・,C(n−1)は第1インタリーブの列数(=無線フレーム数)nにより以下の通り設定される。
・n=2の場合、C(0)=0、C(1)=1。
・n=4の場合、C(0)=0、C(1)=1、C(2)=2、C(3)=3。
・n=8の場合、C(0)=0、C(1)=1、C(2)=2、C(3)=3、C(4)=4、C(5)=5、C(6)=6、C(7)=7。
このように列番号値Cは、反復または削除されるべきビットがなく、かつ初期位置情報Fini が0の場合の各ビットの出力位置(出力列)を示す。つまり実施の形態1では列番号値Cは、レートマッチング前の各ビットの列の番号である。
The adders 33A 0 to 33 n−1 add the column number value C to the initial position information F ini . The addition result is loaded to the output position calculation units 36 0 to 36 n−1 as position information F (i), F (i + 1),..., F (i + n−1) of each bit.
Column number values C (0), C (1),..., C (n−1) are set as follows according to the number of columns (= number of radio frames) n of the first interleave.
When n = 2, C (0) = 0, C (1) = 1.
When n = 4, C (0) = 0, C (1) = 1, C (2) = 2, C (3) = 3.
When n = 8, C (0) = 0, C (1) = 1, C (2) = 2, C (3) = 3, C (4) = 4, C (5) = 5, C (6) = 6, C (7) = 7.
Thus, the column number value C indicates the output position (output string) of each bit when there is no bit to be repeated or deleted and the initial position information F ini is 0. That is, in Embodiment 1, the column number value C is the column number of each bit before rate matching.

出力位置算出部360 〜36n-1 には、位置情報F(i),F(i+1),・・・,F(i+n−1)がそれぞれロードされる。さらに、各列に応じた累積反復/削除ビット数D(=eplus数)が出力位置算出部360 〜36n-1 にそれぞれロードされる(D(i),D(i+1),・・・,D(i+n−1))。出力位置算出部360 〜36n-1 の各々は、自身にロードされた位置情報Fと累積反復/削除ビット数Dに基づいて、以下のように出力位置を算出する。出力位置算出部360 〜36n-1 が算出する出力位置とは、レートマッチング処理による先行ビットおよび当該ビットの反復または削除を考慮して当該ビットが分配されるべき出力列であり、後述するビット格納出力部38のビット格納部38Aに割り当てられた列0〜3n−1である。 Position information F (i), F (i + 1),..., F (i + n−1) are loaded into the output position calculation units 36 0 to 36 n−1 , respectively. Further, the cumulative repetition / deletion bit number D (= e plus number) corresponding to each column is loaded into the output position calculation units 36 0 to 36 n−1 (D (i), D (i + 1),... ., D (i + n-1)). Each of the output position calculation units 36 0 to 36 n−1 calculates the output position as follows based on the position information F loaded therein and the cumulative repetition / deletion bit number D. The output position calculated by the output position calculation units 36 0 to 36 n-1 is an output string to which the bit should be distributed in consideration of the preceding bit by the rate matching process and repetition or deletion of the bit. Columns 0 to 3n-1 assigned to the bit storage unit 38A of the bit storage output unit 38.

レートマッチングがビット削除の場合には、ビットS(i)の出力位置は、出力位置算出部360 により、F(i)−D(i)で求められる。ビットS(i+1)の出力位置は、出力位置算出部361 により、F(i+1)−D(i+1)で求められる。ビットS(i+2)の出力位置は、出力位置算出部362 により、F(i+2)−D(i+2)で求められる。以下同様にして、ビットS(i+n−1)の出力位置は、出力位置算出部36n-1 により、F(i+n−1)−D(i+n−1)で求められる。 When rate matching is a bit deletion, output position bits S (i) is the output position calculating unit 36 0 is calculated by F (i) -D (i) . Output position bits S (i + 1) is the output position calculation unit 36 1, obtained by F (i + 1) -D ( i + 1). Output position bits S (i + 2) is the output position calculation portion 36 2, obtained by F (i + 2) -D ( i + 2). Similarly, the output position of the bit S (i + n−1) is obtained by F (i + n−1) −D (i + n−1) by the output position calculation unit 36 n−1 .

ビット削除の例として、図11および図12に示すように、n=4、初期位置情報Fini =3、D(i)=1、D(i+1)=1、D(i+2)=1、D(i+3)=2の場合には、出力位置算出部360 はビットS(i)の出力位置を2と算出する。同様の場合、出力位置算出部361 はビットS(i+1)の出力位置を3と算出し、出力位置算出部362 はビットS(i+2)の出力位置を4と算出し、出力位置算出部363 はビットS(i+3)の出力位置を4と算出する。 As an example of bit deletion, as shown in FIGS. 11 and 12, n = 4, initial position information F ini = 3, D (i) = 1, D (i + 1) = 1, D (i + 2) = 1, D (i + 3) = in the case of 2, the output position calculating unit 36 0 is calculated as 2 output position bits S (i). Similar cases, the output position calculation unit 36 1 calculates the 3 output position bits S (i + 1), the output position calculation unit 36 2 calculates four output position bits S (i + 2), an output position calculation unit 36 3 is calculated as 4 output position bits S (i + 3).

レートマッチングがビット反復の場合には、ビットS(i)の出力位置は、出力位置算出部360 により、F(i)+D(i)で求められる。ビットS(i+1)の出力位置は、出力位置算出部361 により、F(i+1)+D(i+1)で求められる。ビットS(i+2)の出力位置は、出力位置算出部362 により、F(i+2)+D(i+2)で求められる。以下同様にして、ビットS(i+n−1)の出力位置は、出力位置算出部36n-1 により、F(i+n−1)+D(i+n−1)で求められる。 When rate matching is a bit repetition, the output position of the bit S (i) is the output position calculating unit 36 0 is calculated by F (i) + D (i ). Output position bits S (i + 1) is the output position calculation unit 36 1, obtained by F (i + 1) + D (i + 1). Output position bits S (i + 2) is the output position calculation portion 36 2, obtained by F (i + 2) + D (i + 2). Similarly, the output position of the bit S (i + n−1) is obtained by F (i + n−1) + D (i + n−1) by the output position calculation unit 36 n−1 .

ビット反復の例として、図13および図14に示すように、n=4、初期位置情報Fini =1、D(i)=1、D(i+1)=1、D(i+2)=1、D(i+3)=2の場合には、出力位置算出部360 はビットS(i)の出力位置を2と算出する。同様の場合、出力位置算出部361 はビットS(i+1)の出力位置を3と算出し、出力位置算出部362 はビットS(i+2)の出力位置を4と算出し、出力位置算出部363 はビットS(i+3)の出力位置を6と算出する。 As an example of bit repetition, as shown in FIGS. 13 and 14, n = 4, initial position information F ini = 1, D (i) = 1, D (i + 1) = 1, D (i + 2) = 1, D (i + 3) = in the case of 2, the output position calculating unit 36 0 is calculated as 2 output position bits S (i). Similar cases, the output position calculation unit 36 1 calculates the 3 output position bits S (i + 1), the output position calculation unit 36 2 calculates four output position bits S (i + 2), an output position calculation unit 36 3 calculates the output position bits S (i + 3) and 6.

出力位置算出部360 〜36n-1 で各ビットの出力位置を算出後、書き込み制御部370 〜37n-1 は、ビットS(i),S(i+1),…,S(i+n−1)をビット格納出力部38に書き込む。ビット格納出力部38は、列0のビット〜列3n−1のビットの各々を格納するのための3n個のビット格納部38Aと、各ビット格納部38Aから格納されたビットを読み出すための3n個のデータ出力ユニット38Bを有する。各ビット格納部38Aには、列0〜3n−1のいずれかを指定するアドレスが割り当てられている。 After calculating the output position of each bit by the output position calculation units 36 0 to 36 n−1 , the write control units 37 0 to 37 n−1 perform the bits S (i), S (i + 1),..., S (i + n− 1) is written to the bit storage output unit 38. The bit storage output unit 38 has 3n bit storage units 38A for storing each of the bits in column 0 to column 3n-1, and 3n for reading out the stored bits from each bit storage unit 38A. Data output units 38B. Each bit storage unit 38A is assigned an address designating one of the columns 0 to 3n-1.

ビット格納出力部38は、レートマッチングがビット反復の場合に出力位置制御部33の出力ビット数が、同時に作成される各無線フレームのために設けられた記憶部350 〜35n-1 の個数nを超えるため、記憶装置35へのビット書き込みの整合を取るために設けられたバッファである。列n〜2n−1のビット格納部38Aはそれぞれ列0〜n−1に対応し、先行するビットで列0〜n−1のビット格納部38Aが埋まっているときに、列0〜n−1に再分配されるべきビットを格納する。列2n〜3n−1のビット格納部38Aもそれぞれ列0〜n−1に対応し、先行するビットで列0〜n−1のビット格納部38Aも列n〜2n−1のビット格納部38Aも埋まっているときに、列0〜n−1に再分配されるべきビットを格納する。レートマッチング処理がビット削除の場合には、ビット格納出力部38を介さずに、書き込み制御部370 〜37n-1 から記憶装置35にビットを出力してもよい。 In the bit storage output unit 38, when the rate matching is bit repetition, the number of output bits of the output position control unit 33 is the number of storage units 35 0 to 35 n−1 provided for each radio frame created simultaneously. Since the number exceeds n, the buffer is provided to match the bit writing to the storage device 35. The bit storage units 38A of the columns n to 2n-1 correspond to the columns 0 to n-1, respectively, and when the bit storage units 38A of the columns 0 to n-1 are filled with the preceding bits, the columns 0 to n- Store the bits to be redistributed to one. The bit storage units 38A of the columns 2n to 3n-1 also correspond to the columns 0 to n-1, respectively, and the bit storage units 38A of the columns 0 to n-1 in the preceding bits are also the bit storage units 38A of the columns n to 2n-1. Stores the bits to be redistributed in columns 0 to n−1. When the rate matching process is bit deletion, bits may be output from the write control units 37 0 to 37 n-1 to the storage device 35 without going through the bit storage output unit 38.

書き込み制御部370 〜37n-1 は、ビットS(i),S(i+1),…,S(i+n−1)を、出力位置算出部360 〜36n-1 で算出した出力列に対応するビット格納部38Aに分配して書き込む。書き込み制御部370 〜37n-1 にはD算出部32から反復/削除指示が通知されており、書き込み制御部370 〜37n-1 は、ビット格納部38Aへのビットの分配・書き込み時に、反復/削除指示に従ってレートマッチング処理に相当する処理を実行する。レートマッチング処理がビット削除の場合には、書き込み制御部370 〜37n-1 は、削除されるべきビットをビット格納部38Aへ書き込みしない。 The write control units 37 0 to 37 n−1 convert the bits S (i), S (i + 1),..., S (i + n−1) to the output sequence calculated by the output position calculation units 36 0 to 36 n−1. Distribution and writing to the corresponding bit storage unit 38A. The write control units 37 0 to 37 n-1 are notified of repetition / deletion instructions from the D calculation unit 32, and the write control units 37 0 to 37 n-1 distribute and write bits to the bit storage unit 38A. Sometimes, a process corresponding to the rate matching process is executed according to the repeat / delete instruction. When the rate matching process is bit deletion, the write control units 37 0 to 37 n-1 do not write bits to be deleted to the bit storage unit 38A.

ビット削除の例として、図11および図12に示すように、D算出部32がビットS(i),S(i+3)の削除を指示している場合には、出力位置算出部360 ,363 がビットS(i),S(i+3)の出力位置をそれぞれ2,4と算出していても、ビットS(i),S(i+3)に対応する書き込み制御部370 ,373 はビットS(i),S(i+3)を列2,4のためのビット格納部38Aには書き込まずに廃棄する。他方、書き込み制御部371 ,372 はビットS(i+1),S(i+2)を、出力位置算出部361 ,362 の算出結果に従って列3,4のためのビット格納部38Aに書き込む。この場合、初期位置情報Fini が3であることから分かるように、列2のためのビット格納部38Aには、直前に計算した行の最終ビットが書き込まれているので、書き込み制御部370 がビットS(i)を列2のためのビット格納部38Aに書き込まないことで、ビット格納出力部38内の列の整合性は保たれる。また、列4のためのビット格納部38Aには、ビットS(i+2)が書き込まれるが、書き込み制御部373 がビットS(i+3)を列4のためのビット格納部38Aに書き込まないことで、不適切な衝突が避けられる。以上より明らかなように、レートマッチング処理がビット削除の場合には、累積反復/削除ビット数Dのインクリメントにより、削除されるべきビットおよびそれ以降のビットの出力列が結果的に繰り上がる。 As an example of bit deletion, as shown in FIGS. 11 and 12, when the D calculation unit 32 instructs to delete bits S (i) and S (i + 3), output position calculation units 36 0 , 36 3 calculates the output positions of the bits S (i) and S (i + 3) as 2 and 4, respectively, the write control units 37 0 and 37 3 corresponding to the bits S (i) and S (i + 3) S (i) and S (i + 3) are discarded without being written in the bit storage unit 38A for columns 2 and 4. On the other hand, the write control units 37 1 and 37 2 write the bits S (i + 1) and S (i + 2) into the bit storage units 38A for the columns 3 and 4 according to the calculation results of the output position calculation units 36 1 and 36 2 . In this case, as can be seen from the initial position information F ini being 3, since the last bit of the row calculated immediately before is written in the bit storage unit 38A for column 2, the write control unit 37 0. Since the bit S (i) is not written to the bit storage unit 38A for the column 2, the consistency of the column in the bit storage output unit 38 is maintained. Also, the bit storage unit 38A for row 4, bit S (i + 2) but is written by the write controller 37 3 is not write bit S a (i + 3) in the bit storage unit 38A for row 4 , To avoid inappropriate collisions. As is apparent from the above, when the rate matching process is bit deletion, the output sequence of the bits to be deleted and the subsequent bits are advanced by the increment of the cumulative repetition / deletion bit number D.

レートマッチング処理がビット反復の場合には、書き込み制御部370 〜37n-1 は、出力位置算出部36で求めた出力位置(アドレス)のビット格納部38Aとそのアドレスから1引いたアドレスのビット格納部38Aの2箇所に同じビットの2度書き込みを実行する。例えば、図13および図14に示すように、D算出部32がビットS(i)の反復を指示している場合には、書き込み制御部370 は、出力位置算出部360 の算出結果に従って列2のためのビット格納部38AにビットS(i)を書き込むだけでなく、列2から1引いた列1のためのビット格納部38AにもビットS(i)を書き込む。この場合、初期位置情報Fini が1であることから分かるように、列0のためのビット格納部38Aには、直前に計算した行の最終ビットが書き込まれているので、書き込み制御部370 がビットS(i)を列1,列2のためのビット格納部38Aに書き込むことで、ビット格納出力部38内の列の整合性は保たれる。 When the rate matching processing is bit repetition, the write control units 37 0 to 37 n-1 have the bit storage unit 38 A of the output position (address) obtained by the output position calculation unit 36 and the address obtained by subtracting 1 from the address. The same bit is written twice in two places of the bit storage unit 38A. For example, as shown in FIGS. 13 and 14, when the D calculation unit 32 instructs the repetition of bits S (i), the writing control unit 37 0, in accordance with the calculated result of the output position calculating unit 36 0 Not only the bit S (i) is written in the bit storage unit 38A for the column 2, but also the bit S (i) is written in the bit storage unit 38A for the column 1 subtracted from the column 2. In this case, as can be seen from the fact that the initial position information F ini is 1, since the last bit of the row calculated immediately before is written in the bit storage unit 38A for the column 0, the write control unit 37 0. Writes the bit S (i) to the bit storage unit 38A for the columns 1 and 2, so that the integrity of the columns in the bit storage output unit 38 is maintained.

他方、書き込み制御部371 ,372 はビットS(i+1),S(i+2)を、出力位置算出部361 ,362 の算出結果に従って列3,4のためのビット格納部38Aに書き込む。また、D算出部32がビットS(i+3)の反復を指示しているので、書き込み制御部373 は、出力位置算出部363 の算出結果に従って列6のためのビット格納部38AにビットS(i+3)を書き込むだけでなく、列6から1引いた列5のためのビット格納部38AにもビットS(i+3)を書き込む。この場合もやはりビット格納出力部38内の列の整合性は保たれる。以上より明らかなように、レートマッチング処理がビット反復の場合には、累積反復/削除ビット数Dのインクリメントにより、反復されるべきビットおよびそれ以降のビットの出力列が結果的に繰り下がる。 On the other hand, the write control units 37 1 and 37 2 write the bits S (i + 1) and S (i + 2) into the bit storage units 38A for the columns 3 and 4 according to the calculation results of the output position calculation units 36 1 and 36 2 . Further, since the D calculation unit 32 instructs the repetition of bits S (i + 3), the write controller 37 3, bits in the bit storage unit 38A for row 6 in accordance with the calculated result of the output position calculating unit 36 3 S In addition to writing (i + 3), the bit S (i + 3) is also written to the bit storage unit 38A for column 5 which is 1 subtracted from column 6. Also in this case, the consistency of the columns in the bit storage output unit 38 is maintained. As is apparent from the above, when the rate matching process is bit repetition, the output sequence of the bits to be repeated and the subsequent bits are eventually lowered by the increment of the cumulative repetition / deletion bit number D.

レートマッチング処理がビット反復の場合もビット削除の場合も、ビット格納出力部38は、ビット格納部38Aの内容に従って、上述した最終ビット位置情報を初期位置算出部34に通知する。例えば、図11および図12の場合には、列4を示す最終ビット位置情報をビット格納出力部38が初期位置算出部34に通知し、初期位置算出部34は次の初期位置情報Fini として(4+1)mod 4=1を算出する。図13および図14の場合には、列6を示す最終ビット位置情報をビット格納出力部38が初期位置算出部34に通知し、初期位置算出部34は次の初期位置情報Fini として(6+1)mod 4=3を算出する。 Whether the rate matching process is bit repetition or bit deletion, the bit storage output unit 38 notifies the initial position calculation unit 34 of the final bit position information described above according to the contents of the bit storage unit 38A. For example, in the case of FIGS. 11 and 12, the bit storage output unit 38 notifies the initial position calculation unit 34 of the final bit position information indicating the column 4, and the initial position calculation unit 34 sets the next initial position information F ini as the next initial position information F ini. (4 + 1) mod 4 = 1 is calculated. 13 and FIG. 14, the bit storage output unit 38 notifies the initial position calculation unit 34 of the final bit position information indicating the column 6, and the initial position calculation unit 34 sets (6 + 1) as the next initial position information F ini. ) Mod 4 = 3 is calculated.

なお、初期位置算出部34の内容は、一つのTTIの満了のたびにリセットされ、その後の最初のビットの演算のための初期位置情報Fini はゼロになる。 The contents of the initial position calculation unit 34 are reset every time one TTI expires, and the initial position information F ini for the calculation of the first bit thereafter becomes zero.

ビット格納出力部38のビット格納部38Aへビット書き込み終了後、データ出力ユニット38Bは、記憶装置35内の同時に作成される無線フレーム数ごとに設けられた記憶部350 〜35n-1 にビット書き込みを実行する。まず、ビット格納部38Aへのビット書き込み終了後の最初のクロックパルスがビット格納出力部38に供給されると、列0〜列n−1のためのデータ出力ユニット38Bが対応するビット格納部38Aからn個のビットを読み出し、記憶部350 〜35n-1 に書き込む。このとき、第1インタリーブによる列の入れ替えをして、記憶部350 〜35n-1 に書き込む。例えば、第1インタリーブの列数(=同時に作成される無線フレーム数)n=4の場合は、記憶装置35のフレーム0の記憶部350 にはビット格納部38Aの列0のビット、フレーム1の記憶部351 には列2のビット、フレーム2の記憶部352 には列1のビット、フレーム3の記憶部353 には列3のビットを書き込み、この例では列1,2が交換される。ビットの読み出し後は、ビット格納部38Aの内容は消去される。 After completing the bit writing to the bit storage unit 38A of the bit storage output unit 38, the data output unit 38B transmits bits to the storage units 35 0 to 35 n-1 provided for each number of radio frames created simultaneously in the storage device 35. Perform writing. First, when the first clock pulse after completion of bit writing to the bit storage unit 38A is supplied to the bit storage output unit 38, the data output unit 38B for columns 0 to n-1 corresponds to the corresponding bit storage unit 38A. N bits are read out and written to the storage units 35 0 to 35 n−1 . At this time, the columns are exchanged by the first interleaving and written in the storage units 35 0 to 35 n−1 . For example, if the first number of columns interleaved n = 4 (= number of radio frames is created at the same time), bits of the column 0 of bit storage unit 38A in the storage unit 35 0 of frame 0 of the storage device 35, frame 1 bits of the column 2 in the storage unit 35 1 of the bits of the column 1 in the storage unit 35 2 of the frame 2, to write the bits of the column 3 in the storage unit 35 3 of the frame 3, in this example columns 1 and 2 Exchanged. After reading the bits, the contents of the bit storage unit 38A are erased.

また、次のクロックパルスがビット格納出力部38に供給されると、列n〜2n−1のn個のビットがビット格納部38Aから記憶部350 〜35n-1 に転送される。列の入れ替えに関しては、例えば図示のように第1インタリーブの列数n=4の場合は、記憶装置35のフレーム0の記憶部350 にはビット格納部38Aの列4のビット、フレーム1の記憶部351 には列6のビット、フレーム2の記憶部352 には列5のビット、フレーム3の記憶部353 には列7のビットを書き込む。この例でも列5,6に対応する列1,2が交換される。更に次のクロックパルスがビット格納出力部38に供給されると、列2n〜3n−1のn個のビットがビット格納部38Aから記憶部350 〜35n-1 に転送される。 When the next clock pulse is supplied to the bit storage output unit 38, n bits in the columns n to 2n-1 are transferred from the bit storage unit 38A to the storage units 35 0 to 35 n-1 . For the replacement of the column, for example, in the case of the first interleave sequence number n = 4 in as shown, the storage unit 35 0 of frame 0 of the storage device 35 of column 4 of bit storage unit 38A bits, the frame 1 bits of the storage unit 35 1 column 6, bits of the column 5 in the storage unit 35 2 of the frame 2, the storage unit 35 3 of the frame 3 writes the bits of the column 7. In this example, columns 1 and 2 corresponding to columns 5 and 6 are exchanged. When the next clock pulse is supplied to the bit storage output unit 38, n bits in the columns 2n to 3n -1 are transferred from the bit storage unit 38A to the storage units 35 0 to 35 n-1 .

図15は、図11および図12に示された4ビット中のビットS(i),S(i+3)が削除される処理の動作タイミング図である。図中の時刻Tはクロックパルスの立ち上がり時刻を示す。入力ビットS(i),S(i+1),S(i+2)に関しては、時刻T0〜T2においてD算出部32が累積反復/削除ビット数D(i),D(i+1),D(i+2)を算出し、当該ビットを削除すべきか否かを判断する。また、時刻T2〜T3で出力位置算出部360 〜362 はビットS(i),S(i+1),S(i+2)の出力位置を算出し、出力位置算出部360 〜362 の算出結果とD算出部32からの削除指示に従って書き込み制御部370 〜372 はビット格納出力部38のビット格納部38Aへのビットの書き込みまたは廃棄をする(正確にはビットS(i)を廃棄し、ビットS(i+1)を列3のビット格納部38A、ビットS(i+2)を列4のビット格納部38Aに書き込む)。 FIG. 15 is an operation timing chart of processing in which bits S (i) and S (i + 3) in the 4 bits shown in FIGS. 11 and 12 are deleted. Time T in the figure indicates the rising time of the clock pulse. For the input bits S (i), S (i + 1), and S (i + 2), the D calculation unit 32 calculates the cumulative repetition / deletion bit numbers D (i), D (i + 1), and D (i + 2) at times T0 to T2. It is calculated and it is determined whether or not the bit should be deleted. Further, at time T2 to T3, the output position calculation units 36 0 to 36 2 calculate the output positions of the bits S (i), S (i + 1), and S (i + 2), and the output position calculation units 36 0 to 36 2 calculate them. results and write controller 37 0-37 2 according deletion instruction from the D calculation unit 32 makes the bit write or disposal of the bit storage unit 38A of the bit storage output unit 38 (discard exactly bit S (i) Then, the bit S (i + 1) is written in the bit storage unit 38A in the column 3 and the bit S (i + 2) is written in the bit storage unit 38A in the column 4).

入力ビットS(i+3)に関しては、時刻T0〜T3において、D算出部32が累積反復/削除ビット数D(i+3)を算出し、当該ビットを削除すべきか否かを判断する。また、時刻T3〜T4で出力位置算出部363 はビットS(i+3)の出力位置を算出し、出力位置算出部363 の算出結果とD算出部32からの削除指示に従って書き込み制御部373 はビット格納出力部38のビット格納部38Aへのビットの書き込みまたは廃棄をする(正確にはビットS(i+3)を廃棄する)。入力ビットS(i),S(i+1),S(i+2)に比べて、入力ビットS(i+3)の処理時刻が遅延するのは、入力ビットS(i+3)にとっての累積反復/削除ビット数D(i+3)が2であり、入力ビットS(i),S(i+1),S(i+2)にとっての累積反復/削除ビット数D(i),D(i+1),D(i+2)よりも大きいために処理サイクルが長くなるからである(図11、図12および図7参照)。 For the input bit S (i + 3), at time T0 to T3, the D calculation unit 32 calculates the cumulative repetition / deletion bit number D (i + 3), and determines whether or not the bit should be deleted. Moreover, the output position calculation unit 363 at time T3~T4 calculates the output position bits S (i + 3), the output position calculation portion 36 3 of the calculation result and the D-calculation unit 32 writes the control unit 37 3 according to the deletion instruction from Writes or discards bits in the bit storage unit 38A of the bit storage output unit 38 (precisely, discards the bit S (i + 3)). Compared to the input bits S (i), S (i + 1), and S (i + 2), the processing time of the input bit S (i + 3) is delayed because of the cumulative repetition / deletion bit number D for the input bit S (i + 3). (I + 3) is 2, which is larger than the number of cumulative repetition / deletion bits D (i), D (i + 1), D (i + 2) for the input bits S (i), S (i + 1), S (i + 2) This is because the processing cycle becomes longer (see FIGS. 11, 12, and 7).

このようにして、入力ビットS(i)〜S(i+3)の全てのレートマッチング処理結果がビット格納部38Aに格納された後、時刻T4〜T5で、ビット格納出力部38では、列0〜列n−1のためのデータ出力ユニット38Bがビット格納部38Aから列0〜列n−1のビットを読み出して、同時に作成される無線フレーム数ごとに設けた記憶部350 〜35n-1 に書き込む(出力する)。同様にして、ビット格納出力部38の列n〜2n−1のためのビット格納部38Aのいずれかにビットが格納されていれば、時刻T5〜T6で、列n〜列2n−1のためのデータ出力ユニット38Bがビット格納部38Aから列n〜列2n−1のビットを読み出して、記憶部350 〜35n-1 に書き込む。ビット格納出力部38の列2n〜3n−1のためのビット格納部38Aのいずれかにビットが格納されていれば、時刻T6〜T7で、列2n〜列3n−1のためのデータ出力ユニット38Bがビット格納部38Aから列2n〜列3n−1のビットを読み出して、記憶部350 〜35n-1 に書き込む。 In this way, after all the rate matching processing results of the input bits S (i) to S (i + 3) are stored in the bit storage unit 38A, at the time T4 to T5, in the bit storage output unit 38, the columns 0 to The data output unit 38B for the column n-1 reads the bits of the columns 0 to n-1 from the bit storage unit 38A, and the storage units 35 0 to 35 n-1 provided for each number of radio frames created simultaneously. Write to (output). Similarly, if bits are stored in any of the bit storage units 38A for the columns n to 2n-1 of the bit storage output unit 38, at time T5 to T6, for the columns n to 2n-1. Data output unit 38B reads the bits of column n to column 2n-1 from bit storage unit 38A and writes them to storage units 35 0 to 35 n-1 . If a bit is stored in any of the bit storage units 38A for the columns 2n to 3n-1 of the bit storage output unit 38, at time T6 to T7, the data output unit for the columns 2n to 3n-1 38B reads the bits of the columns 2n to 3n-1 from the bit storage unit 38A and writes them to the storage units 35 0 to 35 n-1 .

図16は、図13および図14に示された4ビット中のビットS(i),S(i+3)が反復される処理の動作タイミング図である。入力ビットS(i),S(i+1),S(i+2)に関しては、時刻T0〜T2においてD算出部32が累積反復/削除ビット数D(i),D(i+1),D(i+2)を算出し、当該ビットを反復すべきか否か判断する。また、時刻T2〜T3で出力位置算出部360 〜362 はビットS(i),S(i+1),S(i+2)の出力位置を算出し、出力位置算出部360 〜362 の算出結果に従って書き込み制御部370 〜372 はビット格納出力部38のビット格納部38Aへのビットの書き込みをする(正確にはビットS(i)を列2のビット格納部38A、ビットS(i+1)を列3のビット格納部38A、ビットS(i+2)を列4のビット格納部38Aに書き込む)。 FIG. 16 is an operation timing chart of processing in which bits S (i) and S (i + 3) in the 4 bits shown in FIGS. 13 and 14 are repeated. For the input bits S (i), S (i + 1), and S (i + 2), the D calculation unit 32 calculates the cumulative repetition / deletion bit numbers D (i), D (i + 1), and D (i + 2) at times T0 to T2. Calculate and determine if the bit should be repeated. Further, at time T2 to T3, the output position calculation units 36 0 to 36 2 calculate the output positions of the bits S (i), S (i + 1), and S (i + 2), and the output position calculation units 36 0 to 36 2 calculate them. result in accordance with the write controller 37 0-37 2 is the writing of bits into the bit storage unit 38A of the bit storage output unit 38 (to be exact bit S (i) the column 2 of the bit storage unit 38A, bit S (i + 1 ) Is written to the bit storage unit 38A of column 3 and bit S (i + 2) is written to the bit storage unit 38A of column 4).

また、ビットS(i+3)に関しては、時刻T0〜T3においてD算出部32が累積反復/削除ビット数D(i+3)を算出し、当該ビットを反復すべきか否か判断する。また、時刻T3〜T4で出力位置算出部363 はビットS(i+3)の出力位置を算出し、出力位置算出部363 の算出結果に従って書き込み制御部373 はビット格納出力部38の列6のビット格納部38Aへのビットの書き込みをする。入力ビットS(i),S(i+1),S(i+2)に比べて、入力ビットS(i+3)の処理時刻が遅延するのは、入力ビットS(i+3)にとっての累積反復/削除ビット数D(i+3)が2であり、入力ビットS(i),S(i+1),S(i+2)にとっての累積反復/削除ビット数D(i),D(i+1),D(i+2)よりも大きいために処理サイクルが長くなるからである(図13、図14および図7参照)。 For bit S (i + 3), D calculation unit 32 calculates cumulative repetition / deletion bit number D (i + 3) at times T0 to T3, and determines whether or not the bit should be repeated. Moreover, the output position calculation unit 363 at time T3~T4 calculates the output position bits S (i + 3), the write controller 37 3 in accordance with the calculated result of the output position calculating unit 36 3-bit storage output unit 38 columns 6 The bit is written into the bit storage unit 38A. Compared to the input bits S (i), S (i + 1), and S (i + 2), the processing time of the input bit S (i + 3) is delayed because of the cumulative repetition / deletion bit number D for the input bit S (i + 3). (I + 3) is 2, which is larger than the number of cumulative repetition / deletion bits D (i), D (i + 1), D (i + 2) for the input bits S (i), S (i + 1), S (i + 2) This is because the processing cycle becomes longer (see FIGS. 13, 14 and 7).

D算出部32からの反復指示によればビットS(i)は反復されるべきビットであるため、時刻T3〜T4で、書き込み制御部370 は出力位置算出部360 の算出結果から1を差し引く出力位置計算を行い、この出力位置計算結果に従って書き込み制御部370 は列1のビット格納部38AにビットS(i)を書き込む。ビットS(i+3)も反復されるべきビットであるため、時刻T4〜T5で、書き込み制御部373 は出力位置算出部363 の算出結果から1を差し引く出力位置計算を行い、この出力位置計算結果に従って書き込み制御部373 は列5のビット格納部38AにビットS(i+3)を書き込む。 Because according to the repeat instruction from D calculator 32-bit S (i) is the bit to be repeated, at a time T3 to T4, the write controller 37 0 1 from the calculated result of the output position calculating unit 36 0 subtracting performs output position calculation, the write control unit 37 0 in accordance with the output position calculation result is written to bits S (i) in the bit storage unit 38A of the column 1. Since bit S (i + 3) is also a bit to be repeated, at a time T4 to T5, the write controller 37 3 performs an output position calculation subtracting 1 from the calculation result of the output position calculating unit 363, the output position calculation results write controller 37 3 according to the write bit S (i + 3) in the bit storage unit 38A of the column 5.

このようにして、入力ビットS(i)〜S(i+3)の全てのレートマッチング処理結果がビット格納部38Aに格納された後、時刻T5〜T6で、ビット格納出力部38では、列0〜列n−1のためのデータ出力ユニット38Bがビット格納部38Aから列0〜列n−1のビットを読み出して、同時に作成される無線フレーム数ごとに設けた記憶部350 〜35n-1 に書き込む(出力する)。同様にして、ビット格納出力部38の列n〜2n−1のためのビット格納部38Aのいずれかにビットが格納されていれば、時刻T6〜T7で、列n〜列2n−1のためのデータ出力ユニット38Bがビット格納部38Aから列n〜列2n−1のビットを読み出して、記憶部350 〜35n-1 に書き込む。ビット格納出力部38の列2n〜3n−1のためのビット格納部38Aのいずれかにビットが格納されていれば、時刻T7〜T8で、列2n〜列3n−1のためのデータ出力ユニット38Bがビット格納部38Aから列2n〜列3n−1のビットを読み出して、記憶部350 〜35n-1 に書き込む。 In this way, after all the rate matching processing results of the input bits S (i) to S (i + 3) are stored in the bit storage unit 38A, at time T5 to T6, in the bit storage output unit 38, the columns 0 to The data output unit 38B for the column n-1 reads the bits of the columns 0 to n-1 from the bit storage unit 38A, and the storage units 35 0 to 35 n-1 provided for each number of radio frames created simultaneously. Write to (output). Similarly, if a bit is stored in any of the bit storage units 38A for the columns n to 2n-1 of the bit storage output unit 38, the column n to the column 2n-1 at time T6 to T7. The data output unit 38B reads out the bits of column n to column 2n-1 from the bit storage unit 38A and writes them to the storage units 35 0 to 35 n-1 . If bits are stored in any of the bit storage units 38A for the columns 2n to 3n-1 of the bit storage output unit 38, at time T7 to T8, the data output unit for the columns 2n to 3n-1 38B reads the bits in the columns 2n to 3n-1 from the bit storage unit 38A and writes them to the storage units 35 0 to 35 n-1 .

以上のように、この実施の形態1によれば、並列化処理部31が送信対象のデータビットストリームから、同時に作成される複数の無線フレームの数と同数のビットを取り出し、これらのビットを無線フレームの数と同数の複数の列に規則的に分配する。また、パラメータ算出部30は、レートマッチングの基本パラメータeini ,eplus,eminus を算出する。さらに、D算出部32は、列に分配された各ビットに付与されたデータビットストリーム中のビット番号mと基本パラメータeini ,eplus,eminus に基づいて、列に分配された複数のビットのうち反復または削除されるべきビットを判定する。さらにまた、D算出部32は、列に分配された各ビットについて、データビットストリーム中の反復または削除される先行するビットの個数と当該ビットが反復または削除される場合には当該ビットの個数の合計個数である累積反復/削除ビット数Dを算出する。出力位置制御部33は、レートマッチング・第1インタリーブ部として機能し、並列化処理部31により列に分配された複数のビットのうち、D算出部32で反復または削除すべきと判定されたビットを反復または削除するとともに、累積反復/削除ビット数Dに基づいて複数のビットをあらためて複数の列に再分配し、再分配で得られた複数の列のうち少なくとも二列のビットを互いに入れ替えて、再分配および入れ替えがされた列のビットをそれぞれ複数の無線フレームに格納する。このように、累積反復/削除ビット数Dに基づいて複数のビットをあらためて複数の列に再分配することにより、高速にビットの再分配を完了することができ、さらに再分配で得られた複数の列のうち少なくとも二列のビットを入れ替えるだけで第1インタリーブが完了する。従って、レートマッチングで得られたビット自体に基づいてビットの再分配および第1インタリーブをする場合に比べて、高速にビットの再分配および第1インタリーブを完了することが可能である。また、並列化処理部31で複数の列に分配すなわち並列化されたビットに対してレートマッチングを行い、列の入れ替えで第1インタリーブを行うので、第1インタリーブ結果は複数の無線フレームに対応しており、無線フレーム分割をあらためて実行する必要がない。以上より、W−CDMAに準拠しながらも、さらに符号化処理を高速化することが可能である。 As described above, according to the first embodiment, the parallel processing unit 31 extracts, from the data bit stream to be transmitted, the same number of bits as the number of a plurality of radio frames created at the same time, and these bits are wirelessly transmitted. Distribute regularly to the same number of columns as the number of frames. The parameter calculation unit 30 calculates rate matching basic parameters e ini , e plus , and e minus . Further, the D calculation unit 32, based on the bit number m in the data bit stream assigned to each bit distributed to the column and the basic parameters e ini , e plus , e minus , a plurality of bits distributed to the column Of the bits to be repeated or deleted. Furthermore, for each bit distributed to the column, the D calculation unit 32 determines the number of preceding bits to be repeated or deleted in the data bit stream and the number of bits when the bit is repeated or deleted. The cumulative repetition / deletion bit number D, which is the total number, is calculated. The output position control unit 33 functions as a rate matching / first interleaving unit, and among the plurality of bits distributed to the columns by the parallel processing unit 31, the bits determined to be repeated or deleted by the D calculation unit 32 Are repeated or deleted, and a plurality of bits are newly redistributed into a plurality of columns based on the cumulative repetition / deletion bit number D, and at least two bits of the plurality of columns obtained by the redistribution are replaced with each other. The bits of the redistributed and permuted columns are each stored in a plurality of radio frames. In this way, by redistributing a plurality of bits into a plurality of columns based on the cumulative repetition / deletion bit number D, the bit redistribution can be completed at a high speed, and the plurality of bits obtained by the redistribution can be obtained. The first interleaving is completed only by exchanging bits in at least two of the columns. Therefore, it is possible to complete the bit redistribution and the first interleaving at a higher speed than in the case of the bit redistribution and the first interleaving based on the bit itself obtained by the rate matching. In addition, since the parallel processing unit 31 performs rate matching on the bits distributed to the plurality of columns, that is, parallelized bits, and performs the first interleaving by exchanging the columns, the first interleaving result corresponds to the plurality of radio frames. Therefore, it is not necessary to perform the radio frame division again. As described above, it is possible to further speed up the encoding process while complying with W-CDMA.

また、D算出部32は、並列化処理部31により列に分配された複数のビットの各々を反復または削除すべきか否かを並列に判定するための複数の反復/削除判定ユニット400 〜40n-1 を備える。さらにD算出部32は、並列化処理部31により列に分配された複数のビットの各々について累積反復/削除ビット数D(i),D(i−1),…D(i+n−1)を並列に算出するためのD算出ユニット390 〜39n-1 を備える。レートマッチング・第1インタリーブ部としての出力位置制御部33は、並列化処理部31により列に分配された複数のビットの各々について、対応する累積反復/削除ビット数D(i),D(i−1),…D(i+n−1)に基づいて、再分配すべき列を算出する複数の出力位置算出部360 〜36n-1 と、並列化処理部31により列に分配された複数のビットの各々を、対応する反復/削除判定ユニット400 〜40n-1 で反復または削除すべきであると判定された場合に反復または削除するとともに、出力位置算出部360 〜36n-1 で算出された列に再分配する複数の書き込み制御部370 〜37n-1 を備える。この構成によれば、並列化されたビットを同時にレートマッチングし、各ビットについて累積反復/削除ビット数Dを考慮してこれらのビットを同時にあらためて列に再分配することにより、さらに符号化処理を高速化することが可能である。 The D calculation unit 32 also includes a plurality of repetition / deletion determination units 40 0 to 40 for determining in parallel whether or not each of the plurality of bits distributed to the columns by the parallelization processing unit 31 should be repeated or deleted. with n-1 . Further, the D calculation unit 32 calculates the cumulative repetition / deletion bit number D (i), D (i−1),... D (i + n−1) for each of the plurality of bits distributed to the columns by the parallel processing unit 31. D calculation units 39 0 to 39 n-1 for calculating in parallel are provided. The output position control unit 33 serving as a rate matching / first interleaving unit, for each of a plurality of bits distributed to the columns by the parallel processing unit 31, corresponds to the corresponding cumulative repetition / deletion bit numbers D (i) and D (i −1),... D (i + n−1), a plurality of output position calculation units 36 0 to 36 n−1 that calculate columns to be redistributed, and a plurality of distributions distributed to the columns by the parallel processing unit 31 Are repeated or deleted when it is determined that they should be repeated or deleted by the corresponding repetition / deletion determination units 40 0 to 40 n−1 , and output position calculation units 36 0 to 36 n- a plurality of write control unit 37 0 to 37 n-1 to redistribute to the calculated column 1. According to this configuration, the parallelized bits are rate-matched at the same time, and the bit is further redistributed into columns in consideration of the cumulative repetition / deletion bit number D for each bit. It is possible to increase the speed.

また、レートマッチング・第1インタリーブ部としての出力位置制御部33は、列の数より多い複数のビット格納部38Aと、各ビット格納部38Aからビットを読み出して無線フレームに格納するデータ出力ユニット38Bを備えており、出力位置算出部360 〜36n-1 の各々は、各ビットを格納すべきビット格納部38Aの位置を算出し、書き込み制御部370 〜37n-1 の各々は、ビットの反復または削除をするとともに、出力位置算出部360 〜36n-1 で算出された位置のビット格納部38Aに各ビットを格納し、データ出力ユニット38Bは、一度に無線フレームの数と同数のビットをビット格納部38Aから読み出して、これらのビットのうち少なくとも二つのビットを入れ替えて複数の無線フレームに格納する。レートマッチング処理がビット反復の場合、列の数nを超えるビットが書き込み制御部370 〜37n-1 から出力されるが、これらのビットが列の数より多い複数のビット格納部38Aに格納されることによりオーバーフローを防止することができる。 The output position control unit 33 serving as a rate matching / first interleaving unit includes a plurality of bit storage units 38A larger than the number of columns, and a data output unit 38B that reads bits from each bit storage unit 38A and stores them in a radio frame. Each of the output position calculation units 36 0 to 36 n-1 calculates the position of the bit storage unit 38A where each bit is to be stored, and each of the write control units 37 0 to 37 n-1 The bits are repeated or deleted, and each bit is stored in the bit storage unit 38A at the position calculated by the output position calculation units 36 0 to 36 n−1 , and the data output unit 38B determines the number of radio frames at a time. The same number of bits are read from the bit storage unit 38A, and at least two of these bits are exchanged and stored in a plurality of radio frames. When the rate matching processing is bit repetition, bits exceeding the number n of columns are output from the write control units 37 0 to 37 n−1, but these bits are stored in a plurality of bit storage units 38A having a number larger than the number of columns. By doing so, overflow can be prevented.

さらに、この無線通信装置の符号化処理装置は、直前に再分配された複数のビットのうち最終ビットが再分配された列に基づいて、次に再分配すべき複数のビットのうち最初のビットが再分配されるべき初期列を算出する初期位置算出部34をさらに備え、出力位置制御部33は、次に再分配すべき複数のビットを初期列を先頭とする複数の列に再分配するので、ビットを円滑かつ高速に再分配することができる。   Furthermore, the encoding processing device of the wireless communication device may be configured to perform the first bit among the plurality of bits to be redistributed next based on the column in which the last bit among the plurality of bits redistributed immediately before is redistributed. The output position control unit 33 redistributes a plurality of bits to be redistributed to a plurality of columns starting from the initial column. Therefore, the bits can be redistributed smoothly and at high speed.

実施の形態2.
次に、この発明の実施の形態2を説明する。この発明の実施の形態2に係る無線通信装置の復号化処理装置は、W−CDMAによる無線通信システムの基地局に設けられ、図2の上りデータ受信のレートデマッチング(ステップST25)、無線フレーム結合(ステップST26)および第1デインタリーブ(ステップST27)に適用される。図17は、この発明の実施の形態2に係る復号化処理装置を示す機能ブロック図である。無線通信装置の他の構成要素の図示は省略する。
Embodiment 2. FIG.
Next, a second embodiment of the present invention will be described. A decoding processing device of a wireless communication apparatus according to Embodiment 2 of the present invention is provided in a base station of a wireless communication system based on W-CDMA, and performs rate dematching (step ST25) for uplink data reception in FIG. This is applied to combining (step ST26) and first deinterleaving (step ST27). FIG. 17 is a functional block diagram showing a decoding processing apparatus according to Embodiment 2 of the present invention. Illustration of other components of the wireless communication device is omitted.

図17に示すように、この復号化処理装置は、パラメータ算出部130、並列化処理部131、D(=eplus数)算出部(反復/削除判定部)132、出力位置制御部(レートデマッチング部)133、初期位置算出部134、記憶装置135および列データ読み出し順序制御部(第1デインタリーブ・無線フレーム結合部)150を備える。パラメータ算出部130は、実体としては無線通信装置のCPUまたはDSPであり、プログラムに従って動作する。並列化処理部131、D算出部132、出力位置制御部133、初期位置算出部134および列データ読み出し順序制御部150は、実体としてはそれぞれFPGAまたはLSIの一部である。記憶装置135はRAMである。 As shown in FIG. 17, the decoding processing apparatus includes a parameter calculation unit 130, a parallelization processing unit 131, a D (= e plus number) calculation unit (iteration / deletion determination unit) 132, an output position control unit (rate data). A matching unit) 133, an initial position calculation unit 134, a storage device 135, and a column data reading order control unit (first deinterleave / radio frame combining unit) 150. The parameter calculation unit 130 is actually a CPU or DSP of the wireless communication apparatus, and operates according to a program. The parallel processing unit 131, the D calculation unit 132, the output position control unit 133, the initial position calculation unit 134, and the column data reading order control unit 150 are each part of an FPGA or an LSI. The storage device 135 is a RAM.

パラメータ算出部130、並列化処理部131、D算出部132、出力位置制御部133、初期位置算出部134および記憶装置135は、実施の形態1のパラメータ算出部30、並列化処理部31、D算出部32、出力位置制御部33、初期位置算出部34および記憶装置35とそれぞれ等価または類似の機能を有する。   The parameter calculation unit 130, the parallelization processing unit 131, the D calculation unit 132, the output position control unit 133, the initial position calculation unit 134, and the storage device 135 are the same as the parameter calculation unit 30, the parallelization processing unit 31, D of the first embodiment. Each of the calculation unit 32, the output position control unit 33, the initial position calculation unit 34, and the storage device 35 has an equivalent or similar function.

パラメータ算出部130は、レートデマッチング処理に必要なパラメータであるeini ,eplus,eminus を算出する。パラメータ算出部130は、データレートなどに基づいてこれらのパラメータの算出を3GPP TS25.212 のSubclause 4.2.7 に準拠して行う。算出されたパラメータeini ,eplus,eminus は、データ送信のレートマッチング処理に使用されたパラメータeini ,eplus,eminus と同値になる。 The parameter calculation unit 130 calculates e ini , e plus , and e minus that are parameters necessary for the rate dematching process. The parameter calculation unit 130 calculates these parameters based on the data rate and the like according to Subclause 4.2.7 of 3GPP TS25.212. The calculated parameters e ini, e plus, e minus the parameter e ini used for rate matching processing of the data transmission, e plus, becomes e minus the same value.

パラメータ算出部130は、これらのパラメータeini ,eplus,eminus を算出した後、D(=eplus数)算出部132へパラメータeini ,eplus,eminus を通知する。 After calculating these parameters e ini , e plus , e minus , the parameter calculation unit 130 notifies the D (= e plus number) calculation unit 132 of the parameters e ini , e plus , e minus .

また、既知である入力ビット数k、第1デインタリーブ列数(この実施の形態では同受信サイクルで受信される無線フレームの数に等しい)nは、並列化処理部131、D算出部132および出力位置制御部133へ予め通知されている。同受信サイクルで受信される無線フレームの数nとは、送信時の1サイクルであるTTI(transmission time interval)中に送信される無線フレームの数であり、2,4,8の何れかの値である。1つの無線フレームの時間長さは10msであるから、3GPP TS25.212 のSubclause 4.2.5.2 に規定の通り、TTI=20msであればn=2、TTI=40msであればn=4、TTI=80msであればn=8である。   Also, the known number k of input bits, the number of first deinterleaved columns (in this embodiment, equal to the number of radio frames received in the same reception cycle) n are the parallel processing unit 131, D calculation unit 132, and The output position control unit 133 is notified in advance. The number n of radio frames received in the same reception cycle is the number of radio frames transmitted during a transmission time interval (TTI) that is one cycle at the time of transmission. It is. Since the time length of one radio frame is 10 ms, as defined in Subclause 4.2.5.2 of 3GPP TS25.212, n = 2 when TTI = 20 ms, n = 4 when TTI = 40 ms, and TTI = If 80 ms, n = 8.

並列化処理部131には、図2のステップST24でトランスポートチャネル分割された受信対象である入力ビットのストリームが入力される。並列化処理部131は、入力ビットA(0),A(1),…A(k−1)から、入力された順番に従って第1デインタリーブの列数n(この実施の形態では同受信サイクルで受信される無線フレーム数に等しい)のビットA(i),A(i+1),…,A(i+n−1)を取り出し、これらのビットを一度にn個の複数の列に分配すなわち並列化して、n個のビットA(i),A(i+1),…,A(i+n−1)を出力位置制御部133に並列に供給する。iは0,n,2n,3n,...のうちの任意の整数である。   The parallelization processing unit 131 receives a stream of input bits to be received that are transport channel divided in step ST24 of FIG. The parallel processing unit 131 receives the first deinterleaved column number n (in this embodiment, the same reception cycle from the input bits A (0), A (1),... A (k−1) according to the input order. , A (i + 1),..., A (i + n−1), and distribute these bits to n columns at the same time, ie, parallelize them. N bits A (i), A (i + 1),..., A (i + n−1) are supplied to the output position control unit 133 in parallel. i is 0, n, 2n, 3n,. . . Is an arbitrary integer.

出力位置制御部133は、D算出部132および初期位置算出部134から供給される情報に基づいて、レートデマッチング処理を行う。このレートデマッチングについては、実施の形態1のレートマッチング処理とほぼ同様である。   The output position control unit 133 performs rate dematching processing based on information supplied from the D calculation unit 132 and the initial position calculation unit 134. This rate dematching is almost the same as the rate matching process of the first embodiment.

D算出部132は、パラメータeini ,eplus,eminus を用いて、図7に示し実施の形態1に関して上述した変数算出・反復/削除決定アルゴリズムにより、レートデマッチングで反復または削除されるべきビットを決定する。また、変数算出・反復/削除決定アルゴリズムにより、D算出部132は反復または削除されるべきビットの決定と同時に累積反復/削除ビット数Dを求める。累積反復/削除ビット数Dは各ビットに変数算出・反復/削除決定アルゴリズムを適用したときに、パラメータeplusをインクリメントした回数を示す。この累積反復/削除ビット数Dは、各ビットについて、反復または削除された先行するビットの個数と、そのビットが反復または削除される場合にはそのビットの個数(1個)の合計個数を示すので、ビットの増加または減少に伴い各ビットを適正に同数の列に再分配するために役立つ。D算出部132は、レートデマッチングで反復または削除されるべきビットを指定した反復/削除指示と、累積反復/削除ビット数D(=eplus数)を出力位置制御部133に供給する。 The D calculation unit 132 should be iterated or deleted by rate dematching using the parameters e ini , e plus , e minus and the variable calculation / iteration / deletion determination algorithm shown in FIG. 7 and described above with reference to the first embodiment. Determine the bit. Further, the D calculation unit 132 obtains the cumulative repetition / deletion bit number D simultaneously with the determination of the bits to be repeated or deleted by the variable calculation / iteration / deletion determination algorithm. The cumulative iteration / deletion bit number D indicates the number of times the parameter e plus is incremented when the variable calculation / repetition / deletion decision algorithm is applied to each bit. This cumulative repetition / deletion bit number D indicates, for each bit, the number of preceding bits that have been repeated or deleted, and the total number of bits (one) when the bit is repeated or deleted. So it helps to redistribute each bit to the same number of columns as the number of bits increases or decreases. The D calculation unit 132 supplies the output position control unit 133 with a repetition / deletion instruction specifying a bit to be repeated or deleted by rate dematching and a cumulative repetition / deletion bit number D (= e plus number).

出力位置制御部133は、反復/削除指示に基づいてn個のビットのいずれかを反復または削除するとともに、累積反復/削除ビット数Dに基づいて各ビットを必要に応じて繰り下げまたは繰り上げる。すなわち反復または削除に伴い複数のビットをあらためてn個の列に再分配する。また、出力位置制御部133は、このようにしてレートデマッチングされたビットのうち最大n個のビットを一度に記憶装置135に出力する。記憶装置135には、n個の記憶部1350 〜135n-1 が設けられている。これらの記憶部1350 〜135n-1 は、レートデマッチングでビットが再分配されたn個の列に対応しており、記憶部1350 〜135n-1 の各々は、無線フレームの長さに相当する数のビットより多いビットを格納することが可能であり、同受信サイクルで受信されるn個の無線フレームを構成する全ビットより反復で増加した数のビットを記憶装置135全体で格納することができる。記憶装置135にビットを出力するときには、出力位置制御部133は、レートデマッチングで得られる列の番号と同じ列番号が与えられた記憶部1350 〜135n-1 にビットを格納する。 The output position control unit 133 repeats or deletes any of the n bits based on the repetition / deletion instruction, and lowers or raises each bit as necessary based on the cumulative repetition / deletion bit number D. That is, a plurality of bits are newly redistributed into n columns with repetition or deletion. Further, the output position control unit 133 outputs a maximum of n bits among the bits subjected to rate dematching in this manner to the storage device 135 at a time. The storage device 135 is provided with n storage units 135 0 to 135 n−1 . These storage units 135 0 to 135 n-1 correspond to n columns in which bits are redistributed by rate dematching, and each of the storage units 135 0 to 135 n-1 has a length of a radio frame. It is possible to store more bits than the corresponding number of bits, and it is possible to store the number of bits repeatedly increased from all bits constituting the n radio frames received in the same reception cycle in the entire storage device 135. Can be stored. When outputting bits to the storage device 135, the output position control unit 133 stores the bits in the storage units 135 0 to 135 n−1 to which the same column numbers as the column numbers obtained by rate dematching are given.

レートデマッチングに伴い、出力位置制御部133で処理するビットの個数が増減するので、出力列の位置が変化する。そこで、出力位置制御部133は、次にレートデマッチング処理する最大n個のビットを再分配する出力列の位置を決定するために、直前のレートデマッチング処理結果の最終ビット(例えばA(i+n−1))が再分配された出力列の値を示す最終ビット位置情報を初期位置算出部134に通知する。初期位置算出部134は、最終ビット位置情報に示された最終ビットの出力列の値に基づいて、次のn個のビットの先頭ビット(例えばA(i))の出力列を指定する値を算出し、この値を示す初期位置情報Fini を出力位置制御部133に返す。出力位置制御部133は、初期位置情報Fini に基づいて、次に処理するべきn個のビットを初期位置情報Fini に示された初期列を先頭とする複数の列に再分配する。このようにして、出力位置制御部133は、ビットを円滑に再分配する。 As the rate dematching is performed, the number of bits processed by the output position control unit 133 increases or decreases, and the position of the output sequence changes. Therefore, the output position control unit 133 determines the position of the output sequence from which the maximum n bits to be rate dematched next are redistributed to determine the last bit (for example, A (i + n) of the previous rate dematching result. -1)) notifies the initial position calculation unit 134 of the final bit position information indicating the value of the redistributed output sequence. Based on the value of the output sequence of the last bit indicated in the final bit position information, the initial position calculation unit 134 obtains a value that specifies the output sequence of the first bit (for example, A (i)) of the next n bits. The initial position information F ini indicating this value is returned to the output position control unit 133. Based on the initial position information F ini , the output position control unit 133 redistributes n bits to be processed next to a plurality of columns starting from the initial column indicated in the initial position information F ini . In this way, the output position control unit 133 smoothly redistributes bits.

同受信サイクルで受信されるn個の無線フレームを構成する全ビットからレートデマッチング処理により得られた(増減した)全ビットが記憶装置135に格納された後、列データ読み出し順序制御部150は、記憶装置135の記憶部1350 〜135n-1 から全ビットを読み出して結合する。これにより無線フレーム結合を行う。また、この読み出しのときには、列データ読み出し順序制御部150は、レートマッチングで得られた列のうち所定の列を交換することにより第1インタリーブを行う。 After all bits obtained (increased / decreased) by the rate dematching process from all bits constituting n radio frames received in the same reception cycle are stored in the storage device 135, the column data reading order control unit 150 , All bits are read from the storage units 135 0 to 135 n−1 of the storage device 135 and combined. As a result, radio frame combination is performed. At the time of this reading, the column data reading order control unit 150 performs the first interleaving by exchanging a predetermined column among the columns obtained by rate matching.

図18〜図25を参照しながら、この実施の形態2に係る無線通信装置の復号化処理装置の動作の基本原理を説明する。図18〜図21はレートデマッチング処理でビットが削除(パンクチャ)される処理の例を示し、それぞれ無線フレーム0〜3の処理を示す。この例では、第1デインタリーブの列数n(=同受信サイクルで受信される無線フレームの数)が4、一つの無線フレームあたりのビット数が16、並列化処理部131に一度に入力されるビット数(入力ビット数k)が4×16=64、一つの無線フレームあたりのレートデマッチング処理で削除されるべきビット数が5であると想定する。無線フレーム0〜3は、同受信サイクルで受信される4つの無線フレームである。   The basic principle of the operation of the decoding processing apparatus of the wireless communication apparatus according to the second embodiment will be described with reference to FIGS. 18 to 21 show examples of processing in which bits are deleted (punctured) by rate dematching processing, and show processing of radio frames 0 to 3, respectively. In this example, the number n of first deinterleaved columns (= the number of radio frames received in the same reception cycle) is 4, the number of bits per radio frame is 16, and is input to the parallel processing unit 131 at a time. Assume that the number of bits (number of input bits k) is 4 × 16 = 64, and the number of bits to be deleted in the rate dematching process per radio frame is 5. Radio frames 0 to 3 are four radio frames received in the same reception cycle.

以下、無線フレーム0のビットを入力順にビットA0(0),A0(1),A0(2),・・・,A0(15)、無線フレーム1のビットを入力順にビットA1(0),A1(1),A1(2),・・・,A1(15)、無線フレーム2のビットを入力順にビットA2(0),A2(1),A2(2),・・・,A2(15)、無線フレーム3のビットを入力順にビットA3(0),A3(1),A3(2),・・・,A3(15)とする。この復号化処理装置は、無線フレーム0,1,2,3の順にレートデマッチング処理を進める。   Hereinafter, bits A0 (0), A0 (1), A0 (2),..., A0 (15) in the order of input of the radio frame 0 bits, bits A1 (0), A1 in the order of input of the radio frame 1 (1), A1 (2),..., A1 (15), bits of the radio frame 2 are input in the order of input bits A2 (0), A2 (1), A2 (2),. The bits of the wireless frame 3 are assumed to be bits A3 (0), A3 (1), A3 (2),..., A3 (15) in the order of input. This decoding processing device advances rate dematching processing in the order of radio frames 0, 1, 2, and 3.

まず図18に示すように、並列化処理部131は、無線フレーム0のシリアルで入力されたビットA0(0),A0(1),A0(2),・・・,A0(15)を入力順に従って第1デインタリーブの列数nである4列(列0〜列3)に並列化する。   First, as shown in FIG. 18, the parallel processing unit 131 inputs the bits A0 (0), A0 (1), A0 (2),. According to the order, the first deinterleaved column number n is parallelized to 4 columns (column 0 to column 3).

D算出部132は、変数算出・反復/削除決定アルゴリズムによって、削除されるべきビットを求める。図18のパンクチャパターン(D算出部132からの削除指示によりどのビットを削除すべきか指定される)によれば、ビットA0(1),A0(4),A0(7),A0(10),A0(13)が削除される。出力位置制御部133は、このパンクチャパターンで指定されたビットを削除するとともに、累積反復/削除ビット数Dに基づいて各ビットをビットの減少分必要に応じて繰り上げることにより、ビットデータの並び替えを行う。例えばビットA0(3)は、それまでにレートデマッチング処理で1ビット(ビットA0(1))が削除されているため、出力位置(出力列)が1ビット繰り上がり、元の列3から1ビット繰り上がった列2の位置に出力されることになる。また、ビットA0(9)は、それまでにレートデマッチング処理で3ビット(ビットA0(1),A0(4),A0(7))が削除されているため、出力位置が3ビット繰り上がり、元の列1から3ビット繰り上がった列2の位置に出力されることになる。   The D calculation unit 132 obtains a bit to be deleted by a variable calculation / iteration / deletion determination algorithm. According to the puncture pattern in FIG. 18 (which bit is to be deleted is specified by the deletion instruction from the D calculation unit 132), the bits A0 (1), A0 (4), A0 (7), A0 (10), A0 (13) is deleted. The output position control unit 133 deletes the bit specified by the puncture pattern and rearranges the bit data by moving up each bit as necessary based on the cumulative repetition / deletion bit number D. I do. For example, for bit A0 (3), 1 bit (bit A0 (1)) has been deleted by the rate dematching process so far, so the output position (output column) is raised by 1 bit, and the original column 3 to 1 The data is output to the position of column 2 where the bit is advanced. In addition, since the bit A0 (9) has been deleted by the rate dematching process so far (bits A0 (1), A0 (4), A0 (7)), the output position is advanced by 3 bits. The data is output to the position of column 2 that is 3 bits higher than the original column 1.

より正確には、出力位置制御部133は、一度にn個のビットつまり並列化されたデータの1行に対してレートデマッチングする。すなわち、最初は、行0(ビットA0(0),A0(1),A0(2),A0(3))に対して、ビットA0(1)を削除し、ビットA0(0),A0(2),A0(3)を列0〜2に再分配する。出力位置制御部133は、最終ビットA0(3)の列2の値を示す最終ビット位置情報を初期位置算出部134に通知し、次のn個のビットの先頭ビットの列3を示す初期位置情報Fini を初期位置算出部134から受け取る。その後、出力位置制御部133は、行1(ビットA0(4),A0(5),A0(6),A0(7))に対して、ビットA0(4),A0(7)を削除し、ビットA0(5),A0(6)を列3,0に再分配する。初期位置情報Fini は、実施の形態1に関連して説明したものと同様である。 More precisely, the output position control unit 133 performs rate dematching on n bits at a time, that is, one row of parallelized data. That is, first, for row 0 (bits A0 (0), A0 (1), A0 (2), A0 (3)), bit A0 (1) is deleted and bits A0 (0), A0 ( 2) Redistribute A0 (3) to columns 0-2. The output position control unit 133 notifies the initial position calculation unit 134 of the final bit position information indicating the value of the column 2 of the last bit A0 (3), and the initial position indicating the column 3 of the first bit of the next n bits. Information F ini is received from the initial position calculation unit 134. Thereafter, the output position control unit 133 deletes bits A0 (4) and A0 (7) for row 1 (bits A0 (4), A0 (5), A0 (6), A0 (7)). , Bits A0 (5), A0 (6) are redistributed into columns 3, 0. The initial position information F ini is the same as that described in connection with the first embodiment.

無線フレーム0から並び替えすなわちレートデマッチングで得られた各列のビットを、出力位置制御部133は、記憶装置135の各記憶部1350 〜135n-1 に出力する。記憶装置135にビットを出力するときには、出力位置制御部133は、レートデマッチングで得られる列の番号と同じ列番号が与えられた記憶部1350 〜135n-1 にビットを格納する。つまり、この段階では第1デインタリーブは行わない。 The output position control unit 133 outputs the bits of each column obtained by rearrangement, that is, rate dematching, from the radio frame 0 to the storage units 135 0 to 135 n−1 of the storage device 135. When outputting bits to the storage device 135, the output position control unit 133 stores the bits in the storage units 135 0 to 135 n−1 to which the same column numbers as the column numbers obtained by rate dematching are given. That is, the first deinterleaving is not performed at this stage.

また、図19に示すように、並列化処理部131は、無線フレーム1のシリアルで入力されたビットA1(0),A1(1),A1(2),・・・,A1(15)を入力順に従って第1デインタリーブの列数nである4列(列0〜列3)に並列化する。D算出部132は、変数算出・反復/削除決定アルゴリズムによって、削除されるべきビットを求める。図19のパンクチャパターンによれば、ビットA1(2),A1(5),A1(7),A1(9),A1(12)が削除される。出力位置制御部133は、このパンクチャパターンで指定されたビットを削除するとともに、累積反復/削除ビット数Dと初期位置情報Fini に基づいて各ビットをビットの減少分必要に応じて繰り上げることにより、ビットデータの並び替えを行う。例えばビットA1(0)は、無線フレーム0の最終ビットA0(15)の出力位置(出力列)が列2であるため、列3の位置に出力されることになる。また、ビットA1(10)は、無線フレーム0の最終ビットA0(15)の出力位置(出力列)が列2であり、さらにそれまでにレートデマッチング処理で4ビット(ビットA1(2),A1(5),A1(7),A1(9))が削除されているため、出力位置が1ビット繰り上がり、元の列2から1ビット繰り上がった列1の位置に出力されることになる。無線フレーム0からレートデマッチングで得られたビットに引き続き、出力位置制御部133は、無線フレーム1からレートデマッチングで得られたビットを記憶装置135の各記憶部1350 〜135n-1 に出力する。 Further, as shown in FIG. 19, the parallel processing unit 131 receives bits A1 (0), A1 (1), A1 (2),..., A1 (15) input serially in the wireless frame 1. In accordance with the input order, parallelization is performed on four columns (column 0 to column 3), which is the number n of columns of the first deinterleave. The D calculation unit 132 obtains bits to be deleted by a variable calculation / iteration / deletion determination algorithm. According to the puncture pattern of FIG. 19, the bits A1 (2), A1 (5), A1 (7), A1 (9), A1 (12) are deleted. The output position control unit 133 deletes the bit specified by the puncture pattern, and raises each bit as necessary based on the cumulative repetition / deletion bit number D and the initial position information F ini. Sort the bit data. For example, the output position (output column) of the last bit A0 (15) of the radio frame 0 is the column 2 because the bit A1 (0) is output to the column 3 position. Bit A1 (10) has the output position (output string) of the last bit A0 (15) of radio frame 0 as column 2, and further 4 bits (bit A1 (2), Since A1 (5), A1 (7), and A1 (9)) are deleted, the output position is advanced by 1 bit, and output to the position of column 1 that is 1 bit higher than the original column 2. Become. Subsequent to the bit obtained by rate dematching from the radio frame 0, the output position control unit 133 transmits the bit obtained by rate dematching from the radio frame 1 to each of the storage units 135 0 to 135 n−1 of the storage device 135. Output.

図20に示すように、無線フレーム2のビットA2(0),A2(1),A2(2),・・・,A2(15)にも同様の処理を実行し、さらに図21に示すように、無線フレーム2のビットA3(0),A3(1),A3(2),・・・,A3(15)にも同様の処理を実行する。このようにして同受信サイクルで受信されるn個の無線フレーム(図示例では4つの無線フレーム0〜3)を構成する全ビットからレートデマッチング処理により得られた(減少した)全ビットが記憶装置135に格納された後、列データ読み出し順序制御部150は、記憶装置135の記憶部1350 〜135n-1 から全ビットを読み出して結合する。これにより無線フレーム結合を行う。また、この読み出しのときには、列データ読み出し順序制御部150は、レートマッチングで得られた列のうち所定の少なくとも二つの列を交換することにより第1デインタリーブを行う。 As shown in FIG. 20, the same processing is executed for the bits A2 (0), A2 (1), A2 (2),..., A2 (15) of the radio frame 2, and further as shown in FIG. In addition, the same processing is executed for the bits A3 (0), A3 (1), A3 (2),..., A3 (15) of the wireless frame 2. In this way, all bits obtained (reduced) by the rate dematching process from all the bits constituting n radio frames (four radio frames 0 to 3 in the illustrated example) received in the same reception cycle are stored. After being stored in the device 135, the column data reading order control unit 150 reads all the bits from the storage units 135 0 to 135 n−1 of the storage device 135 and combines them. As a result, radio frame combination is performed. At the time of this reading, the column data reading order control unit 150 performs the first deinterleaving by exchanging at least two predetermined columns among the columns obtained by rate matching.

例えば図21に示すように、まず列0の記憶部1350から列0のビットA0(0),A0(6),A0(12),A1(1),A1(8),A1(14),A2(3),A2(9),A2(15),A3(5),A3(11)を列データ読み出し順序制御部150は読み出す。次に、列2のビットA0(3),A0(9),A0(15),A1(4),A1(11),A2(0),A2(6),A2(12),A3(2),A3(8),A3(13)を列データ読み出し順序制御部150は読み出す。さらに、列1のビットA0(2),A0(8),A0(14),A1(3),A1(10),A1(15),A2(4),A2(10),A3(1),A3(7),A3(12)、最後に列3のビットA0(5),A0(11),A1(0),A1(6),A1(13),A2(2),A2(7),A2(13),A3(4),A3(9),A3(15)を列データ読み出し順序制御部150は読み出す。このようにして、レートデマッチング、第1デインタリーブおよび無線フレーム結合が完了する。 For example, as shown in FIG. 21, first, the bit A0 of column 0 from the storage unit 135 0 column 0 (0), A0 (6 ), A0 (12), A1 (1), A1 (8), A1 (14) , A2 (3), A2 (9), A2 (15), A3 (5), A3 (11) are read out by the column data reading order control unit 150. Next, bits A0 (3), A0 (9), A0 (15), A1 (4), A1 (11), A2 (0), A2 (6), A2 (12), A3 (2) in column 2 ), A3 (8), A3 (13) are read by the column data reading order control unit 150. Further, the bits A0 (2), A0 (8), A0 (14), A1 (3), A1 (10), A1 (15), A2 (4), A2 (10), A3 (1) in column 1 , A3 (7), A3 (12), and finally bits A0 (5), A0 (11), A1 (0), A1 (6), A1 (13), A2 (2), A2 (7 in column 3 ), A2 (13), A3 (4), A3 (9), and A3 (15) are read out by the column data reading order control unit 150. In this way, rate dematching, first deinterleaving and radio frame combining are completed.

図22〜図25はレートデマッチング処理でビットが反復(リピティション)される処理の例を示し、それぞれ無線フレーム0〜3の処理を示す。この例でも、第1デインタリーブの列数n(=同受信サイクルで受信される無線フレームの数)が4、一つの無線フレームあたりのビット数が16、並列化処理部131に一度に入力されるビット数(入力ビット数k)が4×16=64、一つの無線フレームあたりのレートデマッチング処理で反復されるべきビット数が5であると想定する。   22 to 25 show examples of processing in which bits are repeated (repetition) in rate dematching processing, and show processing of radio frames 0 to 3, respectively. Also in this example, the number of first de-interleaved columns n (= the number of radio frames received in the same reception cycle) is 4, the number of bits per radio frame is 16, and is input to the parallel processing unit 131 at a time. Assume that the number of bits (number of input bits k) is 4 × 16 = 64 and the number of bits to be repeated in the rate dematching process per radio frame is 5.

まず図22に示すように、並列化処理部131は、無線フレーム0のシリアルで入力されたビットA0(0),A0(1),A0(2),・・・,A0(15)を入力順に従って第1デインタリーブの列数nである4列(列0〜列3)に並列化する。   First, as shown in FIG. 22, the parallel processing unit 131 inputs the bits A0 (0), A0 (1), A0 (2),..., A0 (15) input serially of the wireless frame 0. According to the order, the first deinterleaved column number n is parallelized to 4 columns (column 0 to column 3).

D算出部132は、変数算出・反復/削除決定アルゴリズムによって、反復されるべきビットを求める。図22のリピティションパターン(D算出部132からの反復指示によりどのビットを反復すべきか指定される)によれば、ビットA0(1),A0(4),A0(7),A0(10),A0(13)が反復される。出力位置制御部133は、このリピティションパターンで指定されたビットを反復するとともに、累積反復/削除ビット数Dに基づいて各ビットをビットの増加分必要に応じて繰り下げることにより、ビットデータの並び替えを行う。例えばビットA0(3)は、それまでにレートデマッチング処理で1ビット(ビットA0(1))が反復されているため、出力位置(出力列)が1ビット繰り下がり、元の列3から1ビット繰り下がった列0の位置に出力されることになる。また、ビットA0(9)は、それまでにレートデマッチング処理で3ビット(ビットA0(1),A0(4),A0(7))が反復されているため、出力位置が3ビット繰り下がり、元の列1から3ビット繰り下がった列0の位置に出力されることになる。   The D calculation unit 132 obtains a bit to be repeated by a variable calculation / iteration / deletion determination algorithm. According to the repetition pattern of FIG. 22 (which bit is to be repeated is specified by the repetition instruction from the D calculation unit 132), bits A0 (1), A0 (4), A0 (7), A0 (10). , A0 (13) is repeated. The output position control unit 133 repeats the bits specified by this repetition pattern, and lowers each bit as necessary based on the cumulative repetition / deletion bit number D, thereby arranging the bit data. Change. For example, for bit A0 (3), 1 bit (bit A0 (1)) has been repeated in the rate dematching process so far, so the output position (output column) is lowered by 1 bit, and the original column 3 to 1 It is output to the position of column 0 where the bit is lowered. Since bit A0 (9) has been repeated 3 bits (bits A0 (1), A0 (4), A0 (7)) in the rate dematching process so far, the output position is lowered by 3 bits. , The data is output to the position of column 0, which is 3 bits lower than the original column 1.

より正確には、出力位置制御部133は、1度にn個のビットつまり並列化されたデータの1行に対してレートデマッチングする。すなわち、最初は、行0(ビットS(0),S(1),S(2),S(3))に対して、ビットS(1)を追加し、ビットS(0),S(1),S(1),S(2),S(3)を列0〜3および次の行の列0に再分配する。出力位置制御部133は、最終ビットS(3)の列0の値を示す最終ビット位置情報を初期位置算出部134に通知し、次のn個のビットの先頭ビットの列1を示す初期位置情報Fini を初期位置算出部134から受け取る。その後、出力位置制御部133は、行1(ビットS(4),S(5),S(6),S(7))に対して、ビットS(4),S(7)を反復し、ビットS(4),S(4),S(5),S(6),S(7),S(7)を列1〜3および次の行の列0〜2に再分配する。 More precisely, the output position control unit 133 performs rate dematching on n bits at a time, that is, one row of parallelized data. That is, first, bit S (1) is added to row 0 (bits S (0), S (1), S (2), S (3)), and bits S (0), S ( 1) Redistribute S (1), S (2), S (3) to columns 0-3 and column 0 of the next row. The output position control unit 133 notifies the initial position calculation unit 134 of the final bit position information indicating the value of the column 0 of the final bit S (3), and the initial position indicating the column 1 of the first bit of the next n bits. Information F ini is received from the initial position calculation unit 134. Thereafter, the output position control unit 133 repeats bits S (4) and S (7) for row 1 (bits S (4), S (5), S (6), and S (7)). , Bits S (4), S (4), S (5), S (6), S (7), S (7) are redistributed into columns 1-3 and columns 0-2 of the next row.

無線フレーム0から並び替えすなわちレートデマッチングで得られた各列のビットを、出力位置制御部133は、記憶装置135の各記憶部1350 〜135n-1 に出力する。記憶装置135にビットを出力するときには、出力位置制御部133は、レートデマッチングで得られる列の番号と同じ列番号が与えられた記憶部1350 〜135n-1 にビットを格納する。つまり、この段階では第1デインタリーブは行わない。 The output position control unit 133 outputs the bits of each column obtained by rearrangement, that is, rate dematching, from the radio frame 0 to the storage units 135 0 to 135 n−1 of the storage device 135. When outputting bits to the storage device 135, the output position control unit 133 stores the bits in the storage units 135 0 to 135 n−1 to which the same column numbers as the column numbers obtained by rate dematching are given. That is, the first deinterleaving is not performed at this stage.

また、図23に示すように、並列化処理部131は、無線フレーム1のシリアルで入力されたビットA1(0),A1(1),A1(2),・・・,A1(15)を入力順に従って第1デインタリーブの列数nである4列(列0〜列3)に並列化する。D算出部132は、変数算出・反復/削除決定アルゴリズムによって、反復されるべきビットを求める。図23のリピティションパターンによれば、ビットA1(2),A1(5),A1(7),A1(9),A1(12)が反復される。出力位置制御部133は、このリピティションパターンで指定されたビットを反復するとともに、累積反復/削除ビット数Dと初期位置情報Fini に基づいて各ビットをビットの増加分必要に応じて繰り下げることにより、ビットデータの並び替えを行う。例えばビットA1(0)は、無線フレーム0の最終ビットA0(15)の出力位置(出力列)が列0であるため、列1の位置に出力されることになる。また、ビットA1(10)は、無線フレーム0の最終ビットA0(15)の出力位置(出力列)が列0であり、さらにそれまでにレートデマッチング処理で4ビット(ビットA1(2),A1(5),A1(7),A1(9))が反復されているため、出力位置が1ビット繰り下がり、元の列2から1ビット繰り下がった列3の位置に出力されることになる。無線フレーム0からレートデマッチングで得られたビットに引き続き、出力位置制御部133は、無線フレーム1からレートデマッチングで得られたビットを記憶装置135の各記憶部1350 〜135n-1 に出力する。 Further, as shown in FIG. 23, the parallel processing unit 131 converts the bits A1 (0), A1 (1), A1 (2),... In accordance with the input order, parallelization is performed on four columns (column 0 to column 3), which is the number n of columns of the first deinterleave. The D calculation unit 132 obtains a bit to be repeated by a variable calculation / iteration / deletion determination algorithm. According to the repetition pattern of FIG. 23, bits A1 (2), A1 (5), A1 (7), A1 (9), and A1 (12) are repeated. The output position control unit 133 repeats the bits specified by the repetition pattern, and lowers each bit as necessary based on the cumulative repetition / deletion bit number D and the initial position information F ini. This sorts the bit data. For example, since the output position (output column) of the last bit A0 (15) of the radio frame 0 is the column 0, the bit A1 (0) is output to the column 1 position. Further, the output position (output string) of the last bit A0 (15) of the radio frame 0 is the column 0, and the bit A1 (10) is 4 bits (bit A1 (2), Since A1 (5), A1 (7), and A1 (9)) are repeated, the output position is lowered by 1 bit and output to the position of column 3 that is 1 bit lower than the original column 2. Become. Subsequent to the bit obtained by rate dematching from the radio frame 0, the output position control unit 133 transmits the bit obtained by rate dematching from the radio frame 1 to each of the storage units 135 0 to 135 n−1 of the storage device 135. Output.

図24に示すように、無線フレーム2のビットA2(0),A2(1),A2(2),・・・,A2(15)にも同様の処理を実行し、さらに図25に示すように、無線フレーム2のビットA3(0),A3(1),A3(2),・・・,A3(15)にも同様の処理を実行する。このようにして同受信サイクルで受信されるn個の無線フレーム(図示例では4つの無線フレーム0〜3)を構成する全ビットからレートデマッチング処理により得られた(増加した)全ビットが記憶装置135に格納された後、列データ読み出し順序制御部150は、記憶装置135の記憶部1350 〜135n-1 から全ビットを読み出して結合する。これにより無線フレーム結合を行う。また、この読み出しのときには、列データ読み出し順序制御部150は、レートマッチングで得られた列のうち所定の少なくとも二つの列を交換することにより第1デインタリーブを行う。 As shown in FIG. 24, the same processing is executed for the bits A2 (0), A2 (1), A2 (2),..., A2 (15) of the radio frame 2, and further as shown in FIG. In addition, the same processing is executed for the bits A3 (0), A3 (1), A3 (2),..., A3 (15) of the wireless frame 2. In this way, all bits obtained (increased) by rate dematching processing from all bits constituting n radio frames (four radio frames 0 to 3 in the illustrated example) received in the same reception cycle are stored. After being stored in the device 135, the column data reading order control unit 150 reads all the bits from the storage units 135 0 to 135 n−1 of the storage device 135 and combines them. As a result, radio frame combination is performed. At the time of this reading, the column data reading order control unit 150 performs the first deinterleaving by exchanging at least two predetermined columns among the columns obtained by rate matching.

例えば図25に示すように、まず列0の記憶部1350から列0のビットA0(0),A0(3),A0(6),A0(9),A0(12),A0(15),A1(2),A1(5),A1(8),A1(11),A1(14),A2(1),A2(5),A2(8),A2(11),A2(14),A3(0),A3(3),A3(6),A3(10),A3(13)を列データ読み出し順序制御部150は読み出す。次に、列2のビットA0(1),A0(4),A0(7),A0(10),A0(13),A1(1),A1(4),A1(7),A1(9),A1(12),A2(0),A2(3),A2(6),A2(9),A2(12),A2(15),A3(2),A3(5),A3(8),A3(11),A3(14)を列データ読み出し順序制御部150は読み出す。さらに、列1のビットA0(1),A0(4),A0(7),A0(10),A0(13),A1(0),A1(3),A1(6),A1(9),A1(12),A1(15),A2(2),A2(5),A2(8),A2(11),A2(14),A3(1),A3(4),A3(7),A3(10),A3(14)、最後に列3のビットA0(2),A0(5),A0(8),A0(11),A0(14),A1(2),A1(5),A1(7),A1(10),A1(13),A2(1),A2(4),A2(7),A2(10),A2(13),A3(0),A3(3),A3(6),A3(9),A3(12),A3(15)を列データ読み出し順序制御部150は読み出す。このようにして、レートデマッチング、第1デインタリーブおよび無線フレーム結合が完了する。 For example, as shown in FIG. 25, first, the bit A0 of column 0 from the storage unit 135 0 column 0 (0), A0 (3 ), A0 (6), A0 (9), A0 (12), A0 (15) , A1 (2), A1 (5), A1 (8), A1 (11), A1 (14), A2 (1), A2 (5), A2 (8), A2 (11), A2 (14) , A3 (0), A3 (3), A3 (6), A3 (10), A3 (13) are read out by the column data reading order control unit 150. Next, bits A0 (1), A0 (4), A0 (7), A0 (10), A0 (13), A1 (1), A1 (4), A1 (7), A1 (9) in column 2 ), A1 (12), A2 (0), A2 (3), A2 (6), A2 (9), A2 (12), A2 (15), A3 (2), A3 (5), A3 (8) ), A3 (11), A3 (14) are read by the column data reading order control unit 150. Furthermore, bits A0 (1), A0 (4), A0 (7), A0 (10), A0 (13), A1 (0), A1 (3), A1 (6), A1 (9) in column 1 , A1 (12), A1 (15), A2 (2), A2 (5), A2 (8), A2 (11), A2 (14), A3 (1), A3 (4), A3 (7) , A3 (10), A3 (14), and finally bits A0 (2), A0 (5), A0 (8), A0 (11), A0 (14), A1 (2), A1 (5) in column 3 ), A1 (7), A1 (10), A1 (13), A2 (1), A2 (4), A2 (7), A2 (10), A2 (13), A3 (0), A3 (3 ), A3 (6), A3 (9), A3 (12), A3 (15) are read out by the column data reading order control unit 150. In this way, rate dematching, first deinterleaving and radio frame combining are completed.

実施の形態1のD算出部32と同様に、D算出部132は、パラメータeini ,eplus,eminus を用いて、図7に示す変数算出・反復/削除決定アルゴリズムにより、レートデマッチングで反復または削除されるべきビットを決定すると同時に、累積反復/削除ビット数Dを求める。また、実施の形態1のD算出部32と同様に、D算出部132も図8に示すように、n個のD(=eplus数)算出ユニット390 〜39n-1 、n個の反復/削除判定ユニット400 〜40n-1 、および最終ビットのD(=eplus数)格納部41を備える。これらの機能は実施の形態1に関連して上述した通りである。従って、D算出ユニット390 〜39n-1 の各々は、変数算出・反復/削除決定アルゴリズムのうちステップST30〜ステップST32に相当する手順を対応する列について実行し、各列の累積反復/削除ビット数D(i),D(i−1),…D(i+n−1)を算出して出力位置制御部133に通知する。反復/削除判定ユニット400 〜40n-1 は、変数算出・反復/削除決定アルゴリズムのうちステップST33〜ステップST36に相当する手順を対応する列について実行し、各列のビットを反復または削除すべきとの結論の場合に、反復/削除指示を出力位置制御部133に供給する。n個のD算出ユニット390 〜39n-1 とn個の反復/削除判定ユニット400 〜40n-1 を有することにより、D算出部132は、図18〜図25の一行(n個のビット)に対して同時に変数算出・反復/削除決定アルゴリズムを適用することができる。 Similar to the D calculation unit 32 of the first embodiment, the D calculation unit 132 uses the parameters e ini , e plus , and e minus and performs rate dematching by the variable calculation / iteration / deletion determination algorithm shown in FIG. At the same time as determining the bits to be repeated or deleted, the cumulative repetition / deletion bit number D is obtained. Similarly to the D calculation unit 32 of the first embodiment, the D calculation unit 132 has n D (= e plus number) calculation units 39 0 to 39 n−1 , n pieces as shown in FIG. It includes a repetition / deletion determination unit 40 0 to 40 n−1 , and a D (= e plus number) storage unit 41 for the last bit. These functions are as described above in connection with the first embodiment. Accordingly, each of the D calculation units 39 0 to 39 n-1 executes the procedure corresponding to step ST30 to step ST32 in the variable calculation / iteration / deletion determination algorithm for the corresponding column, and cumulative iteration / deletion of each column. The number of bits D (i), D (i−1),... D (i + n−1) is calculated and notified to the output position control unit 133. The iteration / deletion determination units 40 0 to 40 n-1 execute the procedure corresponding to step ST33 to step ST36 in the variable calculation / iteration / deletion determination algorithm for the corresponding columns, and repeat or delete the bits of each column. In the case of a conclusion that it should be, an iteration / deletion instruction is supplied to the output position control unit 133. By having n D calculation units 39 0 to 39 n-1 and n iteration / deletion determination units 40 0 to 40 n−1 , the D calculation unit 132 can display one line (n pieces) in FIGS. The variable calculation / iteration / deletion decision algorithm can be applied to the same bit).

実施の形態1の出力位置制御部33と同様に、出力位置制御部133も図9および図10に示すように、n個の加算器33A0 〜33n-1 、n個の出力位置算出部360 〜36n-1 、n個の書き込み制御部(再分配制御部)370 〜37n-1 、およびビット格納出力部38を備える。これらは、図11〜図16に示して上述したのとほぼ同様に動作する。すなわち、出力位置算出部360 〜36n-1 は、並列化処理部131により列に分配された複数のビットの各々について、対応する累積反復/削除ビット数D(i),D(i−1),…D(i+n−1)に基づいて、再分配すべき列を算出する。そして書き込み制御部370 〜37n-1 は、並列化処理部131により列に分配された複数のビットの各々を、対応する反復/削除判定ユニット400 〜40n-1 で反復または削除すべきであると判定された場合に反復または削除するとともに、出力位置算出部360 〜36n-1 で算出された列に再分配する。 Similar to the output position control unit 33 of the first embodiment, the output position control unit 133 includes n adders 33A 0 to 33 n−1 and n output position calculation units as shown in FIGS. 36 0 to 36 n−1 , n write control units (redistribution control units) 37 0 to 37 n−1 , and a bit storage output unit 38. These operate in substantially the same manner as described above with reference to FIGS. That is, the output position calculation units 36 0 to 36 n−1 respectively correspond to the number of cumulative repetition / deletion bits D (i) and D (i−) corresponding to each of the plurality of bits distributed to the columns by the parallel processing unit 131. 1),... D (i + n-1) is calculated to calculate a column to be redistributed. Then, the write control units 37 0 to 37 n-1 repeat or delete each of the plurality of bits distributed to the columns by the parallel processing unit 131 by the corresponding repetition / deletion determination units 40 0 to 40 n-1 . When it is determined that it should be, it is repeated or deleted, and redistributed to the columns calculated by the output position calculation units 36 0 to 36 n−1 .

また、この実施の形態でも、レートデマッチング処理がビット反復かビット削除かにかかわらず、ビット格納出力部38は、ビット格納部38Aの内容に従って、上述した最終ビット位置情報を初期位置算出部134に通知する。実施の形態1の初期位置算出部34と同様に、初期位置算出部134は最終ビット位置情報に基づいてモジュロ演算を行い、次の初期位置情報Fini を算出する。初期位置算出部134の内容は、一つのTTIの満了のたびにリセットされ、その後の最初のビットの演算のための初期位置情報Fini はゼロになる。換言すれば、一つのTTIの間(n個の無線フレームの処理の間)は、初期位置算出部134は有効に利用される初期位置情報Fini を算出し続ける。従って、並べ替えられた直前の無線フレームの最終ビットの出力列の次の列に、次の無線フレームの先頭のビットが出力されることになる。例えば、図19の無線フレーム1の先頭ビットA1(0)は、無線フレーム1の最終ビットA0(15)の出力列2の次の列3に出力される。 Also in this embodiment, regardless of whether the rate dematching process is bit repetition or bit deletion, the bit storage output unit 38 uses the final bit position information described above as the initial position calculation unit 134 according to the contents of the bit storage unit 38A. Notify Similar to the initial position calculation unit 34 of the first embodiment, the initial position calculation unit 134 performs modulo calculation based on the final bit position information and calculates the next initial position information F ini . The content of the initial position calculation unit 134 is reset every time one TTI expires, and the initial position information F ini for the calculation of the first bit thereafter becomes zero. In other words, during one TTI (during the processing of n radio frames), the initial position calculation unit 134 continues to calculate the initial position information F ini that is effectively used. Therefore, the first bit of the next radio frame is output to the next column after the last bit output column of the rearranged radio frame. For example, the first bit A1 (0) of the radio frame 1 in FIG. 19 is output to the column 3 next to the output column 2 of the last bit A0 (15) of the radio frame 1.

実施の形態1と異なり、出力位置制御部133は、記憶装置135の各記憶部1350 〜135n-1 にビットを出力するときには、第1デインタリーブを行わない。ビット格納出力部38では、ビット格納部38Aへのビット書き込み終了後の最初のクロックパルスがビット格納出力部38に供給されると、列0〜列n−1のためのデータ出力ユニット38Bが対応するビット格納部38Aからn個のビットを読み出し、記憶部1350 〜135n-1 に書き込む。このとき、第1インタリーブのための列の入れ替えは行わないので、例えば、第1インタリーブの列数(=同時に作成される無線フレーム数)n=4の場合は、記憶装置135の列0の記憶部1350 にはビット格納部38Aの列0のビット、列1の記憶部1351 には列1のビット、列2の記憶部1352 には列2のビット、列3の記憶部1353 には列3のビットを書き込む。ビットの読み出し後は、ビット格納部38Aの内容は消去される。 Unlike Embodiment 1, the output position control unit 133 does not perform the first deinterleaving when outputting bits to the storage units 135 0 to 135 n−1 of the storage device 135. In the bit storage output unit 38, when the first clock pulse after completion of the bit writing to the bit storage unit 38A is supplied to the bit storage output unit 38, the data output unit 38B for the columns 0 to n-1 corresponds. N bits are read out from the bit storage unit 38A to be written and written into the storage units 135 0 to 135 n−1 . At this time, the columns for the first interleaving are not exchanged. For example, when the number of the first interleaving columns (= the number of radio frames created at the same time) n = 4, the storage of the column 0 in the storage device 135 is performed. bits of the column 0 of the parts 135 0 bit storage unit 38A, the column bit storage unit 135 1 column 1 in the 1 bit in column 2 in the storage unit 135 2 of the column 2, the storage unit 135 3 columns 3 Write the column 3 bit. After reading the bits, the contents of the bit storage unit 38A are erased.

また、次のクロックパルスがビット格納出力部38に供給されると、列n〜2n−1のn個のビットがビット格納部38Aから記憶部1350 〜135n-1 に転送される。例えば、第1インタリーブの列数n=4の場合は、記憶装置135の列0の記憶部1350 にはビット格納部38Aの列4のビット、列1の記憶部1351 には列5のビット、列2の記憶部1352 には列6のビット、列3の記憶部1353 には列7のビットを書き込む。更に次のクロックパルスがビット格納出力部38に供給されると、列2n〜3n−1のn個のビットがビット格納部38Aから記憶部1350 〜135n-1 に転送される。 When the next clock pulse is supplied to the bit storage output unit 38, n bits in the columns n to 2n-1 are transferred from the bit storage unit 38A to the storage units 135 0 to 135 n-1 . For example, in the case of the first interleave sequence number n = 4, and the storage unit 135 0 of column 0 of the storage device 135 of column 4 of bit storage unit 38A bits, column 5 in the storage unit 135 1 of the column 1 bits, bits of the column 6 in the storage unit 135 2 of the column 2, the storage unit 135 3 columns 3 writes the bits of the column 7. When the next clock pulse is supplied to the bit storage output unit 38, n bits in the columns 2n to 3n -1 are transferred from the bit storage unit 38A to the storage units 135 0 to 135 n-1 .

上述の通り、列データ読み出し順序制御部150(図17)は、記憶装置135の記憶部1350 〜135n-1 から全ビットを読み出して無線フレーム結合を行うとともに、レートマッチングで得られた列のうち所定の列を交換することにより第1インタリーブを行う。列の入れ替えは、3GPP TS25.212 のSubclause 4.2.5.2 に準拠した第1インタリーブの結果から元のビットストリームを復元できるようにすればよい。具体的には、TTI=20msつまりn=2であれば、列0,1の順序に従って、列0の記憶部1350 から列0の全ビットを読み出した後、列1の記憶部1351 から列1の全ビットを読み出す。TTI=40msつまりn=4(図示例)であれば、列0,2,1,3の順序に従って、列0の記憶部1350 から列0の全ビットを読み出した後、列2の記憶部1352 から列2の全ビットを読み出し、続いて列1の記憶部1351 から列1の全ビットを読み出し、最後に列3の記憶部1353 から列3の全ビットを読み出す。TTI=80msつまりn=8であれば、列0,4,2,6,1,5,3,7の順序に従って全ビットを読み出す。 As described above, the column data reading order control unit 150 (FIG. 17) reads all bits from the storage units 135 0 to 135 n−1 of the storage device 135 to perform radio frame combination, and column obtained by rate matching. The first interleaving is performed by exchanging predetermined columns. The column replacement may be performed so that the original bit stream can be restored from the result of the first interleaving in accordance with Subclause 4.2.5.2 of 3GPP TS25.212. More specifically, if the TTI = 20 ms, ie n = 2, the order of the columns 0,1, after reading all the bits of the column 0 from the storage unit 135 0 column 0, from the storage unit 135 1 of the column 1 Read all the bits in column 1. If TTI = 40 ms, i.e. n = 4 (illustrated example), the order of the columns 0,2,1,3, after reading all the bits of the column 0 from the storage unit 135 0 column 0, row 2 storage unit read all bits of the column 2 from 135 2, followed by reading all bits of the column 1 from the storage unit 135 1 of the column 1, reading out all bits of the column 3 from the storage unit 135 3 the last column 3. If TTI = 80 ms, that is, n = 8, all bits are read in the order of columns 0, 4, 2, 6, 1, 5, 3, and 7.

以上のように、この実施の形態2によれば、並列化処理部131が受信対象のデータビットストリームから、同受信サイクルで受信される複数の無線フレームの数と同数のビットを取り出し、これらのビットを前記無線フレームの数と同数の複数の列に規則的に分配する。また、パラメータ算出部130は、レートデマッチングの基本パラメータeini ,eplus,eminus を算出する。さらに、D算出部132は、列に分配された各ビットに付与されたデータビットストリーム中のビット番号mと基本パラメータeini ,eplus,eminus に基づいて、列に分配された複数のビットのうち反復または削除されるべきビットを判定する。さらにまた、D算出部132は、列に分配された各ビットについて、データビットストリーム中の反復または削除される先行するビットの個数と当該ビットが反復または削除される場合には当該ビットの個数の合計個数である累積反復/削除ビット数Dを算出する。出力位置制御部133は、レートデマッチング部として機能し、並列化処理部131により列に分配された複数のビットのうち、D算出部132で反復または削除すべきと判定されたビットを反復または削除するとともに、累積反復/削除ビット数Dに基づいて複数のビットをあらためて複数の列に再分配する。列データ読み出し順序制御部150は、第1デインタリーブ・無線フレーム結合部として機能し、出力位置制御部133による再分配で得られた複数の列を、これらのうち少なくとも二列を互いに入れ替えながら読み出して結合する。このように、累積反復/削除ビット数Dに基づいて複数のビットをあらためて複数の列に再分配することにより、高速にビットの再分配を完了することができ、さらに再分配で得られた複数の列のうち少なくとも二列のビットを入れ替えるだけで第1デインタリーブが完了する。従って、レートデマッチングで得られたビット自体に基づいてビットの再分配および第1デインタリーブをする場合に比べて、高速にビットの再分配および第1デインタリーブを完了することが可能である。以上より、W−CDMAに準拠しながらも、さらに復号化処理を高速化することが可能である。 As described above, according to the second embodiment, the parallel processing unit 131 extracts, from the data bit stream to be received, the same number of bits as the number of a plurality of radio frames received in the same reception cycle. The bits are regularly distributed to a plurality of columns equal to the number of the radio frames. Further, the parameter calculation unit 130 calculates rate dematching basic parameters e ini , e plus , and e minus . Further, the D calculation unit 132, based on the bit number m in the data bit stream assigned to each bit distributed to the column and the basic parameters e ini , e plus , e minus , a plurality of bits distributed to the column Of the bits to be repeated or deleted. Furthermore, for each bit distributed to the column, the D calculation unit 132 determines the number of preceding bits to be repeated or deleted in the data bit stream and the number of bits when the bit is repeated or deleted. The cumulative repetition / deletion bit number D, which is the total number, is calculated. The output position control unit 133 functions as a rate dematching unit, and repeats or outputs bits determined to be repeated or deleted by the D calculation unit 132 among the plurality of bits distributed to the columns by the parallelization processing unit 131. In addition to deleting, a plurality of bits are redistributed to a plurality of columns based on the cumulative repetition / deletion bit number D. The column data reading order control unit 150 functions as a first deinterleave / radio frame combining unit, and reads a plurality of columns obtained by redistribution by the output position control unit 133 while exchanging at least two of them. And combine. In this way, by redistributing a plurality of bits into a plurality of columns based on the cumulative repetition / deletion bit number D, the bit redistribution can be completed at a high speed, and the plurality of bits obtained by the redistribution can be obtained. The first deinterleaving is completed only by exchanging bits of at least two of the columns. Therefore, the bit redistribution and the first deinterleaving can be completed at a higher speed than the case of the bit redistribution and the first deinterleaving based on the bit itself obtained by the rate dematching. As described above, it is possible to further speed up the decoding process while complying with W-CDMA.

また、D算出部132は、並列化処理部131により列に分配された複数のビットの各々を反復または削除すべきか否かを並列に判定するための複数の反復/削除判定ユニット400 〜40n-1 を備える。さらにD算出部132は、並列化処理部131により列に分配された複数のビットの各々について累積反復/削除ビット数D(i),D(i−1),…D(i+n−1)を並列に算出するためのD算出ユニット390 〜39n-1 を備える。レートデマッチング部としての出力位置制御部133は、並列化処理部131により列に分配された複数のビットの各々について、対応する累積反復/削除ビット数D(i),D(i−1),…D(i+n−1)に基づいて、再分配すべき列を算出する複数の出力位置算出部360 〜36n-1 と、並列化処理部131により列に分配された複数のビットの各々を、対応する反復/削除判定ユニット400 〜40n-1 で反復または削除すべきであると判定された場合に反復または削除するとともに、出力位置算出部360 〜36n-1 で算出された列に再分配する複数の書き込み制御部370 〜37n-1 を備える。この構成によれば、並列化されたビットを同時にレートデマッチングし、各ビットについて累積反復/削除ビット数Dを考慮してこれらのビットを同時にあらためて列に再分配することにより、さらに復号化処理を高速化することが可能である。 The D calculation unit 132 also has a plurality of repetition / deletion determination units 40 0 to 40 for determining in parallel whether or not each of the plurality of bits distributed to the columns by the parallelization processing unit 131 should be repeated or deleted. with n-1 . Further, the D calculation unit 132 calculates the cumulative number of repeated / deleted bits D (i), D (i−1),... D (i + n−1) for each of the plurality of bits distributed to the columns by the parallel processing unit 131. D calculation units 39 0 to 39 n-1 for calculating in parallel are provided. The output position control unit 133 as a rate dematching unit, for each of a plurality of bits distributed to the column by the parallel processing unit 131, corresponds to the number of cumulative repetition / deletion bits D (i) and D (i-1). ,... D (i + n−1) based on a plurality of output position calculation units 36 0 to 36 n−1 that calculate columns to be redistributed, and a plurality of bits distributed to the columns by the parallel processing unit 131. each calculated by repeated or is deleted when it is determined that it should repeated or deleted in the corresponding iteration / deletion determining unit 40 0 ~40 n-1, the output position calculator 36 0 ~36 n-1 Are provided with a plurality of write control units 37 0 to 37 n-1 for redistribution to the arranged columns. According to this configuration, the parallelized bits are rate-dematched at the same time, and the decoding process is further performed by redistributing these bits to the columns at the same time in consideration of the cumulative repetition / deletion bit number D for each bit. Can be speeded up.

また、レートデマッチング部としての出力位置制御部133は、列の数より多い複数のビット格納部38Aと、各ビット格納部38Aからビットを読み出して無線フレームに格納するデータ出力ユニット38Bを備えており、出力位置算出部360 〜36n-1 の各々は、各ビットを格納すべきビット格納部38Aの位置を算出し、書き込み制御部370 〜37n-1 の各々は、ビットの反復または削除をするとともに、出力位置算出部360 〜36n-1 で算出された位置のビット格納部38Aに各ビットを格納し、データ出力ユニット38Bは、一度に無線フレームの数と同数のビットをビット格納部38Aから読み出して、これらのビットを列に再分配する。レートマッチング処理がビット反復の場合、列の数nを超えるビットが書き込み制御部370 〜37n-1 から出力されるが、これらのビットが列の数より多い複数のビット格納部38Aに格納されることによりオーバーフローを防止することができる。 The output position control unit 133 as a rate dematching unit includes a plurality of bit storage units 38A larger than the number of columns, and a data output unit 38B that reads bits from each bit storage unit 38A and stores them in a radio frame. Each of the output position calculation units 36 0 to 36 n-1 calculates the position of the bit storage unit 38A where each bit is stored, and each of the write control units 37 0 to 37 n-1 repeats the bit. Alternatively, each bit is stored in the bit storage unit 38A at the position calculated by the output position calculation units 36 0 to 36 n-1 and the data output unit 38B has the same number of bits as the number of radio frames at a time. Are read from bit storage 38A and these bits are redistributed into columns. When the rate matching processing is bit repetition, bits exceeding the number n of columns are output from the write control units 37 0 to 37 n−1, but these bits are stored in a plurality of bit storage units 38A having a number larger than the number of columns. By doing so, overflow can be prevented.

さらに、この無線通信装置の復号化処理装置は、直前に再分配された複数のビットのうち最終ビットが再分配された列に基づいて、次に再分配すべき複数のビットのうち最初のビットが再分配されるべき初期列を算出する初期位置算出部134をさらに備え、出力位置制御部133は、次に再分配すべき複数のビットを初期列を先頭とする複数の列に再分配するので、ビットを円滑かつ高速に再分配することができる。   Further, the decoding processing device of the wireless communication device is configured to perform the first bit among the plurality of bits to be redistributed next based on the column in which the last bit among the plurality of bits redistributed immediately before is redistributed. Is further provided with an initial position calculation unit 134 for calculating an initial column to be redistributed, and the output position control unit 133 redistributes a plurality of bits to be redistributed next to a plurality of columns starting from the initial column. Therefore, the bits can be redistributed smoothly and at high speed.

実施の形態3.
この発明の実施の形態3に係る無線通信装置の符号化処理装置は、W−CDMAによる無線通信システムの基地局に設けられ、図1の下りデータ送信のレートマッチング(ステップST12)、第1インタリーブ(ステップST13)および無線フレーム分割(ステップST14)に適用される。図26は、この発明の実施の形態3に係る符号化処理装置を示す機能ブロック図である。無線通信装置の他の構成要素の図示は省略する。
Embodiment 3 FIG.
A coding processing apparatus for a wireless communication apparatus according to Embodiment 3 of the present invention is provided in a base station of a wireless communication system based on W-CDMA, and performs rate matching (step ST12) for downlink data transmission in FIG. 1 and first interleaving. (Step ST13) and radio frame division (step ST14). FIG. 26 is a functional block diagram showing an encoding processing apparatus according to Embodiment 3 of the present invention. Illustration of other components of the wireless communication device is omitted.

この実施の形態3は、前段階でターボ符号化が行われた場合にレートマッチング処理でビット削除が使用される場合に適用される。ターボ符号化では、ターボ符号化器に入力される情報ビット(以下、システマティックビットSと呼ぶ)と、符号化で得られた2系列の検査ビット(以下、パリティビットP1,P2と呼ぶ)の3系列のビットが得られる。3GPP TS25.212 のSubclause 4.2.7.4 によれば、ターボ符号化されたデータに対し、レートマッチング処理でビット削除が使用される場合、システマティックビットSは削除してはならず、パリティビットP1,P2のみ削除される。パリティビットP1,P2は、それぞれ異なるレートマッチングパターンが適用される。同仕様書によれば、ターボ符号化されたデータのビット削除レートマッチング処理では、ターボ符号をビット分割(bit separation)してシステマティックビットSの系列とパリティビットP1,P2の系列を得て、パリティビットP1,P2のビット削除を並列に行い、その後ビットコレクションによりビットS,P1,P2を組み合わせる。この実施の形態3は、この複雑なレートマッチング処理、第1インタリーブおよび無線フレーム分割を改良された方法で高速化する。   The third embodiment is applied when bit deletion is used in rate matching processing when turbo coding is performed in the previous stage. In the turbo coding, 3 bits of information bits (hereinafter referred to as systematic bits S) input to the turbo encoder and two sequences of check bits (hereinafter referred to as parity bits P1 and P2) obtained by the coding. A series of bits is obtained. According to Subclause 4.2.7.4 of 3GPP TS25.212, when bit deletion is used in rate matching processing for turbo encoded data, systematic bit S must not be deleted, and parity bits P1, P2 Only deleted. Different rate matching patterns are applied to the parity bits P1 and P2. According to the specification, in the bit deletion rate matching processing of turbo-encoded data, the turbo code is bit-separated to obtain a systematic bit S sequence and parity bit P1 and P2 sequences, and parity The bits P1 and P2 are deleted in parallel, and then the bits S, P1 and P2 are combined by bit collection. The third embodiment speeds up this complicated rate matching process, first interleaving, and radio frame division by an improved method.

図26に示すように、この符号化処理装置は、パラメータ算出部30、ビット分割部42、並列化処理部43A,43B,43C、初期位置算出部44、Dp1(=eplus数)算出部(第1の削除判定部)45、Dp2(=eplus数)算出部(第2の削除判定部)46、出力位置制御部(レートマッチング・第1インタリーブ部)47および記憶装置48を備える。パラメータ算出部30は、実体としては無線通信装置のCPUまたはDSPであり、プログラムに従って動作する。並列化処理部43A,43B,43C、初期位置算出部44、Dp1算出部45、Dp2算出部46、出力位置制御部47は、実体としてはそれぞれFPGAまたはLSIの一部である。記憶装置48はRAMである。 As shown in FIG. 26, the encoding processing apparatus includes a parameter calculation unit 30, a bit division unit 42, parallel processing units 43A, 43B, and 43C, an initial position calculation unit 44, and a D p1 (= e plus number) calculation unit. (First deletion determination unit) 45, D p2 (= e plus number) calculation unit (second deletion determination unit) 46, output position control unit (rate matching / first interleaving unit) 47, and storage device 48. . The parameter calculation unit 30 is actually a CPU or DSP of a wireless communication device, and operates according to a program. The parallel processing units 43A, 43B, and 43C, the initial position calculation unit 44, the D p1 calculation unit 45, the D p2 calculation unit 46, and the output position control unit 47 are each part of an FPGA or an LSI. The storage device 48 is a RAM.

パラメータ算出部30は、実施の形態1と同様に、レートマッチング処理に必要なパラメータであるeini ,eplus,eminus を算出し、これらのパラメータをDp1算出部45およびDp2算出部46に通知する。 As in the first embodiment, the parameter calculation unit 30 calculates e ini , e plus , and e minus that are parameters necessary for the rate matching process, and uses these parameters as the D p1 calculation unit 45 and the D p2 calculation unit 46. Notify

また、既知であるビット数k、第1インタリーブ列数(この実施の形態では同時に作成される無線フレームの数に等しい)nは、ビット分割部42、並列化処理部43A,43B,43C、Dp1算出部45、Dp2算出部46および出力位置制御部47へ予め通知されている。 Further, the known number of bits k and the number of first interleaved columns (equal to the number of radio frames created simultaneously in this embodiment) n are the bit division unit 42, parallel processing units 43A, 43B, 43C, D The p1 calculation unit 45, the Dp2 calculation unit 46, and the output position control unit 47 are notified in advance.

ビット分割部42には、ターボ符号化器(図示せず)で符号化された送信対象である入力ビットS(0),P1(0),P2(0),・・・,S(i),P1(i),P2(i),・・・,S(k−1),P1(k−1),P2(k−1)のストリームが入力される。ターボ符号中のビット数は3kである。ビット分割部42は、入力されたターボ符号のビットストリームを既知の方法にてシステマティックビットS(0),・・・,S(i),・・・,S(k−1)、パリティビットP1(0),・・・,P1(i),・・・,P1(k−1)、パリティビットP2(0),・・・,P2(i),・・・,P2(k−1)に分割する。   The bit division unit 42 includes input bits S (0), P1 (0), P2 (0),..., S (i) that are transmission targets encoded by a turbo encoder (not shown). , P1 (i), P2 (i),..., S (k-1), P1 (k-1), and P2 (k-1) streams are input. The number of bits in the turbo code is 3k. The bit division unit 42 uses a known method to input the bit stream of the turbo code, and systematic bits S (0), ..., S (i), ..., S (k-1), parity bits P1 (0), ..., P1 (i), ..., P1 (k-1), parity bits P2 (0), ..., P2 (i), ..., P2 (k-1). Divide into

ビット分割部42から出力されたシステマティックビットS(0),・・・,S(i),・・・,S(k−1)は並列化処理部43Aに入力される。並列化処理部43Aは、システマティックビットS(0),S(1),…S(k−1)から、入力された順番に従って第1インタリーブの列数n(この実施の形態では同時に作成される無線フレーム数に等しい)のビットS(i),S(i+1),…,S(i+n−1)を取り出し、これらのビットを一度にn個の複数の列に分配すなわち並列化して、n個のビットS(i),S(i+1),…,S(i+n−1)を出力位置制御部47に並列に供給する。nは2,4,8の何れかの値である。1つの無線フレームの時間長さは10msであるから、3GPP TS25.212 のSubclause 4.2.5.2 に規定の通り、TTI=20msであればn=2、TTI=40msであればn=4、TTI=80msであればn=8である。   The systematic bits S (0),..., S (i),..., S (k−1) output from the bit division unit 42 are input to the parallelization processing unit 43A. The parallelization processing unit 43A generates the number of first interleaved columns n (simultaneously in this embodiment) from the systematic bits S (0), S (1),... S (k−1) according to the input order. Bits S (i), S (i + 1),..., S (i + n-1) are taken out, and these bits are distributed to n columns at a time, ie, n in parallel. Bits S (i), S (i + 1),..., S (i + n−1) are supplied in parallel to the output position controller 47. n is one of 2, 4, and 8. Since the time length of one radio frame is 10 ms, as defined in Subclause 4.2.5.2 of 3GPP TS25.212, n = 2 when TTI = 20 ms, n = 4 when TTI = 40 ms, and TTI = If 80 ms, n = 8.

ビット分割部42から出力されたパリティビットP1(0),・・・,P1(i),・・・,P1(k−1)は並列化処理部43Bに入力される。同様の処理により並列化処理部43Bはn個のビットP1(i),P1(i+1),…,P1(i+n−1)を出力位置制御部47に並列に供給する。ビット分割部42から出力されたパリティビットP2(0),・・・,P2(i),・・・,P2(k−1)は並列化処理部43Cに入力される。同様の処理により並列化処理部43Cはn個のビットP2(i),P2(i+1),…,P2(i+n−1)を出力位置制御部47に並列に供給する。iは0,n,2n,3n,...のうちの任意の整数である。ターボ符号のビットストリーム中、システマティックビットS(i)は3i+1番目のビットであり、パリティビットP1(i)は3i+2番目のビットであり、パリティビットP2(i)は3i+3番目のビットである。   Parity bits P1 (0),..., P1 (i),..., P1 (k−1) output from the bit division unit 42 are input to the parallel processing unit 43B. The parallel processing unit 43B supplies n bits P1 (i), P1 (i + 1),..., P1 (i + n−1) to the output position control unit 47 in parallel by the same processing. Parity bits P2 (0),..., P2 (i),..., P2 (k−1) output from the bit division unit 42 are input to the parallel processing unit 43C. The parallel processing unit 43C supplies n bits P2 (i), P2 (i + 1),..., P2 (i + n−1) to the output position control unit 47 in parallel by similar processing. i is 0, n, 2n, 3n,. . . Is an arbitrary integer. In the turbo code bit stream, the systematic bit S (i) is the 3i + 1th bit, the parity bit P1 (i) is the 3i + 2nd bit, and the parity bit P2 (i) is the 3i + 3rd bit.

並列化処理部43A,43B,43Cは、上記の並列化処理を同時に行うので、システマティックビットS(i),S(i+1),…,S(i+n−1)、パリティビットP1(i),P1(i+1),…,P1(i+n−1)、パリティビットP2(i),P2(i+1),…,P2(i+n−1)が同時に並列化処理部43A,43B,43Cから出力位置制御部47に供給される。これらの3n個のビットが出力位置制御部47内部で同時に並列に処理される。   Since the parallel processing units 43A, 43B, and 43C simultaneously perform the parallel processing described above, systematic bits S (i), S (i + 1),..., S (i + n−1), parity bits P1 (i), P1 , P1 (i + n-1), parity bits P2 (i), P2 (i + 1),..., P2 (i + n-1) are simultaneously output from the parallel processing units 43A, 43B, 43C to the output position control unit 47. To be supplied. These 3n bits are simultaneously processed in parallel in the output position control unit 47.

出力位置制御部47は、Dp1算出部45、Dp2算出部46および初期位置算出部44から供給される情報に基づいて、レートマッチングおよび第1インタリーブを一括して行う。この一括処理については後に詳述する。 The output position control unit 47 collectively performs rate matching and first interleaving based on information supplied from the D p1 calculation unit 45, the D p2 calculation unit 46, and the initial position calculation unit 44. This collective processing will be described in detail later.

p1算出部45は、各パリティビットP1に付与されたビット番号とパラメータeini ,eplus,eminus を用いて、図7に示し実施の形態1に関して上述した変数算出・反復/削除決定アルゴリズムにより、パリティビットP1(i),P1(i+1),…,P1(i+n−1)のうちレートマッチングで削除されるべきビットを決定すると同時に、各ビットP1(i),P1(i+1),…,P1(i+n−1)についての累積削除ビット数Dp1(i),Dp1(i+1),…,Dp1(i+n−1)を求める。累積削除ビット数Dp1は各ビットに変数算出・反復/削除決定アルゴリズムを適用したときに、パラメータeplusをインクリメントした回数を示す。この累積削除ビット数Dp1は、各ビットP1(i),P1(i+1),…,P1(i+n−1)について、ビットストリーム中の削除された先行するビットの個数と、そのビットが削除される場合にはそのビットの個数(1個)の合計個数を示すので、ビットの減少に伴い各ビットを適正に同数の列に再分配するために役立つ。Dp1算出部45は、レートマッチングで削除されるべきビットを指定した削除指示と、累積削除ビット数Dp1(=eplus数)を出力位置制御部47に供給する。 The D p1 calculation unit 45 uses the bit number assigned to each parity bit P1 and the parameters e ini , e plus , e minus and uses the variable calculation / iteration / deletion determination algorithm shown in FIG. 7 and described above with reference to the first embodiment. , P1 (i), P1 (i + 1),..., P1 (i + n−1) are determined by rate matching, and at the same time, each bit P1 (i), P1 (i + 1),. , P1 (i + n−1), the cumulative number of deleted bits D p1 (i), D p1 (i + 1),..., D p1 (i + n−1) is obtained. The cumulative deletion bit number D p1 indicates the number of times the parameter e plus is incremented when the variable calculation / iteration / deletion decision algorithm is applied to each bit. The cumulative number of deleted bits D p1 is the number of preceding bits deleted in the bit stream and the number of bits deleted for each bit P1 (i), P1 (i + 1),..., P1 (i + n−1). In this case, the total number of bits (1) is indicated, which is useful for appropriately redistributing each bit into the same number of columns as the number of bits decreases. The D p1 calculation unit 45 supplies the output position control unit 47 with a deletion instruction specifying the bits to be deleted by rate matching and the cumulative deletion bit number D p1 (= e plus number).

同時に、Dp2算出部46は、各パリティビットP2に付与されたビット番号とパラメータeini ,eplus,eminus を用いて、変数算出・反復/削除決定アルゴリズムにより、パリティビットP2(i),P2(i+1),…,P2(i+n−1)のうちレートマッチングで削除されるべきビットを決定すると同時に、各ビットP2(i),P2(i+1),…,P2(i+n−1)についての累積削除ビット数Dp2(i),Dp2(i+1),…,Dp2(i+n−1)を求める。またDp2算出部46はレートマッチングで削除されるべきビットを指定した削除指示と、累積削除ビット数Dp2(=eplus数)を出力位置制御部47に供給する。 At the same time, the D p2 calculation unit 46 uses the bit number assigned to each parity bit P2 and the parameters e ini , e plus , e minus to perform the parity bit P2 (i), P2 (i + 1),..., P2 (i + n-1) are determined by rate matching, and at the same time, the bits P2 (i), P2 (i + 1), ..., P2 (i + n-1) are determined. The cumulative number of deleted bits D p2 (i), D p2 (i + 1),..., D p2 (i + n−1) is obtained. Further, the D p2 calculation unit 46 supplies the output position control unit 47 with a deletion instruction specifying the bits to be deleted by rate matching and the cumulative deletion bit number D p2 (= e plus number).

実施の形態1のD算出部32と同様に、Dp1算出部45およびDp2算出部46の各々も図8に示すように、n個のD(=eplus数)算出ユニット390〜39n-1、n個の反復/削除判定ユニット400 〜40n-1 、および最終ビットのD(=eplus数)格納部41を備える。これらの機能は実施の形態1に関連して上述した通りである。従って、Dp1算出部45およびDp2算出部46の各々は、n個のパリティビットP1(i),P1(i+1),…,P1(i+n−1)またはn個のパリティビットP2(i),P2(i+1),…,P2(i+n−1)に対して同時に変数算出・反復/削除決定アルゴリズムを適用することができる。 Similarly to the D calculation unit 32 of the first embodiment, each of the D p1 calculation unit 45 and the D p2 calculation unit 46 includes n D (= e plus number) calculation units 39 0 to 39 as shown in FIG. n-1 , n repetition / deletion determination units 40 0 to 40 n-1 , and D (= e plus number) storage unit 41 of the last bit. These functions are as described above in connection with the first embodiment. Accordingly, each of the D p1 calculating unit 45 and the D p2 calculating unit 46 includes n parity bits P1 (i), P1 (i + 1),..., P1 (i + n−1) or n parity bits P2 (i). , P2 (i + 1),..., P2 (i + n-1), the variable calculation / iteration / deletion determination algorithm can be applied simultaneously.

出力位置制御部47は、削除指示に基づいてn個のパリティビットP1(i),P1(i+1),…,P1(i+n−1)のいずれかおよびn個のパリティビットP2(i),P2(i+1),…,P2(i+n−1)を削除するとともに、累積削除ビット数Dp1(i),Dp1(i+1),…,Dp1(i+n−1)および累積削除ビット数Dp2(i),Dp2(i+1),…,Dp2(i+n−1)に基づいてシステマティックビットS、パリティビットP1、パリティビットP2の各々の出力位置(出力列)を算出する。この出力位置の算出は、n個のシステマティックビットS(i),S(i+1),…,S(i+n−1)、n個のパリティビットP1(i),P1(i+1),…,P1(i+n−1)、n個のパリティビットP2(i),P2(i+1),…,P2(i+n−1)に同時に行う。このことは、削除とビットコレクションに伴い、複数のビットをあらためてn個の列に再分配することに帰結する。 Based on the deletion instruction, the output position control unit 47 selects one of the n parity bits P1 (i), P1 (i + 1),..., P1 (i + n−1) and the n parity bits P2 (i), P2 (i + 1), ..., it deletes the P2 (i + n-1) , the cumulative delete bits D p1 (i), D p1 (i + 1), ..., D p1 (i + n-1) and cumulative number of deleted bits D p2 ( i), D p2 (i + 1),..., D p2 (i + n−1) are used to calculate the output positions (output strings) of the systematic bit S, the parity bit P1, and the parity bit P2. The calculation of the output position is performed by calculating n systematic bits S (i), S (i + 1),..., S (i + n−1), n parity bits P1 (i), P1 (i + 1),. i + n−1) and n parity bits P2 (i), P2 (i + 1),..., P2 (i + n−1). This results in a new redistribution of bits into n columns with deletion and bit collection.

また、出力位置制御部47は、このようにしてレートマッチングおよびビットコレクションされたビットのうち最大n個のビットを一度に記憶装置48に出力する。記憶装置48には、n個の記憶部480 〜48n-1 が設けられている。これらの記憶部480 〜48n-1 は、同時に作成されるn個の無線フレーム(フレーム0〜フレームn−1)に対応しており、記憶部480 〜48n-1 の各々は、少なくとも無線フレームの長さに相当する数のビットを格納することが可能であり、記憶装置48にビットを格納することで結果的にビットをそれぞれ複数の無線フレームに格納することになる。記憶装置48にビットを出力するときには、出力位置制御部47は、レートマッチングおよびビットコレクションで得られた列のうち所定の少なくとも二つの列を交換することにより第1インタリーブを行う。 Further, the output position control unit 47 outputs a maximum of n bits among the bits subjected to rate matching and bit correction in this manner to the storage device 48 at a time. The storage device 48 is provided with n storage units 48 0 to 48 n−1 . These storage units 48 0 to 48 n-1 correspond to n radio frames (frame 0 to frame n-1) created simultaneously, and each of the storage units 48 0 to 48 n-1 It is possible to store at least a number of bits corresponding to the length of the radio frame, and storing the bits in the storage device 48 results in storing the bits in a plurality of radio frames. When outputting bits to the storage device 48, the output position controller 47 performs the first interleaving by exchanging at least two predetermined columns among the columns obtained by rate matching and bit correction.

レートマッチングとビットコレクションに伴い、出力位置制御部47で算出される各ビットの出力列は、並列化処理部43A,43B,43Cで与えられた列の番号と異なる。そこで、出力位置制御部47は、次にレートマッチングおよびビットコレクション処理する最大3n個のビットを再分配するn列上の出力列の位置を決定するために、直前のレートマッチング・ビットコレクション処理結果の最終ビット(例えばP2(i+n−1))が再分配されたn列上の出力列の値を示す最終ビット位置情報を初期位置算出部44に通知する。初期位置算出部44は、最終ビット位置情報に示された最終ビットの出力列の値に基づいて、次の3n個のビットの先頭ビット(例えばS(i))の出力列を指定する値を算出し、この値を示す初期位置情報Fini を出力位置制御部47に返す。出力位置制御部47は、初期位置情報Fini に基づいて、次に処理するべき3n個のビットを初期位置情報Fini に示された初期列を先頭とする複数の列に再分配する。このようにして、出力位置制御部47は、ビットを円滑かつ高速に再分配する。 Along with rate matching and bit collection, the output sequence of each bit calculated by the output position control unit 47 is different from the sequence number given by the parallel processing units 43A, 43B, and 43C. Therefore, the output position control unit 47 determines the position of the output sequence on the n columns from which the maximum 3n bits to be subjected to rate matching and bit correction processing next are redistributed. Of the last bit (for example, P2 (i + n-1)) is notified to the initial position calculation unit 44 of the last bit position information indicating the value of the output string on the nth column. Based on the value of the output sequence of the last bit indicated in the last bit position information, the initial position calculation unit 44 sets a value that specifies the output sequence of the first 3n bits (for example, S (i)). The initial position information F ini indicating this value is returned to the output position control unit 47. Based on the initial position information F ini , the output position control unit 47 redistributes 3n bits to be processed next to a plurality of columns starting from the initial column indicated in the initial position information F ini . In this way, the output position control unit 47 redistributes the bits smoothly and at high speed.

図27および図28は、図26の出力位置制御部47の具体的回路例を示すブロック図である。図27および図28に示すように、出力位置制御部47は、3n個の加算器52A0 〜52An-1 ,52B0 〜52Bn-1 ,52C0 〜52Cn-1 、3n個の出力位置算出部49A0 〜49An-1 ,49B0 〜49Bn-1 ,49C0 〜49Cn-1 、3n個の書き込み制御部(再分配制御部)50A0 〜50An-1 ,50B0 〜50Bn-1 ,50C0 〜50Cn-1 、およびビット格納出力部51を備える。 27 and 28 are block diagrams showing specific circuit examples of the output position control unit 47 of FIG. As shown in FIGS. 27 and 28, the output position control unit 47 includes 3n adders 52A 0 to 52A n−1 , 52B 0 to 52B n−1 , 52C 0 to 52C n−1 , and 3n outputs. Position calculation units 49A 0 to 49A n−1 , 49B 0 to 49B n−1 , 49C 0 to 49C n−1 , 3n write control units (redistribution control units) 50A 0 to 50A n−1 , 50B 0 to 50B n−1 , 50C 0 to 50C n−1 , and a bit storage output unit 51 are provided.

加算器52A0 〜52An-1 、出力位置算出部49A0 〜49An-1 および書き込み制御部50A0 〜50An-1 は、システマティックビットS(i),S(i+1),…,S(i+n−1)つまり列0〜n−1の各々のために設けられており、添字0〜n−1はそれぞれ列0〜n−1に対応する。加算器52B0 〜52Bn-1 、出力位置算出部49B0 〜49Bn-1 および書き込み制御部50B0 〜50Bn-1 は、パリティビットP1(i),P1(i+1),…,P1(i+n−1)つまり列0〜n−1の各々のために設けられており、添字0〜n−1はそれぞれ列0〜n−1に対応する。加算器52C0 〜52Cn-1 、出力位置算出部49C0 〜49Cn-1 および書き込み制御部50C0 〜50Cn-1 は、パリティビットP2(i),P2(i+1),…,P2(i+n−1)つまり列0〜n−1の各々のために設けられており、添字0〜n−1はそれぞれ列0〜n−1に対応する。 The adders 52A 0 to 52A n−1 , the output position calculation units 49A 0 to 49A n−1 and the write control units 50A 0 to 50A n−1 are systematic bits S (i), S (i + 1),. i + n-1), that is, for each of columns 0 to n-1, subscripts 0 to n-1 correspond to columns 0 to n-1, respectively. The adders 52B 0 to 52B n−1 , the output position calculation units 49B 0 to 49B n−1, and the write control units 50B 0 to 50B n−1 have parity bits P1 (i), P1 (i + 1),. i + n-1), that is, for each of columns 0 to n-1, subscripts 0 to n-1 correspond to columns 0 to n-1, respectively. The adders 52C 0 to 52C n−1 , the output position calculation units 49C 0 to 49C n−1, and the write control units 50C 0 to 50C n−1 have parity bits P2 (i), P2 (i + 1),. i + n-1), that is, for each of columns 0 to n-1, subscripts 0 to n-1 correspond to columns 0 to n-1, respectively.

図29および図30は、図27および図28と同様の図であり、第1インタリーブの列数(同時に作成される無線フレーム数)n=4で、パリティビットP1(i)とパリティビットP2(i+1)が削除される処理の流れを示す。以下、図27から図30を参照しながら、出力位置制御部47の具体的動作を説明する。   FIGS. 29 and 30 are the same as FIGS. 27 and 28, and the number of first interleaved columns (the number of radio frames created simultaneously) n = 4, and parity bit P1 (i) and parity bit P2 ( i + 1) shows the flow of processing to be deleted. The specific operation of the output position control unit 47 will be described below with reference to FIGS.

並列化処理部43Aから供給されるシステマティックビットS(i),S(i+1),…,S(i+n−1)は、書き込み制御部50A0 〜50An-1 に与えられる。並列化処理部43Bから供給されるパリティビットP1(i),P1(i+1),…,P1(i+n−1)は、書き込み制御部50B0 〜50Bn-1 に与えられる。並列化処理部43Cから供給されるパリティビットP2(i),P2(i+1),…,P2(i+n−1)は、書き込み制御部50C0 〜50Cn-1 に与えられる。 The systematic bits S (i), S (i + 1),..., S (i + n−1) supplied from the parallel processing unit 43A are given to the write control units 50A 0 to 50A n−1 . Parity bits P1 (i), P1 (i + 1),..., P1 (i + n−1) supplied from the parallel processing unit 43B are given to the write control units 50B 0 to 50B n−1 . Parity bits P2 (i), P2 (i + 1),..., P2 (i + n−1) supplied from the parallel processing unit 43C are given to the write control units 50C 0 to 50C n−1 .

加算器52A0 〜52An-1 ,52B0 〜52Bn-1 ,52C0〜52Cn-1には、初期位置算出部44から上述の初期位置情報Fini が供給される。ビットストリーム中の最初に出力位置制御部47に供給される行の3n個のビット(n個のシステマティックビットS、n個のパリティビットP1、n個のパリティビットP2)については、初期位置情報Fini は0であり、以降の行については、初期位置情報Fini は3n個のビットのうち先頭ビットの出力列(出力位置)を示す。実施の形態1と同様に、初期位置算出部44には、出力位置制御部47での直前のレートマッチング処理結果の最終ビットの列の位置を示す最終ビット位置情報が通知される。初期位置算出部44は、最終ビット位置情報に示された最終ビットの列の値+1を加算し、その加算結果を第1インタリーブの列数nで除算した余り(モジュロ演算結果)を初期位置情報Fini として格納する。例えば、第1インタリーブの列数n=4で直前行の最終ビット位置が列3であるとすると、(3+1)mod 4=0が初期位置情報Fini である。 The above-described initial position information F ini is supplied from the initial position calculation unit 44 to the adders 52A 0 to 52A n−1 , 52B 0 to 52B n−1 , 52C 0 to 52C n−1 . For 3n bits (n systematic bits S, n parity bits P1, n parity bits P2) of a row supplied to the output position control unit 47 first in the bitstream, initial position information F ini is 0, and for the subsequent rows, the initial position information F ini indicates the output sequence (output position) of the first bit among the 3n bits. As in the first embodiment, the initial position calculation unit 44 is notified of final bit position information indicating the position of the last bit string of the rate matching processing result immediately before in the output position control unit 47. The initial position calculation unit 44 adds the value of the last bit column +1 indicated in the last bit position information, and divides the result of the addition by the number n of the first interleave columns (modulo operation result). Store as F ini . For example, if the number of columns of the first interleave n = 4 and the last bit position of the previous row is column 3, (3 + 1) mod 4 = 0 is the initial position information F ini .

加算器52A0 〜52An-1 ,52B0 〜52Bn-1 ,52C0 〜52Cn-1 は、初期位置情報Fini に列番号値Cを加算する。加算結果は、各ビットの位置情報として出力位置算出部へロードされる。図中、F1(i),・・・,F1(i+n−1)がシステマティックビットS(i),・・・,S(i+n−1)の位置情報であり、出力位置算出部49A0 〜49An-1 にロードされる。F2(i),・・・,F2(i+n−1)がパリティビットP1(i),・・・,P1(i+n−1)の位置情報であり、出力位置算出部49B0 〜49Bn-1 へロードされる。F3(i),・・・,F3(i+n−1)がパリティビットP2(i),・・・,P2(i+n−1)の位置情報であり、出力位置算出部49C0 〜49Cn-1 へロードされる。 The adders 52A 0 to 52A n−1 , 52B 0 to 52B n−1 , 52C 0 to 52C n−1 add the column number value C to the initial position information F ini . The addition result is loaded to the output position calculation unit as position information of each bit. In the figure, F1 (i),..., F1 (i + n−1) is position information of systematic bits S (i),..., S (i + n−1), and output position calculation units 49A 0 to 49A. loaded into n-1 . F2 (i), ···, F2 (i + n-1) parity bits P1 (i), ···, P1 (i + n-1) is the position information of the output position calculation section 49B 0 ~49B n-1 Is loaded. F3 (i), ···, F3 (i + n-1) parity bits P2 (i), ···, P2 (i + n-1) is the position information of the output position calculation section 49C 0 ~49C n-1 Is loaded.

列番号値C(0),C(1),・・・,C(3n−1)は第1インタリーブの列数(=無線フレーム数)nにより以下の通り設定される。
・n=2の場合、システマティックビットSに関するC(0)=0、C(n−1)=C(1)=3、パリティビットP1に関するC(n)=C(2)=1、C(2n−1)=C(3)=4、パリティビットP2に関するC(2n)=C(4)=2、C(3n−1)=C(5)=5。
・n=4の場合、システマティックビットSに関するC(0)=0、C(1)=3、C(2)=6、C(n−1)=C(3)=9、パリティビットP1に関するC(n)=C(4)=1、C(5)=4、C(6)=7、C(2n−1)=C(7)=10、パリティビットP2に関するC(2n)=C(8)=2、C(9)=5、C(10)=8、C(3n−1)=C(11)=11。
・n=8の場合、システマティックビットSに関するC(0)=0、C(1)=3、C(2)=6、C(3)=9、C(4)=12、C(5)=15、C(6)=18、C(n−1)=C(7)=21、パリティビットP1に関するC(n)=C(8)=1,C(9)=4、C(10)=7、C(11)=10、C(12)=13、C(13)=16、C(14)=19、C(2n−1)=C(15)=22、パリティビットP2に関するC(2n)=C(16)=2、C(17)=5、C(18)=8、C(19)=11、C(20)=14、C(21)=17、C(22)=20、C(3n−1)=C(23)=23。
Column number values C (0), C (1),..., C (3n−1) are set as follows according to the number of columns of the first interleave (= number of radio frames) n.
When n = 2, C (0) = 0 for systematic bit S, C (n−1) = C (1) = 3, C (n) = C (2) = 1 for parity bit P1, C ( 2n-1) = C (3) = 4, C (2n) = C (4) = 2 for parity bit P2, and C (3n-1) = C (5) = 5.
When n = 4, C (0) = 0, C (1) = 3, C (2) = 6, C (n−1) = C (3) = 9 for the systematic bit S, and parity bit P1 C (n) = C (4) = 1, C (5) = 4, C (6) = 7, C (2n-1) = C (7) = 10, C (2n) = C for parity bit P2 (8) = 2, C (9) = 5, C (10) = 8, C (3n-1) = C (11) = 11.
When n = 8, C (0) = 0, C (1) = 3, C (2) = 6, C (3) = 9, C (4) = 12, C (5) for the systematic bit S = 15, C (6) = 18, C (n-1) = C (7) = 21, C (n) = C (8) = 1, C (9) = 4, C (10) for the parity bit P1 ) = 7, C (11) = 10, C (12) = 13, C (13) = 16, C (14) = 19, C (2n-1) = C (15) = 22, and parity bit P2 C (2n) = C (16) = 2, C (17) = 5, C (18) = 8, C (19) = 11, C (20) = 14, C (21) = 17, C (22 ) = 20, C (3n−1) = C (23) = 23.

このように列番号値Cは、削除されるべきビットがなく、かつ初期位置情報Fini が0の場合に、各ビットをシステマティックビットS、パリティビットP1、パリティビットP2の順序で並べた列の番号を示す。 In this way, the column number value C is a column in which each bit is arranged in the order of the systematic bit S, the parity bit P1, and the parity bit P2 when there is no bit to be deleted and the initial position information F ini is 0. Indicates the number.

出力位置算出部には、位置情報F1(i),・・・,F1(i+n−1),F2(i),・・・,F2(i+n−1),F3(i),・・・,F3(i+n−1)がそれぞれロードされる。さらに、各列に応じた累積削除ビット数Dp1,Dp2が出力位置算出部49A0 〜49An-1 ,49B0 〜49Bn-1 ,49C0 〜49Cn-1 にそれぞれロードされる(Dp1(i),Dp1(i+1),・・・,Dp1(i+n−1),Dp2(i),Dp2(i+1),・・・,Dp2(i+n−1))。出力位置算出部49A0 〜49An-1 ,49B0 〜49Bn-1 ,49C0 〜49Cn-1 の各々は、自身にロードされた位置情報Fと累積削除ビット数Dp1,Dp2に基づいて、以下のように出力位置を算出する。出力位置算出部49A0 〜49An-1 ,49B0 〜49Bn-1 ,49C0 〜49Cn-1 が算出する出力位置とは、レートマッチング処理による先行ビットおよび当該ビットの削除を考慮して当該ビットが分配されるべき出力列であり、後述するビット格納出力部51のビット格納部51Aに割り当てられた列0〜4n−1である。 The output position calculation unit includes position information F1 (i), ..., F1 (i + n-1), F2 (i), ..., F2 (i + n-1), F3 (i), ..., F3 (i + n-1) is loaded respectively. Furthermore, the cumulative deletion bit numbers D p1 and D p2 corresponding to each column are loaded into the output position calculation units 49A 0 to 49A n−1 , 49B 0 to 49B n−1 , 49C 0 to 49C n−1 , respectively ( Dp1 (i), Dp1 (i + 1), ..., Dp1 (i + n-1), Dp2 (i), Dp2 (i + 1), ..., Dp2 (i + n-1)). Each of the output position calculation units 49A 0 to 49A n−1 , 49B 0 to 49B n−1 , 49C 0 to 49C n−1 has the position information F loaded therein and the cumulative number of deleted bits D p1 and D p2 . Based on this, the output position is calculated as follows. The output positions calculated by the output position calculation units 49A 0 to 49A n−1 , 49B 0 to 49B n−1 , 49C 0 to 49C n−1 are considered in consideration of the preceding bit and rate deletion by rate matching processing. This is an output string to which the bits are to be distributed, and is a column 0 to 4n-1 assigned to the bit storage unit 51A of the bit storage output unit 51 described later.

システマティックビットS(i+0)の出力位置は、出力位置算出部49A0により、F1(i)として求められる。ビットS(i+1)の出力位置は、出力位置算出部49A1 により、F1(i+1)−Dp1(i)−Dp2(i)で求められる。ビットS(i+2)の出力位置は、出力位置算出部49A2 により、F1(i+2)−Dp1(i+1)−Dp2(i+1)で求められる。以下同様にして、ビットS(i+n−1)の出力位置は、出力位置算出部49An-1 により、F1(i+n−1)−Dp1(i+n−2)−Dp2(i+n−2)で求められる、 Output position of systematic bits S (i + 0) is the output position calculation unit 49A 0, is determined as F1 (i). The output position of the bit S (i + 1) is obtained by F1 (i + 1) −D p1 (i) −D p2 (i) by the output position calculation unit 49A 1 . Output position bits S (i + 2) is the output position calculation portion 49A 2, obtained by F1 (i + 2) -D p1 (i + 1) -D p2 (i + 1). Similarly, the output position of the bit S (i + n−1) is F1 (i + n−1) −D p1 (i + n−2) −D p2 (i + n−2) by the output position calculation unit 49A n−1. Desired,

パリティビットP1(i+0)の出力位置は、出力位置算出部49B0 により、F2(i)−Dp1(i)で求められる。ビットP1(i+1)の出力位置は、出力位置算出部49B1 により、F2(i+1)−Dp1(i+1)−Dp2(i)で求められる。ビットP1(i+2)の出力位置は、出力位置算出部49B2 により、F2(i+2)−Dp1(i+2)−Dp2(i+1)で求められる。以下同様にして、ビットP1(i+n−1)の出力位置は、出力位置算出部49Bn-1 により、F2(i+n−1)−Dp1(i+n−1)−Dp2(i+n−2)で求められる。 Output position of the parity bits P1 (i + 0) is the output position calculation section 49B 0, obtained in F2 (i) -D p1 (i ). Output position bits P1 (i + 1) is the output position calculation section 49B 1, obtained by F2 (i + 1) -D p1 (i + 1) -D p2 (i). Output position bits P1 (i + 2) is the output position calculation section 49B 2, obtained by the F2 (i + 2) -D p1 (i + 2) -D p2 (i + 1). Similarly, the output position of the bit P1 (i + n-1) is F2 (i + n-1) -Dp1 (i + n-1) -Dp2 (i + n-2) by the output position calculation unit 49Bn -1. Desired.

パリティビットP2(i+0)の出力位置は、出力位置算出部49C0 により、F3(i)−Dp1(i)−Dp2(i)で求められる。ビットP2(i+1)の出力位置は、出力位置算出部49C1 により、F3(i+1)−Dp1(i+1)−Dp2(i+1)で求められる。ビットP2(i+2)の出力位置出力位置は、出力位置算出部49C2 により、F3(i+2)−Dp1(i+2)−Dp2(i+2)で求められる。以下同様にして、ビットP2(i+n−1)の出力位置は、出力位置算出部49Cn-1 により、F3(i+n−1)−Dp1(i+n−1)−Dp2(i+n−1)で求められる。 Output position of the parity bit P2 (i + 0) is the output position calculating unit 49C 0, obtained by F3 (i) -D p1 (i ) -D p2 (i). Output position bits P2 (i + 1) is the output position calculation unit 49C 1, obtained by F3 (i + 1) -D p1 (i + 1) -D p2 (i + 1). Output position output position bits P2 (i + 2) is the output position calculation section 49C 2, obtained by F3 (i + 2) -D p1 (i + 2) -D p2 (i + 2). Similarly, the output position of the bit P2 (i + n−1) is F3 (i + n−1) −D p1 (i + n−1) −D p2 (i + n−1) by the output position calculation unit 49C n−1. Desired.

例として、図29および図30に示すように、n=4、初期位置情報Fini =0、Dp1(i)=1、Dp1(i+1)=1、Dp1(i+2)=1、Dp1(i+3)=1、Dp2(i)=0、Dp2(i+1)=1、Dp2(i+2)=1、Dp2(i+3)=1の場合には、出力位置算出部49A0 はビットS(i)の出力位置を0と算出する。同様の場合、出力位置算出部49A1 はビットS(i+1)の出力位置を2と算出し、出力位置算出部49A2 はビットS(i+2)の出力位置を4と算出し、出力位置算出部49A3 はビットS(i+3)の出力位置を7と算出する。 As an example, as shown in FIGS. 29 and 30, n = 4, initial position information F ini = 0, D p1 (i) = 1, D p1 (i + 1) = 1, D p1 (i + 2) = 1, D When p1 (i + 3) = 1, D p2 (i) = 0, D p2 (i + 1) = 1, D p2 (i + 2) = 1, D p2 (i + 3) = 1, the output position calculation unit 49A 0 The output position of bit S (i) is calculated as 0. In the same case, the output position calculation unit 49A 1 calculates the output position of the bit S (i + 1) as 2, the output position calculation unit 49A 2 calculates the output position of the bit S (i + 2) as 4, and the output position calculation unit 49A 3 calculates the output position bits S (i + 3) 7 and.

出力位置算出部49A,49B,49Cで各ビットの出力位置を算出後、書き込み制御部50A0 〜50An-1 ,50B0 〜50Bn-1 ,50C0 〜50Cn-1 は、ビットS(i),S(i+1),…,S(i+n−1),P1(i),P1(i+1),…,P1(i+n−1),P2(i),P2(i+1),…,P2(i+n−1)をビット格納出力部51に書き込む。ビット格納出力部51は、列0のビット〜列4n−1のビットの各々を格納するのための4n個のビット格納部51Aと、各ビット格納部51Aから格納されたビットを読み出すための4n個のデータ出力ユニット51Bを有する。各ビット格納部51Aには、列0〜4n−1のいずれかを指定するアドレスが割り当てられている。 After calculating the output position of each bit by the output position calculation units 49A, 49B, and 49C, the write control units 50A 0 to 50A n−1 , 50B 0 to 50B n−1 , 50C 0 to 50C n−1 are converted to the bit S ( i), S (i + 1), ..., S (i + n-1), P1 (i), P1 (i + 1), ..., P1 (i + n-1), P2 (i), P2 (i + 1), ..., P2 ( i + n−1) is written to the bit storage output unit 51. The bit storage output unit 51 includes 4n bit storage units 51A for storing each of the bits in column 0 to column 4n-1, and 4n for reading out the bits stored from each bit storage unit 51A. Data output units 51B. Each bit storage unit 51A is assigned an address that designates one of columns 0 to 4n-1.

ビット格納出力部51は、出力位置制御部47の出力ビット数が、同時に作成される各無線フレームのために設けられた記憶部480 〜48n-1 の個数nを超えるため、記憶装置48へのビット書き込みの整合を取るために設けられたバッファである。列n〜2n−1のビット格納部51Aはそれぞれ列0〜n−1に対応し、先行するビットで列0〜n−1のビット格納部51Aが埋まっているときに、列0〜n−1に再分配されるべきビットを格納する。列2n〜3n−1のビット格納部51Aもそれぞれ列0〜n−1に対応し、先行するビットで列0〜n−1のビット格納部51Aも列n〜2n−1のビット格納部51Aも埋まっているときに、列0〜n−1に再分配されるべきビットを格納する。列3n〜4n−1のビット格納部51Aもそれぞれ列0〜n−1に対応し、先行するビットで列0〜3n−1のビット格納部51Aが埋まっているときに、列0〜n−1に再分配されるべきビットを格納する。 Since the number of output bits of the output position control unit 47 exceeds the number n of the storage units 48 0 to 48 n−1 provided for each radio frame created at the same time, the bit storage / output unit 51 This is a buffer provided for matching the bit writing to the memory. The bit storage units 51A of the columns n to 2n-1 correspond to the columns 0 to n-1, respectively, and when the bit storage units 51A of the columns 0 to n-1 are filled with the preceding bits, the columns 0 to n- Store the bits to be redistributed to one. The bit storage units 51A of the columns 2n to 3n-1 also correspond to the columns 0 to n-1, respectively, and the bit storage units 51A of the columns 0 to n-1 in the preceding bits are also the bit storage units 51A of the columns n to 2n-1. Stores the bits to be redistributed in columns 0 to n−1. The bit storage units 51A of the columns 3n to 4n-1 also correspond to the columns 0 to n-1, respectively, and when the bit storage units 51A of the columns 0 to 3n-1 are filled with the preceding bits, the columns 0 to n- Store the bits to be redistributed to one.

書き込み制御部50A,50B,50Cは、ビットS,P1,P2を、出力位置算出部49A,49B,49Cで算出した出力列に対応するビット格納部51Aに分配して書き込む。書き込み制御部50A0 〜50An-1 ,50B0 〜50Bn-1 ,50C0 〜50Cn-1 にはDp1算出部45およびDp2算出部46から削除指示が通知されており、書き込み制御部50A0 〜50An-1 ,50B0 〜50Bn-1 ,50C0 〜50Cn-1 は、削除指示に従って削除されるべきビットをビット格納部51Aへ書き込みしない。 The write control units 50A, 50B, and 50C distribute and write the bits S, P1, and P2 to the bit storage unit 51A corresponding to the output sequence calculated by the output position calculation units 49A, 49B, and 49C. The write control units 50A 0 to 50A n−1 , 50B 0 to 50B n−1 , and 50C 0 to 50C n−1 are notified of deletion instructions from the D p1 calculation unit 45 and the D p2 calculation unit 46, and write control is performed. The units 50A 0 to 50A n−1 , 50B 0 to 50B n−1 , 50C 0 to 50C n−1 do not write the bits to be deleted according to the deletion instruction to the bit storage unit 51A.

例として、図29および図30に示すように、Dp1算出部45がパリティビットP1(i)の削除を指示し、Dp2算出部46がパリティビットP2(i+1)の削除を指示している場合には、出力位置算出部49B0 ,49C1 がパリティビットP1(i),P2(i+1)の出力位置をそれぞれ0,3と算出していても、パリティビットP1(i),P2(i+1)に対応する書き込み制御部50B0 ,50C1 はビットP1(i),P2(i+1)を列0,3のためのビット格納部51Aには書き込まずに廃棄する。他の書き込み制御部はビットを、対応する出力位置算出部の算出結果に従ってビット格納部51Aに書き込む。この場合、列0のためのビット格納部51Aには、出力位置算出部49A0 の算出結果に従って書き込み制御部50A0 によりシステマティックビットS(i)が書き込まれるので、書き込み制御部50B0 がパリティビットP1(i)を列0のためのビット格納部51Aに書き込まないことで、ビット格納出力部51内の列の整合性は保たれる。また、列3のためのビット格納部51Aには、出力位置算出部49B1 の算出結果に従って書き込み制御部50A1 によりパリティビットP1(i+1)が書き込まれるが、書き込み制御部50C1 がパリティビットP2(i+1)を列3のためのビット格納部51Aに書き込まないことで、不適切な衝突が避けられる。 As an example, as shown in FIGS. 29 and 30, the D p1 calculation unit 45 instructs the deletion of the parity bit P1 (i), and the D p2 calculation unit 46 instructs the deletion of the parity bit P2 (i + 1). In this case, even if the output position calculation units 49B 0 and 49C 1 calculate the output positions of the parity bits P1 (i) and P2 (i + 1) as 0 and 3, respectively, the parity bits P1 (i) and P2 (i + 1 The write control units 50B 0 and 50C 1 corresponding to) discard the bits P1 (i) and P2 (i + 1) without writing them in the bit storage unit 51A for the columns 0 and 3. The other write control unit writes the bit into the bit storage unit 51A according to the calculation result of the corresponding output position calculation unit. In this case, the bit storage unit 51A for row 0, since the systematic bits S (i) is written by the write control unit 50A 0 in accordance with the calculated result of the output position calculating unit 49A 0, the write control unit 50B 0 parity bits By not writing P1 (i) in the bit storage unit 51A for the column 0, the consistency of the column in the bit storage output unit 51 is maintained. Also, the bit storage unit 51A for row 3, but the parity bits P1 (i + 1) is written by the write control unit 50A 1 in accordance with the calculated result of the output position calculating section 49B 1, the write control unit 50C 1 parity bit P2 By not writing (i + 1) into the bit storage 51A for column 3, inappropriate collision can be avoided.

ビット格納出力部51は、ビット格納部51Aの内容に従って、上述した最終ビット位置情報を初期位置算出部44に通知する。例えば、図29および図30の場合には、列9を示す最終ビット位置情報をビット格納出力部51が初期位置算出部44に通知し、初期位置算出部44は次の初期位置情報Fini として(9+1)mod 4=2を算出する。なお、初期位置算出部44の内容は、一つのTTIの満了のたびにリセットされ、その後の最初のビットの演算のための初期位置情報Fini はゼロになる。 The bit storage output unit 51 notifies the initial position calculation unit 44 of the final bit position information described above according to the contents of the bit storage unit 51A. For example, in the case of FIGS. 29 and 30, the bit storage output unit 51 notifies the initial position calculation unit 44 of the final bit position information indicating the column 9, and the initial position calculation unit 44 sets the next initial position information F ini as the next initial position information F ini. (9 + 1) mod 4 = 2 is calculated. The contents of the initial position calculation unit 44 are reset every time one TTI expires, and the initial position information F ini for the calculation of the first bit thereafter becomes zero.

ビット格納出力部51のビット格納部51Aへビット書き込み終了後、データ出力ユニット51Bは、記憶装置48内の同時に作成される無線フレーム数ごとに設けられた記憶部480 〜48n-1 にビット書き込みを実行する。まず、ビット格納部51Aへのビット書き込み終了後の最初のクロックパルスがビット格納出力部51に供給されると、列0〜列n−1のためのデータ出力ユニット51Bが対応するビット格納部51Aからn個のビットを読み出し、記憶部480 〜48n-1 に書き込む。このとき、第1インタリーブによる列の入れ替えをして、記憶部480 〜48n-1 に書き込む。例えば、第1インタリーブの列数(=同時に作成される無線フレーム数)n=4の場合は、記憶装置48のフレーム0の記憶部480にはビット格納部51Aの列0のビット、フレーム1の記憶部481 には列2のビット、フレーム2の記憶部482 には列1のビット、フレーム3の記憶部483 には列3のビットを書き込み、この例では列1,2が交換される。ビットの読み出し後は、ビット格納部51Aの内容は消去される。 After completing the bit writing to the bit storage unit 51A of the bit storage output unit 51, the data output unit 51B stores bits in the storage units 48 0 to 48 n−1 provided for each number of radio frames created simultaneously in the storage device 48. Perform writing. First, when the first clock pulse after completion of bit writing to the bit storage unit 51A is supplied to the bit storage output unit 51, the data output unit 51B for columns 0 to n-1 corresponds to the corresponding bit storage unit 51A. N bits are read out and written into the storage units 48 0 to 48 n−1 . At this time, the columns are exchanged by the first interleave and written in the storage units 48 0 to 48 n−1 . For example, if the first number of columns interleaved n = 4 (= radio frame number is created at the same time), bits of the column 0 of bit storage unit 51A in the storage unit 48 0 of frame 0 of the storage device 48, frame 1 bits of the column 2 in the storage unit 48 1 of the bits of the column 1 in the storage unit 48 2 of the frame 2, to write the bits of the column 3 in the storage unit 48 3 of the frame 3, in this example columns 1 and 2 Exchanged. After the bit is read, the contents of the bit storage unit 51A are erased.

また、次のクロックパルスがビット格納出力部51に供給されると、列n〜2n−1のn個のビットがビット格納部51Aから記憶部480 〜48n-1 に転送される。列の入れ替えに関しては、例えば図示のように第1インタリーブの列数n=4の場合は、記憶装置48のフレーム0の記憶部480 にはビット格納部51Aの列4のビット、フレーム1の記憶部481 には列6のビット、フレーム2の記憶部482 には列5のビット、フレーム3の記憶部483 には列7のビットを書き込む。この例でも列5,6に対応する列1,2が交換される。更に次のクロックパルスがビット格納出力部51に供給されると、列2n〜3n−1のn個のビットがビット格納部51Aから記憶部480 〜48n-1 に転送される。更に次のクロックパルスがビット格納出力部51に供給されると、列3n〜4n−1のn個のビットがビット格納部51Aから記憶部480 〜48n-1 に転送される。 When the next clock pulse is supplied to the bit storage output unit 51, n bits in the columns n to 2n-1 are transferred from the bit storage unit 51A to the storage units 48 0 to 48 n-1 . For the replacement of the column, for example, in the case of the first interleave sequence number n = 4 in as shown, the storage unit 48 0 of frame 0 of the storage device 48 of the bit storage unit 51A column 4 bits of the frame 1 bits of the column 6 in the storage unit 48 1, bits of the column 5 in the storage unit 48 2 of the frame 2, the storage unit 48 3 of the frame 3 writes the bits of the column 7. In this example, columns 1 and 2 corresponding to columns 5 and 6 are exchanged. When the next clock pulse is supplied to the bit storage output unit 51, n bits in the columns 2n to 3n -1 are transferred from the bit storage unit 51A to the storage units 48 0 to 48 n-1 . When the next clock pulse is supplied to the bit storage output unit 51, n bits in the columns 3n to 4n -1 are transferred from the bit storage unit 51A to the storage units 48 0 to 48 n-1 .

図31は、図29および図30に示された12ビット中のパリティビットP1(i),P2(i+1)が削除される処理の動作タイミング図である。図中の時刻Tはクロックパルスの立ち上がり時刻を示す。時刻T0〜T1においてDp1算出部45およびDp2算出部46がn個のパリティビットP1(i),・・・,(i+3)およびn個のP2(i),・・・,(i+3)の全てに関して累積削除ビット数Dp1(i),・・・,Dp1(i+3),Dp2(i),・・・,Dp2(i+3)を算出し、当該ビットを削除すべきか否かを判断する。また、時刻T2〜T3でDp1算出部45およびDp2算出部46は、パリティビットP2(i)以外のパリティビットに関して累積削除ビット数Dp1(i),・・・,Dp1(i+3),Dp2(i+1),,・・・,Dp2(i+3)を算出し、当該ビットを削除すべきか否かを判断する。パリティビットP2(i)だけ処理時刻が早く終わるのは、パリティビットP2(i)にとっての累積削除ビット数Dp2(i)が0であり、他のパリティビットにとっての累積削除ビット数Dp1(i),・・・,Dp1(i+3),Dp2(i+1),・・・,Dp2(i+3)よりも小さいために処理サイクルが短いからである(図29、図30および図7参照)。 FIG. 31 is an operation timing chart of processing in which parity bits P1 (i) and P2 (i + 1) in 12 bits shown in FIGS. 29 and 30 are deleted. Time T in the figure indicates the rising time of the clock pulse. At time T0 to T1, the D p1 calculating unit 45 and the D p2 calculating unit 46 have n parity bits P1 (i),..., (I + 3) and n P2 (i),. cumulative remove bits D p1 (i) for all, ···, D p1 (i + 3), D p2 (i), is calculated · · ·, D p2 the (i + 3), whether to remove the bit Judging. In addition, at time T2 to T3, the D p1 calculating unit 45 and the D p2 calculating unit 46 perform cumulative deletion bit numbers D p1 (i),..., D p1 (i + 3) with respect to parity bits other than the parity bit P2 (i). , D p2 (i + 1),..., D p2 (i + 3) are calculated, and it is determined whether or not the bit should be deleted. The reason why the processing time ends earlier by the parity bit P2 (i) is that the cumulative deletion bit number D p2 (i) for the parity bit P2 (i) is 0, and the cumulative deletion bit number D p1 ( This is because the processing cycle is short because it is smaller than i),..., D p1 (i + 3), D p2 (i + 1),..., D p2 (i + 3) (see FIGS. 29, 30 and 7). ).

2n個の累積削除ビット数Dp1(i),・・・,Dp1(i+3),Dp2(i),・・・,Dp2(i+3)の全ての算出終了後、時刻T2〜T3で出力位置算出部49A,49B,49Cは、3n個のビットS(i),・・・,S(i+3),P1(i),・・・,P1(i+3),P1(i),・・・,P2(i+3)の出力位置を算出し、出力位置算出部49A,49B,49Cの算出結果とDp1算出部45、Dp2算出部46からの削除指示に従って書き込み制御部50A,50B,50Cはビット格納出力部51のビット格納部51Aへのビットの書き込みまたは廃棄をする(正確にはパリティビットP1(i),P2(i+1)を廃棄し、他のビットをビット格納部51Aに書き込む)。 2n pieces of cumulative delete bits D p1 (i), ···, D p1 (i + 3), D p2 (i), ···, D p2 (i + 3) After all calculate completion of, at the time T2~T3 The output position calculation units 49A, 49B, and 49C have 3n bits S (i), ..., S (i + 3), P1 (i), ..., P1 (i + 3), P1 (i), ... .., P2 (i + 3) is calculated, and the write control units 50A, 50B, 50C are calculated according to the calculation results of the output position calculation units 49A, 49B, 49C and the deletion instructions from the Dp1 calculation unit 45, Dp2 calculation unit 46. Writes or discards bits in the bit storage unit 51A of the bit storage output unit 51 (more precisely, discards the parity bits P1 (i) and P2 (i + 1) and writes the other bits in the bit storage unit 51A). .

このようにして、3n個のビットS,P1,P2の全てのレートマッチング処理結果がビット格納部51Aに格納された後、時刻T3〜T4で、ビット格納出力部51では、列0〜列n−1のためのデータ出力ユニット51Bがビット格納部51Aから列0〜列n−1のビットを読み出して、同時に作成される無線フレーム数ごとに設けた記憶部480 〜48n-1 に書き込む(出力する)。同様にして、ビット格納出力部51の列n〜2n−1のためのビット格納部51Aのいずれかにビットが格納されていれば、時刻T4〜T5で、列n〜列2n−1のためのデータ出力ユニット51Bがビット格納部51Aから列n〜列2n−1のビットを読み出して、記憶部480 〜48n-1 に書き込む。ビット格納出力部51の列2n〜3n−1のためのビット格納部51Aのいずれかにビットが格納されていれば、時刻T5〜T6で、列2n〜列3n−1のためのデータ出力ユニット51Bがビット格納部51Aから列2n〜列3n−1のビットを読み出して、記憶部480 〜48n-1 に書き込む。さらにビット格納出力部51の列3n〜4n−1のためのビット格納部51Aのいずれかにビットが格納されていれば、時刻T5〜T6で、列3n〜4n−1のためのデータ出力ユニット51Bがビット格納部51Aから列3n〜4n−1のビットを読み出して、記憶部480 〜48n-1 に書き込む。 In this way, after all rate matching processing results of 3n bits S, P1, and P2 are stored in the bit storage unit 51A, at time T3 to T4, in the bit storage output unit 51, column 0 to column n -1 data output unit 51B reads the bits of column 0 to column n-1 from bit storage unit 51A and writes them to storage units 48 0 to 48 n-1 provided for each number of radio frames created simultaneously. (Output). Similarly, if a bit is stored in any of the bit storage units 51A for the columns n to 2n-1 of the bit storage output unit 51, the column n to the column 2n-1 at time T4 to T5. The data output unit 51B reads the bits in the columns n to 2n-1 from the bit storage unit 51A and writes them in the storage units 48 0 to 48 n-1 . If bits are stored in any of the bit storage units 51A for the columns 2n to 3n-1 of the bit storage output unit 51, at time T5 to T6, the data output unit for the columns 2n to 3n-1 51B reads the bits in the columns 2n to 3n-1 from the bit storage unit 51A and writes them in the storage units 48 0 to 48 n-1 . Further, if bits are stored in any of the bit storage units 51A for the columns 3n to 4n-1 of the bit storage output unit 51, at time T5 to T6, the data output unit for the columns 3n to 4n-1 51B reads the bits in the columns 3n to 4n-1 from the bit storage unit 51A and writes them to the storage units 48 0 to 48 n-1 .

以上のように、この実施の形態3によれば、ビット分割部42がターボ符号化されたデータビットストリームをシステマティックビットSと第1のパリティビットP1と第2のパリティビットP2に分割する。第1の並列化処理部43AはシステマティックビットSのストリームから、同時に作成される複数の無線フレームの数と同数のシステマティックビットを取り出し、これらのシステマティックビットを無線フレームの数と同数の複数の列に規則的に分配する。第2の並列化処理部43Bは第1のパリティビットP1のストリームから、同時に作成される複数の無線フレームの数と同数の第1のパリティビットを取り出し、これらの第1のパリティビットを無線フレームの数と同数の複数の列に規則的に分配する。第3の並列化処理部43Cは第2のパリティビットP2のストリームから、同時に作成される複数の無線フレームの数と同数の第2のパリティビットを取り出し、これらの第2のパリティビットを無線フレームの数と同数の複数の列に規則的に分配する。また、パラメータ算出部30は、レートマッチングの基本パラメータeini ,eplus,eminus を算出する。さらに、Dp1算出部45は、第1の削除判定部として機能し、列に分配された各第1のパリティビットP1に付与された第1のパリティビットのストリーム中のビット番号mと基本パラメータeini ,eplus,eminus に基づいて、列に分配された複数の第1のパリティビットのうち削除されるべきビットを判定する。Dp2算出部46は、第2の削除判定部として機能し、列に分配された各第2のパリティビットP2に付与された第2のパリティビットのストリーム中のビット番号mと基本パラメータeini ,eplus,eminus に基づいて、列に分配された複数の第2のパリティビットのうち削除されるべきビットを判定する。さらにまた、Dp1算出部45は、列に分配された各第1のパリティビットPについて、第1のパリティビットのストリーム中の削除される先行ビットと当該ビットの合計個数である第1の累積削除ビット数Dp1を算出する。Dp2算出部46は、列に分配された各第2のパリティビットについて、第2のパリティビットのストリーム中の削除される先行ビットと当該ビットの合計個数である第2の累積削除ビット数Dp2を算出する。出力位置制御部47は、レートマッチング・第1インタリーブ部として機能し、第2の並列化処理部43Bおよび第3の並列化処理部43Cにより列に分配された複数の第1のパリティビットP1および複数の第2のパリティビットP2のうち、Dp1算出部45およびDp2算出部46で削除すべきと判定されたビットを削除するとともに、第1の累積削除ビット数Dp1および第2の累積削除ビット数Dp2に基づいて複数のシステマティックビットS、第1のパリティビットP1および第2のパリティビットP2をあらためて複数の列に再分配し、再分配で得られた複数の列のうち少なくとも二列のビットを互いに入れ替えて、再分配および入れ替えがされた列のビットをそれぞれ複数の無線フレームに格納する。このように、累積反復/削除ビット数Dに基づいて複数のビットをあらためて複数の列に再分配することにより、高速にビットの再分配(ビットコレクションを含むレートマッチング)を完了することができ、さらに再分配で得られた複数の列のうち少なくとも二列のビットを入れ替えるだけで第1インタリーブが完了する。従って、レートマッチングで得られたビット自体に基づいてビットの再分配および第1インタリーブをする場合に比べて、高速にビットの再分配および第1インタリーブを完了することが可能である。また、並列化処理部で複数の列に分配すなわち並列化されたビットに対してレートマッチングを行い、列の入れ替えで第1インタリーブを行うので、第1インタリーブ結果は複数の無線フレームに対応しており、無線フレーム分割をあらためて実行する必要がない。以上より、W−CDMAに準拠しながらも、さらに符号化処理を高速化することが可能である。 As described above, according to the third embodiment, the bit division unit 42 divides the turbo-encoded data bit stream into the systematic bit S, the first parity bit P1, and the second parity bit P2. The first parallel processing unit 43A extracts, from the stream of systematic bits S, the same number of systematic bits as the number of a plurality of radio frames created at the same time, and puts these systematic bits into a plurality of columns of the same number as the number of radio frames. Distribute regularly. The second parallel processing unit 43B extracts from the stream of the first parity bits P1 the same number of first parity bits as the number of the plurality of radio frames created at the same time, and extracts these first parity bits as radio frames. Distribute regularly to as many columns as there are. The third parallel processing unit 43C extracts from the stream of the second parity bits P2 the same number of second parity bits as the number of the plurality of radio frames created simultaneously, and extracts these second parity bits as radio frames. Distribute regularly to as many columns as there are. The parameter calculation unit 30 calculates rate matching basic parameters e ini , e plus , and e minus . Further, the D p1 calculation unit 45 functions as a first deletion determination unit, and a bit number m and a basic parameter in the stream of the first parity bits assigned to each first parity bit P1 distributed to the column. Based on e ini , e plus , and e minus , a bit to be deleted is determined among a plurality of first parity bits distributed to the column. The D p2 calculation unit 46 functions as a second deletion determination unit, and the bit number m and the basic parameter e ini in the stream of the second parity bits assigned to each second parity bit P2 distributed to the column. , E plus , e minus , a bit to be deleted is determined among a plurality of second parity bits distributed to the column. Furthermore, the D p1 calculation unit 45, for each first parity bit P distributed to the column, a first accumulation that is the total number of the preceding bits to be deleted and the corresponding bits in the stream of the first parity bits. The number of deleted bits Dp1 is calculated. For each second parity bit distributed to the column, the D p2 calculation unit 46 calculates the second cumulative deletion bit number D that is the total number of the preceding bits to be deleted and the corresponding bits in the second parity bit stream. p2 is calculated. The output position control unit 47 functions as a rate matching / first interleaving unit, and includes a plurality of first parity bits P1 distributed to the columns by the second parallel processing unit 43B and the third parallel processing unit 43C. Of the plurality of second parity bits P2, the bits determined to be deleted by the D p1 calculating unit 45 and the D p2 calculating unit 46 are deleted, and the first accumulated deleted bit number D p1 and the second accumulated bit The plurality of systematic bits S, the first parity bit P1, and the second parity bit P2 are newly redistributed into a plurality of columns based on the number of deleted bits Dp2 , and at least two of the plurality of columns obtained by the redistribution The bits of the columns are exchanged with each other, and the bits of the columns that have been redistributed and exchanged are stored in a plurality of radio frames, respectively. Thus, by redistributing a plurality of bits to a plurality of columns based on the cumulative repetition / deletion bit number D, it is possible to complete bit redistribution (rate matching including bit collection) at high speed. Furthermore, the first interleaving is completed only by exchanging at least two bits of the plurality of columns obtained by the redistribution. Therefore, it is possible to complete the bit redistribution and the first interleaving at a higher speed than in the case of the bit redistribution and the first interleaving based on the bit itself obtained by the rate matching. In addition, since the parallel processing unit performs rate matching on the bits distributed or parallelized to a plurality of columns and performs the first interleaving by exchanging the columns, the first interleaving result corresponds to a plurality of radio frames. Therefore, it is not necessary to perform the radio frame division again. As described above, it is possible to further speed up the encoding process while complying with W-CDMA.

W−CDMAによる無線通信システムの下りデータ送信時の符号化処理の概要を示す図である。It is a figure which shows the outline | summary of the encoding process at the time of the downlink data transmission of the radio | wireless communications system by W-CDMA. W−CDMAによる無線通信システムの上りデータ受信時の復号化処理の概要を示す図である。It is a figure which shows the outline | summary of the decoding process at the time of the uplink data reception of the radio | wireless communications system by W-CDMA. この発明の実施の形態1に係る無線通信装置の符号化処理装置を示す機能ブロック図である。It is a functional block diagram which shows the encoding processing apparatus of the radio | wireless communication apparatus which concerns on Embodiment 1 of this invention. 3GPPの仕様書に規定されたレートマッチングパターン決定アルゴリズムを示す図である。It is a figure which shows the rate matching pattern determination algorithm prescribed | regulated to the 3GPP specification. 図3の符号化処理装置の動作としてレートマッチング処理でビットが削除(パンクチャ)される処理の例を示す図である。It is a figure which shows the example of the process by which a bit is deleted (puncture) by rate matching process as operation | movement of the encoding processing apparatus of FIG. 図3の符号化処理装置の動作としてレートマッチング処理でビットが反復(リピティション)される処理の例を示す図である。It is a figure which shows the example of the process in which a bit is repeated (repetition) by rate matching process as operation | movement of the encoding processing apparatus of FIG. 図3の符号化処理装置のD算出部が実行する変数算出・反復/削除決定アルゴリズムを示すフローチャートである。4 is a flowchart illustrating a variable calculation / iteration / deletion determination algorithm executed by a D calculation unit of the encoding processing apparatus in FIG. 3. 図3の符号化処理装置のD算出部の具体的構成例を示すブロック図である。It is a block diagram which shows the specific structural example of D calculation part of the encoding processing apparatus of FIG. 図3の符号化処理装置の出力位置制御部の具体的構成例を示すブロック図の左半分である。It is the left half of the block diagram which shows the specific structural example of the output position control part of the encoding processing apparatus of FIG. 出力位置制御部の具体的構成例を示すブロック図を図9と協働して構成する当該ブロック図の右半分である。It is the right half of the said block diagram which comprises the block diagram which shows the specific structural example of an output position control part in cooperation with FIG. レートマッチング処理でビットが削除される場合の図9および図10の出力位置制御部の各要素の処理例を示す図の左半分である。It is the left half of the figure which shows the process example of each element of the output position control part of FIG. 9 and FIG. 10 when a bit is deleted by rate matching processing. 図9および図10の出力位置制御部の各要素の処理例を示す図を図11と協働して構成する当該図の右半分である。FIG. 11 is a right half of the diagram configured in cooperation with FIG. 11 to illustrate a processing example of each element of the output position control unit of FIG. 9 and FIG. 10. レートマッチング処理でビットが反復される場合の図9および図10の出力位置制御部の各要素の処理例を示す図の左半分である。FIG. 11 is a left half of a diagram illustrating a processing example of each element of the output position control unit of FIGS. 9 and 10 when bits are repeated in the rate matching process. 図9および図10の出力位置制御部の各要素の処理例を示す図を図13と協働して構成する当該図の右半分である。FIG. 14 is a right half of the figure configured in cooperation with FIG. 13 to illustrate a processing example of each element of the output position control unit of FIG. 9 and FIG. 10. 図11および図12に示された処理の動作タイミング図である。FIG. 13 is an operation timing chart of the processing shown in FIGS. 11 and 12. 図13および図14に示された処理の動作タイミング図である。FIG. 15 is an operation timing chart of the processing shown in FIGS. 13 and 14. この発明の実施の形態2に係る無線通信装置の復号化処理装置を示す機能ブロック図である。It is a functional block diagram which shows the decoding processing apparatus of the radio | wireless communication apparatus which concerns on Embodiment 2 of this invention. 図17の符号化処理装置の動作としてレートマッチング処理でビットが削除される処理の例の最初の段階を示す図である。It is a figure which shows the first step of the example of the process in which a bit is deleted by rate matching process as operation | movement of the encoding processing apparatus of FIG. 図18の次の段階を示す図である。It is a figure which shows the next stage of FIG. 図19の次の段階を示す図である。It is a figure which shows the next step of FIG. 図20の次の段階を示す図である。It is a figure which shows the next stage of FIG. 図17の符号化処理装置の動作としてレートマッチング処理でビットが反復される処理の例の最初の段階を示す図である。It is a figure which shows the first step of the example of the process in which a bit is repeated by rate matching process as operation | movement of the encoding processing apparatus of FIG. 図22の次の段階を示す図である。It is a figure which shows the next step of FIG. 図23の次の段階を示す図である。It is a figure which shows the next step of FIG. 図24の次の段階を示す図である。It is a figure which shows the next stage of FIG. この発明の実施の形態3に係る無線通信装置の符号化処理装置を示す機能ブロック図である。It is a functional block diagram which shows the encoding processing apparatus of the radio | wireless communication apparatus which concerns on Embodiment 3 of this invention. 図26の符号化処理装置の出力位置制御部の具体的構成例を示すブロック図の左半分である。FIG. 27 is a left half of a block diagram illustrating a specific configuration example of an output position control unit of the encoding processing device of FIG. 26. 出力位置制御部の具体的構成例を示すブロック図を図27と協働して構成する当該ブロック図の右半分である。It is the right half of the said block diagram which comprises the block diagram which shows the specific structural example of an output position control part in cooperation with FIG. 図27および図28の出力位置制御部の各要素の処理例を示す図の左半分である。It is the left half of the figure which shows the process example of each element of the output position control part of FIG. 27 and FIG. 図27および図28の出力位置制御部の各要素の処理例を示す図を図29と協働して構成する当該図の右半分である。FIG. 29 is a right half of the figure configured in cooperation with FIG. 29 to illustrate a processing example of each element of the output position control unit of FIGS. 27 and 28. 図29および図30に示された処理の動作タイミング図である。FIG. 31 is an operation timing chart of the processing shown in FIGS. 29 and 30.

符号の説明Explanation of symbols

30,130 パラメータ算出部、31,43A,43B,43C,131 並列化処理部、32,132 D(=eplus数)算出部(反復/削除判定部)、33,47 出力位置制御部(レートマッチング・第1インタリーブ部)、33A0 〜33n-1 ,52A0 〜52An-1 ,52B0 〜52Bn-1 ,52C0 〜52Cn-1 加算器、34,44,134 初期位置算出部、35,48,135 記憶装置、350 〜35n-1 ,480 〜48n-1 ,1350 〜135n-1 記憶部、360 〜36n-1 ,49A0 〜49An-1 ,49B0 〜49Bn-1 ,49C0 〜49Cn-1 出力位置算出部、370 〜37n-1 ,50A0 〜50An-1 ,50B0 〜50Bn-1 ,50C0 〜50Cn-1 書き込み制御部(再分配制御部)、38,51 ビット格納出力部、38A,51A ビット格納部、38B,51B データ出力ユニット、390 〜39n-1 D(=eplus数)算出ユニット、400 〜40n-1 反復/削除判定ユニット、41 最終ビットのD(=eplus数)格納部、42 ビット分割部、45 Dp1(=eplus数)算出部(第1の削除判定部)、46 Dp2(=eplus数)算出部(第2の削除判定部)、133 出力位置制御部(レートデマッチング部)、150 列データ読み出し順序制御部(第1デインタリーブ・無線フレーム結合部)。 30, 130 Parameter calculation unit 31, 43A, 43B, 43C, 131 Parallel processing unit, 32, 132 D (= e plus number) calculation unit (repetition / deletion determination unit), 33, 47 Output position control unit (rate matching the first interleave unit), 33A 0 ~33 n-1 , 52A 0 ~52A n-1, 52B 0 ~52B n-1, 52C 0 ~52C n-1 adders, calculated 34,44,134 initial position 35, 48, 135 storage device, 35 0 to 35 n-1 , 48 0 to 48 n-1 , 135 0 to 135 n-1 storage unit, 36 0 to 36 n-1 , 49A 0 to 49A n- 1 , 49B 0 to 49B n-1 , 49C 0 to 49C n-1 output position calculation unit, 37 0 to 37 n-1 , 50A 0 to 50A n-1 , 50B 0 to 50B n-1 , 50C 0 to 50C n-1 write controller (redistribution control unit), 38,51-bit storage output unit, 38A, 51A Tsu DOO storage unit, 38B, 51B data output unit, 39 0 ~39 n-1 D (= e plus number) calculating unit, 40 0 ~40 n-1 iteration / deletion determining unit 41 of the last bit D (= e plus number) storage unit, 42-bit dividing unit, 45 D p1 (= e plus number) calculation unit (first deletion determination unit), 46 D p2 (= e plus number) calculation unit (second deletion determination unit) 133 Output position control unit (rate dematching unit), 150 column data reading order control unit (first deinterleave / radio frame combining unit).

Claims (9)

送信対象のデータビットストリームから、同時に作成される複数の無線フレームの数と同数のビットを取り出し、これらのビットを前記無線フレームの数と同数の複数の列に規則的に分配する並列化処理部と、
レートマッチングの基本パラメータを算出するパラメータ算出部と、
前記列に分配された各ビットに付与された前記データビットストリーム中のビット番号と前記基本パラメータに基づいて、前記列に分配された前記複数のビットのうち反復または削除されるべきビットを判定する反復/削除判定部と、
前記列に分配された各ビットについて、前記データビットストリーム中の反復または削除される先行ビットと当該ビットの合計個数である累積反復/削除ビット数を算出する累積反復/削除ビット数算出部と、
前記並列化処理部により前記列に分配された前記複数のビットのうち、前記反復/削除判定部で反復または削除すべきと判定されたビットを反復または削除するとともに、前記累積反復/削除ビット数に基づいて複数のビットをあらためて複数の列に再分配し、前記再分配で得られた複数の列のうち少なくとも二列のビットを互いに入れ替えて、前記再分配および前記入れ替えがされた列のビットをそれぞれ前記複数の無線フレームに格納するレートマッチング・第1インタリーブ部を備えた無線通信装置の符号化処理装置。
A parallel processing unit that extracts the same number of bits as the number of a plurality of radio frames created simultaneously from the data bit stream to be transmitted, and regularly distributes these bits to a plurality of columns of the same number as the number of the radio frames. When,
A parameter calculator for calculating basic parameters of rate matching;
Based on a bit number in the data bit stream assigned to each bit distributed to the column and the basic parameter, a bit to be repeated or deleted among the plurality of bits distributed to the column is determined. An iteration / deletion determination unit;
For each bit distributed to the column, a cumulative repetition / deletion bit number calculation unit for calculating a cumulative repetition / deletion bit number that is a total number of the preceding bits to be repeated or deleted in the data bitstream and the bit;
Of the plurality of bits distributed to the column by the parallel processing unit, the bit determined to be repeated or deleted by the repetition / deletion determination unit is repeated or deleted, and the cumulative number of repeated / deleted bits And redistributing a plurality of bits to a plurality of columns based on the above, replacing at least two bits of the plurality of columns obtained by the redistribution with each other, and redistributing and exchanging the bits of the columns Each of the plurality of radio frames stores a rate matching / first interleaving unit.
反復/削除判定部は、並列化処理部により列に分配された複数のビットの各々を反復または削除すべきか否かを並列に判定するための複数の反復/削除判定ユニットを備え、
累積反復/削除ビット数算出部は、並列化処理部により列に分配された複数のビットの各々について累積反復/削除ビット数を並列に算出するための累積反復/削除ビット数算出ユニットを備え、
レートマッチング・第1インタリーブ部は、並列化処理部により列に分配された複数のビットの各々について、対応する前記累積反復/削除ビット数に基づいて、再分配すべき列を算出する複数の出力位置算出部と、
並列化処理部により前記列に分配された前記複数のビットの各々を、対応する反復/削除判定ユニットで反復または削除すべきであると判定された場合に反復または削除するとともに、前記出力位置算出部で算出された列に再分配する複数の再分配制御部を備えたことを特徴とする請求項1記載の無線通信装置の符号化処理装置。
The repetition / deletion determination unit includes a plurality of repetition / deletion determination units for determining in parallel whether or not each of the plurality of bits distributed to the columns by the parallel processing unit should be repeated or deleted.
The cumulative repetition / deletion bit number calculation unit includes a cumulative repetition / deletion bit number calculation unit for calculating the cumulative repetition / deletion bit number in parallel for each of the plurality of bits distributed to the columns by the parallel processing unit,
The rate matching / first interleaving unit calculates, for each of a plurality of bits distributed to the columns by the parallel processing unit, a plurality of outputs for calculating a column to be redistributed based on the corresponding cumulative repetition / deletion bit number A position calculation unit;
Each of the plurality of bits distributed to the column by the parallel processing unit is repeated or deleted when it is determined that the corresponding repetition / deletion determination unit should repeat or delete, and the output position calculation The encoding processing apparatus for a wireless communication apparatus according to claim 1, further comprising a plurality of redistribution control units that redistribute to the columns calculated by the unit.
レートマッチング・第1インタリーブ部は、列の数より多い複数のビット格納部と、各ビット格納部からビットを読み出して無線フレームに格納するデータ出力ユニットを備えており、
出力位置算出部の各々は、各ビットを格納すべき前記ビット格納部の位置を算出し、
再分配制御部の各々は、前記出力位置算出部で算出された位置の前記ビット格納部に各ビットを格納し、
前記データ出力ユニットは、一度に前記無線フレームの数と同数のビットを前記ビット格納部から読み出して、これらのビットのうち少なくとも二つのビットを入れ替えて前記複数の無線フレームに格納することを特徴とする請求項2記載の無線通信装置の符号化処理装置。
The rate matching / first interleaving unit includes a plurality of bit storage units larger than the number of columns, and a data output unit that reads bits from each bit storage unit and stores them in a radio frame,
Each of the output position calculation unit calculates the position of the bit storage unit to store each bit,
Each of the redistribution control units stores each bit in the bit storage unit at the position calculated by the output position calculation unit,
The data output unit reads the same number of bits as the number of the radio frames at a time from the bit storage unit, exchanges at least two of these bits, and stores them in the plurality of radio frames. The encoding processing device for a wireless communication device according to claim 2.
直前に再分配された複数のビットのうち最終ビットが再分配された列に基づいて、次に再分配すべき複数のビットのうち最初のビットが再分配されるべき初期列を算出する初期位置算出部をさらに備え、
レートマッチング・第1インタリーブ部は、次に再分配すべき複数のビットを前記初期列を先頭とする複数の列に再分配することを特徴とする請求項1記載の無線通信装置の符号化処理装置。
The initial position for calculating the initial sequence in which the first bit of the plurality of bits to be redistributed next is redistributed based on the column in which the last bit among the plurality of bits redistributed immediately before is redistributed A calculation unit;
The encoding process of the radio communication apparatus according to claim 1, wherein the rate matching / first interleaving unit redistributes a plurality of bits to be redistributed next to a plurality of columns starting from the initial sequence. apparatus.
ターボ符号化されたデータビットストリームをシステマティックビットと第1のパリティビットと第2のパリティビットに分割するビット分割部と、
システマティックビットのストリームから、同時に作成される複数の無線フレームの数と同数のシステマティックビットを取り出し、これらのシステマティックビットを前記無線フレームの数と同数の複数の列に規則的に分配する第1の並列化処理部と、
第1のパリティビットのストリームから、同時に作成される複数の無線フレームの数と同数の第1のパリティビットを取り出し、これらの第1のパリティビットを前記無線フレームの数と同数の複数の列に規則的に分配する第1の並列化処理部と、
第2のパリティビットのストリームから、同時に作成される複数の無線フレームの数と同数の第2のパリティビットを取り出し、これらの第2のパリティビットを前記無線フレームの数と同数の複数の列に規則的に分配する第2の並列化処理部と、
レートマッチングの基本パラメータを算出するパラメータ算出部と、
前記列に分配された各第1のパリティビットに付与された前記第1のパリティビットのストリーム中のビット番号と前記基本パラメータに基づいて、前記列に分配された前記複数の第1のパリティビットのうち削除されるべきビットを判定する第1の削除判定部と、
前記列に分配された各第2のパリティビットに付与された前記第2のパリティビットのストリーム中のビット番号と前記基本パラメータに基づいて、前記列に分配された前記複数の第2のパリティビットのうち削除されるべきビットを判定する第2の削除判定部と、
前記列に分配された各第1のパリティビットについて、前記第1のパリティビットのストリーム中の削除される先行ビットと当該ビットの合計個数である第1の累積削除ビット数を算出する第1の累積削除ビット数算出部と、
前記列に分配された各第2のパリティビットについて、前記第2のパリティビットのストリーム中の削除される先行ビットと当該ビットの合計個数である第2の累積削除ビット数を算出する第2の累積削除ビット数算出部と、
前記第2の並列化処理部および前記第3の並列化処理部により前記列に分配された前記複数の第1のパリティビットおよび前記複数の第2のパリティビットのうち、前記第1の削除判定部および前記第2の削除判定部で削除すべきと判定されたビットを削除するとともに、前記第1の累積削除ビット数および前記第2の累積削除ビット数に基づいて複数のシステマティックビット、第1のパリティビットおよび第2のパリティビットをあらためて複数の列に再分配し、前記再分配で得られた複数の列のうち少なくとも二列のビットを互いに入れ替えて、前記再分配および前記入れ替えがされた列のビットをそれぞれ前記複数の無線フレームに格納するレートマッチング・第1インタリーブ部を備えた無線通信装置の符号化処理装置。
A bit division unit for dividing the turbo encoded data bit stream into systematic bits, first parity bits, and second parity bits;
A first parallel that extracts from the stream of systematic bits the same number of systematic bits as the number of radio frames that are created simultaneously, and regularly distributes these systematic bits into the same number of columns as the number of radio frames. The processing unit,
From the first parity bit stream, the same number of first parity bits as the number of a plurality of radio frames created simultaneously are extracted, and these first parity bits are arranged in a plurality of columns of the same number as the number of the radio frames. A first parallel processing unit that regularly distributes;
From the second parity bit stream, the same number of second parity bits as the number of a plurality of radio frames created at the same time are extracted, and these second parity bits are arranged in a plurality of columns of the same number as the number of the radio frames. A second parallel processing unit that distributes regularly;
A parameter calculator for calculating basic parameters of rate matching;
The plurality of first parity bits distributed to the column based on a bit number in the stream of the first parity bits assigned to each first parity bit distributed to the column and the basic parameter A first deletion determination unit that determines a bit to be deleted,
The plurality of second parity bits distributed to the column based on the bit number in the stream of the second parity bits assigned to each second parity bit distributed to the column and the basic parameter A second deletion determination unit for determining a bit to be deleted,
For each first parity bit distributed to the column, a first cumulative deletion bit number that is a total number of preceding bits to be deleted in the stream of the first parity bit and the first bit is calculated. A cumulative deletion bit number calculation unit;
For each second parity bit distributed to the column, a second cumulative deletion bit number that is a total number of preceding bits to be deleted in the stream of the second parity bit and the second bit is calculated. A cumulative deletion bit number calculation unit;
Of the plurality of first parity bits and the plurality of second parity bits distributed to the column by the second parallel processing unit and the third parallel processing unit, the first deletion determination A plurality of systematic bits based on the first cumulative deletion bit number and the second cumulative deletion bit number, the first cumulative deletion bit number, and the second deletion determination unit. The parity bit and the second parity bit are newly redistributed to a plurality of columns, and at least two of the plurality of columns obtained by the redistribution are interchanged with each other, and the redistribution and the replacement are performed. An encoding processing apparatus for a wireless communication apparatus, comprising: a rate matching / first interleaving unit that stores a column bit in each of the plurality of wireless frames.
受信対象のデータビットストリームから、同受信サイクルで受信される複数の無線フレームの数と同数のビットを取り出し、これらのビットを前記無線フレームの数と同数の複数の列に規則的に分配する並列化処理部と、
レートデマッチングの基本パラメータを算出するパラメータ算出部と、
前記列に分配された各ビットに付与された前記データビットストリーム中のビット番号と前記基本パラメータに基づいて、前記列に分配された前記複数のビットのうち反復または削除されるべきビットを判定する反復/削除判定部と、
前記列に分配された各ビットについて、前記データビットストリーム中の反復または削除される先行ビットと当該ビットの合計個数である累積反復/削除ビット数を算出する累積反復/削除ビット数算出部と、
前記並列化処理部により前記列に分配された前記複数のビットのうち、前記反復/削除判定部で反復または削除すべきと判定されたビットを反復または削除するとともに、前記累積反復/削除ビット数に基づいて複数のビットをあらためて複数の列に再分配するレートデマッチング部と、
前記レートデマッチング部による再分配で得られた複数の列を、これらのうち少なくとも二列を互いに入れ替えながら読み出して結合する第1デインタリーブ・無線フレーム結合部を備えた無線通信装置の復号化処理装置。
In parallel, the same number of bits as the number of the plurality of radio frames received in the same reception cycle are extracted from the data bit stream to be received, and these bits are regularly distributed to the same number of columns as the number of the radio frames. The processing unit,
A parameter calculation unit for calculating basic parameters of rate dematching;
Based on a bit number in the data bit stream assigned to each bit distributed to the column and the basic parameter, a bit to be repeated or deleted among the plurality of bits distributed to the column is determined. An iteration / deletion determination unit;
For each bit distributed to the column, a cumulative repetition / deletion bit number calculation unit for calculating a cumulative repetition / deletion bit number that is a total number of the preceding bits to be repeated or deleted in the data bitstream and the bit;
Of the plurality of bits distributed to the column by the parallel processing unit, the bit determined to be repeated or deleted by the repetition / deletion determination unit is repeated or deleted, and the cumulative number of repeated / deleted bits A rate dematching unit that redistributes a plurality of bits to a plurality of columns based on
Decoding processing of a wireless communication apparatus including a first deinterleave / radio frame combining unit that reads and combines a plurality of columns obtained by redistribution by the rate dematching unit while exchanging at least two of them apparatus.
反復/削除判定部は、並列化処理部により列に分配された複数のビットの各々を反復または削除すべきか否かを並列に判定するための複数の反復/削除判定ユニットを備え、
累積反復/削除ビット数算出部は、並列化処理部により列に分配された複数のビットの各々について累積反復/削除ビット数を並列に算出するための累積反復/削除ビット数算出ユニットを備え、
レートデマッチング部は、並列化処理部により列に分配された複数のビットの各々について、対応する前記累積反復/削除ビット数に基づいて、再分配すべき列を算出する複数の出力位置算出部と、
並列化処理部により前記列に分配された前記複数のビットの各々を、対応する反復/削除判定ユニットで反復または削除すべきであると判定された場合に反復または削除するとともに、前記出力位置算出部で算出された列に再分配する複数の再分配制御部を備えたことを特徴とする請求項6記載の無線通信装置の復号化処理装置。
The repetition / deletion determination unit includes a plurality of repetition / deletion determination units for determining in parallel whether or not each of the plurality of bits distributed to the columns by the parallel processing unit should be repeated or deleted.
The cumulative repetition / deletion bit number calculation unit includes a cumulative repetition / deletion bit number calculation unit for calculating the cumulative repetition / deletion bit number in parallel for each of the plurality of bits distributed to the columns by the parallel processing unit,
The rate dematching unit, for each of a plurality of bits distributed to the column by the parallel processing unit, a plurality of output position calculation units that calculate a column to be redistributed based on the corresponding cumulative repetition / deletion bit number When,
Each of the plurality of bits distributed to the column by the parallel processing unit is repeated or deleted when it is determined that the corresponding repetition / deletion determination unit should repeat or delete, and the output position calculation The decoding processing device for a wireless communication device according to claim 6, further comprising a plurality of redistribution control units that redistribute into the columns calculated by the unit.
レートデマッチング部は、列の数より多い複数のビット格納部と、各ビット格納部からビットを読み出して無線フレームに格納するデータ出力ユニットを備えており、
出力位置算出部の各々は、各ビットを格納すべき前記ビット格納部の位置を算出し、
再分配制御部の各々は、前記出力位置算出部で算出された位置の前記ビット格納部に各ビットを格納し、
前記データ出力ユニットは、一度に前記無線フレームの数と同数のビットを前記ビット格納部から読み出して、前記列に再分配することを特徴とする請求項7記載の無線通信装置の復号化処理装置。
The rate dematching unit includes a plurality of bit storage units larger than the number of columns, and a data output unit that reads bits from each bit storage unit and stores them in a radio frame,
Each of the output position calculation unit calculates the position of the bit storage unit to store each bit,
Each of the redistribution control units stores each bit in the bit storage unit at the position calculated by the output position calculation unit,
8. The decoding processing device for a wireless communication device according to claim 7, wherein the data output unit reads the same number of bits as the number of the wireless frames at a time from the bit storage unit and redistributes them to the columns. .
直前に再分配された複数のビットのうち最終ビットが再分配された列に基づいて、次に再分配すべき複数のビットのうち最初のビットが再分配されるべき初期列を算出する初期位置算出部をさらに備え、
レートデマッチング部は、次に再分配すべき複数のビットを前記初期列を先頭とする複数の列に再分配することを特徴とする請求項6記載の無線通信装置の復号化処理装置。
The initial position for calculating the initial sequence in which the first bit of the plurality of bits to be redistributed next is redistributed based on the column in which the last bit among the plurality of bits redistributed immediately before is redistributed A calculation unit;
7. The decoding processing apparatus for a wireless communication apparatus according to claim 6, wherein the rate dematching unit redistributes a plurality of bits to be redistributed next to a plurality of columns starting from the initial column.
JP2003276225A 2003-07-17 2003-07-17 Encoding processing device and decoding processing device of radio communication device Expired - Fee Related JP4318980B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003276225A JP4318980B2 (en) 2003-07-17 2003-07-17 Encoding processing device and decoding processing device of radio communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003276225A JP4318980B2 (en) 2003-07-17 2003-07-17 Encoding processing device and decoding processing device of radio communication device

Publications (2)

Publication Number Publication Date
JP2005039672A JP2005039672A (en) 2005-02-10
JP4318980B2 true JP4318980B2 (en) 2009-08-26

Family

ID=34212616

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003276225A Expired - Fee Related JP4318980B2 (en) 2003-07-17 2003-07-17 Encoding processing device and decoding processing device of radio communication device

Country Status (1)

Country Link
JP (1) JP4318980B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008311869A (en) * 2007-06-13 2008-12-25 Telefon Ab L M Ericsson Rate matching device and method, de-rate matching device and method, communicator, program and record medium
JP5521965B2 (en) * 2010-10-07 2014-06-18 富士通株式会社 Rate adjusting device and rate adjusting method
CN110518915B (en) * 2019-08-06 2022-10-14 福建升腾资讯有限公司 Bit counting coding and decoding method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2742096C (en) * 1999-04-13 2015-01-06 Ericsson Ab Rate matching and channel interleaving for a communications system
JP2002078024A (en) * 2000-09-01 2002-03-15 Matsushita Electric Ind Co Ltd Data transmitter, data receiver, data transmission method and data reception method
US6845482B2 (en) * 2001-02-28 2005-01-18 Qualcomm Incorporated Interleaver for turbo decoder

Also Published As

Publication number Publication date
JP2005039672A (en) 2005-02-10

Similar Documents

Publication Publication Date Title
JP4790103B2 (en) Rate matching and channel interleaving for communication systems
US6671851B1 (en) Coding device and communication system using the same
CN111162797B (en) Encoding device and encoding method of rate compatible 5G LDPC code
JP2004531116A (en) Interleaver for turbo decoder
US6487693B1 (en) Channel encoding/decoding in communication system
US6374386B1 (en) Device and method for inserting previously known bits in input stage of channel encoder
US20120106683A1 (en) Method and apparatus for parallel turbo decoding in long term evolution system (lte)
JP2004080813A (en) Transmission rate matching device and method of data communication system
CN100547935C (en) Decoding device and coding/decoding method
JP2004519160A (en) Apparatus and method for generating codes in a communication system
US20070266302A1 (en) Method and apparatus for dedicated hardware and software split implementation of rate matching and de-matching
KR101611631B1 (en) Methods and apparatus for programmable decoding of a plurality of code types
US8356225B2 (en) Data derate matcher for supporting HARQ and method thereof
JP4318980B2 (en) Encoding processing device and decoding processing device of radio communication device
US20050172201A1 (en) Receiver for a wireless communication device
KR100784283B1 (en) Method and apparatus for de-rate matching in 3gpp umts downlink receiver
WO2002099994A1 (en) System and method for interleaving data in a wireless transmitter
JP3673165B2 (en) Digital transmission system, encoding device, decoding device, and data processing method in the digital transmission system
KR100387058B1 (en) Method and apparatus for flexible data rate matching by symbol insertion for a data communication system
CN107786300A (en) A kind of data transmission method for uplink and device
JP2002199048A (en) Rate matching/dematching processor
KR100454952B1 (en) Adaptive Channel Coding Method and Apparatus
KR100404181B1 (en) Method and Apparatus of Rate Matching for Channelization Code On up-link
RU2791016C1 (en) Method and device for encoding low-density parity-check code (ldpc), base station and machine-readable data carrier
JP2004282787A (en) Signal transmitting apparatus and encoding apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060704

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090120

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20090127

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20090203

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090519

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090527

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120605

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130605

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees