JP3257051B2 - Interleave circuit and de-interleave circuit - Google Patents

Interleave circuit and de-interleave circuit

Info

Publication number
JP3257051B2
JP3257051B2 JP21700692A JP21700692A JP3257051B2 JP 3257051 B2 JP3257051 B2 JP 3257051B2 JP 21700692 A JP21700692 A JP 21700692A JP 21700692 A JP21700692 A JP 21700692A JP 3257051 B2 JP3257051 B2 JP 3257051B2
Authority
JP
Japan
Prior art keywords
data
memory
memories
address
group
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
JP21700692A
Other languages
Japanese (ja)
Other versions
JPH0661873A (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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP21700692A priority Critical patent/JP3257051B2/en
Publication of JPH0661873A publication Critical patent/JPH0661873A/en
Application granted granted Critical
Publication of JP3257051B2 publication Critical patent/JP3257051B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えば移動体通信シス
テムに適用して好適なインターリーブ回路及びデ・イン
ターリーブ回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interleave circuit and a deinterleave circuit suitable for application to, for example, a mobile communication system.

【0002】[0002]

【従来の技術】自動車電話システムなどの移動体用通信
システムにおいて、基地局と移動体(端末局)との間で
デジタルデータ伝送により通信を行うようにしたものが
ある。図14はこの場合の端末局として構成された携帯
電話機の一例を示す図で、図中1はアンテナを示し、こ
のアンテナ1が基地局から伝送される信号を受信して受
信回路2に供給し、この受信回路2で所定チャンネルの
信号を復調してチャンネルデコーダ10に供給する。こ
のチャンネルデコーダ10では、通信方式で決められた
後述するデコード処理を行い、処理されたデータを音声
コーデック回路3に供給し、アナログ音声信号に変換す
る。そして、変換されたアナログ音声信号を送受話器4
に接続されたスピーカ5から出力させる。この場合、受
信回路2での受信チャンネルは、周波数シンセサイザ8
が出力する周波数信号により決まる。この周波数シンセ
サイザ8の出力周波数は、制御回路30により制御され
る。
2. Description of the Related Art In a mobile communication system such as a car telephone system, there is a communication system in which digital data transmission is performed between a base station and a mobile unit (terminal station). FIG. 14 is a diagram showing an example of a mobile phone configured as a terminal station in this case. In the figure, reference numeral 1 denotes an antenna, which receives a signal transmitted from a base station and supplies the signal to a receiving circuit 2. The signal of a predetermined channel is demodulated by the receiving circuit 2 and supplied to the channel decoder 10. The channel decoder 10 performs a decoding process, which will be described later, which is determined by the communication method, supplies the processed data to the audio codec circuit 3, and converts the data into an analog audio signal. Then, the converted analog voice signal is transmitted to the handset 4
Is output from the speaker 5 connected to. In this case, the receiving channel in the receiving circuit 2 is the frequency synthesizer 8
Is determined by the output frequency signal. The output frequency of the frequency synthesizer 8 is controlled by the control circuit 30.

【0003】そして、送信系の構成としては、送受話器
4に接続されたマイク6が拾った音声信号を音声コーデ
ック回路3に供給し、デジタル音声信号に変換する。そ
して、変換されたデジタル音声信号をチャンネルエンコ
ーダ20に供給し、通信方式で決められた後述するエン
コード処理を行い、処理されたデータを送信回路7に供
給し、所定チャンネルの信号に変調してアンテナ1から
送信させる。この場合、送信回路7での送信チャンネル
は、周波数シンセサイザ8が出力する周波数信号により
決まる。
[0003] As a configuration of a transmission system, an audio signal picked up by a microphone 6 connected to a handset 4 is supplied to an audio codec circuit 3 and converted into a digital audio signal. Then, the converted digital audio signal is supplied to the channel encoder 20, an encoding process which will be described later is determined according to the communication method, and the processed data is supplied to the transmission circuit 7, where the data is modulated into a signal of a predetermined channel, and the signal is transmitted to the antenna. 1 is transmitted. In this case, the transmission channel in the transmission circuit 7 is determined by the frequency signal output from the frequency synthesizer 8.

【0004】また、制御回路30には、ダイヤルキー3
1と表示パネル32とが接続してあり、ダイヤルキー3
1の操作に基づいた発信処理が制御回路30の制御で行
われる。また、表示パネル32には、制御回路30の制
御でダイヤル番号などが表示される。さらに、制御回路
30は基地局側から伝送される制御データに基づいて、
各回路の制御を行うようにしてある。
The control circuit 30 includes a dial key 3
1 and the display panel 32 are connected, and the dial key 3
The transmission processing based on the operation 1 is performed under the control of the control circuit 30. The display panel 32 displays dial numbers and the like under the control of the control circuit 30. Further, the control circuit 30 performs control based on control data transmitted from the base station.
Each circuit is controlled.

【0005】ここで、チャンネルデコーダ10でのデコ
ード処理及びチャンネルエンコーダ20でのエンコード
処理としては、図15に示す構成で処理される。即ち、
受信系でのデコード処理としては、受信回路2が出力す
る受信データをデクリプション回路11でスクランブル
されたデータのスクランブル解除をした後、受信データ
であるバーストデータをデ・インターリーブ回路12に
供給する。そして、このデ・インターリーブ回路12
で、インターリーブされて伝送されたデジタルデータの
デ・インターリーブを行い、元のブロックデータに復元
する。この復元処理は、RAMによるメモリを使用した
処理で行われる。そして、このブロックデータをビタビ
復号器13に供給し、送信側で畳込み符号化されたデー
タの復号を行う。そして、復号されたソースデータをパ
リティチェッカ14に供給し、パリティチェックによる
エラー訂正処理を行い、処理されたデータを音声コーデ
ック回路3側に供給する。
[0005] Here, the decoding processing in the channel decoder 10 and the encoding processing in the channel encoder 20 are processed in the configuration shown in FIG. That is,
As a decoding process in the receiving system, after the received data output from the receiving circuit 2 is descrambled by the decryption circuit 11, the burst data as the received data is supplied to the de-interleave circuit 12. Then, the de-interleave circuit 12
Deinterleave the interleaved and transmitted digital data to restore the original block data. This restoration process is performed by a process using a RAM memory. Then, the block data is supplied to the Viterbi decoder 13 to decode the convolutionally encoded data on the transmission side. Then, it supplies the decoded source data to the parity checker 14, performs error correction processing by parity check, and supplies the processed data to the audio codec circuit 3 side.

【0006】また、送信系でのエンコード処理として
は、音声コーデック回路3が出力する送信用のソースデ
ータをパリティ発生回路21に供給し、エラー訂正用の
パリティを付加させる。そして、パリティが付加された
ソースデータを畳込み符号器22に供給し、畳込み符号
化されたブロックデータとする。そして、このブロック
データをインターリーブ回路23に供給し、インターリ
ーブされたバーストデータとする。このインターリーブ
処理も、デ・インターリーブ処理と同様に、RAMによ
るメモリを使用した処理で行われる。そして、インター
リーブされたバーストデータをエンクリプション回路2
4に供給してスクランブル処理を行い、スクランブルさ
れたバーストデータを送信回路7に供給して所定チャン
ネルで送信させる。これらのデコード処理及びエンコー
ド処理は、制御回路30の制御で行われる。
As an encoding process in the transmission system, the transmission source data output from the audio codec circuit 3 is supplied to the parity generation circuit 21 to add an error correction parity. Then, the source data to which the parity has been added is supplied to the convolutional encoder 22 to be convolutionally encoded block data. Then, the block data is supplied to an interleave circuit 23 to be interleaved burst data. This interleaving process is also performed by a process using a RAM memory, like the de-interleaving process. Then, the interleaved burst data is transferred to the encryption circuit 2.
4 for scrambling, and the scrambled burst data is supplied to a transmission circuit 7 for transmission on a predetermined channel. These decoding processing and encoding processing are performed under the control of the control circuit 30.

【0007】次に、メモリを使用したインターリーブ処
理やデ・インターリーブ処理を説明すると、例えばイン
ターリーブ処理は図16に示すインターリーブ回路で行
われる。即ち、端子41に得られる畳込み符号化された
ブロックデータをメモリ42に供給し、このメモリ42
に一旦記憶させる。このメモリ42は2ブロックのデー
タが記憶できる容量のRAMで構成され、1ブロック分
の記憶容量毎にメモリa,メモリbと分けられている。
そして、このメモリ42へのデータの書込み順序と読出
し順序とを変えることで、インターリーブされたバース
トデータを端子43に得る。
Next, interleave processing and de-interleave processing using a memory will be described. For example, the interleave processing is performed by an interleave circuit shown in FIG. That is, the convolutionally coded block data obtained at the terminal 41 is supplied to the memory 42,
Once. The memory 42 is composed of a RAM having a capacity capable of storing two blocks of data, and is divided into a memory a and a memory b for each storage capacity of one block.
By changing the order of writing and reading data to and from the memory 42, interleaved burst data is obtained at the terminal 43.

【0008】そして、メモリ42でのインターリーブ処
理の制御として、制御回路30側から端子44,45に
開始信号a,bが供給され、端子44に得られる開始信
号aをカウンタ46でカウントすると共に、端子45に
得られる開始信号bをカウンタ47でカウントする。そ
して、カウンタ46のカウント出力をアドレスセレクタ
48に供給すると共に、カウンタ47のカウント出力を
アドレス変換回路49を介してアドレスセレクタ48に
供給する。ここで、アドレス変換回路49は、ROMで
構成された変換テーブルを参照してカウントデータを読
出しアドレスに変換する回路である。この場合の変換と
しては、後述するインターリーブ方程式に基づいた変換
が行われる。そして、アドレスセレクタ48は、カウン
タ47から供給されるデータと、アドレス変換回路49
から供給されるデータとを、選択的にメモリ42に供給
して、このデータによりメモリ42への書込みアドレス
及び読出しアドレスの制御を行う。
As control of the interleave processing in the memory 42, start signals a and b are supplied from the control circuit 30 to terminals 44 and 45, and the start signal a obtained at the terminal 44 is counted by a counter 46. The start signal b obtained at the terminal 45 is counted by the counter 47. Then, the count output of the counter 46 is supplied to the address selector 48, and the count output of the counter 47 is supplied to the address selector 48 via the address conversion circuit 49. Here, the address conversion circuit 49 is a circuit that converts the count data into a read address by referring to a conversion table formed of a ROM. In this case, conversion based on an interleave equation described later is performed. Then, the address selector 48 compares the data supplied from the counter 47 with the address conversion circuit 49.
Is supplied to the memory 42 selectively, and the write address and the read address of the memory 42 are controlled by the data.

【0009】ここで、この回路では例えば次式に示すイ
ンターリーブ方程式を想定する。
In this circuit, for example, the following interleave equation is assumed.

【0010】[0010]

【数1】i(B,j)=C(n,k)I (B, j) = C (n, k)

【数2】k=0,1,‥‥455## EQU2 ## k = 0,1, ‥‥ 455

【数3】n=0,‥‥N,N+1,‥‥## EQU3 ## n = 0, {N, N + 1,}

【数4】B=B0 +4・n+k mod(8)B = B 0 + 4 · n + k mod (8)

【数5】 j=2〔(49k)mod57〕+〔(k mod8)div4〕## EQU5 ## j = 2 [(49 k) mod 57] + [(k mod 8) div 4]

【0011】このインターリーブ方程式を設定すること
で、456ビットで構成される1ブロックデータが57
ビットずつに8分割されて、ブロックデータの8k,8
k+1,8k+2,8k+3番目のデータは、前半の4
バーストデータの偶数番目にインターリーブされ、ブロ
ックデータの8k+4,8k+5,8k+6,8k+7
番目のデータは、後半の4バーストデータの奇数番目に
インターリーブされ、深さ8で4バースト毎にブロック
データの組み合わせが変化して行く。
By setting the interleave equation, one block data composed of 456 bits is converted into 57 blocks.
The data is divided into eight bits, and the block data 8k, 8
The k + 1,8k + 2,8k + 3rd data is the first half of 4
8k + 4,8k + 5,8k + 6,8k + 7 of the block data interleaved with the even-numbered burst data
The third data is interleaved to the odd number of the latter four burst data, and the combination of block data changes every four bursts at a depth of eight.

【0012】このインターリーブ方程式に基づいた書込
みアドレス及び読出しアドレスの制御状態を図17を参
照して説明すると、図17のA及びBはメモリa及びb
のブロックデータの書込み状態及び読出し状態を示し、
各メモリa,bの書込みアドレス及び読出しアドレス
は、アドレスセレクタ48から供給されるアドレス信号
(図17のC)により制御される。ここで、このアドレ
ス信号は図17のDに示すように、カウンタa(46)
のカウント出力が書込みアドレスになると共に、アドレ
ス変換回路49の出力が読出しアドレスになる。このそ
れぞれのカウント出力やアドレス変換出力は、図17の
E及びFに示すように、端子44,45に得られる開始
信号a,bに同期して交互に得られる。
The control state of the write address and the read address based on the interleave equation will be described with reference to FIG. 17. A and B in FIG.
Indicates the write state and read state of the block data of
The write address and read address of each of the memories a and b are controlled by an address signal (C in FIG. 17) supplied from the address selector 48. Here, this address signal is supplied to the counter a (46) as shown in FIG.
Becomes the write address, and the output of the address conversion circuit 49 becomes the read address. These count outputs and address conversion outputs are obtained alternately in synchronization with the start signals a and b obtained at the terminals 44 and 45, as shown by E and F in FIG.

【0013】この図17に示すように、各メモリa,b
は全てのブロックデータの読出しが終了するまでは、次
のブロックデータの書込みができないため、メモリ42
として少なくとも2ブロック分の容量を必要とする。
As shown in FIG. 17, each of the memories a and b
Since the next block data cannot be written until reading of all block data is completed,
Requires a capacity of at least two blocks.

【0014】なお、ここでは図示しないが、インターリ
ーブされたデータを復元するデ・インターリーブ回路
は、基本的にはインターリーブ回路と逆の処理を行う回
路であるので、インターリーブ回路と同じ容量のメモリ
を必要とする。
Although not shown here, the de-interleave circuit for restoring the interleaved data is basically a circuit that performs the reverse processing of the interleave circuit, and therefore requires a memory having the same capacity as the interleave circuit. And

【0015】[0015]

【発明が解決しようとする課題】このようにインターリ
ーブ処理やデ・インターリーブ処理には、比較的大容量
のメモリを必要とする不都合があった。ここで、インタ
ーリーブされる深さが深くなるに従って、必要なメモリ
の容量も増大するので、複雑なインターリーブを行う場
合には、大容量のメモリを必要とする。
As described above, the interleave processing and the de-interleave processing have a disadvantage that a relatively large-capacity memory is required. Here, as the interleaving depth increases, the required memory capacity also increases. Therefore, when performing complicated interleaving, a large-capacity memory is required.

【0016】また、インターリーブ処理やデ・インター
リーブ処理を行うメモリの制御回路も、複雑なインター
リーブを行うに従って複雑な制御を行う必要が生じ、回
路規模が大きくなってしまう不都合があった。
Also, the control circuit of the memory for performing the interleave processing and the de-interleave processing needs to perform complicated control as the complicated interleave is performed, and there is a disadvantage that the circuit scale becomes large.

【0017】本発明の目的は、この種の伝送装置におい
て、少ない容量のメモリで複雑なインターリーブ処理及
びデ・インターリーブ処理ができるようにすることにあ
る。
An object of the present invention is to make it possible to perform complicated interleaving and de-interleaving with a small-capacity memory in this type of transmission apparatus.

【0018】また本発明の目的は、この種の伝送装置に
おいて、簡単な構成の回路でインターリーブ処理の制御
及びデ・インターリーブ処理の制御ができるようにする
ことにある。
Another object of the present invention is to make it possible to control interleave processing and deinterleave processing with a circuit having a simple configuration in this type of transmission apparatus.

【0019】[0019]

【課題を解決するための手段】本発明のインターリーブ
回路は、例えば図1に示すように、ブロック化された入
力デジタルデータを、メモリ111,112,113に
一旦記憶させて、このメモリ111,112,113か
らの読出し順序を書込み順序と変えることで、複数ブロ
ックに跨がってインターリーブさせてバーストデータと
するインターリーブ回路において、メモリ111,11
2,113を少なくとも第1の群のメモリ111と第2
の群のメモリ112,113とに分割し、第1の群のメ
モリ111として、入力デジタルデータをメモリに書込
んでから読出すまでの時間が比較的短いインターリーブ
処理を行い、第2の群のメモリ112,113として、
入力デジタルデータをメモリに書込んでから読出すまで
の時間が比較的長いインターリーブ処理を行うようにし
たものである。
According to the interleave circuit of the present invention, for example, as shown in FIG. 1, input digital data which has been divided into blocks is temporarily stored in memories 111, 112, and 113, and the memories 111, 112, and 113 are temporarily stored. , 113 in the interleave circuit which interleaves over a plurality of blocks to generate burst data by changing the read order from the memories 111, 11
2,113 are at least a first group of memories 111 and a second
The first group of memories 111 and 113 performs an interleaving process in which the time from when the input digital data is written to the memory to when the digital data is read is relatively short. As the memories 112 and 113,
Interleave processing is performed in which the time from writing of input digital data to memory to reading thereof is relatively long.

【0020】また本発明のデ・インターリーブ回路は、
複数ブロックに跨がってインターリーブされてバースト
データとされた入力デジタルデータを、メモリに一旦記
憶させて、このメモリからの読出し順序を書込み順序と
変えることで、元の順序のブロックデータに復元するデ
・インターリーブ回路において、メモリを少なくとも第
1の群と第2の群とに分割し、第1の群のメモリとし
て、入力デジタルデータをメモリに書込んでから読出す
までの時間が比較的短いデ・インターリーブ処理を行
い、第2の群のメモリとして、入力デジタルデータをメ
モリに書込んでから読出すまでの時間が比較的長いデ・
インターリーブ処理を行うようにしたものである。
Further, the de-interleave circuit of the present invention comprises:
The input digital data interleaved across a plurality of blocks and made into burst data is temporarily stored in a memory, and the order of reading from the memory is changed to the order of writing, thereby restoring block data in the original order. In a de-interleave circuit, a memory is divided into at least a first group and a second group, and the time from when input digital data is written to the memory to when it is read is relatively short as the first group of memories. A deinterleave process is performed, and as a second group of memories, a relatively long time is required from writing input digital data to the memory to reading it out.
The interleaving process is performed.

【0021】また本発明のインターリーブ回路は、例え
ば図3に示すように、畳込み符号化された入力デジタル
データを、メモリ211,212に一旦記憶させて、こ
のメモリ211,212からの読出し順序を書込み順序
と変えることで、複数ブロックに跨がってインターリー
ブさせてバーストデータとするインターリーブ回路にお
いて、メモリ211,212を畳込み符号化率に従って
複数の群a〜lに分割し、各群のメモリを並列的に使用
して、この各群のメモリから並列的に出力するようにし
たものである。
In the interleave circuit of the present invention, as shown in FIG. 3, for example, input digital data subjected to convolutional encoding is temporarily stored in memories 211 and 212, and the order of reading from the memories 211 and 212 is changed. In an interleave circuit that interleaves over a plurality of blocks to make burst data by changing the write order, the memories 211 and 212 are divided into a plurality of groups al according to a convolutional coding rate, and the memories of each group are divided. Are used in parallel so that the memory of each group is output in parallel.

【0022】またこの場合に、各群のメモリの書込みア
ドレス及び読出しアドレスを、同一アドレスとなるよう
に制御し、各群のメモリのアドレス制御が共通に行える
ようにしたものである。
In this case, the write address and the read address of each group of memories are controlled so as to be the same address, so that the addresses of the memories of each group can be commonly controlled.

【0023】また本発明のデ・インターリーブ回路は、
複数ブロックに跨がってインターリーブされてバースト
データとされると共に畳込み符号化された入力デジタル
データを、メモリに一旦記憶させて、このメモリからの
読出し順序を書込み順序と変えることで、元の順序のブ
ロックデータに復元するデ・インターリーブ回路におい
て、メモリを畳込み符号化率に従って複数の群に分割
し、各群のメモリを並列的に使用し、この各群のメモリ
の出力を並列的に畳込み復号器に供給するようにしたも
のである。
Further, the de-interleave circuit of the present invention
The input digital data, which is interleaved over a plurality of blocks to be burst data and is convolutionally coded, is temporarily stored in a memory, and the order of reading from this memory is changed to the order of writing, thereby obtaining the original data. In a de-interleave circuit for restoring block data in order, the memory is divided into a plurality of groups according to a convolutional coding rate, and the memories of each group are used in parallel. This is supplied to a convolutional decoder.

【0024】またこの場合に、各群のメモリの書込みア
ドレス及び読出しアドレスを、同一アドレスとなるよう
に制御し、各群のメモリのアドレス制御が共通に行える
ようにしたものである。
In this case, the write address and the read address of each group of memories are controlled so as to be the same address, so that the addresses of the memories of each group can be commonly controlled.

【0025】また本発明のインターリーブ回路は、ブロ
ック化された入力デジタルデータを、メモリに一旦記憶
させて、このメモリからの読出し順序を書込み順序と変
えることで、複数ブロックに跨がってインターリーブさ
せてバーストデータとするインターリーブ回路におい
て、インターリーブの深さに応じてメモリを複数の群に
分割し、この各群のメモリの読出しアドレスが同一アド
レスとなるように制御するようにしたものである。
In the interleave circuit of the present invention, the input digital data which is divided into blocks is temporarily stored in a memory, and the order of reading from the memory is changed to the order of writing, thereby interleaving over a plurality of blocks. In an interleave circuit for generating burst data, the memory is divided into a plurality of groups according to the interleave depth, and control is performed so that the read addresses of the memories in each group are the same.

【0026】またこの場合に、入力デジタルデータとし
て、畳込み符号化されたデータとし、この畳込み符号化
率に基づいた数の群にメモリを分割するようにしたもの
である。
In this case, convolutionally encoded data is used as input digital data, and the memory is divided into groups of numbers based on the convolutional encoding rate.

【0027】さらにこの場合に、分割された各群のメモ
リの内の少なくとも1群のメモリのアドレスに対して、
所定値をオフセットすることにより、各群で同一アドレ
スを生成させるようにしたものである。
Further, in this case, the address of at least one group of memories among the divided groups of memories is
By offsetting a predetermined value, the same address is generated in each group.

【0028】また本発明のデ・インターリーブ回路は、
例えば図9に示すように、複数ブロックに跨がってイン
ターリーブされてバーストデータとされた入力デジタル
データを、メモリ311〜318に一旦記憶させて、こ
のメモリ311〜318からの読出し順序を書込み順序
と変えることで、元の順序のブロックデータに復元する
デ・インターリーブ回路において、インターリーブの深
さに応じてメモリ311〜318を複数の群に分割し、
この各群のメモリの読出しアドレスが同一アドレスとな
るように制御するようにしたものである。
Further, the de-interleave circuit of the present invention
For example, as shown in FIG. 9, input digital data interleaved across a plurality of blocks and made into burst data is temporarily stored in memories 311 to 318, and a read order from the memories 311 to 318 is changed to a write order. In the de-interleave circuit for restoring the original order block data, the memories 311 to 318 are divided into a plurality of groups according to the interleave depth,
The read addresses of the memories of each group are controlled so as to be the same address.

【0029】またこの場合に、入力デジタルデータとし
て、畳込み符号化されたデータとし、この畳込み符号化
率に基づいた数の群にメモリを分割するようにしたもの
である。
In this case, as input digital data, convolutionally encoded data is used, and the memory is divided into groups of numbers based on the convolutional coding rate.

【0030】さらにこの場合に、分割された各群のメモ
リの内の少なくとも1群のメモリのアドレスに対して、
所定値をオフセットすることにより、各群で同一アドレ
スを生成させるようにしたものである。
Further, in this case, the addresses of at least one group of memories among the divided groups of memories are
By offsetting a predetermined value, the same address is generated in each group.

【0031】[0031]

【作用】本発明のインターリーブ回路によると、インタ
ーリーブ処理されるメモリを複数の群に分けて、メモリ
に書込んでから読出すまでの時間に応じて使用する群を
分けたことで、メモリに書込んでから読出すまでの時間
が比較的短いデータが書込まれる群のメモリは、短い周
期で書込みと読出しを行うことが可能になり、それだけ
この群のメモリの容量を削減することができる。
According to the interleave circuit of the present invention, the memories to be interleaved are divided into a plurality of groups, and the groups used according to the time from writing to reading until reading are written into the memory. A group of memories to which data having a relatively short time from read-in to read-out is written can be written and read in a short cycle, and the capacity of this group of memories can be reduced accordingly.

【0032】また本発明のデ・インターリーブ回路によ
ると、デ・インターリーブ処理されるメモリを複数の群
に分けて、メモリに書込んでから読出すまでの時間に応
じて使用する群を分けたことで、メモリに書込んでから
読出すまでの時間が比較的短いデータが書込まれる群の
メモリは、短い周期で書込みと読出しを行うことが可能
になり、それだけこの群のメモリの容量を削減すること
ができる。
Further, according to the de-interleave circuit of the present invention, the memory to be de-interleaved is divided into a plurality of groups, and the group used according to the time from writing to reading until reading is divided. In a group of memories to which data with a relatively short time from writing to reading is written, it is possible to perform writing and reading in a short cycle, thereby reducing the capacity of this group of memories. can do.

【0033】また本発明のインターリーブ回路による
と、インターリーブ処理用のメモリを畳込み符号化率に
従って複数の群に分割し、各群のメモリを並列的に使用
して、この各群のメモリから並列的に出力するようにし
たことで、畳込み符号化率に従った効率の良いメモリの
使用が行われ、それだけメモリの容量の削減やメモリ動
作の低速化を計ることができる。
According to the interleave circuit of the present invention, the memory for the interleave processing is divided into a plurality of groups according to the convolutional coding rate, and the memories of each group are used in parallel. The efficient output of the memory according to the convolutional coding rate is performed by performing the output, and the memory capacity can be reduced and the speed of the memory operation can be reduced accordingly.

【0034】またこの場合に、各群のメモリの書込みア
ドレス及び読出しアドレスを、同一アドレスとなるよう
に制御し、各群のメモリのアドレス制御が共通に行える
ようにしたことで、各メモリのアドレス制御が容易にで
き、インターリーブ処理の制御回路が簡単になる。
In this case, the write address and the read address of each group of memories are controlled so as to be the same, and the address control of each group of memories can be performed in common. The control can be easily performed, and the control circuit for the interleave processing can be simplified.

【0035】また本発明のデ・インターリーブ回路によ
ると、デ・インターリーブ処理用のメモリを畳込み符号
化率に従って複数の群に分割し、各群のメモリを並列的
に使用して、この各群のメモリから並列的に出力するよ
うにしたことで、畳込み符号化率に従った効率の良いメ
モリの使用が行われ、それだけメモリの容量の削減やメ
モリ動作の低速化を計ることができる。
Further, according to the de-interleave circuit of the present invention, the memory for the de-interleave processing is divided into a plurality of groups according to the convolutional coding rate, and the memories of each group are used in parallel. , The memory is efficiently used in accordance with the convolutional coding rate, so that the capacity of the memory can be reduced and the speed of the memory operation can be reduced.

【0036】またこの場合に、各群のメモリの書込みア
ドレス及び読出しアドレスを、同一アドレスとなるよう
に制御し、各群のメモリのアドレス制御が共通に行える
ようにしたことで、各メモリのアドレス制御が容易にで
き、デ・インターリーブ処理の制御回路が簡単になる。
In this case, the write address and the read address of each group of memories are controlled to be the same address, and the address control of each group of memories can be performed in common. Control is easy, and the control circuit for the de-interleaving process is simplified.

【0037】また本発明のインターリーブ回路による
と、インターリーブの深さに応じてメモリを複数の群に
分割し、この各群のメモリの読出しアドレスが同一アド
レスとなるように制御することで、各群のメモリのアド
レス制御が共通に行えるようになり、メモリの分割数が
多い場合でもインターリーブ処理の制御回路が簡単にな
る。
According to the interleave circuit of the present invention, the memory is divided into a plurality of groups in accordance with the interleave depth, and control is performed so that the read addresses of the memories in each group are the same. Can be commonly performed, and the control circuit for the interleave processing can be simplified even when the number of divided memories is large.

【0038】またこの場合に、入力デジタルデータとし
て、畳込み符号化されたデータとし、この畳込み符号化
率に基づいた数の群にメモリを分割するようにしたこと
で、畳込み符号化されたデータのインターリーブ処理
が、簡単な制御で行える。
In this case, the input digital data is convolutionally encoded data, and the memory is divided into a number of groups based on the convolutional coding rate. Data can be interleaved with simple control.

【0039】さらにこの場合に、分割された各群のメモ
リの内の少なくとも1群のメモリのアドレスに対して、
所定値をオフセットすることにより、各群で同一アドレ
スを生成させるようにしたことで、アドレスデータの生
成がオフセット処理だけで行え、簡単にアドレスデータ
を生成させることができる。
Further, in this case, the address of at least one group of memories among the divided groups of memories is
Since the same address is generated in each group by offsetting the predetermined value, the address data can be generated only by the offset processing, and the address data can be easily generated.

【0040】また本発明のデ・インターリーブ回路によ
ると、デ・インターリーブの深さに応じてメモリを複数
の群に分割し、この各群のメモリの読出しアドレスが同
一アドレスとなるように制御することで、各群のメモリ
のアドレス制御が共通に行えるようになり、メモリの分
割数が多い場合でもデ・インターリーブ処理の制御回路
が簡単になる。
According to the de-interleaving circuit of the present invention, the memory is divided into a plurality of groups according to the depth of the de-interleaving, and control is performed such that the read addresses of the memories in each group are the same. Thus, the address control of the memories in each group can be commonly performed, and the control circuit for the de-interleave processing can be simplified even when the number of divided memories is large.

【0041】またこの場合に、入力デジタルデータとし
て、畳込み符号化されたデータとし、この畳込み符号化
率に基づいた数の群にメモリを分割するようにしたこと
で、畳込み符号化されたデータのデ・インターリーブ処
理が、簡単な制御で行える。
In this case, the input digital data is convolutionally coded data, and the memory is divided into groups of numbers based on the convolutional coding rate. Data can be deinterleaved with simple control.

【0042】さらにこの場合に、分割された各群のメモ
リの内の少なくとも1群のメモリのアドレスに対して、
所定値をオフセットすることにより、各群で同一アドレ
スを生成させるようにしたことで、アドレスデータの生
成がオフセット処理だけで行え、簡単にアドレスデータ
を生成させることができる。
Further, in this case, the address of at least one group of memories among the divided groups of memories is
Since the same address is generated in each group by offsetting the predetermined value, the address data can be generated only by the offset processing, and the address data can be easily generated.

【0043】[0043]

【実施例】以下、本発明の第1の実施例を図1及び図2
を参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a first embodiment of the present invention will be described with reference to FIGS.
This will be described with reference to FIG.

【0044】本例においては、図14,図15に示した
デジタル通信が行われる携帯電話機の送信系のチャンネ
ルエンコーダ20内のインターリーブ回路を図1に示す
ように構成したもので、図14及び図15に対応する部
分には同一符号を付し、その詳細説明は省略する。
In this embodiment, the interleave circuit in the channel encoder 20 of the transmission system of the portable telephone for performing the digital communication shown in FIGS. 14 and 15 is configured as shown in FIG. 15 are denoted by the same reference numerals, and detailed description thereof will be omitted.

【0045】図1において、101は畳込み符号器22
(図15参照)が出力する畳込み符号化されたブロック
データが供給される端子を示し、この端子101に得ら
れるブロックデータを、メモリ111,112,113
に供給する。この3個のメモリ111,112,113
は、RAMで構成され、それぞれが0.5ブロック分の
データを記憶する容量を有し、後述するアドレスセレク
タ107側から供給されるアドレスデータによりそれぞ
れのメモリに書込まれるアドレス及びメモリから読出さ
れるアドレスが制御され、書込みアドレスの制御により
データをインターリーブさせる処理が行われる。この場
合、本例においてはメモリに書込んでから読出すまでの
時間が比較的短いデータがメモリ111に書込まれるよ
うにしてあり、メモリに書込んでから読出すまでの時間
が比較的長いデータがメモリ112,113に書込まれ
るようにしてある。この書込まれるメモリを選択する具
体的な制御については後述する。なお、端子101に得
られるブロックデータは、畳込み符号化が行われている
ので、実際には2系統のデータである。
In FIG. 1, reference numeral 101 denotes a convolutional encoder 22.
FIG. 15 shows terminals to which convolutionally encoded block data output from the terminal 101 is supplied. Block data obtained at this terminal 101 is stored in the memories 111, 112, and 113.
To supply. These three memories 111, 112, 113
Are composed of RAMs, each of which has a capacity to store data for 0.5 block, and which are written in the respective memories and read out from the memories by the address data supplied from the address selector 107 described later. Address is controlled, and a process of interleaving data is performed by controlling the write address. In this case, in this example, data having a relatively short time from writing to reading to the memory is written to the memory 111, and the time from writing to reading to the memory is relatively long. Data is written to the memories 112 and 113. Specific control for selecting the memory to be written will be described later. Note that the block data obtained at the terminal 101 has been subjected to convolutional coding, and is therefore actually two systems of data.

【0046】そして、各メモリ111,112,113
から読出されたデータをデータセレクタ102に供給
し、このデータセレクタ102で後述する書込み/読出
し制御回路108の制御に基づいて選択されたデータ
を、バーストデータとして出力端子103から後段の回
路(図15のエンクリプション回路24)に供給し、送
信回路で送信処理を行って基地局側に送信させる。
The memories 111, 112, 113
Is supplied to a data selector 102, and the data selected by the data selector 102 under the control of a write / read control circuit 108 described later is output as burst data from an output terminal 103 to a subsequent circuit (FIG. 15). , And performs transmission processing in the transmission circuit to transmit the signal to the base station side.

【0047】そして、このメモリ111,112,11
3でのインターリーブ処理を制御するために、ブロック
データの出力に同期して、制御回路30から2種類の開
始信号a,bが出力され、一方の開始信号aを書込みア
ドレス生成用カウンタ104に供給し、他方の開始信号
bを読出しアドレス生成用カウンタ105に供給する。
そして、カウンタ104で開始信号aに基づいてカウン
トしたアドレスデータをアドレス変換回路106に供給
し、書込みアドレスをインターリーブ方程式に従ってイ
ンターリーブされたアドレスに変換する。このアドレス
変換回路106は、例えばROMテーブルにより構成さ
れる。
The memories 111, 112, 11
In order to control the interleave processing in Step 3, the control circuit 30 outputs two types of start signals a and b in synchronization with the output of the block data, and supplies one of the start signals a to the write address generation counter 104. Then, the other start signal b is supplied to the read address generation counter 105.
Then, the address data counted by the counter 104 based on the start signal a is supplied to the address conversion circuit 106, and the write address is converted into an interleaved address according to an interleave equation. This address conversion circuit 106 is constituted by, for example, a ROM table.

【0048】そして、カウンタ105で生成された読出
しアドレスデータと、アドレス変換回路106で変換さ
れた書込みアドレスデータとを、アドレスセレクタ10
7に供給し、書込み/読出し制御回路108の制御に基
づいて選択されたアドレスデータをアドレスセレクタ1
07から各メモリ111,112,113に供給する。
また、各メモリ111,112,113での書込みと読
出しとの切換えも、書込み/読出し制御回路108の制
御により行われる。さらに、データセレクタ102での
バーストデータの選択も、書込み/読出し制御回路10
8の制御により行われる。この場合、書込み/読出し制
御回路108によるそれぞれの制御は、制御回路30か
ら供給される制御指令に基づいて行われる。
Then, the read address data generated by the counter 105 and the write address data converted by the address conversion circuit 106 are transferred to the address selector 10.
7 and the address data selected based on the control of the write / read control circuit 108.
07 to the memories 111, 112, and 113.
Switching between writing and reading in each of the memories 111, 112, and 113 is also performed under the control of the writing / reading control circuit 108. Further, the selection of burst data by the data selector 102 is also performed by the write / read control circuit 10.
8 is performed. In this case, each control by the write / read control circuit 108 is performed based on a control command supplied from the control circuit 30.

【0049】次に、本例のインターリーブ回路の動作を
説明する。まず、ここで設定されるインターリーブ方程
式を次式に示す。
Next, the operation of the interleave circuit of this embodiment will be described. First, the interleave equation set here is shown in the following equation.

【0050】[0050]

【数6】i(B,j)=C(n,k)I (B, j) = C (n, k)

【数7】k=0,1,‥‥455## EQU7 ## k = 0,1, ‥‥ 455

【数8】n=0,‥‥N,N+1,‥‥## EQU8 ## n = 0, {N, N + 1,}

【数9】B=B0 +4・n+k mod(8)B = B 0 + 4 · n + k mod (8)

【数10】 j=2〔(49k)mod57〕+〔(k mod8)div4〕## EQU10 ## j = 2 [(49 k) mod 57] + [(k mod 8) div 4]

【0051】この〔数6〕式〜〔数10〕式は、従来例
で説明した〔数1〕式〜〔数5〕式と同じインターリー
ブ方程式である。各式について説明すると、〔数6〕式
はn番目のブロックデータのk番目のデータがB番目の
バーストのj番目のデータになることを示す。また、
〔数7〕式は1ブロックデータが0番目から455番目
の456データで構成されることを示す。また、〔数
8〕式はブロックデータの番号を示す。また、〔数9〕
式はインターリーブの深さが8で、前半の4バーストは
n番目のブロックデータの8k,8k+1,8k+2,
8k+3番目のデータと、n−1番目のブロックデータ
の8k+4,8k+5,8k+6,8k+7番目のデー
タで構成され、後半の4バーストはn番目のブロックデ
ータの8k+4,8k+5,8k+6,8k+7番目の
データと、n+1番目のブロックデータの8k,8k+
1,8k+2,8k+3番目のデータとで構成されるこ
とを示す。また、〔数10〕式はバーストに配置される
位置を示す。
The equations [6] to [10] are the same interleaving equations as the equations [1] to [5] described in the conventional example. Describing each equation, Equation 6 indicates that the k-th data of the n-th block data becomes the j-th data of the B-th burst. Also,
Equation 7 shows that one block data is composed of 456 data from the 0th to the 455th. Equation (8) indicates the number of block data. [Equation 9]
The equation is that the interleave depth is 8, and the first four bursts are 8k, 8k + 1, 8k + 2 of the n-th block data.
It is composed of 8k + 3rd data and 8k + 4,8k + 5,8k + 6,8k + 7th data of the (n-1) th block data, and the latter 4 bursts are composed of 8k + 4,8k + 5,8k + 6,8k + 7th data of the nth block data. , 8k, 8k + of the (n + 1) th block data
The data is composed of 1,8k + 2,8k + 3rd data. The expression (10) indicates a position arranged in a burst.

【0052】このインターリーブ方程式の設定に基づい
た動作タイミングを図2を参照して説明すると、畳込み
符号器側から端子101に得られるブロックデータの
内、前半の4バーストに配置される8k,8k+1,8
k+2,8k+3番目のデータが、図2のAに示すよう
にメモリ111に書込まれ、後半の4バーストに配置さ
れる8k+4,8k+5,8k+6,8k+7番目のデ
ータが、図2のB及びCに示すようにメモリ112とメ
モリ113とに、1ブロック毎に交互に書込まれる。そ
して、アドレスセレクタ107が出力するアドレス信号
が、図2のDに示すように時分割で書込みアドレスと読
出しアドレスとに変化することで、書込まれたデータが
逐次読出される。なお、図2のEに示すタイミングは、
アドレスセレクタ107で書込みと読出しの何れの選択
を行っているかを示すものである。この場合、読出しア
ドレスは図2のFに示すようにカウンタ105の出力が
使用され、書込みアドレスは図2のGに示すようにアド
レス変換回路106の出力が使用される。
The operation timing based on the setting of the interleave equation will be described with reference to FIG. 2. Of the block data obtained at the terminal 101 from the convolutional encoder side, 8k, 8k + 1 arranged in the first four bursts , 8
The k + 2, 8k + 3rd data is written into the memory 111 as shown in FIG. 2A, and the 8k + 4, 8k + 5, 8k + 6, 8k + 7th data arranged in the latter four bursts are stored in B and C in FIG. As shown, the data is alternately written into the memory 112 and the memory 113 for each block. Then, when the address signal output from the address selector 107 changes to a write address and a read address in a time sharing manner as shown in FIG. 2D, the written data is sequentially read. The timing shown in FIG.
It indicates whether the address selector 107 selects writing or reading. In this case, the output of the counter 105 is used as the read address as shown in F of FIG. 2, and the output of the address conversion circuit 106 is used as the write address as shown in G of FIG.

【0053】この図2に示すように、1ブロック遅れて
メモリから読出す必要のある後半の4バーストに配置さ
れる8k+4,8k+5,8k+6,8k+7番目のデ
ータは、2個のメモリ112,113に交互に記憶され
るので、インターリーブ処理が上述したインターリーブ
方程式に従って正しく行われる。即ち、図2に示すタイ
ミングを追って説明すると、例えばn番目のブロックデ
ータを入力すると、メモリ111に8k,8k+1,8
k+2,8k+3番目のデータが書込まれ、メモリ11
2に8k+4,8k+5,8k+6,8k+7番目のデ
ータが書込まれる。そして、次のステップでメモリ11
1に記憶されたn番目のブロックデータ(8k,8k+
1,8k+2,8k+3番目のデータ)と、メモリ11
3に記憶された1ブロック前(n−1番目のブロック)
のブロックデータの8k+4,8k+5,8k+6,8
k+7番目のデータとが読出され、両メモリから読出さ
れたデータで8バーストデータを作成してデータセレク
タ102から出力させる。
As shown in FIG. 2, the 8k + 4,8k + 5,8k + 6,8k + 7th data arranged in the latter four bursts which need to be read from the memory one block later are stored in the two memories 112,113. Since they are stored alternately, the interleaving process is correctly performed according to the above-described interleaving equation. That is, the timing shown in FIG. 2 will be described. For example, when the n-th block data is input, 8k, 8k + 1, 8
The (k + 2, 8k + 3) th data is written into the memory 11
2, 8k + 4, 8k + 5, 8k + 6, 8k + 7th data are written. Then, in the next step, the memory 11
The n-th block data (8k, 8k +
1,8k + 2,8k + 3rd data) and the memory 11
One block before (n-1st block) stored in 3
8k + 4,8k + 5,8k + 6.8 of the block data of
The (k + 7) th data is read out, 8 burst data is created from the data read from both memories, and output from the data selector 102.

【0054】そして、次のn+1番目のブロックデータ
が供給されるとき、このブロックデータの8k,8k+
1,8k+2,8k+3番目のデータがメモリ111に
書込まれ、8k+4,8k+5,8k+6,8k+7番
目のデータがメモリ113に書込まれる。そして、次の
ステップでメモリ111に記憶されたn+1番目のブロ
ックデータ(8k,8k+1,8k+2,8k+3番目
のデータ)と、メモリ112に記憶された1ブロック前
(n番目のブロック)のブロックデータの8k+4,8
k+5,8k+6,8k+7番目のデータとが読出さ
れ、両メモリから読出されたデータで8バーストデータ
を作成してデータセレクタ102から出力させる。
Then, when the next (n + 1) th block data is supplied, 8k, 8k +
The 1,8k + 2,8k + 3rd data is written into the memory 111, and the 8k + 4,8k + 5,8k + 6,8k + 7th data is written into the memory 113. Then, in the next step, the (n + 1) th block data (8k, 8k + 1, 8k + 2, 8k + 3rd data) stored in the memory 111 and the block data of the previous block (nth block) stored in the memory 112 8k + 4,8
The (k + 5, 8k + 6, 8k + 7th) data is read, and 8 burst data is created from the data read from both memories and output from the data selector 102.

【0055】以下、同様にして各ブロックの前半の4バ
ーストに配置される8k,8k+1,8k+2,8k+
3番目のデータの、メモリ111への書込みと読出しと
を1ブロック毎に行うと共に、各ブロックの後半の4バ
ーストに配置される8k+4,8k+5,8k+6,8
k+7番目のデータの書込みと読出しとを、2個のメモ
リ112,113を使用して交互に行う。
Hereinafter, similarly, 8k, 8k + 1, 8k + 2, 8k + arranged in the first four bursts of each block.
Writing and reading of the third data to and from the memory 111 are performed for each block, and 8k + 4,8k + 5,8k + 6,8 arranged in the latter four bursts of each block.
Writing and reading of the (k + 7) th data are alternately performed using the two memories 112 and 113.

【0056】このようにしてインターリーブ処理が行わ
れることで、各メモリ111,112,113は記憶容
量が0.5ブロック分であるので、合計で1.5ブロッ
ク分の容量のメモリでインターリーブ処理が行われるこ
とになり、各ブロックのデータを一括してメモリに記憶
させるために2ブロック分のメモリが必要な従来例(図
16の例)に比べ、0.5ブロック分のメモリ容量の削
減(即ち25%のメモリ容量の削減)ができる。
Since the memories 111, 112, and 113 have a storage capacity of 0.5 block by performing the interleave processing in this manner, the interleave processing is performed with a memory having a total capacity of 1.5 blocks. In this case, the memory capacity is reduced by 0.5 blocks as compared with the conventional example (the example in FIG. 16) that requires two blocks of memory to collectively store the data of each block in the memory (the example of FIG. 16). That is, the memory capacity can be reduced by 25%).

【0057】なお、この削減できる量はインターリーブ
処理状態により変化する。例えば、次に示すインターリ
ーブ方程式の場合には、よりメモリ容量を削減すること
ができる。
The amount that can be reduced varies depending on the interleave processing state. For example, in the case of the following interleave equation, the memory capacity can be further reduced.

【0058】[0058]

【数11】i(B,j)=C(n,k)## EQU11 ## i (B, j) = C (n, k)

【数12】k=0,1,‥‥455## EQU12 ## k = 0,1, k455

【数13】n=0,‥‥N,N+1,‥‥## EQU13 ## n = 0, {N, N + 1,}

【数14】 B=B0 +4・n+mod(19)+k div114B = B 0 + 4 · n + mod (19) + k div 114

【数15】 j=2〔(49k)mod57〕+〔(k mod8)div4〕## EQU15 ## j = 2 [(49 k) mod 57] + [(k mod 8) div 4]

【0059】この〔数11〕式〜〔数15〕式がインタ
ーリーブ方程式として設定されている場合には、メモリ
として18データ×(6+1),42データ×(5+
1),96データ×(5+4+3+2)のブロック構成
とすることで、従来に比べ約40%の記憶容量の削減が
できる。
When Equations (11) to (15) are set as interleave equations, 18 data × (6 + 1) and 42 data × (5+
1) By adopting a block configuration of 96 data × (5 + 4 + 3 + 2), the storage capacity can be reduced by about 40% as compared with the related art.

【0060】なお、上述実施例では書込みアドレスをア
ドレス変換回路106により変換させてインターリーブ
させる処理を行うようにしたが、読出しアドレスをアド
レス変換してインターリーブ処理させるようにしても良
い。また、インターリーブ処理を行うメモリはRAMで
構成させたが、レジスタとしても良い。また、アドレス
変換回路106はROMテーブルより構成するようにし
たが、演算処理によりアドレス変換を行うようにしても
良い。また、書込みアドレス生成用のカウンタ104と
読出しアドレス生成用のカウンタ105とは、共用化さ
せても良い。
In the above-described embodiment, the write address is converted by the address conversion circuit 106 to perform the interleaving process. However, the read address may be converted to the address and subjected to the interleaving process. Further, the memory for performing the interleave processing is constituted by the RAM, but may be constituted by a register. Further, although the address conversion circuit 106 is configured from the ROM table, the address conversion may be performed by arithmetic processing. Further, the counter 104 for generating the write address and the counter 105 for generating the read address may be shared.

【0061】また、上述実施例ではインターリーブ回路
として説明したが、インターリーブされたデータを元に
戻すデ・インターリーブ処理を行う場合にも、同様の処
理を行うようにすることで、デ・インターリーブ処理を
行うメモリの記憶容量を削減することができる。この場
合には、各メモリ111,112,113にインターリ
ーブされたバーストデータを供給して、デ・インターリ
ーブされたブロックデータがメモリの出力側に得られる
ようにすれば良く、具体的にはアドレス変換回路106
で変換するアドレスを、インターリーブされたアドレス
から元のブロックデータのアドレスに変換する処理を行
うようにすれば良い。
Although the above embodiment has been described as an interleaving circuit, the same processing is performed in the case of performing the de-interleaving processing for returning the interleaved data to the original state, so that the de-interleaving processing is performed. The storage capacity of the memory to be performed can be reduced. In this case, the interleaved burst data may be supplied to each of the memories 111, 112, and 113 so that the de-interleaved block data is obtained at the output side of the memory. Circuit 106
The process of converting the address to be converted from the interleaved address to the address of the original block data may be performed.

【0062】次に、本発明の第2の実施例を図3〜図8
を参照して説明する。
Next, a second embodiment of the present invention will be described with reference to FIGS.
This will be described with reference to FIG.

【0063】本例においては、図14,図15に示した
デジタル通信が行われる携帯電話機の送信系のチャンネ
ルエンコーダ20内のインターリーブ回路を図3に示す
ように構成したもので、図14及び図15に対応する部
分には同一符号を付し、その詳細説明は省略する。
In this example, the interleave circuit in the channel encoder 20 of the transmission system of the portable telephone for performing the digital communication shown in FIGS. 14 and 15 is configured as shown in FIG. 15 are denoted by the same reference numerals, and detailed description thereof will be omitted.

【0064】図3において、201,202は畳込み符
号器22(図15参照)が出力する2系統の畳込み符号
化されたブロックデータが供給される端子を示し、この
端子201及び202に得られるブロックデータを、メ
モリ211,212に供給する。この2個のメモリ21
1,212は、メモリ211が0.5ブロック分のデー
タを記憶する容量を有し、メモリ212が1ブロック分
のデータを記憶する容量を有する。そして、メモリ21
1は記憶エリアが4分割され、それぞれがメモリa,
b,c,dとしてある。また、メモリ212は記憶エリ
アが8分割され、それぞれがメモリe,f,g,h,
i,j,k,lとしてある。このメモリの分割数は後述
する畳込み符号化率により決まる(ここでは畳込み符号
化率1/2)。なお、分割されたそれぞれのメモリa〜
lは1バーストのデータの半分の記憶容量を有する。こ
の場合、本例においてはメモリに書込んでから読出すま
での時間が比較的短いデータがメモリ211に書込まれ
るようにしてあり、メモリに書込んでから読出すまでの
時間が比較的長いデータがメモリ212に書込まれるよ
うにしてある。この書込まれるメモリを選択する具体的
な制御については後述する。
In FIG. 3, reference numerals 201 and 202 denote terminals to which two systems of convolutionally encoded block data output from the convolutional encoder 22 (see FIG. 15) are supplied. The supplied block data is supplied to the memories 211 and 212. These two memories 21
1 and 212, the memory 211 has a capacity to store 0.5 blocks of data, and the memory 212 has a capacity to store one block of data. And the memory 21
1 is a storage area divided into four, each of which is a memory a,
b, c, d. The memory 212 is divided into eight storage areas, each of which is a memory e, f, g, h,
i, j, k, l. The number of divisions of the memory is determined by a convolutional coding rate described later (here, a convolutional coding rate 1/2). The divided memories a to a
l has half the storage capacity of one burst of data. In this case, in this example, data having a relatively short time from writing to reading to the memory is written to the memory 211, and a time from writing to reading to the memory is relatively long. Data is written to the memory 212. Specific control for selecting the memory to be written will be described later.

【0065】そして、後述するアドレスセレクタ208
側から供給されるアドレスデータによりそれぞれのメモ
リに書込まれるアドレス及びメモリから読出されるアド
レスが制御され、読出しアドレスの制御によりデータを
インターリーブさせる処理が行われる。そして、各メモ
リ211,212から読出されたデータをデータセレク
タ203に供給し、このデータセレクタ203で後述す
る書込み/読出し制御回路209の制御に基づいて選択
されたデータを、バーストデータとして出力端子204
から後段の回路(図15のエンクリプション回路24)
に供給し、送信回路で送信処理を行って基地局側に送信
させる。
Then, an address selector 208 described later is used.
The address written to each memory and the address read from the memory are controlled by the address data supplied from the side, and the process of interleaving the data is performed by controlling the read address. The data read from each of the memories 211 and 212 is supplied to a data selector 203, and the data selected by the data selector 203 based on the control of a write / read control circuit 209 described later is output as a burst data as an output terminal 204.
To the subsequent stage (the encryption circuit 24 in FIG. 15)
, And the transmission circuit performs a transmission process to transmit the signal to the base station.

【0066】そして、本例の回路でのインターリーブ処
理を制御するために、ブロックデータの出力に同期し
て、制御回路30から2種類の開始信号a,bが出力さ
れ、一方の開始信号aを読出しアドレス生成用カウンタ
205に供給し、他方の開始信号bを書込みアドレス生
成用カウンタ206に供給する。そして、カウンタ20
5で開始信号aに基づいてカウントしたアドレスデータ
をアドレス変換回路207に供給し、読出しアドレスを
インターリーブ方程式に従ってインターリーブされたア
ドレスに変換する。このアドレス変換回路207は、例
えばROMテーブルにより構成される。
Then, in order to control the interleave processing in the circuit of the present embodiment, two types of start signals a and b are output from the control circuit 30 in synchronization with the output of the block data. It is supplied to a read address generation counter 205 and the other start signal b is supplied to a write address generation counter 206. And the counter 20
In step 5, the address data counted based on the start signal a is supplied to the address conversion circuit 207, and the read address is converted into an interleaved address according to an interleave equation. This address conversion circuit 207 is constituted by, for example, a ROM table.

【0067】そして、カウンタ206で生成された書込
みアドレスデータと、アドレス変換回路207で変換さ
れた読出しアドレスデータとを、アドレスセレクタ20
8に供給し、書込み/読出し制御回路209の制御に基
づいて選択されたアドレスデータをアドレスセレクタ2
08から各メモリ211,212に供給する。また、各
メモリ211,212での書込みと読出しとの切換え
も、書込み/読出し制御回路209の制御により行われ
る。さらに、データセレクタ203でのバーストデータ
の選択も、書込み/読出し制御回路209の制御により
行われる。この場合、書込み/読出し制御回路209に
よるそれぞれの制御は、制御回路30から供給される制
御指令に基づいて行われる。
Then, the write address data generated by the counter 206 and the read address data converted by the address conversion circuit 207 are transferred to the address selector 20.
8 and the address data selected based on the control of the write / read control circuit 209.
08 to each of the memories 211 and 212. Switching between writing and reading in each of the memories 211 and 212 is also performed under the control of the writing / reading control circuit 209. Further, the selection of burst data by the data selector 203 is also performed under the control of the write / read control circuit 209. In this case, each control by the write / read control circuit 209 is performed based on a control command supplied from the control circuit 30.

【0068】ここで、本例の構成により処理されるデー
タについて説明すると、図5に示すように、送信させる
ソースデータ列{D(0) ,D(1) ,‥‥D(n) }は、ソ
ースデータ1個につき2個の符号化データが畳込み符号
器22で生成され、2(n+1)個の符号化データ列
{G0(0) ,G0(1) ,‥‥G0(n) },{G1(0)
G1(1) ,‥‥G1(n) }がインターリーブ回路23に
供給される。この場合、畳込み符号器22での符号化率
は1/2とする。そして、インターリーブ回路23での
インターリーブ処理により、(m+1)個のデータで構
成する(k+1)個のバーストデータ列〔{C0(0)
C0(1) ,‥‥C0(m) },‥‥{Ck(0) ,C
(1) ,‥‥Ck(m) }〕が生成される。
Here, the data processed by the configuration of this example will be described. As shown in FIG. 5, the source data sequence {D (0) , D (1) , {D (n) } to be transmitted is , Two encoded data for each source data are generated by the convolutional encoder 22, and 2 ( n + 1) encoded data strings {G0 (0) , G0 (1) , {G0 (n) } , {G1 (0) ,
G1 (1) and {G1 (n) } are supplied to the interleave circuit 23. In this case, the coding rate in the convolutional encoder 22 is 1 /. Then, by the interleave processing in the interleave circuit 23, (k + 1) burst data strings [{C0 (0) , composed of (m + 1) data
C0 (1) , {C0 (m) }, {Ck (0) , C
k (1) , {Ck (m) }] is generated.

【0069】この場合の畳込み符号器の構成例を図6に
示すと、端子241に得られるソースデータ列{D(0),
(1),‥‥D(n) }を、4段に接続されたDフリップフ
ロップ242,243,244,245に順次供給し、
端子241に得られるデータと、Dフリップフロップ2
44の出力と、Dフリップフロップ245の出力とを、
Ex-ORゲート246に供給して排他的論理和をとり、
G0系列のブロックデータ列{G0(0),G0(1),‥‥G
(n) }を端子247に得る。また、端子241に得ら
れるデータと、Dフリップフロップ242の出力と、D
フリップフロップ244の出力と、Dフリップフロップ
245の出力とを、Ex-ORゲート248に供給して排
他的論理和をとり、G1系列のブロックデータ列{G1
(0),G1 (1),‥‥G1(n) }を端子249に得る。
FIG. 6 shows a configuration example of the convolutional encoder in this case.
In this case, the source data string {D(0),
D(1),‥‥ D(n)} Is a D flip-flop connected in four stages
Rops 242, 243, 244 and 245,
The data obtained at the terminal 241 and the D flip-flop 2
44 and the output of the D flip-flop 245,
The exclusive OR is supplied to the Ex-OR gate 246,
G0 series block data string {G0(0),G0(1),‥‥ G
0(n)} Is obtained at the terminal 247. Also, the terminal 241
Data, the output of D flip-flop 242, and D
Output of flip-flop 244 and D flip-flop
245 is supplied to an Ex-OR gate 248 to be discharged.
The logical OR is calculated and the G1 series block data string {G1
(0),G1 (1),‥‥ G1(n)Is obtained at the terminal 249.

【0070】次に、本例のインターリーブ回路の動作を
説明する。ここで設定されるインターリーブ方程式は、
上述した第1の実施例で説明した〔数6〕式〜〔数1
0〕式で、各メモリa〜lの動作タイミングを図4に示
す。この図4のA〜Lは、メモリa〜lのデータ書込
み,読出し状態を示し、畳込み符号器側から端子20
1,202に得られるブロックデータの内で、{G0
(4n)}番目のデータがメモリaに書込まれ、{G
(4n)}番目のデータがメモリbに書込まれ、{G0
(4n+1)}番目のデータがメモリcに書込まれ、{G1
(4n+1)}番目のデータがメモリdに書込まれ、{G0
(4n+2)}番目のデータがメモリe又はiに書込まれ、
{G1(4 n+2)}番目のデータがメモリf又はjに書込ま
れ、{G0(4n+3)}番目のデータがメモリg又はkに書
込まれ、{G1(4n+3)}番目のデータがメモリh又はl
に書込まれる。
Next, the operation of the interleave circuit of this embodiment will be described. The interleave equation set here is
[Equation 6] to [Equation 1] described in the first embodiment.
[0], the operation timing of each of the memories a to l is shown in FIG. 4A to 4L show the data write and read states of the memories a to l.
Among the block data obtained in 1,202, {G0
(4n) The } th data is written to the memory a, and the {G
1 (4n) } th data is written to memory b, and {G0
(4n + 1) } th data is written to the memory c, and {G1
(4n + 1) } th data is written into the memory d, and {G0
(4n + 2) } th data is written to memory e or i,
{G1 (4 n + 2) } -th data is written to memory f or j, {G0 (4n + 3) }-th data is written to memory g or k, and {G1 (4n + 3) } Th data is memory h or l
Is written to.

【0071】ここで、メモリ212が分割されて構成さ
れるメモリe〜lは、メモリe,f,g,hとメモリ
i,j,k,lとが1ブロック毎に交互に使用され、結
局8バースト周期で使用されることになる。即ち、図4
に示すように、或るタイミングで1ブロックのデータが
入力すると、この1ブロックのデータが8分割されてメ
モリa〜hに記憶される。そして、この記憶された後に
順次バーストデータとして記憶データが読出されるが、
この読出し時にはメモリa〜dに記憶されたデータがメ
モリa,b,c,dの順序で読出されると共に、1ブロ
ック前のタイミングでメモリi〜lに記憶されたデータ
がメモリi,j,k,lの順序で読出され、インターリ
ーブされた4バーストのデータとされる。即ち、最初の
1バーストのデータがメモリaの出力とメモリiの出力
とで構成され、次のバーストのデータがメモリbの出力
とメモリjとで構成され、次のバーストのデータがメモ
リcの出力とメモリkとで構成され、最後のバーストの
データがメモリdの出力とメモリlとで構成される。
Here, in the memories e to l formed by dividing the memory 212, the memories e, f, g, h and the memories i, j, k, l are used alternately for each block. It will be used in eight burst periods. That is, FIG.
As shown in (1), when one block of data is input at a certain timing, this one block of data is divided into eight and stored in the memories a to h. Then, after the data is stored, the stored data is sequentially read as burst data.
At the time of this reading, the data stored in the memories a to d are read in the order of the memories a, b, c, and d, and the data stored in the memories i to j at the timing one block before are stored in the memories i, j, and i. The data is read out in the order of k and l and is interleaved as four burst data. That is, the data of the first burst is composed of the output of the memory a and the output of the memory i, the data of the next burst is composed of the output of the memory b and the memory j, and the data of the next burst is the data of the memory c. The last burst data is composed of the output of the memory d and the memory l.

【0072】そして、次のタイミングで供給される1ブ
ロックのデータは、メモリa〜dとメモリi〜lが使用
されて記憶され、この記憶された後にメモリa〜dに記
憶されたデータと1ブロック前のタイミングでメモリe
〜hに記憶されたデータとが順次読出されて同様に4バ
ーストデータとされる。このメモリの制御が8バースト
のデータの出力毎に繰り返されることになる。
The data of one block supplied at the next timing is stored by using the memories a to d and the memories i to l, and after this storage, the data stored in the memories a to d and 1 Memory e at timing before block
.. To h are sequentially read out and similarly made four burst data. This control of the memory is repeated every time eight bursts of data are output.

【0073】このようにインターリーブ処理が行われる
ことで、各メモリ211,212の記憶容量は合計で
1.5ブロック分であり、1.5ブロック分の容量のメ
モリでインターリーブ処理が行われることになり、各ブ
ロックのデータを一括してメモリに記憶させるために2
ブロック分のメモリが必要な従来例(図16の例)に比
べ、0.5ブロック分のメモリ容量の削減(即ち25%
のメモリ容量の削減)ができる。そして本例において
は、書込んでから読出すまでの時間が比較的短いデータ
が記憶されるメモリ211を4分割してメモリa〜dと
すると共に、書込んでから読出すまでの時間が比較的長
いデータが記憶されるメモリ212を8分割してメモリ
e〜lとして、それぞれのメモリa〜lの内の8個のメ
モリに並列的にブロックデータの書込みを行うことで、
データの書込み速度や読出し速度が1/8に低下する。
このようにデータの書込み速度や読出し速度が大幅に低
下することで、メモリの駆動信号の低周波数化が行え、
インターリーブ回路の消費電力を低くすることができる
と共に、回路構成自体も簡単になり、小型にインターリ
ーブ回路を構成することができる。この場合、ここでは
メモリ211,212の分割数を畳込み符号化率に従っ
たものとしたので、畳込み符号化されたブロックデータ
の並列処理が良好に行われる。
By performing the interleave processing as described above, the storage capacity of each of the memories 211 and 212 is 1.5 blocks in total, and the interleave processing is performed by the memory having the capacity of 1.5 blocks. In order to store the data of each block collectively in the memory,
As compared with the conventional example requiring the memory for blocks (the example in FIG. 16), the memory capacity for 0.5 blocks is reduced (that is, 25%).
Memory capacity). In this example, the memory 211 storing data having a relatively short time from writing to reading is divided into four memories a to d, and the time from writing to reading is compared. By dividing the memory 212 in which the long data is stored into eight and dividing them into memories e to l, writing the block data in eight of the memories a to l in parallel,
The data write speed and data read speed are reduced to 1/8.
As described above, the data write speed and the read speed are greatly reduced, so that the frequency of the memory drive signal can be reduced.
The power consumption of the interleave circuit can be reduced, the circuit configuration itself is simplified, and the interleave circuit can be made compact. In this case, since the numbers of divisions of the memories 211 and 212 are determined in accordance with the convolutional coding rate, the parallel processing of the convolutionally coded block data is favorably performed.

【0074】なお、この第2の実施例では読出しアドレ
スをアドレス変換回路207により変換させてインター
リーブさせる処理を行うようにしたが、書込みアドレス
をアドレス変換してインターリーブ処理させるようにし
ても良い。また、インターリーブ処理を行うメモリはR
AMで構成させたが、レジスタとしても良い。また、ア
ドレス変換回路207はROMテーブルより構成するよ
うにしたが、演算処理によりアドレス変換を行うように
しても良い。また、書込みアドレス生成用のカウンタ2
06と読出しアドレス生成用のカウンタ205とは、共
用化させても良い。
In the second embodiment, the read address is converted by the address conversion circuit 207 to perform the interleaving process. However, the write address may be converted to the address to perform the interleaving process. The memory for performing the interleave processing is R
Although constituted by AM, it may be a register. Further, although the address conversion circuit 207 is configured from a ROM table, the address conversion may be performed by arithmetic processing. Also, a counter 2 for generating a write address
06 and the read address generation counter 205 may be shared.

【0075】また、この第2の実施例でもインターリー
ブ回路として説明したが、インターリーブされたデータ
を元に戻すデ・インターリーブ処理を行う場合にも、同
様の処理を行うように構成して、デ・インターリーブ処
理を行うメモリの記憶容量の削減及びメモリの書込み,
読出し速度の低速化を計ることができる。この場合に
は、各メモリ211,212にインターリーブされたバ
ーストデータを供給して、デ・インターリーブされたブ
ロックデータがメモリの出力側に得られるようにすれば
良く、具体的にはアドレス変換回路207で変換するア
ドレスを、インターリーブされたアドレスから元のブロ
ックデータのアドレスに変換する処理を行うようにすれ
ば良い。
Although the second embodiment has been described as an interleave circuit, a similar process is performed when a de-interleave process for restoring interleaved data is performed. Reduction of the storage capacity of the memory that performs the interleave processing, writing of the memory,
The reading speed can be reduced. In this case, the interleaved burst data may be supplied to each of the memories 211 and 212 so that the deinterleaved block data can be obtained at the output side of the memory. The process of converting the address to be converted from the interleaved address to the address of the original block data may be performed.

【0076】ここで、この受信時のデ・インターリーブ
処理を行う場合のデータ例について説明すると、図7に
示すように、受信した(m+1)個のデータで構成され
る(k+1)個のバーストデータ列〔{u0(0),u0
(1),‥‥u0(m) },‥‥{Ck(0),Ck(1),‥‥Ck
(m) }〕が、デ・インターリーブ回路12でのデ・イン
ターリーブ処理により、2(n+1)個のブロックデー
タ列{u′(0),u′(1),‥‥u′(2n+1)}とされる。そ
して、ビタビ復号器13での符号化率1/2のビタビ復
号により、ソースデータ列{d(0),(1),‥‥d(n)
が生成される。
Here, a data example in the case of performing the deinterleave processing at the time of reception will be described. As shown in FIG. 7, (k + 1) burst data composed of (m + 1) received data Column [{u0 (0), u0
(1), ‥‥ u0 (m) }, ‥‥ {Ck (0), Ck (1), ‥‥ Ck
(m) }] is de-interleaved by the de-interleave circuit 12 to obtain 2 (n + 1) block data strings {u ′ (0), u ′ (1), ‥‥ u ′ (2n + 1) ) }. Then, the source data sequence {d (0), d (1), {d (n) } is obtained by Viterbi decoding at a coding rate of 1/2 in the Viterbi decoder 13.
Is generated.

【0077】また、デ・インターリーブ処理とビタビ復
号とのインターフェースの切口となるビタビ復号に於け
るブランチメトリック計算回路の例を図8に示す。ここ
では、デ・インターリーブ回路から出力されるブロック
データ列{u′(0),u′(1),‥‥u′(2n+1)}を、端子
221を介してラッチ回路222,223に供給する。
このそれぞれのラッチ回路222,223では、それぞ
れ所定のタイミングで一次保持を行って、符号化の生成
多項式に対応するデータ列{u′(0),u′(2),‥‥u′
(2n)}及び{u′(1),u′(3),‥‥u′(2n+1)}を得
る。そして、符号化率に従って、2個のデータ{u′
(0),u′(1) },{u′(2),u′(3) },‥‥{u′
(2n),u′(2n+1)}を使用して各ブランチメトリック計
算回路231,232,233,234に供給して、対
応したブランチメトリックの計算を行う。
FIG. 8 shows an example of a branch metric calculation circuit in Viterbi decoding, which is an interface between de-interleaving processing and Viterbi decoding. Here, the block data sequence {u ′ (0), u ′ (1), {u ′ (2n + 1) } output from the de-interleave circuit is sent to the latch circuits 222 and 223 via the terminal 221. Supply.
Each of the latch circuits 222 and 223 performs primary holding at a predetermined timing, and performs a data sequence {u ′ (0), u ′ (2), ‥‥ u ′ corresponding to an encoding generation polynomial.
(2n) } and {u ′ (1), u ′ (3), {u ′ (2n + 1) }. Then, according to the coding rate, two data {u '
(0), u ' (1) }, {u' (2), u ' (3) }, ‥‥ {u'
(2n) , u ′ (2n + 1) } are used to supply the respective branch metric calculation circuits 231, 232, 233, and 234 to calculate the corresponding branch metrics.

【0078】この場合、本実施例のデ・インターリーブ
処理を適用することで、畳込み符号化率に従って並列処
理が行われるので、ラッチ回路222,223でデータ
のラッチをすることなく、各ブランチメトリック計算回
路231〜234でブランチメトリック計算が可能にな
り、それだけビタビ復号器の構成を簡単にすることがで
きる。このように本実施例によると、デ・インターリー
ブ処理も良好に行われる。
In this case, by applying the de-interleave processing of this embodiment, parallel processing is performed in accordance with the convolutional coding rate. Therefore, each branch metric is not latched by the latch circuits 222 and 223. The calculation of the branch metric can be performed by the calculation circuits 231 to 234, and the configuration of the Viterbi decoder can be simplified accordingly. As described above, according to the present embodiment, the de-interleave processing is performed well.

【0079】次に、本発明の第3の実施例を図9〜図1
3を参照して説明する。
Next, a third embodiment of the present invention will be described with reference to FIGS.
3 will be described.

【0080】本例においては、図14,図15に示した
デジタル通信が行われる携帯電話機の受信系のチャンネ
ルデコーダ20内のデ・インターリーブ回路を図9に示
すように構成したもので、図14及び図15に対応する
部分には同一符号を付し、その詳細説明は省略する。
In this example, the de-interleave circuit in the channel decoder 20 of the receiving system of the portable telephone for performing the digital communication shown in FIGS. 14 and 15 is configured as shown in FIG. 15 are denoted by the same reference numerals, and detailed description thereof will be omitted.

【0081】図9において、301はデクリプション回
路11(図15参照)が出力するバーストデータが供給
される端子を示し、この端子301に得られるバースト
データを、メモリ311〜318に供給する。この8個
のメモリ311〜318は、合計で2ブロック分のデー
タの記憶容量を有し、端子301に得られるバーストデ
ータの偶数番目のデータがメモリ311〜314に記憶
され、奇数番目のデータがメモリ315〜318に記憶
される。また本例においては、偶数番目のデータが記憶
されるメモリ311〜314への書込みアドレスを、順
次−16ずつオフセットさせると共に、奇数番目のデー
タが記憶されるメモリ315〜318への書込みアドレ
スを、順次{(−16)+(−32)}ずつオフセット
させる。
In FIG. 9, reference numeral 301 denotes a terminal to which the burst data output from the decryption circuit 11 (see FIG. 15) is supplied, and the burst data obtained at this terminal 301 is supplied to the memories 311 to 318. The eight memories 311 to 318 have a total storage capacity of two blocks of data. Even-numbered data of burst data obtained at the terminal 301 is stored in the memories 311 to 314, and odd-numbered data is stored in the memories 311 to 314. Stored in the memories 315 to 318. In this example, the write addresses to the memories 311 to 314 in which even-numbered data are stored are sequentially offset by −16, and the write addresses to the memories 315 to 318 in which odd-numbered data are stored are It is sequentially offset by {(−16) + (− 32)}.

【0082】そして、アドレスカウンタ303から供給
されるアドレスデータによりそれぞれのメモリに書込ま
れるアドレス及びメモリから読出されるアドレスが制御
され、読出しアドレスの制御によりデータをデ・インタ
ーリーブさせる処理が行われる。この場合、アドレスカ
ウンタ303はゲート回路により構成され、このアドレ
スカウンタ303での書込みアドレス及び読出しアドレ
スの生成は、制御回路30の制御で行われる。そして、
各メモリ311〜318から読出されたデータをデータ
セレクタ302に供給し、このデータセレクタ302で
制御回路30の制御に基づいて選択された2系統のデー
タを、畳込み符号化されたブロックデータとして出力端
子304,305から後段の回路(図15のビタビ復号
器13)に供給して復号させる。
Then, the address written to each memory and the address read from the memory are controlled by the address data supplied from the address counter 303, and the data is deinterleaved by controlling the read address. In this case, the address counter 303 is configured by a gate circuit, and the generation of the write address and the read address in the address counter 303 is performed under the control of the control circuit 30. And
The data read from each of the memories 311 to 318 is supplied to a data selector 302, and the two data selected by the data selector 302 under the control of the control circuit 30 are output as convolutionally encoded block data. The signals are supplied from terminals 304 and 305 to a subsequent circuit (Viterbi decoder 13 in FIG. 15) to be decoded.

【0083】そして、本例の回路でのデ・インターリー
ブ処理を制御するために、バーストデータの供給に同期
して、制御回路30から各メモリ311〜318に直接
書込み,読出し制御信号を供給すると共に、データセレ
クタ302にも直接制御信号を供給する。
Then, in order to control the de-interleave processing in the circuit of this embodiment, the control circuit 30 supplies write / read control signals directly to the memories 311 to 318 in synchronization with the supply of burst data. , The control signal is also directly supplied to the data selector 302.

【0084】次に、本例のインターリーブ回路の動作を
説明する。まず、ここで設定されるインターリーブ方程
式を次式に示す。
Next, the operation of the interleave circuit of this embodiment will be described. First, the interleave equation set here is shown in the following equation.

【0085】[0085]

【数16】i(B,j)=C(n,k)## EQU16 ## i (B, j) = C (n, k)

【数17】k=0,1,‥‥455## EQU17 ## k = 0,1, ‥‥ 455

【数18】n=0,‥‥N,N+1,‥‥## EQU18 ## n = 0, {N, N + 1,}

【数19】B=B0 +4・n+k mod(4)B = B 0 + 4 · n + k mod (4)

【数20】 j=2〔(49k)mod57〕+〔(k mod8)div4〕J = 2 [(49 k) mod 57] + [(k mod 8) div 4]

【0086】この〔数16〕式〜〔数20〕式について
説明すると、〔数16〕式はn番目のブロックデータの
k番目のデータがB番目のバーストのj番目のデータに
なることを示す。また、〔数17〕式は1ブロックデー
タが0番目から455番目の456データで構成される
ことを示す。また、〔数18〕式はブロックデータの番
号を示す。また、〔数19〕式はインターリーブの深さ
が4で、n番目のブロックデータの4k,4k+1,4
k+2,4k+3番目のデータが、それぞれ4n,4n
+1,4n+2,4n+3番目のバーストに配置される
ことを示す。また、〔数20〕式は各バーストに配置さ
れるデータの位置を示す。
The equations (16) to (20) will be described. The equation (16) indicates that the k-th data of the n-th block data is the j-th data of the B-th burst. . The expression (17) indicates that one block data is composed of 0-th to 455-th 456 data. Equation (18) indicates the number of block data. Expression (19) shows that the interleave depth is 4, and the 4th, 4k + 1, 4
k + 2, 4k + 3rd data are 4n and 4n respectively
+1, 4n + 2, 4n + 3 indicates that they are arranged in the third burst. The expression (20) indicates the position of data arranged in each burst.

【0087】このインターリーブ方程式の設定により、
インターリーブされた各バーストデータを奇数番目のデ
ータと偶数番目のデータとに分割してみると、各バース
ト中に含まれるブロックデータは、8k番目と8k+4
番目、8k+1番目と8k+5番目、8k+2番目と8
k+6番目、8k+3番目と8k+7番目の位置が、そ
れぞれ−63オフセットした配置になり、各バーストデ
ータ間で4k,4k+1,4k+2,4k+3番目のデ
ータが、それぞれ−16ずつオフセットした配置にな
る。
By setting the interleave equation,
When each interleaved burst data is divided into odd-numbered data and even-numbered data, the block data included in each burst is 8k-th and 8k + 4
8th, 8k + 1th and 8k + 5th, 8k + 2nd and 8th
The (k + 6) th, (8k + 3) th, and (8k + 7) th positions are arranged to be offset by −63, respectively, and the 4k, 4k + 1, 4k + 2, 4k + 3rd data are arranged to be offset by −16 between each burst data.

【0088】このインターリーブ方程式の設定に基づい
た本例の回路の動作タイミングを図10を参照して説明
すると、端子301に得られるインターリーブされたバ
ーストデータ{i0(0),‥‥i0(113) },{i1(0),
‥‥i1(113) },{i2(0 ),‥‥i2(113) },{i
(0),‥‥i3(113) }の内で、偶数番目のデータ{i
(0),i0(2),‥‥i0(112) },{i1(0),i1(2),
‥‥i1(112) },{i2(0),i2(2),‥‥i
(112) },{i3(0),i3(2),‥‥i3(112) }のそ
れぞれ57個のデータ列を、図10のA〜Dに示すよう
に、メモリ311,312,313,314に順次記憶
させる。この場合、各メモリ311,312,313,
314への書込みアドレスを、順次−16ずつオフセッ
トさせる。
The operation timing of the circuit of this embodiment based on the setting of the interleave equation will be described with reference to FIG. 10. Interleaved burst data # i0 (0), # i0 (113) obtained at terminal 301 }, {I1 (0),
‥‥ i1 (113) }, {i2 (0 ), ‥‥ i2 (113) }, {i
3 (0), {i3 (113) }, even-numbered data {i
0 (0), i0 (2), ‥‥ i0 (112) }, {i1 (0), i1 (2),
‥‥ i1 (112) }, {i2 (0), i2 (2), ‥‥ i
2 (112) }, {i3 (0), i3 (2) , {i3 ( 112) } are respectively stored in the memories 311, 312, and 313 as shown in FIGS. , 314 sequentially. In this case, each of the memories 311, 312, 313,
The write address to 314 is sequentially offset by -16.

【0089】同様に、バーストデータの奇数番目のデー
タ{i0(1),i0(3),‥‥i0(113 ) },{i1(1),
(3),‥‥i1(113) },{i2(1),i2(3),‥‥i2
(113 ) },{i3(1),i3(3),‥‥i3(113) }のそれ
ぞれ57個のデータ列を、図10のE〜Hに示すよう
に、メモリ315,316,317,318に順次記憶
させる。この場合には、各メモリ315,316,31
7,318への書込みアドレスを、順次{(−16)+
(−32)}ずつオフセットさせる。
Similarly, odd-numbered data {i0 (1), i0 (3) , {i0 (113 ) }, {i1 (1), i of the burst data
1 (3), ‥‥ i1 (113) }, {i2 (1), i2 (3), ‥‥ i2
(113 ) }, {i3 (1), i3 (3) , {i3 ( 113) } are respectively stored in the memories 315, 316, 317, as shown in FIG. 318 are sequentially stored. In this case, the memories 315, 316, 31
7, 318 are sequentially written to $ (-16) +
(−32) Offset by}.

【0090】このように書込みアドレスを設定すること
で、ブロックデータのデータ番号8k,8k+1,‥‥
8k+7はそれぞれメモリ311〜318の同一アドレ
スに記憶されることになる。
By setting the write address in this manner, the data numbers 8k, 8k + 1,.
8k + 7 are stored at the same address in the memories 311 to 318, respectively.

【0091】そして、このように書込まれたデータの読
出しは、インターリーブパターンに従ってそれぞれ{C
(0),(7),‥‥C(8k)},{C(1),(8),‥‥
(8k+1)},‥‥{C(7),(15), ‥‥C(8k+7)}の順
で読出すように読出しアドレスをアドレスカウンタ30
3で作成して図10に示すように行われる。そして、デ
ータセレクタ302でブロックデータの偶数番目のブロ
ックデータ列{C(0),(2),‥‥C(112) }を、この順
序で出力端子304に供給すると共に、ブロックデータ
の奇数番目のブロックデータ列{C(1),(3),‥‥C
(113) }を、この順序で出力端子305に供給する。
The data written in this manner is read out according to the interleave pattern in accordance with each of .DELTA.C
(0), C (7), ‥‥ C (8k) }, {C (1), C (8), ‥‥
The read address is set to the address counter 30 so that the read address is read in the order of C (8k + 1) }, {C (7), C (15), {C (8k + 7) }.
3 and performed as shown in FIG. Then, the data selector 302 supplies the even-numbered block data sequence {C (0), C (2), {C (112) } of the block data to the output terminal 304 in this order, and the odd number of the block data.番 目 C (1), C (3), ‥‥ C
(113) are supplied to the output terminal 305 in this order.

【0092】この書込みと読出しの処理を、4バースト
データの入力毎に繰り返し行い、ブロックデータ列を生
成させる。
The writing and reading processes are repeated every time four burst data are input, to generate a block data string.

【0093】このようにデ・インターリーブ処理が行わ
れることで、8分割されたメモリ311〜318の書込
みアドレス及び読出しアドレスが全て同じになり、メモ
リのアドレス制御が簡単に行えるようになる。従って、
アドレスカウンタ303として簡単な論理ゲートで構成
できると共に、書込みアドレス生成用のカウンタと読出
しアドレス生成用のカウンタとを共用化することが簡単
になる。このため、デ・インターリーブ回路の回路規模
を小さくすることができると共に、消費電力を削減する
ことができる。
By performing the de-interleaving process in this way, the write addresses and read addresses of the eight divided memories 311 to 318 are all the same, and the address control of the memories can be easily performed. Therefore,
The address counter 303 can be constituted by a simple logic gate, and the counter for generating the write address and the counter for generating the read address can be easily shared. Therefore, the circuit scale of the de-interleave circuit can be reduced, and the power consumption can be reduced.

【0094】なお、上述実施例ではデ・インターリーブ
回路として説明したが、インターリーブ処理を行う場合
にも、同様の処理を行うようにすることで、インターリ
ーブ処理の制御系を簡単化することができる。この場合
には、各メモリ311〜318にブロックデータを供給
して、インターリーブされたバーストデータがメモリの
出力側に得られるようにすれば良い。
Although the deinterleaving circuit has been described in the above embodiment, the same processing can be performed in the case of performing the interleave processing, so that the control system of the interleave processing can be simplified. In this case, block data may be supplied to each of the memories 311 to 318 so that interleaved burst data is obtained at the output side of the memory.

【0095】ここで、アドレスカウンタ303を臨む回
路構成の一例を図11に示す。この図11の例はデ・イ
ンターリーブ処理用のメモリとして、偶数ビットデータ
を記憶する2個のRAM421,422と奇数ビットデ
ータを記憶する2個のRAM423,424を使用する
ようにしたもので、制御回路30側から端子401にデ
ータ開始信号S11が得られ、端子402に書込み/読
出し制御信号が得られる。また、端子403にバースト
番号のデータS13が得られる。そして、データ開始信
号S11は1ビットカウンタ404で奇数ビットか偶数
ビットかの判別が行われ、判別信号S14が偶数ビット
用アドレスカウンタ410a及び奇数ビット用アドレス
カウンタ410bに供給される。また、バースト番号の
データS13は、偶数ビットの初期アドレスを設定する
セレクタ405aに供給されて、偶数ビット初期アドレ
スデータS15が生成されると共に、奇数ビットの初期
アドレスを設定するセレクタ405bに供給されて、奇
数ビット初期アドレスデータが生成される。
Here, an example of a circuit configuration facing the address counter 303 is shown in FIG. In the example of FIG. 11, two RAMs 421 and 422 for storing even-numbered bit data and two RAMs 423 and 424 for storing odd-numbered bit data are used as memories for de-interleave processing. From the circuit 30 side, a data start signal S11 is obtained at a terminal 401, and a write / read control signal is obtained at a terminal 402. Further, data S13 of the burst number is obtained at the terminal 403. The 1-bit counter 404 determines whether the data start signal S11 is an odd bit or an even bit, and the determination signal S14 is supplied to the even bit address counter 410a and the odd bit address counter 410b. Further, the burst number data S13 is supplied to a selector 405a for setting an even-numbered bit initial address to generate even-numbered bit initial address data S15, and is also supplied to a selector 405b for setting an odd-numbered bit initial address. , Odd-numbered bit initial address data is generated.

【0096】そして、偶数ビット用アドレスカウンタ4
10aは、アドレスデータを作成する2個の3ビットカ
ウンタ411,412と、両カウンタ411,412を
制御するセレクタ416と、論理ゲート413,41
4,415,417で構成され、データ開始信号S11
と偶数・奇数の判別信号S14と偶数ビット初期アドレ
スデータS15と書込み/読出し制御信号とが供給され
る。この場合、カウンタ411で上位3ビットのアドレ
スデータS16が作成され、カウンタ412で下位3ビ
ットのアドレスデータS19が作成される。
Then, the even-numbered bit address counter 4
10a includes two 3-bit counters 411 and 412 for creating address data, a selector 416 for controlling both counters 411 and 412, and logic gates 413 and 41.
4,415,417, and the data start signal S11
, An even / odd discrimination signal S14, even bit initial address data S15, and a write / read control signal. In this case, the upper three bits of address data S16 are created by the counter 411, and the lower three bits of address data S19 are created by the counter 412.

【0097】本例の構成の偶数ビット用アドレスカウン
タ410aによると、図12に示すように、上位3ビッ
トのアドレスデータS16(図12のF)は、下位3ビ
ットのアドレスデータS19(図12のI)が“0”以
外のときは“0”から“6”の繰り返しで、下位3ビッ
トのアドレスデータS19が“0”のときは“0”から
“7”に順次変化する。また、下位3ビットのアドレス
データS19は、上位3ビットのアドレスデータS16
が“0”に戻るときに1ずつ減っていく。このカウント
値の制御のために、3ビットカウンタ411のカウント
出力が“6”であることを論理ゲート413で検出(図
12のGの検出信号S17)すると共に、3ビットカウ
ンタ411のカウント出力が“7”であることを論理ゲ
ート414で検出(図12のHの検出信号S18)し、
また3ビットカウンタ412のカウント出力が“7”で
あることを論理ゲート415で検出(図12のJの検出
信号S20)する。このそれぞれの論理出力をセレクタ
416で選択することで、両カウンタの制御信号S21
(図12のK)が作成される。また、論理ゲート417
では、下位3ビットのアドレスデータS19が“6”
で、上位3ビットのアドレスデータS16が“2”のと
きに、各3ビットカウンタ411,412をリセットし
て“0”にする制御信号が作成される。なお、ここでの
カウンタデータ表示はヘキサ表示である。
According to the even-bit address counter 410a of the configuration of the present example, as shown in FIG. 12, the upper 3 bits of address data S16 (FIG. 12F) are replaced with the lower 3 bits of address data S19 (FIG. 12). When I) is other than "0", "0" to "6" are repeated, and when the lower 3-bit address data S19 is "0", the address data sequentially changes from "0" to "7". The lower three bits of the address data S19 are replaced with the upper three bits of the address data S16.
When it returns to “0”, it decreases by one. In order to control the count value, the logic gate 413 detects that the count output of the 3-bit counter 411 is "6" (the detection signal S17 of G in FIG. 12), and the count output of the 3-bit counter 411 is changed. "7" is detected by the logic gate 414 (H detection signal S18 in FIG. 12),
The logic gate 415 detects that the count output of the 3-bit counter 412 is "7" (the detection signal S20 of J in FIG. 12). By selecting the respective logical outputs by the selector 416, the control signals S21
(K in FIG. 12) is created. Also, the logic gate 417
In this case, the lower three bits of the address data S19 are "6".
Thus, when the address data S16 of the upper three bits is "2", a control signal for resetting each of the 3-bit counters 411 and 412 to "0" is generated. Note that the counter data display here is hex display.

【0098】そして、偶数ビット用アドレスカウンタ4
10aで作成されたアドレスデータをRAM421,4
22に供給し、端子406に得られるバーストデータの
RAM421,422への偶数ビットのデータの書込み
が行われる。
Then, the even-numbered bit address counter 4
The address data created in 10a is stored in the RAMs 421, 4
Then, the burst data obtained at the terminal 406 is written to the RAMs 421 and 422 by writing even-numbered bits of data.

【0099】なお、奇数ビット用アドレスカウンタ41
0bも同様に構成され、端子406に得られるバースト
データのRAM423,424への奇数ビットのデータ
の書込みが制御される。但し、偶数ビット初期アドレス
データS15の代わりに奇数ビット初期アドレスデータ
が奇数ビット用アドレスカウンタ410bに供給され
る。
The odd bit address counter 41
0b is similarly configured, and the writing of odd-numbered bit data of the burst data obtained at the terminal 406 to the RAMs 423 and 424 is controlled. However, the odd bit initial address data is supplied to the odd bit address counter 410b instead of the even bit initial address data S15.

【0100】そして、各RAM421〜424からのデ
ータ読出しは、図13に示すようにシーケンシャル読出
しのためのアドレスデータが作成される。即ち、データ
の読出しタイミングでデータ開始信号S11(図13の
A)が供給されると、RAM421,422の読出しア
ドレス(図13のB,偶数ビットの場合)が作成され、
各アドレスカウンタ410a,410bでは“0”〜
“39”(ヘキサ表示)まで順次アドレスデータを作成
し、対応したRAM421,422又は423,424
に供給する。
In reading data from each of the RAMs 421 to 424, address data for sequential reading is created as shown in FIG. That is, when the data start signal S11 (A in FIG. 13) is supplied at the data read timing, the read addresses of the RAMs 421 and 422 (B in FIG. 13, in the case of even-numbered bits) are created,
In each of the address counters 410a and 410b, “0” to
Address data is sequentially created up to "39" (hex display), and the corresponding RAM 421, 422 or 423, 424
To supply.

【0101】このアドレスデータの供給により、各RA
M421〜424から図13のC〜Fに示すように記憶
データが読出され、データセレクタ407への選択信号
S26(図13のG)の供給で、RAM421,422
から読出しされたデータが交互に選択されて偶数データ
S27(図13のH)が作成されると共に、RAM42
3,424から読出されたデータが交互に選択されて奇
数データS28(図13のI)が作成され、両データS
27,S28が端子408,409からビタビ復号器側
に供給される。なお、RAM421から読出されるデー
タS22としては、ブロックデータ列{C(0),(2),
(8),(10), (16), ‥‥C(450) }となり、RAM4
22から読出されるデータS23としては、ブロックデ
ータ列{C(1),(3),(9),(11), (17), ‥‥C
(451) }となり、RAM423から読出されるデータS
24としては、ブロックデータ列{C(4),(6),
(12), (14), (20), ‥‥C(454) }となり、RAM
424から読出されるデータS25としては、ブロック
データ列{C(5),(7),(13), (15), (21), ‥‥
(455) }となる。
By supplying this address data, each RA
Stored from M421 to 424 to C to F in FIG.
Data is read, and a selection signal is supplied to data selector 407.
The RAMs 421 and 422 are supplied by the supply of S26 (G in FIG. 13).
The data read from is alternately selected and the even data
S27 (H in FIG. 13) is created, and the RAM 42
3,424 are alternately selected and read
Number data S28 (I in FIG. 13) is created, and both data S
27 and S28 from the terminals 408 and 409 to the Viterbi decoder side
Supplied to The data read from the RAM 421
As the data S22, the block data string $ C(0),C(2),C
(8),C(Ten),C(16),‥‥ C(450)}, RAM4
Data S23 read from block 22 includes block data.
Data train {C(1),C(3),C(9),C(11),C(17),‥‥ C
(451)And the data S read from the RAM 423
24, the block data string $ C(Four),C(6),C
(12),C (14),C(20),‥‥ C(454)}, RAM
Data S25 read from 424 is a block
Data string $ C(Five),C(7),C(13),C(15),C(twenty one),‥‥
C (455)It becomes}.

【0102】なお、ここではアドレスカウンタ303と
して図11に示すような論理ゲートで構成させるように
したが、ROMテーブルを使用してアドレスカウンタ3
03を構成させることもできる。この場合には、各メモ
リのアドレスが共通なので、ROMテーブルの変換デー
タを記憶する容量を従来の1/8に減らすことができ
る。
Here, the address counter 303 is constituted by a logic gate as shown in FIG. 11, but the address counter 303 is formed by using a ROM table.
03 can also be configured. In this case, since the addresses of the respective memories are common, the capacity for storing the conversion data of the ROM table can be reduced to 1/8 of the conventional capacity.

【0103】なお、上述各実施例で示したメモリの分割
数などの値は、それぞれの実施例で適用したインターリ
ーブ方程式や畳込み符号化率などの条件に基づいて最適
な値を選択したものであり、インターリーブ方程式など
の条件が変化した場合には、メモリの分割数なども変化
させた方が良好に処理できる場合もある。
The values such as the number of divisions of the memory shown in each of the above embodiments are obtained by selecting the optimum values based on the conditions such as the interleave equation and the convolutional coding rate applied in each embodiment. In some cases, when conditions such as the interleave equation change, it may be possible to perform better processing by changing the number of divisions of the memory.

【0104】また、上述各実施例では基地局と端末局
(携帯電話機)との間で通信を行う場合の伝送データの
インターリーブ回路及びデ・インターリーブ回路とした
が、他の装置に使用されるインターリーブ回路又はデ・
インターリーブ回路にも適用できることは勿論である。
In each of the above-described embodiments, the interleaving circuit and the de-interleaving circuit of the transmission data when the communication is performed between the base station and the terminal station (portable telephone) have been described. Circuit or
Of course, it can be applied to an interleave circuit.

【0105】[0105]

【発明の効果】本発明のインターリーブ回路によると、
インターリーブ処理されるメモリを複数の群に分けて、
メモリに書込んでから読出すまでの時間に応じて使用す
る群を分けたことで、メモリに書込んでから読出すまで
の時間が比較的短いデータが書込まれる群のメモリは、
短い周期で書込みと読出しを行うことが可能になり、そ
れだけこの群のメモリの容量を削減することができる。
According to the interleave circuit of the present invention,
Dividing the memory to be interleaved into multiple groups,
By dividing the group to be used according to the time from writing to the memory to reading, the memory of the group to which data with a relatively short time from writing to the memory to reading is written is
Writing and reading can be performed in a short cycle, and the capacity of this group of memories can be reduced accordingly.

【0106】また本発明のデ・インターリーブ回路によ
ると、デ・インターリーブ処理されるメモリを複数の群
に分けて、メモリに書込んでから読出すまでの時間に応
じて使用する群を分けたことで、メモリに書込んでから
読出すまでの時間が比較的短いデータが書込まれる群の
メモリは、短い周期で書込みと読出しを行うことが可能
になり、それだけこの群のメモリの容量を削減すること
ができる。
According to the de-interleaving circuit of the present invention, the memory to be de-interleaved is divided into a plurality of groups, and the groups used according to the time from writing to reading to the memory are divided. In a group of memories to which data with a relatively short time from writing to reading is written, it is possible to perform writing and reading in a short cycle, thereby reducing the capacity of this group of memories. can do.

【0107】また本発明のインターリーブ回路による
と、インターリーブ処理用のメモリを畳込み符号化率に
従って複数の群に分割し、各群のメモリを並列的に使用
して、この各群のメモリから並列的に出力するようにし
たことで、畳込み符号化率に従った効率の良いメモリの
使用が行われ、それだけメモリの容量の削減やメモリ動
作の低速化を計ることができる。
According to the interleave circuit of the present invention, the memory for the interleave processing is divided into a plurality of groups according to the convolutional coding rate, and the memories of each group are used in parallel. The efficient output of the memory according to the convolutional coding rate is performed by performing the output, and the memory capacity can be reduced and the speed of the memory operation can be reduced accordingly.

【0108】またこの場合に、各群のメモリの書込みア
ドレス及び読出しアドレスを、同一アドレスとなるよう
に制御し、各群のメモリのアドレス制御が共通に行える
ようにしたことで、各メモリのアドレス制御が容易にで
き、インターリーブ処理の制御回路が簡単になる。
In this case, the write address and the read address of each group of memories are controlled so as to be the same, and the address control of each group of memories can be performed in common. The control can be easily performed, and the control circuit for the interleave processing can be simplified.

【0109】また本発明のデ・インターリーブ回路によ
ると、デ・インターリーブ処理用のメモリを畳込み符号
化率に従って複数の群に分割し、各群のメモリを並列的
に使用して、この各群のメモリから並列的に出力するよ
うにしたことで、畳込み符号化率に従った効率の良いメ
モリの使用が行われ、それだけメモリの容量の削減やメ
モリ動作の低速化を計ることができる。
Further, according to the de-interleave circuit of the present invention, the memory for the de-interleave processing is divided into a plurality of groups according to the convolutional coding rate, and the memories of each group are used in parallel. , The memory is efficiently used in accordance with the convolutional coding rate, so that the capacity of the memory can be reduced and the speed of the memory operation can be reduced.

【0110】またこの場合に、各群のメモリの書込みア
ドレス及び読出しアドレスを、同一アドレスとなるよう
に制御し、各群のメモリのアドレス制御が共通に行える
ようにしたことで、各メモリのアドレス制御が容易にで
き、デ・インターリーブ処理の制御回路が簡単になる。
In this case, the write address and the read address of each group of memories are controlled so as to be the same address, and the address control of each group of memories can be performed in common. Control is easy, and the control circuit for the de-interleaving process is simplified.

【0111】また本発明のインターリーブ回路による
と、インターリーブの深さに応じてメモリを複数の群に
分割し、この各群のメモリの読出しアドレスが同一アド
レスとなるように制御することで、各群のメモリのアド
レス制御が共通に行えるようになり、メモリの分割数が
多い場合でもインターリーブ処理の制御回路が簡単にな
る。
According to the interleave circuit of the present invention, the memory is divided into a plurality of groups according to the interleave depth, and the read addresses of the memories in each group are controlled so as to be the same. Can be commonly performed, and the control circuit for the interleave processing can be simplified even when the number of divided memories is large.

【0112】またこの場合に、入力デジタルデータとし
て、畳込み符号化されたデータとし、この畳込み符号化
率に基づいた数の群にメモリを分割するようにしたこと
で、畳込み符号化されたデータのインターリーブ処理
が、簡単な制御で行える。
Also, in this case, the input digital data is convolutionally encoded data, and the memory is divided into a number of groups based on the convolutional coding rate. Data can be interleaved with simple control.

【0113】さらにこの場合に、分割された各群のメモ
リの内の少なくとも1群のメモリのアドレスに対して、
所定値をオフセットすることにより、各群で同一アドレ
スを生成させるようにしたことで、アドレスデータの生
成がオフセット処理だけで行え、簡単にアドレスデータ
を生成させることができる。
Further, in this case, the address of at least one group of memories among the divided groups of memories is
Since the same address is generated in each group by offsetting the predetermined value, the address data can be generated only by the offset processing, and the address data can be easily generated.

【0114】また本発明のデ・インターリーブ回路によ
ると、デ・インターリーブの深さに応じてメモリを複数
の群に分割し、この各群のメモリの読出しアドレスが同
一アドレスとなるように制御することで、各群のメモリ
のアドレス制御が共通に行えるようになり、メモリの分
割数が多い場合でもデ・インターリーブ処理の制御回路
が簡単になる。
According to the de-interleaving circuit of the present invention, the memory is divided into a plurality of groups in accordance with the depth of the de-interleaving, and control is performed such that the read addresses of the memories in each group are the same. Thus, the address control of the memories in each group can be commonly performed, and the control circuit for the de-interleave processing can be simplified even when the number of divided memories is large.

【0115】またこの場合に、入力デジタルデータとし
て、畳込み符号化されたデータとし、この畳込み符号化
率に基づいた数の群にメモリを分割するようにしたこと
で、畳込み符号化されたデータのデ・インターリーブ処
理が、簡単な制御で行える。
In this case, convolutionally encoded data is used as input digital data, and the memory is divided into groups of numbers based on the convolutional coding rate. Data can be deinterleaved with simple control.

【0116】さらにこの場合に、分割された各群のメモ
リの内の少なくとも1群のメモリのアドレスに対して、
所定値をオフセットすることにより、各群で同一アドレ
スを生成させるようにしたことで、アドレスデータの生
成がオフセット処理だけで行え、簡単にアドレスデータ
を生成させることができる。
Further, in this case, the address of at least one group of memories among the divided groups of memories is
Since the same address is generated in each group by offsetting the predetermined value, the address data can be generated only by the offset processing, and the address data can be easily generated.

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

【図1】本発明の第1の実施例を示す構成図である。FIG. 1 is a configuration diagram showing a first embodiment of the present invention.

【図2】第1の実施例によるタイミング図である。FIG. 2 is a timing chart according to the first embodiment.

【図3】本発明の第2の実施例を示す構成図である。FIG. 3 is a configuration diagram showing a second embodiment of the present invention.

【図4】第2の実施例によるタイミング図である。FIG. 4 is a timing chart according to a second embodiment.

【図5】第2の実施例の畳込み符号化状態とインターリ
ーブ状態を示す説明図である。
FIG. 5 is an explanatory diagram showing a convolutional encoding state and an interleave state according to the second embodiment.

【図6】第2の実施例による畳込み符号器を示す構成図
である。
FIG. 6 is a configuration diagram illustrating a convolutional encoder according to a second embodiment.

【図7】第2の実施例のビタビ復号状態とデ・インター
リーブ状態を示す説明図である。
FIG. 7 is an explanatory diagram showing a Viterbi decoding state and a deinterleaving state of the second embodiment.

【図8】第2の実施例のビタビ復号時のブランチメトリ
ック計算回路を示す構成図である。
FIG. 8 is a configuration diagram illustrating a branch metric calculation circuit at the time of Viterbi decoding according to the second embodiment.

【図9】本発明の第3の実施例を示す構成図である。FIG. 9 is a configuration diagram showing a third embodiment of the present invention.

【図10】第3の実施例によるタイミング図である。FIG. 10 is a timing chart according to a third embodiment.

【図11】第3の実施例によるデ・インターリーブ回路
の回路図である。
FIG. 11 is a circuit diagram of a deinterleave circuit according to a third embodiment.

【図12】図11に示すデ・インターリーブ回路の書込
み状態を示すタイミング図である。
FIG. 12 is a timing chart showing a write state of the de-interleave circuit shown in FIG. 11;

【図13】図11に示すデ・インターリーブ回路の読出
し状態を示すタイミング図である。
FIG. 13 is a timing chart showing a read state of the de-interleave circuit shown in FIG. 11;

【図14】携帯電話機の一例を示す構成図である。FIG. 14 is a configuration diagram illustrating an example of a mobile phone.

【図15】図15の例のチャンネルエンコーダ及びチャ
ンネルデコーダの構成図である。
15 is a configuration diagram of a channel encoder and a channel decoder of the example of FIG.

【図16】従来のインターリーブ回路の一例を示す構成
図である。
FIG. 16 is a configuration diagram showing an example of a conventional interleave circuit.

【図17】図16の例のインターリーブ状態を示すタイ
ミング図である。
FIG. 17 is a timing chart showing an interleaved state in the example of FIG. 16;

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

30 制御回路 102 データセレクタ 104 書込みアドレス生成用カウンタ 105 読出しアドレス生成用カウンタ 106 アドレス変換回路 107 アドレスセレクタ 108 書込み/読出し制御回路 111,112,113 メモリ 203 データセレクタ 205 読出しアドレス生成用カウンタ 206 書込みアドレス生成用カウンタ 207 アドレス変換回路 208 アドレスセレクタ 209 書込み/読出し制御回路 211,212 メモリ 302 データセレクタ 303 アドレス生成用カウンタ 311,312,313,314,315,316,3
17,318 メモリ
Reference Signs List 30 control circuit 102 data selector 104 write address generation counter 105 read address generation counter 106 address conversion circuit 107 address selector 108 write / read control circuit 111, 112, 113 memory 203 data selector 205 read address generation counter 206 write address generation Counter 207 address conversion circuit 208 address selector 209 write / read control circuit 211, 212 memory 302 data selector 303 address generation counter 311, 312, 313, 314, 315, 316, 3
17,318 memory

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H03M 13/00 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 7 , DB name) H03M 13/00

Claims (12)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ブロック化された入力デジタルデータ
を、メモリに一旦記憶させて、このメモリからの読出し
順序を書込み順序と変えることで、複数ブロックに跨が
ってインターリーブさせてバーストデータとするインタ
ーリーブ回路において、 上記メモリを少なくとも第1の群と第2の群とに分割
し、 上記第1の群のメモリとして、上記入力デジタルデータ
を上記メモリに書込んでから読出すまでの時間が比較的
短いインターリーブ処理を行い、 上記第2の群のメモリとして、上記入力デジタルデータ
を上記メモリに書込んでから読出すまでの時間が比較的
長いインターリーブ処理を行うようにしたインターリー
ブ回路。
An interleaving method for interleaving over a plurality of blocks to form burst data by temporarily storing input digital data in blocks in a memory and changing a reading order from the memory to a writing order. In the circuit, the memory is divided into at least a first group and a second group, and as a memory of the first group, a time from writing of the input digital data to the memory to reading thereof is relatively short. An interleave circuit that performs short interleave processing and performs interleave processing as a memory of the second group that takes a relatively long time from writing of the input digital data to the memory to reading thereof.
【請求項2】 複数ブロックに跨がってインターリーブ
されてバーストデータとされた入力デジタルデータを、
メモリに一旦記憶させて、このメモリからの読出し順序
を書込み順序と変えることで、元の順序のブロックデー
タに復元するデ・インターリーブ回路において、 上記メモリを少なくとも第1の群と第2の群とに分割
し、 上記第1の群のメモリとして、上記入力デジタルデータ
を上記メモリに書込んでから読出すまでの時間が比較的
短いデ・インターリーブ処理を行い、 上記第2の群のメモリとして、上記入力デジタルデータ
を上記メモリに書込んでから読出すまでの時間が比較的
長いデ・インターリーブ処理を行うようにしたデ・イン
ターリーブ回路。
2. Input digital data interleaved over a plurality of blocks to form burst data,
A de-interleave circuit that temporarily stores the data in a memory and changes the order of reading from the memory to the order of writing to restore block data in the original order, wherein the memory includes at least a first group and a second group. The first group of memories performs a de-interleaving process in which the time from when the input digital data is written to the memory to when the input digital data is read out is relatively short. As the second group of memories, A de-interleave circuit for performing a de-interleave process in which the time from writing of the input digital data to the memory to reading thereof is relatively long.
【請求項3】 畳込み符号化された入力デジタルデータ
を、メモリに一旦記憶させて、このメモリからの読出し
順序を書込み順序と変えることで、複数ブロックに跨が
ってインターリーブさせてバーストデータとするインタ
ーリーブ回路において、 上記メモリを上記畳込み符号化率に従って複数の群に分
割し、各群のメモリを並列的に使用して、該各群のメモ
リから並列的に出力するようにしたインターリーブ回
路。
3. The convolutionally coded input digital data is temporarily stored in a memory, and a read order from the memory is changed to a write order, thereby interleaving over a plurality of blocks to generate burst data. An interleave circuit which divides the memory into a plurality of groups according to the convolutional coding rate, uses the memories of each group in parallel, and outputs the data in parallel from the memories of each group. .
【請求項4】 上記各群のメモリの書込みアドレス及び
読出しアドレスを、同一アドレスとなるように制御し、
各群のメモリのアドレス制御が共通に行えるようにした
請求項3記載のインターリーブ回路。
4. A write address and a read address of the memories of each group are controlled to be the same address,
4. The interleave circuit according to claim 3, wherein the address control of the memories of each group can be commonly performed.
【請求項5】 複数ブロックに跨がってインターリーブ
されてバーストデータとされると共に畳込み符号化され
た入力デジタルデータを、メモリに一旦記憶させて、こ
のメモリからの読出し順序を書込み順序と変えること
で、元の順序のブロックデータに復元するデ・インター
リーブ回路において、 上記メモリを上記畳込み符号化率に従って複数の群に分
割し、各群のメモリを並列的に使用し、該各群のメモリ
の出力を並列的に畳込み復号器に供給するようにしたデ
・インターリーブ回路。
5. An input digital data which is interleaved over a plurality of blocks to be burst data and is convolutionally coded is temporarily stored in a memory, and a reading order from the memory is changed to a writing order. In the de-interleaving circuit for restoring the original order block data, the memory is divided into a plurality of groups according to the convolutional coding rate, and the memories of each group are used in parallel. A de-interleave circuit that supplies the output of the memory to the convolutional decoder in parallel.
【請求項6】 上記各群のメモリの書込みアドレス及び
読出しアドレスを、同一アドレスとなるように制御し、
各群のメモリのアドレス制御が共通に行えるようにした
請求項5記載のデ・インターリーブ回路。
6. The write address and the read address of the memories of each group are controlled to be the same address,
6. The de-interleave circuit according to claim 5, wherein address control of each group of memories can be commonly performed.
【請求項7】 ブロック化された入力デジタルデータ
を、メモリに一旦記憶させて、このメモリからの読出し
順序を書込み順序と変えることで、複数ブロックに跨が
ってインターリーブさせてバーストデータとするインタ
ーリーブ回路において、 上記インターリーブの深さに応じて上記メモリを複数の
群に分割し、該各群のメモリの読出しアドレスが同一ア
ドレスとなるように制御するインターリーブ回路。
7. Interleaving is performed by temporarily storing input digital data in blocks in a memory and changing the order of reading from the memory to the order of writing to interleave over a plurality of blocks to form burst data. An interleave circuit for dividing the memory into a plurality of groups according to a depth of the interleave, and controlling the read addresses of the memories in each group to be the same.
【請求項8】 上記入力デジタルデータとして、畳込み
符号化されたデータとし、 この畳込み符号化率に基づいた数の群に上記メモリを分
割するようにした請求項7記載のインターリーブ回路。
8. The interleave circuit according to claim 7, wherein convolutionally encoded data is used as the input digital data, and the memory is divided into groups of numbers based on the convolutional coding rate.
【請求項9】 上記分割された各群のメモリの内の少な
くとも1群のメモリのアドレスに対して、所定値をオフ
セットすることにより、各群で同一アドレスを生成させ
るようにした請求項7記載のインターリーブ回路。
9. The same address is generated in each group by offsetting a predetermined value with respect to an address of at least one group of memories among the divided groups of memories. Interleave circuit.
【請求項10】 複数ブロックに跨がってインターリー
ブされてバーストデータとされた入力デジタルデータ
を、メモリに一旦記憶させて、このメモリからの読出し
順序を書込み順序と変えることで、元の順序のブロック
データに復元するデ・インターリーブ回路において、 上記インターリーブの深さに応じて上記メモリを複数の
群に分割し、該各群のメモリの読出しアドレスが同一ア
ドレスとなるように制御するデ・インターリーブ回路。
10. Input digital data interleaved as a burst data over a plurality of blocks is temporarily stored in a memory, and the order of reading from the memory is changed to the order of writing, whereby the original order of the data is restored. A de-interleave circuit for restoring block data, wherein the memory is divided into a plurality of groups in accordance with the interleave depth, and the read addresses of the memories in each group are controlled to be the same address. .
【請求項11】 上記入力デジタルデータとして、畳込
み符号化されたデータとし、 この畳込み符号化率に基づいた数の群に上記メモリを分
割するようにした請求項10記載のデ・インターリーブ
回路。
11. The de-interleave circuit according to claim 10, wherein the input digital data is convolutionally encoded data, and the memory is divided into groups of numbers based on the convolutional coding rate. .
【請求項12】 上記分割された各群のメモリの内の少
なくとも1群のメモリのアドレスに対して、所定値をオ
フセットすることにより、各群で同一アドレスを生成さ
せるようにした請求項10記載のデ・インターリーブ回
路。
12. An apparatus according to claim 10, wherein the same address is generated in each group by offsetting a predetermined value with respect to an address of at least one group of the divided memories. De-interleave circuit.
JP21700692A 1992-08-14 1992-08-14 Interleave circuit and de-interleave circuit Expired - Fee Related JP3257051B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21700692A JP3257051B2 (en) 1992-08-14 1992-08-14 Interleave circuit and de-interleave circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21700692A JP3257051B2 (en) 1992-08-14 1992-08-14 Interleave circuit and de-interleave circuit

Publications (2)

Publication Number Publication Date
JPH0661873A JPH0661873A (en) 1994-03-04
JP3257051B2 true JP3257051B2 (en) 2002-02-18

Family

ID=16697349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21700692A Expired - Fee Related JP3257051B2 (en) 1992-08-14 1992-08-14 Interleave circuit and de-interleave circuit

Country Status (1)

Country Link
JP (1) JP3257051B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2294616B (en) * 1994-10-26 1999-06-02 Nokia Mobile Phones Ltd Interleaving process
JP3415693B2 (en) * 1993-12-23 2003-06-09 ノキア モービル フォーンズ リミテッド Interleaving process
CA2298919C (en) * 1999-02-19 2006-04-18 Ntt Mobile Communications Network Inc. Interleaving and turbo encoding using prime number permutations
KR100846017B1 (en) 2000-10-30 2008-07-11 가부시키가이샤 히타치세이사쿠쇼 Semiconductor device for controlling data communication and wireless communication system

Also Published As

Publication number Publication date
JPH0661873A (en) 1994-03-04

Similar Documents

Publication Publication Date Title
US5991857A (en) Interleaving and de-interleaving of data in telecommunications
CA2148199C (en) Convolutional interleaver with reduced memory requirements and address generator therefor
US4598403A (en) Encoding method for error correction
US6507629B1 (en) Address generator, interleave unit, deinterleave unit, and transmission unit
JP2002527980A (en) Coding system with state machine based interleaver
US6182265B1 (en) Method for encoding a channel using a parallel convolutional encoder
US8194782B2 (en) Grouping bits interleaving apparatus and method thereof
JPS61288624A (en) Encoding and decoding system
JP3257051B2 (en) Interleave circuit and de-interleave circuit
KR100499467B1 (en) Block interleaving method, and apparatus for the same
JPH10313275A (en) Memory for data processing in mobile telephone system
JP2003264533A (en) Turbo decoder, turbo encoder, and radio base station including turbo encoder and decoder
US6195781B1 (en) Error correction code calculator
US6988234B2 (en) Apparatus and method for memory sharing between interleaver and deinterleaver in a turbo decoder
JPH03242027A (en) Parallel error correction system with interleaving function added
GB2294616A (en) Data interleaving process for radio transmission
JPH0695960A (en) Interleaving circuit and deinterelaving circuit
JP3305152B2 (en) Data transmission method
KR0133508B1 (en) Interleaving and channel dividing circuit for digital data i/o
US6687870B1 (en) Method and apparatus for interleaving for information transmission or storage applications
KR0125106B1 (en) Interleaver/deinterleaver apparatus
JPH10163887A (en) Interleave device and deinterleave device
JP2612423B2 (en) Frame generation method for PCM data
JPH1117559A (en) Data interleave circuit
KR100239727B1 (en) Encoder of cellullar system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees