JP2001119308A - Mil pattern generation circuit - Google Patents

Mil pattern generation circuit

Info

Publication number
JP2001119308A
JP2001119308A JP29645199A JP29645199A JP2001119308A JP 2001119308 A JP2001119308 A JP 2001119308A JP 29645199 A JP29645199 A JP 29645199A JP 29645199 A JP29645199 A JP 29645199A JP 2001119308 A JP2001119308 A JP 2001119308A
Authority
JP
Japan
Prior art keywords
count value
counter
pattern generation
generation circuit
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP29645199A
Other languages
Japanese (ja)
Inventor
Naoki Hayashi
直樹 林
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP29645199A priority Critical patent/JP2001119308A/en
Publication of JP2001119308A publication Critical patent/JP2001119308A/en
Pending legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an MIL pattern generation circuit whose integration degree is high and whose circuit scale is small. SOLUTION: An MIL pattern generation circuit provided with plural counters has a first counter outputting a counted value as a first count value and clearing counting when the first count value reaches a maximum count value and a second counter to which the first count value is inputted, which counts the pulse of the first count value in accordance with the clearance of the first count value, outputs the counted value as a second count value and clears counting when the second count value reaches the maximum count value.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、特にインターリー
ブ処理においてデータの並べ替えの順を示すMILパタ
ーンを生成するMILパターン生成回路に属する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention particularly relates to an MIL pattern generation circuit for generating an MIL pattern indicating the order of data rearrangement in interleave processing.

【0002】[0002]

【従来の技術】移動体通信では、無線伝送時にフェージ
ングなどによる影響でデータの伝送誤りが発生する場合
が多いため、畳み込み符号化、ビタビ符号化といった誤
り訂正方式が用いられる。しかし、これらの誤り訂正方
式は、ランダム誤りに対しては有効であるが、データの
伝送誤りが連続的に発生するバースト誤りに対しては誤
り訂正が困難である。この為、符号の並べ替えをしてデ
ータ送信し、受信時に受信信号を並べ直すインターリー
ブ処理が用いられる。インターリーブ処理を用いること
により、伝送時にバースト誤りが発生しても、受信側が
行う誤り訂正時には伝送誤りはランダムな誤りとなり、
誤りを訂正することができるようになる。
2. Description of the Related Art In mobile communications, data transmission errors often occur due to the effects of fading or the like during wireless transmission. Therefore, error correction methods such as convolutional coding and Viterbi coding are used. However, although these error correction methods are effective for random errors, error correction is difficult for burst errors in which data transmission errors occur continuously. For this reason, an interleaving process is used in which data is transmitted after rearranging codes and rearranging received signals upon reception. By using the interleave processing, even if a burst error occurs during transmission, the transmission error becomes a random error during error correction performed by the receiving side,
The error can be corrected.

【0003】MILパターンは、このようなインターリ
ーブ処理においてデータの並べ替えの順を示すパターン
の一つである。例えば、0,3,1,4,2,5という
パターンをインターリーブ処理で使用する場合、A,
B,C,D,E,Fという順のデータを、A,D,B,
E,C,Fの順に並び替える。より詳しく、例として1
2[4×3]のインターリーブ処理について説明する。
0,1,2,...,11の数列を入力として、図7に
示すように4×3の格子に左上から右下に横方向に書き
込み、縦方向に読み込む。この処理により0,3,6,
9,1,4,7,10,2,5,8,11の数列(パタ
ーン)が得られる。この数列の並び替えが12[4×
3]のインターリーブである。このように、MILパタ
ーンはインターリーブ処理を多段階に行うことにより得
られるパターンである。
The MIL pattern is one of patterns indicating the order of data rearrangement in such interleaving processing. For example, when patterns 0, 3, 1, 4, 2, and 5 are used in the interleave processing, A,
The data in the order of B, C, D, E, F are A, D, B,
Rearrange in the order of E, C, F. More specifically, for example, 1
The 2 [4 × 3] interleave processing will be described.
0, 1, 2,. . . , 11 as inputs, the data is written in a 4 × 3 grid in the horizontal direction from the upper left to the lower right, and read in the vertical direction, as shown in FIG. By this processing, 0, 3, 6,
A sequence (pattern) of 9, 1, 4, 7, 10, 2, 5, 8, 11 is obtained. The rearrangement of this sequence is 12 [4 ×
3] interleaving. As described above, the MIL pattern is a pattern obtained by performing the interleaving process in multiple stages.

【0004】従来、このようなMILパターンは、あら
かじめ求めてROMに保持しておき、必要に応じて読み
出して使用するのが一般的である。
Conventionally, such an MIL pattern is generally obtained in advance and stored in a ROM, and read out and used as needed.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来技
術には、ROMを使用することにより、レイアウト時に
回路全体の集積度が下がるという問題点があった。
However, the prior art has a problem that the use of the ROM reduces the degree of integration of the entire circuit during layout.

【0006】本発明は斯かる問題点を鑑みてなされたも
のであり、その目的とするところは、集積度が高く、回
路規模の小さいMILパターン生成回路を提供する点に
ある。
The present invention has been made in view of such a problem, and an object of the present invention is to provide an MIL pattern generation circuit having a high degree of integration and a small circuit scale.

【0007】[0007]

【課題を解決するための手段】本発明は上記課題を解決
すべく、以下に掲げる構成とした。請求項1記載の発明
の要旨は、複数のカウンタを備えるMILパターン生成
回路であって、入力クロックのパルスをカウントし、カ
ウントした値を第1のカウント値として出力し、前記第
1のカウント値が最大カウント値に達するとカウントを
クリアする第1のカウンタと、前記第1のカウント値が
入力され、前記第1のカウント値がクリアされるのに応
じて前記第1のカウント値のパルスをカウントし、カウ
ントした値を第2のカウント値として出力し、前記第2
のカウント値が最大カウント値に達するとカウントをク
リアする第2のカウンタとを備えることを特徴とするM
ILパターン生成回路に存する。請求項2記載の発明の
要旨は、前記第1のカウンタ回路からの出力と前記第2
のカウンタ回路からの出力とを加算する第1の加算回路
とを備えることを特徴とする請求項1記載のMILパタ
ーン生成回路に存する。請求項3記載の発明の要旨は、
前記第1のカウンタ回路と前記第1の加算回路の間に介
挿され、前記第1のカウンタ回路からの出力を定数倍す
る第1の演算回路とを備えることを特徴とする請求項2
記載のMILパターン生成回路に存する。請求項4記載
の発明の要旨は、前記第2のカウント値が入力され、前
記第2のカウント値がクリアされるのに応じて前記第2
のカウント値のパルスをカウントし、カウントした値を
第3のカウント値として出力し、前記第3のカウント値
が最大カウント値に達するとカウントをクリアする第3
のカウンタとを備えることを特徴とする請求項1〜3の
いずれかに記載のMILパターン生成回路に存する。請
求項5記載の発明の要旨は、前記第1の加算回路からの
出力と前記第3のカウンタ回路からの出力とを加算する
第2の加算回路とを備えることを特徴とする請求項4記
載のMILパターン生成回路に存する。請求項6記載の
発明の要旨は、前記第1の加算回路と前記第2の加算回
路の間に介挿され、前記第1の加算回路からの出力を定
数倍する第2の演算回路とを備えることを特徴とする請
求項5記載のMILパターン生成回路に存する。請求項
7記載の発明の要旨は、前記第3のカウント値が入力さ
れ、前記第3のカウント値がクリアされるのに応じて前
記第3のカウント値のパルスをカウントし、カウントし
た値を第4のカウント値として出力し、前記第4のカウ
ント値が最大カウント値に達するとカウントをクリアす
る第4のカウンタとを備えることを特徴とする請求項4
〜6のいずれかに記載のMILパターン生成回路に存す
る。請求項8記載の発明の要旨は、前記第2の加算回路
からの出力と前記第4のカウンタ回路からの出力とを加
算する第3の加算回路とを備えることを特徴とする請求
項7記載のMILパターン生成回路に存する。請求項9
記載の発明の要旨は、前記第2の加算回路と前記第3の
加算回路の間に介挿され、前記第2の加算回路からの出
力を定数倍する第3の演算回路とを備えることを特徴と
する請求項8記載のMILパターン生成回路に存する。
請求項10記載の発明の要旨は、最大カウント値が可変
であるカウンタの後段に接続され、前記カウンタのカウ
ント値のうち最大カウント値を表す信号を選択し、後段
に接続される他のカウンタにカウントのクリア信号とし
て送信するセレクタAを備えることを特徴とする請求項
1〜9のいずれかに記載のMILパターン生成回路に存
する。請求項11記載の発明の要旨は、前記第3のカウ
ンタは、最大カウント値が可変であり、前記第3のカウ
ンタの後段に接続され、前記第3のカウント値のうち最
大カウント値を表す信号を選択し、後段に接続される前
記第4のカウンタにカウントのクリア信号として送信す
るセレクタAを備えることを特徴とする請求項1〜9の
いずれかに記載のMILパターン生成回路に存する。請
求項12記載の発明の要旨は、前段のカウンタの出力
か、前記カウンタのさらに前段のカウンタの出力かのど
ちらか一方を選択して後段の他のカウンタに出力するセ
レクタBを備えることを特徴とする請求項4〜11のい
ずれかに記載のMILパターン生成回路に存する。請求
項13記載の発明の要旨は、前記第3のカウンタの前段
に接続され、前記第3のカウンタ入力を、前記第1のカ
ウンタの出力か前記第2のカウンタの出力かのどちらか
に切り替えるセレクタBを備えることを特徴とする請求
項4〜11のいずれかに記載のMILパターン生成回路
に存する。請求項14記載の発明の要旨は、請求項1〜
13のいずれかに記載のMILパターン生成回路を備え
た送信機に存する。請求項15記載の発明の要旨は、請
求項1〜13のいずれかに記載のMILパターン生成回
路を備えた受信機に存する。請求項16記載の発明の要
旨は、請求項1〜13のいずれかに記載のMILパター
ン生成回路を備えた送受信装置に存する。請求項17記
載の発明の要旨は、請求項1〜13のいずれかに記載の
MILパターン生成回路を備えた移動体通信機器に存す
る。請求項18記載の発明の要旨は、請求項1〜13の
いずれかに記載のMILパターン生成回路を備えた携帯
電話に存する。請求項19記載の発明の要旨は、請求項
1〜13のいずれかに記載のMILパターン生成回路を
備えた記録装置に存する。請求項20記載の発明の要旨
は、請求項1〜13のいずれかに記載のMILパターン
生成回路を備えた磁気記録装置に存する。
Means for Solving the Problems In order to solve the above problems, the present invention has the following constitution. The gist of the invention according to claim 1 is an MIL pattern generation circuit including a plurality of counters, wherein the MIL pattern generation circuit counts pulses of an input clock, outputs the counted value as a first count value, and outputs the first count value. A first counter that clears the count when the maximum count value is reached, and a pulse of the first count value is input in response to the input of the first count value and the clearing of the first count value. Counting, outputting the counted value as a second count value,
And a second counter that clears the count when the count value of
It exists in the IL pattern generation circuit. The gist of the invention according to claim 2 is that the output from the first counter circuit and the second
And a first adding circuit for adding the output from the counter circuit of (1). The gist of claim 3 is as follows.
3. The semiconductor device according to claim 2, further comprising: a first arithmetic circuit interposed between the first counter circuit and the first adder circuit, the first arithmetic circuit being configured to multiply an output from the first counter circuit by a constant.
In the described MIL pattern generation circuit. The gist of the invention according to claim 4 is that the second count value is input, and the second count value is cleared in response to the second count value being cleared.
Counts the pulses of the count value, outputs the counted value as a third count value, and clears the count when the third count value reaches the maximum count value.
The MIL pattern generation circuit according to any one of claims 1 to 3, further comprising: The gist of the invention according to claim 5 is characterized by comprising a second addition circuit for adding an output from the first addition circuit and an output from the third counter circuit. In the MIL pattern generation circuit. The gist of the invention according to claim 6 is that a second arithmetic circuit interposed between the first addition circuit and the second addition circuit and configured to multiply an output from the first addition circuit by a constant is provided. The MIL pattern generation circuit according to claim 5, wherein The gist of the invention according to claim 7 is that the pulse of the third count value is counted in response to the third count value being input and the third count value being cleared, and the counted value to be counted. 5. A fourth counter which outputs a fourth count value and clears the count when the fourth count value reaches a maximum count value.
6. The MIL pattern generation circuit according to any one of 1. to 6., The gist of the invention according to claim 8 includes a third addition circuit that adds an output from the second addition circuit and an output from the fourth counter circuit. In the MIL pattern generation circuit. Claim 9
The gist of the present invention is to provide a third arithmetic circuit interposed between the second addition circuit and the third addition circuit and configured to multiply an output from the second addition circuit by a constant. An MIL pattern generation circuit according to claim 8 is provided.
The gist of the invention according to claim 10 is that a signal which is connected to a subsequent stage of a counter whose maximum count value is variable, selects a signal representing the maximum count value from among the count values of the counter, and outputs the signal to another counter connected to the subsequent stage. The MIL pattern generation circuit according to any one of claims 1 to 9, further comprising a selector (A) for transmitting a count clear signal. 12. The gist of the invention according to claim 11, wherein the third counter has a variable maximum count value, is connected to a stage subsequent to the third counter, and represents a maximum count value among the third count values. 10. The MIL pattern generation circuit according to claim 1, further comprising: a selector A for selecting a signal as a clear signal of a count to the fourth counter connected to a subsequent stage. The gist of the invention according to claim 12 is characterized in that a selector B is provided for selecting either one of the output of the counter in the preceding stage and the output of the counter in the preceding stage of the counter, and outputting it to another counter in the subsequent stage. The MIL pattern generation circuit according to any one of claims 4 to 11. The gist of the invention according to claim 13 is that the third counter is connected to a stage preceding the third counter, and switches the input of the third counter to either the output of the first counter or the output of the second counter. The MIL pattern generation circuit according to any one of claims 4 to 11, further comprising a selector (B). The gist of the invention according to claim 14 is as follows.
13. A transmitter comprising the MIL pattern generation circuit according to any one of 13. The gist of the invention according to claim 15 resides in a receiver including the MIL pattern generation circuit according to any one of claims 1 to 13. The gist of the invention according to claim 16 resides in a transmission / reception device including the MIL pattern generation circuit according to any one of claims 1 to 13. The gist of the invention described in claim 17 resides in a mobile communication device including the MIL pattern generation circuit according to any one of claims 1 to 13. The gist of the invention described in claim 18 resides in a mobile phone provided with the MIL pattern generation circuit according to any one of claims 1 to 13. The gist of the invention described in claim 19 resides in a recording apparatus including the MIL pattern generation circuit according to any one of claims 1 to 13. The gist of the present invention resides in a magnetic recording apparatus including the MIL pattern generation circuit according to any one of claims 1 to 13.

【0008】[0008]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて詳細に説明する。 −第1の実施の形態− 図1に示すように、第1の実施の形態に係るMILパタ
ーン生成回路は、L[M1[N1×N2]×M2[N3
×N4]]のMILパターンを生成する。但し、N1,
N2,N3,N4は、図1に示したカウンタ101,1
02,103,104のカウント数をあらわしており、
L=M1×M2、M1=N1×N2、M2=N3×N4
とする。
Embodiments of the present invention will be described below in detail with reference to the drawings. -First Embodiment- As shown in FIG. 1, an MIL pattern generation circuit according to a first embodiment has an L [M1 [N1 × N2] × M2 [N3
× N4]]. However, N1,
N2, N3 and N4 are the counters 101 and 1 shown in FIG.
02, 103, and 104 are represented.
L = M1 × M2, M1 = N1 × N2, M2 = N3 × N4
And

【0009】図1に示した第1の実施の形態のMILパ
ターン生成回路は、4段のカウンタ101,102,1
03,104と各3個の加算器301,302,303
および、定数倍の演算器201,202,203から構
成されている。図1中、カウンタ101,102,10
3,104の各ブロック内の(Nn)とは、各カウンタ
がそれぞれ0〜n−1までカウントするカウンタである
ことを示すものであり、演算器201,202,203
の各ブロック内の「×Nn」とは、各演算器がそれぞれ
Nn倍の演算器であることを示すものである。
The MIL pattern generation circuit of the first embodiment shown in FIG. 1 has four counters 101, 102, 1
03, 104 and three adders 301, 302, 303, respectively.
And arithmetic units 201, 202, and 203 of constant times. In FIG. 1, counters 101, 102, 10
(Nn) in each of the blocks 3 and 104 indicates that each counter is a counter that counts from 0 to n-1, and the arithmetic units 201, 202 and 203
“× Nn” in each block indicates that each of the arithmetic units is an Nn-times arithmetic unit.

【0010】カウンタ101,102,103,104
のカウント値C1,C2,C3,C4は、それぞれに接
続された加算器301,302,303または、定数倍
の演算器201に供給され、演算が行われる。その演算
結果により、L[M1[N1×N2]×M2[N3×N
4]]のMILパターンが得られる。
The counters 101, 102, 103, 104
Are supplied to the adders 301, 302, 303 connected to each other or the arithmetic unit 201 for multiplying by a constant, and the arithmetic operation is performed. According to the calculation result, L [M1 [N1 × N2] × M2 [N3 × N
4]] is obtained.

【0011】以下、図1に示したL[M1[N1×N
2]×M2[N3×N4]]のMILパターンを生成す
るMILパターン生成回路の第1の実施の形態の動作に
つき、図2のタイミング図を用いて説明する。
Hereinafter, L [M1 [N1.times.N] shown in FIG.
2] × M2 [N3 × N4]], an operation of the MIL pattern generation circuit for generating the MIL pattern according to the first embodiment will be described with reference to a timing chart of FIG.

【0012】カウント値C1、カウント値C2、カウン
ト値C3、カウント値C4はそれぞれカウンタ101、
102、103、104の値である。各カウンタの初期
値は0である。カウント値C1は入力クロックclkに
同期してインクリメントし、N1−1の次は0になる。
それ以降はこれを繰り返す。カウント値C2はカウント
値C1がN1−1から0になる時インクリメントし、N
2−1の次は0になる。それ以降はこれを繰り返す。こ
の動作はカウント値C1の最上位ビットMSB(Mos
t Significant Bit)の立ち下がりを
カウンタ102のクロックとすることで実現できる。カ
ウント値C3とカウント値C2との関係及びカウント値
C4とカウント値C3との関係は上で述べたカウント値
C2とカウント値C1との関係と同様である。カウント
値C1,C2,C3,C4がそれぞれN1−1、N2−
1、N3−1、N4−1である場合、次のクロックで各
カウンタは初期値の0になり、それ以降は上で述べた動
作を繰り返す。
The count value C1, the count value C2, the count value C3, and the count value C4 correspond to the counter 101,
102, 103, and 104. The initial value of each counter is 0. The count value C1 is incremented in synchronization with the input clock clk, and becomes 0 after N1-1.
After that, repeat this. The count value C2 is incremented when the count value C1 changes from N1-1 to 0, and N
Next to 2-1 is 0. After that, repeat this. This operation corresponds to the most significant bit MSB (Mos) of the count value C1.
This can be realized by using the falling edge of t Significant Bit) as the clock of the counter 102. The relationship between the count value C3 and the count value C2 and the relationship between the count value C4 and the count value C3 are the same as the relationship between the count value C2 and the count value C1 described above. The count values C1, C2, C3, and C4 are N1-1 and N2-
In the case of 1, N3-1, and N4-1, each counter becomes the initial value of 0 at the next clock, and thereafter, the operation described above is repeated.

【0013】各カウンタの値から定数倍の演算器20
1,202,203及び加算器301,302,303
により((C1×N2+C2)×N3+C3)×N4
+C4が得られる。この出力はL[M1[N1×N2]
×M2[N3×N4]]のMILパターンを連続して繰
り返し出力する。
An arithmetic unit 20 multiplied by a constant from the value of each counter
1, 202, 203 and adders 301, 302, 303
((C1 × N2 + C2) × N3 + C3) × N4
+ C4 is obtained. This output is L [M1 [N1 × N2]
The MIL pattern of × M2 [N3 × N4] is continuously and repeatedly output.

【0014】図1に示した第1の実施の形態において
は、L[M1[N1×N2]×M2[N3×N4]]の
MILパターンを生成するMILパターン生成回路につ
いて述べたが、さらに段数の多いあるいは少ないMIL
パターンを生成する場合でも最小単位ごとのカウンタを
用いることで同様にMILパターン生成回路を実現でき
る。
In the first embodiment shown in FIG. 1, an MIL pattern generation circuit for generating an MIL pattern of L [M1 [N1 × N2] × M2 [N3 × N4]] has been described. More or less MIL
Even when a pattern is generated, an MIL pattern generation circuit can be similarly realized by using a counter for each minimum unit.

【0015】本実施の形態に係るMILパターン生成回
路は上記の如く構成されているので、以下に掲げる効果
を奏する。本発明では複数段のカウンタと加算器・定数
倍の演算器によりMILパターンを作成する。このため
あらかじめMILパターンを求めて保持する必要が無い
ため、従来技術の一般的な方法より回路規模を削減する
ことができる。
Since the MIL pattern generation circuit according to the present embodiment is configured as described above, the following effects can be obtained. In the present invention, an MIL pattern is created by a plurality of stages of counters and adders / arithmetic units. For this reason, since it is not necessary to obtain and hold the MIL pattern in advance, the circuit scale can be reduced as compared with the general method of the related art.

【0016】特にNn(n>1)が2の累乗の場合には
Nn倍の定数倍の演算器とその後の加算処理はビット結
合だけで実現できるので回路規模は更に削減できる。具
体的な例を挙げると、図1でN4が2の累乗の場合には
カウント値C4の出力を下位ビット、加算器302の出
力を上位ビットとしてビット結合することにより定数倍
の演算器203と加算器303の機能を実現できる。
In particular, when Nn (n> 1) is a power of 2, an arithmetic unit having a constant multiple of Nn and subsequent addition processing can be realized only by bit combination, so that the circuit scale can be further reduced. As a specific example, when N4 is a power of 2 in FIG. 1, the output of the count value C4 is bit-coupled as the lower bit and the output of the adder 302 is bit-coupled to form a constant multiple arithmetic unit 203. The function of the adder 303 can be realized.

【0017】本発明の他の実施の形態として、その基本
的構成は上記の通りであるが、作成できるMILパター
ンに汎用性を持たせた点についてさらに工夫した構成を
示す。即ちこれら他の実施の形態は、N1、N2、N
3、N4をそれぞれ可変とする構成であり、複数のMI
Lパターンを切り替えて作成することが可能である。ま
た、段数の異なるMILパターンを切り替えて作成する
ことも可能である。
As another embodiment of the present invention, the basic configuration is as described above, but a configuration in which MIL patterns that can be created have versatility is further devised. That is, in these other embodiments, N1, N2, N
3 and N4 are each variable.
It is possible to create by switching the L pattern. It is also possible to switch between different levels of MIL patterns and create them.

【0018】−第2の実施の形態− 図3に、N1、N2、N3、N4をそれぞれ可変とし、
段数の異なるMILパターンを切り替えて作成すること
も可能である第2の実施の形態のMILパターン生成回
路を示す。図3に示した第2の実施の形態の構成は、N
1、N2、N3、N4がそれぞれ可変であり、その他は
図1に示した第1の実施の形態に準じるものである。ま
た第1の実施の形態から汎用性を持たせるためセレクタ
401とセレクタ402を付加している。
Second Embodiment FIG. 3 shows that N1, N2, N3 and N4 are each variable,
9 shows an MIL pattern generation circuit according to a second embodiment, which can switch and create MIL patterns with different numbers of stages. The configuration of the second embodiment shown in FIG.
1, N2, N3, and N4 are each variable, and the others are in accordance with the first embodiment shown in FIG. Further, a selector 401 and a selector 402 are added in order to provide versatility from the first embodiment.

【0019】セレクタ401はN3を可変とすることに
より、カウント値C3において値が変化するビットの内
の最上位ビットMSBのビット位置が変化するためカウ
ント値C3からカウンタ104のクロックとして用いる
信号を選択するためのセレクタである。この目的のセレ
クタをセレクタAとする。
The selector 401 selects the signal used as the clock of the counter 104 from the count value C3 because the bit position of the most significant bit MSB of the bits whose value changes in the count value C3 changes by making N3 variable. This is a selector for performing The selector for this purpose is referred to as selector A.

【0020】セレクタ402は作成するMILパターン
の段数を変化させるためのセレクタである。具体的には
カウンタ102を使用の有無を切り替える。即ち、L
[M1[N1×N2]×M2[N3×N4]]のMIL
パターン生成回路を基に、L’[N1×M2[N3×N
4]]のMILパターンを作成する。但し、L’=N1
×M2とする。L’[N1×M2[N3×N4]]のM
ILパターンを作成する場合、カウント値C2は常に0
とし、演算器201は1倍とする。この目的のセレクタ
をセレクタBとする。
The selector 402 is a selector for changing the number of stages of the MIL pattern to be created. Specifically, the use or non-use of the counter 102 is switched. That is, L
MIL of [M1 [N1 × N2] × M2 [N3 × N4]]
Based on the pattern generation circuit, L ′ [N1 × M2 [N3 × N
4]] is created. However, L '= N1
× M2. M of L '[N1 × M2 [N3 × N4]]
When creating an IL pattern, the count value C2 is always 0
And the arithmetic unit 201 is set to 1 time. The selector for this purpose is referred to as a selector B.

【0021】図3に示した第2の実施の形態においては
セレクタA及びセレクタBを各1個使用しているが、カ
ウンタの最上位ビットMSBの立ち下がりを次のカウン
タのクロックとしている箇所全てにセレクタA及びセレ
クタBをそれぞれ使用することが可能であり、セレクタ
AとセレクタBを組み合わせて使用することも可能であ
る。
In the second embodiment shown in FIG. 3, one selector A and one selector B are used. However, all points where the falling edge of the most significant bit MSB of the counter is used as the clock of the next counter are used. The selector A and the selector B can be used respectively, and the selector A and the selector B can be used in combination.

【0022】従来技術においては、汎用性を持たせるこ
とはできず、複数のMILパターンを切り替えて作成す
る場合には大幅に回路規模が増大する。本発明では本実
施の形態のように作成するMILパターンに汎用性を持
たせることができるため、複数のMILパターンを切り
替えて作成する場合の回路規模の増加は比較的少ないと
いう効果がある。
In the prior art, general versatility cannot be provided, and when a plurality of MIL patterns are switched and created, the circuit scale is greatly increased. According to the present invention, the versatility can be imparted to the MIL pattern created as in the present embodiment, so that there is an effect that the increase in the circuit scale when switching a plurality of MIL patterns is relatively small.

【0023】−第3の実施の形態− 前述の第1及び第2の実施の形態においては、スキップ
の無い場合、即ち第1の実施の形態で述べるとL=M1
×M2、M1=N1×N2、M2=N3×N4の場合の
MILパターン生成回路について述べた。
Third Embodiment In the first and second embodiments described above, when there is no skip, that is, in the first embodiment, L = M1
The MIL pattern generation circuit in the case of × M2, M1 = N1 × N2, and M2 = N3 × N4 has been described.

【0024】以下に、第3の実施の形態及び第4の実施
の形態としてスキップがある場合のMILパターン生成
回路について示す。ここではL[M1[N1×N2]×
M2[N3×N4]]のMILパターンにおいてM1
[N1×N2]の箇所でスキップがある場合、即ちM1
<N1×N2の例を示すが、他の箇所でスキップがある
場合やここで示す例とは段数の異なるMILパターンに
も適用できる。また、第2の実施の形態のように作成す
るMILパターンに汎用性をもたせることも可能であ
る。
The MIL pattern generation circuit in the case where there is a skip will be described below as a third embodiment and a fourth embodiment. Here, L [M1 [N1 × N2] ×
M1 in the MIL pattern of M2 [N3 × N4]
If there is a skip at [N1 × N2], ie, M1
Although an example of <N1 × N2 is shown, the present invention can also be applied to a case where there is a skip in another place or an MIL pattern having a different number of stages from the example shown here. Further, it is possible to give versatility to the MIL pattern created as in the second embodiment.

【0025】M1[N1×N2]の箇所でスキップがあ
る場合のMILパターン生成回路としては図4(第3の
実施の形態)に示す構成と、図5(第4の実施の形態)
に示す構成とがある。
FIG. 4 (third embodiment) and FIG. 5 (fourth embodiment) show an MIL pattern generation circuit in the case where there is a skip at M1 [N1 × N2].
There is a configuration shown in FIG.

【0026】図4に示したMILパターン生成回路の第
3の実施形態の構成では、M1[N1×N2]をカウン
タ105と変換回路501を用いて作成し、他回路は第
1の実施の形態に準じる。カウンタ105は入力クロッ
クclkに同期してインクリメントし、M1−1の次は
0になる。変換回路501はあらかじめM1[N1×N
2]のMILパターンを求めておき、カウント値C5の
値0〜M1−1に対応してMILパターンを出力するよ
うに変換する回路である。但し、カウント値C5はカウ
ンタ105の値である。図4に示した第3の実施の形態
の構成では、後述する第4の実施の形態(図5)の構成
のように作成できるMILパターンに制約は無い。
In the configuration of the third embodiment of the MIL pattern generation circuit shown in FIG. 4, M1 [N1 × N2] is created using the counter 105 and the conversion circuit 501, and the other circuits are the same as those of the first embodiment. According to. The counter 105 increments in synchronization with the input clock clk, and becomes 0 after M1-1. The conversion circuit 501 has M1 [N1 × N
2] is a circuit that obtains the MIL pattern and converts the MIL pattern so as to output the MIL pattern corresponding to the value 0 to M1-1 of the count value C5. However, the count value C5 is the value of the counter 105. In the configuration of the third embodiment shown in FIG. 4, there is no restriction on the MIL pattern that can be created as in the configuration of the fourth embodiment (FIG. 5) described later.

【0027】−第4の実施の形態− 図5に本発明の第4の実施の形態を示す。本実施の形態
の構成は、図1に示した第1の実施の形態の構成にスキ
ップ条件判定回路601と、その判定結果による制御を
加えたものである。第4の実施の形態の動作について図
6に示したタイミング図を用いて説明する。スキップ条
件判定回路601はあらかじめスキップする条件を調べ
ておき、カウント値C1とカウント値C2の値からスキ
ップするタイミングの1クロック前でスキップ条件判定
結果S1を1とする。スキップ条件判定結果S1が1の
場合、次のクロックでカウント値C1の値を0とする。
これにより、スキップすべき値はスキップされる。
Fourth Embodiment FIG. 5 shows a fourth embodiment of the present invention. The configuration of the present embodiment is obtained by adding a skip condition determination circuit 601 and control based on the determination result to the configuration of the first embodiment shown in FIG. The operation of the fourth embodiment will be described with reference to the timing chart shown in FIG. The skip condition determination circuit 601 checks the skip condition in advance and sets the skip condition determination result S1 to 1 one clock before the skip timing from the count value C1 and the count value C2. When the skip condition determination result S1 is 1, the count value C1 is set to 0 at the next clock.
As a result, the value to be skipped is skipped.

【0028】図6に示した例ではカウント値C2=aと
して(N1−1)×N2+a>M1−1の場合、カウン
ト値C1=N1−2、カウント値C2=aでスキップ条
件判定結果S1を1にし、カウント値C1=N1−1、
カウント値C2=aをスキップする。但し、M1[N1
×N2]のパターンによりスキップ条件判定結果S1が
1の時にカウント値C1の最上位ビットMSBの値が0
であるような場合には第4の実施の形態の構成は使用す
ることができず、第3の実施の形態の構成を使用する必
要がある。即ち、N1×N2−M1<N2とすると、N
1−1が2の累乗でなければ第4の実施の形態の構成が
使用できる。尚、N1×N2−M1≧N2の場合にはN
1×N2’−M1<N2’を満たすN2’が存在し、M
1[N1×N2]のMILパターンはM1[N1×N
2’]のMILパターンと同じである。
In the example shown in FIG. 6, when the count value C2 = a and (N1-1) .times.N2 + a> M1-1, the skip condition determination result S1 is determined by the count value C1 = N1-2 and the count value C2 = a. 1 and the count value C1 = N1-1,
Skip the count value C2 = a. However, M1 [N1
× N2], the value of the most significant bit MSB of the count value C1 is 0 when the skip condition determination result S1 is 1.
In such a case, the configuration of the fourth embodiment cannot be used, and the configuration of the third embodiment must be used. That is, if N1 × N2-M1 <N2, N
If 1-1 is not a power of 2, the configuration of the fourth embodiment can be used. If N1 × N2-M1 ≧ N2, N
N2 ′ that satisfies 1 × N2′−M1 <N2 ′ exists, and M
The MIL pattern of 1 [N1 × N2] is M1 [N1 × N
2 ′].

【0029】第4の実施の形態の回路構成は第3の実施
の形態の回路構成に比べて第1の実施の形態の回路から
の変更点が少なく、またN1、N2が共通でM1が異な
るMILパターン生成回路は共通な構成箇所が多い。即
ち、N1、N2が共通でM1が異なるMILパターン生
成回路を共通化して切り替えて使用する場合に第4の実
施の形態の構成は第3の実施の形態の構成に比べて特に
回路規模を削減できる利点がある。
The circuit configuration of the fourth embodiment has fewer changes from the circuit configuration of the first embodiment compared to the circuit configuration of the third embodiment, and N1 and N2 are common and M1 is different. The MIL pattern generation circuit has many common components. That is, in the case where the MIL pattern generation circuits having the same N1 and N2 and different M1 are used in common and switched and used, the configuration of the fourth embodiment particularly reduces the circuit scale as compared with the configuration of the third embodiment. There are advantages that can be done.

【0030】なお、本実施の形態においては、本発明は
それに限定されず、本発明を適用する上で好適な形態に
適用することができる。
Note that, in the present embodiment, the present invention is not limited to this, and can be applied to a mode suitable for applying the present invention.

【0031】また、上記構成部材の数、位置、形状等は
上記実施の形態に限定されず、本発明を実施する上で好
適な数、位置、形状等にすることができる。
Further, the number, position, shape, etc. of the above-mentioned constituent members are not limited to the above-mentioned embodiment, but can be set to a suitable number, position, shape, etc. for carrying out the present invention.

【0032】なお、各図において、同一構成要素には同
一符号を付している。
In each of the drawings, the same components are denoted by the same reference numerals.

【0033】[0033]

【発明の効果】本発明は以上のように構成されているの
で、集積度が高く、回路規模の小さいMILパターン生
成回路を提供できるという効果を奏する。
Since the present invention is configured as described above, it is possible to provide an MIL pattern generation circuit having a high degree of integration and a small circuit scale.

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

【図1】本発明におけるMILパターン生成回路の第1
の実施の形態の構成を表すブロック図である。
FIG. 1 shows a first example of an MIL pattern generation circuit according to the present invention.
It is a block diagram showing the structure of 1st Embodiment.

【図2】図1に示した第1の実施の形態の動作を表すタ
イムチャートである。
FIG. 2 is a time chart showing the operation of the first embodiment shown in FIG.

【図3】本発明におけるMILパターン生成回路の第2
の実施の形態の構成を表すブロック図である。
FIG. 3 shows a second example of the MIL pattern generation circuit according to the present invention.
It is a block diagram showing the structure of 1st Embodiment.

【図4】本発明におけるMILパターン生成回路の第3
の実施の形態の構成を表すブロック図である。
FIG. 4 shows a third example of the MIL pattern generation circuit according to the present invention.
It is a block diagram showing the structure of 1st Embodiment.

【図5】本発明におけるMILパターン生成回路の第4
の実施の形態の構成を表すブロック図である。
FIG. 5 shows a fourth example of the MIL pattern generation circuit according to the present invention.
It is a block diagram showing the structure of 1st Embodiment.

【図6】図5に示した第4の実施の形態の動作を表すタ
イムチャートである。
FIG. 6 is a time chart showing the operation of the fourth embodiment shown in FIG.

【図7】12[4×3]のインターリーブ処理における
MILパターン生成方法を表す図である。
FIG. 7 is a diagram illustrating a MIL pattern generation method in 12 [4 × 3] interleaving processing.

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

101,102,103,104,105…カウンタ 201,202,203…演算器 301,302,303…加算器 401,402…セレクタ 501…変換回路 601…スキップ条件判定回路 C1,C2,C3,C4,C5…カウント値 clk…入力クロック MSB…最上位ビット S1…スキップ条件判定結果 101, 102, 103, 104, 105 ... Counters 201, 202, 203 ... Calculators 301, 302, 303 ... Adders 401, 402 ... Selector 501 ... Conversion circuit 601 ... Skip condition judgment circuit C1, C2, C3, C4 C5: Count value clk: Input clock MSB: Most significant bit S1: Skip condition determination result

Claims (20)

【特許請求の範囲】[Claims] 【請求項1】 複数のカウンタを備えるMILパターン
生成回路であって、入力クロックのパルスをカウント
し、カウントした値を第1のカウント値として出力し、
前記第1のカウント値が最大カウント値に達するとカウ
ントをクリアする第1のカウンタと、 前記第1のカウント値が入力され、前記第1のカウント
値がクリアされるのに応じて前記第1のカウント値のパ
ルスをカウントし、カウントした値を第2のカウント値
として出力し、前記第2のカウント値が最大カウント値
に達するとカウントをクリアする第2のカウンタとを備
えることを特徴とするMILパターン生成回路。
1. An MIL pattern generation circuit including a plurality of counters, which counts pulses of an input clock, and outputs the counted value as a first count value;
A first counter that clears a count when the first count value reaches a maximum count value; and a first counter that receives the first count value and clears the first count value when the first count value is cleared. A second counter that counts pulses having a count value of, outputs the counted value as a second count value, and clears the count when the second count value reaches a maximum count value. MIL pattern generation circuit.
【請求項2】 前記第1のカウンタ回路からの出力と前
記第2のカウンタ回路からの出力とを加算する第1の加
算回路とを備えることを特徴とする請求項1記載のMI
Lパターン生成回路。
2. The MI according to claim 1, further comprising a first adding circuit for adding an output from the first counter circuit and an output from the second counter circuit.
L pattern generation circuit.
【請求項3】 前記第1のカウンタ回路と前記第1の加
算回路の間に介挿され、前記第1のカウンタ回路からの
出力を定数倍する第1の演算回路とを備えることを特徴
とする請求項2記載のMILパターン生成回路。
And a first arithmetic circuit interposed between the first counter circuit and the first adder circuit for multiplying an output from the first counter circuit by a constant. The MIL pattern generation circuit according to claim 2.
【請求項4】 前記第2のカウント値が入力され、前記
第2のカウント値がクリアされるのに応じて前記第2の
カウント値のパルスをカウントし、カウントした値を第
3のカウント値として出力し、前記第3のカウント値が
最大カウント値に達するとカウントをクリアする第3の
カウンタとを備えることを特徴とする請求項1〜3のい
ずれかに記載のMILパターン生成回路。
4. A pulse of the second count value is counted in response to the input of the second count value and the second count value is cleared, and the counted value is counted as a third count value. The MIL pattern generation circuit according to any one of claims 1 to 3, further comprising: a third counter that outputs a count value and clears the count when the third count value reaches a maximum count value.
【請求項5】 前記第1の加算回路からの出力と前記第
3のカウンタ回路からの出力とを加算する第2の加算回
路とを備えることを特徴とする請求項4記載のMILパ
ターン生成回路。
5. The MIL pattern generation circuit according to claim 4, further comprising a second addition circuit for adding an output from said first addition circuit and an output from said third counter circuit. .
【請求項6】 前記第1の加算回路と前記第2の加算回
路の間に介挿され、前記第1の加算回路からの出力を定
数倍する第2の演算回路とを備えることを特徴とする請
求項5記載のMILパターン生成回路。
6. A second arithmetic circuit interposed between the first addition circuit and the second addition circuit and configured to multiply an output from the first addition circuit by a constant. The MIL pattern generation circuit according to claim 5.
【請求項7】 前記第3のカウント値が入力され、前記
第3のカウント値がクリアされるのに応じて前記第3の
カウント値のパルスをカウントし、カウントした値を第
4のカウント値として出力し、前記第4のカウント値が
最大カウント値に達するとカウントをクリアする第4の
カウンタとを備えることを特徴とする請求項4〜6のい
ずれかに記載のMILパターン生成回路。
7. The pulse of the third count value is counted according to the input of the third count value and the third count value is cleared, and the counted value is counted as a fourth count value. 7. The MIL pattern generation circuit according to claim 4, further comprising: a fourth counter that outputs the count value and clears the count when the fourth count value reaches a maximum count value. 8.
【請求項8】 前記第2の加算回路からの出力と前記第
4のカウンタ回路からの出力とを加算する第3の加算回
路とを備えることを特徴とする請求項7記載のMILパ
ターン生成回路。
8. The MIL pattern generation circuit according to claim 7, further comprising a third addition circuit for adding an output from said second addition circuit and an output from said fourth counter circuit. .
【請求項9】 前記第2の加算回路と前記第3の加算回
路の間に介挿され、前記第2の加算回路からの出力を定
数倍する第3の演算回路とを備えることを特徴とする請
求項8記載のMILパターン生成回路。
9. A semiconductor device comprising: a third arithmetic circuit interposed between the second adder circuit and the third adder circuit for multiplying an output from the second adder circuit by a constant. The MIL pattern generation circuit according to claim 8, wherein
【請求項10】 最大カウント値が可変であるカウンタ
の後段に接続され、前記カウンタのカウント値のうち最
大カウント値を表す信号を選択し、後段に接続される他
のカウンタにカウントのクリア信号として送信するセレ
クタAを備えることを特徴とする請求項1〜9のいずれ
かに記載のMILパターン生成回路。
10. A signal which is connected to a subsequent stage of a counter whose maximum count value is variable, selects a signal indicating the maximum count value from among the count values of the counter, and sends the selected signal to another counter connected to the latter stage as a count clear signal. 10. The MIL pattern generation circuit according to claim 1, further comprising a selector A for transmitting.
【請求項11】 前記第3のカウンタは、最大カウント
値が可変であり、前記第3のカウンタの後段に接続さ
れ、前記第3のカウント値のうち最大カウント値を表す
信号を選択し、後段に接続される前記第4のカウンタに
カウントのクリア信号として送信するセレクタAを備え
ることを特徴とする請求項1〜9のいずれかに記載のM
ILパターン生成回路。
11. The third counter, the maximum count value of which is variable, is connected to the subsequent stage of the third counter, and selects a signal representing the maximum count value from the third count value, 10. The M according to claim 1, further comprising a selector A for transmitting a count clear signal to the fourth counter connected to the fourth counter.
IL pattern generation circuit.
【請求項12】 前段のカウンタの出力か、前記カウン
タのさらに前段のカウンタの出力かのどちらか一方を選
択して後段の他のカウンタに出力するセレクタBを備え
ることを特徴とする請求項4〜11のいずれかに記載の
MILパターン生成回路。
12. The selector according to claim 4, further comprising a selector B for selecting one of the output of the counter of the preceding stage and the output of the counter of the preceding stage, and outputting the selected output to another counter of the subsequent stage. 12. The MIL pattern generation circuit according to any one of claims 11 to 11.
【請求項13】 前記第3のカウンタの前段に接続さ
れ、前記第3のカウンタ入力を、前記第1のカウンタの
出力か前記第2のカウンタの出力かのどちらかに切り替
えるセレクタBを備えることを特徴とする請求項4〜1
1のいずれかに記載のMILパターン生成回路。
13. A selector B connected to a stage preceding the third counter and switching the input of the third counter to one of the output of the first counter and the output of the second counter. 4-1.
2. The MIL pattern generation circuit according to claim 1.
【請求項14】 請求項1〜13のいずれかに記載のM
ILパターン生成回路を備えた送信機。
14. M according to claim 1, wherein
A transmitter including an IL pattern generation circuit.
【請求項15】 請求項1〜13のいずれかに記載のM
ILパターン生成回路を備えた受信機。
15. The M according to claim 1, wherein
A receiver including an IL pattern generation circuit.
【請求項16】 請求項1〜13のいずれかに記載のM
ILパターン生成回路を備えた送受信装置。
16. M according to claim 1, wherein
A transmission / reception device including an IL pattern generation circuit.
【請求項17】 請求項1〜13のいずれかに記載のM
ILパターン生成回路を備えた移動体通信機器。
17. The M according to claim 1, wherein
A mobile communication device including an IL pattern generation circuit.
【請求項18】 請求項1〜13のいずれかに記載のM
ILパターン生成回路を備えた携帯電話。
18. The M according to claim 1, wherein
A mobile phone equipped with an IL pattern generation circuit.
【請求項19】 請求項1〜13のいずれかに記載のM
ILパターン生成回路を備えた記録装置。
19. The M according to claim 1, wherein
A recording device including an IL pattern generation circuit.
【請求項20】 請求項1〜13のいずれかに記載のM
ILパターン生成回路を備えた磁気記録装置。
20. The M according to claim 1, wherein
A magnetic recording device including an IL pattern generation circuit.
JP29645199A 1999-10-19 1999-10-19 Mil pattern generation circuit Pending JP2001119308A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29645199A JP2001119308A (en) 1999-10-19 1999-10-19 Mil pattern generation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29645199A JP2001119308A (en) 1999-10-19 1999-10-19 Mil pattern generation circuit

Publications (1)

Publication Number Publication Date
JP2001119308A true JP2001119308A (en) 2001-04-27

Family

ID=17833726

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29645199A Pending JP2001119308A (en) 1999-10-19 1999-10-19 Mil pattern generation circuit

Country Status (1)

Country Link
JP (1) JP2001119308A (en)

Similar Documents

Publication Publication Date Title
JP4777971B2 (en) Address generator for interleaver memory and deinterleaver memory
JPH07212251A (en) Interleaving process
US6332209B1 (en) Method for a general turbo code trellis termination
WO2012165424A1 (en) Interleaving apparatus and wireless communication system
JP3553546B2 (en) Address generator for use in a multi-stage channel interleaver / deinterleaver
EP2827516B1 (en) Scrambling code generation method, apparatus and scrambling code processing apparatus
KR20040085545A (en) Apparatus for decoding error correction doe in communication system and method thereof
JP2803601B2 (en) Inversion circuit of finite field element
JP4665099B2 (en) Method for determining filter coefficients of a digital filter and digital filter
JP2001119308A (en) Mil pattern generation circuit
US7511642B1 (en) Apparatus and method for block interleaving using mixed radix system in MB-OFDM
US6138133A (en) Circuit for calculating the inverse of an arbitrary element of a finite field
US20090083514A1 (en) Apparatus and method for block interleaving in mobile communication system
JP4045017B2 (en) Bit interleave and bit deinterleave circuit
JP3953650B2 (en) Information encoding apparatus and method
US6738413B1 (en) Code generator, communication unit using the code generator, communication system, and code generation method
JP2725598B2 (en) Error correction encoder
JP2007129618A (en) alpha MULTIPLICATION CIRCUIT AND ARITHMETIC CIRCUIT OF GALOIS FIELD
KR100338635B1 (en) Address generating device and method for use in multi-stage channel interleaver/deinterleaver
GB2294616A (en) Data interleaving process for radio transmission
JPH09116462A (en) Spread spectrum communication equipment
KR20040061283A (en) A method of generating interleaver address for turbor decoding
KR100601624B1 (en) Apparatus and method for interleaving and deinterleaving
JPH09130214A (en) Pn code generation circuit
JPWO2008142735A1 (en) Method and apparatus for generating binary pseudo-random data