JPH114144A - Device for generating code group - Google Patents

Device for generating code group

Info

Publication number
JPH114144A
JPH114144A JP9154174A JP15417497A JPH114144A JP H114144 A JPH114144 A JP H114144A JP 9154174 A JP9154174 A JP 9154174A JP 15417497 A JP15417497 A JP 15417497A JP H114144 A JPH114144 A JP H114144A
Authority
JP
Japan
Prior art keywords
code
shift register
circuit
code sequence
sequence
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
JP9154174A
Other languages
Japanese (ja)
Inventor
Hajime Kuriyama
山 元 栗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP9154174A priority Critical patent/JPH114144A/en
Publication of JPH114144A publication Critical patent/JPH114144A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To instantaneously output another code group from the state of a shift register in a code group generating circuit to be reference even at the time of the code group provided with a drasitically long cycle when the two code groups being optionally different in phase are simultaneously generated and, moreover, to unnecessitate the shift register of another code group generating circuit and complicated initial value calculation. SOLUTION: A code group generating device is provided with a code generating means 1 for generating the longest group (M-group), which consists of the shift register 2 provided with optional bit width and an arithmetic circuit 3 for feeding-back, and an arithmetic means 4 for executing optional calculation from the respective register outputs of the shift register 2. In this case, the generation polynomical expression of the code generating means 1 and an arithmetic expression guided from an optional phase which is desired to progress are executed in the respective register outputs of the shift registers 2 so that the code group being different only in phase are obtained.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、最長系列、Gol
d符号などの符号系列生成装置に関する。
The present invention relates to a longest sequence, Gol
The present invention relates to an apparatus for generating a code sequence such as a d-code.

【0002】[0002]

【従来の技術】ディジタル符号は、レジスタと、そのレ
ジスタ内容に演算を施す演算回路を用い、その演算内容
をレジスタに帰還することにより生成することができ
る。例えば、生成多項式が1+x+x4 である周期15
の最長系列(M系列)の場合、演算が排他的論理和1つ
で実現でき、帰還法も簡単なため、図6に示すような単
純な構成となる。図6において、20は4つのレジスタ
R1〜R4からなるシフトレジスタ回路、21はレジス
タR1とR4の排他的論理和をとる排他的論理和回路で
あり、その出力をレジスタR1に帰還する。レジスタR
1〜R4の各々に初期値を設定し(すべてのレジスタの
内容が0の場合を除く)、これらレジスタR1〜R4に
クロックを与えて、その内容を当該クロックでシフトさ
せることにより、周期15のM系列符号が生成される。
2. Description of the Related Art A digital code can be generated by using a register and an arithmetic circuit for performing an operation on the register contents, and feeding back the operation contents to the register. For example, a period 15 in which the generator polynomial is 1 + x + x 4
In the case of the longest sequence (M sequence), since the operation can be realized by one exclusive OR and the feedback method is simple, the configuration is simple as shown in FIG. In FIG. 6, reference numeral 20 denotes a shift register circuit including four registers R1 to R4, and reference numeral 21 denotes an exclusive OR circuit that calculates the exclusive OR of the registers R1 and R4, and outputs the output to the register R1. Register R
An initial value is set in each of the registers 1 to R4 (except when the contents of all registers are 0), a clock is applied to these registers R1 to R4, and the contents are shifted by the clock. An M-sequence code is generated.

【0003】図7は、図6の構成を一般化したもので、
生成多項式が、 1+h1 x+h2 2 +h3 3 +・・・+hk-1
k-1 +xk (ただし、hn は‘1’もしくは‘0’) のM系列符号生成回路である。図7において、22はk
個のレジスタR1〜Rkからなるシフトレジスタ回路、
23は排他的論理和回路からなる帰還のための演算回路
である。
FIG. 7 is a generalized version of the configuration of FIG.
Generator polynomial, 1 + h 1 x + h 2 x 2 + h 3 x 3 + ··· + h k-1 x
k-1 + x k ( where hn is '1' or '0'). In FIG. 7, 22 is k
A shift register circuit including a plurality of registers R1 to Rk;
An arithmetic circuit 23 for feedback is formed by an exclusive OR circuit.

【0004】これらM系列符号生成回路において、同時
に2つの符号系列を生成させることを考える。ここでの
2つの符号系列というのは、同じ生成多項式、同じレジ
スタの初期値を用いるが、1つの符号系列を基準とした
場合に、もう一方の符号系列が常に任意の位相だけ進ん
だ状態であるものをさす。すなわち、位相が異なるだけ
の符号系列である。
It is considered that these M-sequence code generation circuits simultaneously generate two code sequences. Here, the two code sequences use the same generator polynomial and the same initial value of the register, but when one code sequence is used as a reference, the other code sequence always advances by an arbitrary phase. It refers to something. That is, the code sequence has only a different phase.

【0005】例えば、図8に示すような2つのM系列符
号生成回路24、25において、それぞれのレジスタR
1〜R4に同じ初期値を設定し、M系列符号生成回路2
5だけ、進ませたい任意位相分だけクロックを与え、レ
ジスタの状態を進ませておく。その後、両系列符号に同
一のクロックを与えることにより、位相だけが任意に異
なる符号系列を生成させることができる。
For example, in two M-sequence code generation circuits 24 and 25 as shown in FIG.
1 to R4, the same initial value is set, and the M-sequence code generation circuit 2
A clock is supplied by 5 for an arbitrary phase to be advanced, and the state of the register is advanced. Thereafter, by applying the same clock to both sequence codes, a code sequence having only an arbitrary phase difference can be generated.

【0006】しかしながら、このような手法によると、
同時に2つの符号系列を生成する前に任意の位相分だ
け、シフトレジスタの状態を進ませておく必要がある。
周期15程度のM系列であれば、任意に位相を進めるこ
とも容易であるが、周期が非常に長い符号系列で任意に
位相を進める場合、非常に長い時間が必要となる場合が
ある。
However, according to such a method,
Before generating two code sequences at the same time, it is necessary to advance the state of the shift register by an arbitrary phase.
If the M sequence has a period of about 15, it is easy to arbitrarily advance the phase. However, if the phase is arbitrarily advanced with a code sequence having a very long period, a very long time may be required.

【0007】また、符号系列の一部を連続的に生成させ
る場合、例えば位相0〜7を繰り返す符号系列生成回路
に対して、位相を8だけ進めた符号系列生成回路(位相
8〜15を繰り返す)を実現することは、シフトレジス
タの状態を進める時間が物理的にないため、非常に困難
である。
When a part of a code sequence is continuously generated, for example, a code sequence generation circuit which repeats phases 0 to 7 is compared with a code sequence generation circuit whose phase is advanced by 8 (phases 8 to 15 are repeated). ) Is very difficult to implement because there is no physical time to advance the state of the shift register.

【0008】このような場合、図9のように基準となる
符号系列生成回路26に対して、初期値計算回路27に
よって任意の位相分だけ進んだシフトレジスタの状態
を、あらかじめ計算しておき、もう一方の符号系列生成
回路28の初期値として設定できるように構成するのが
一般的である。
In such a case, the state of the shift register advanced by an arbitrary phase by the initial value calculation circuit 27 with respect to the reference code sequence generation circuit 26 as shown in FIG. In general, it is configured such that it can be set as an initial value of the other code sequence generation circuit 28.

【0009】しかし、任意の位相分だけ進んだシフトレ
ジスタの状態を計算するのは複雑であり、基準となる符
号系列生成回路の初期値さえも任意に設定可能とする場
合、その都度もう一方の符号系列回路の初期値を計算す
る必要がある。
However, it is complicated to calculate the state of the shift register advanced by an arbitrary phase, and when it is possible to arbitrarily set even the initial value of the reference code sequence generation circuit, the other side is required each time. It is necessary to calculate the initial value of the code sequence circuit.

【0010】[0010]

【発明が解決しようとする課題】このように、従来の技
術では、位相だけが任意に異なる2つの符号系列を同時
に生成させる場合に、周期が非常に長い符号系列を扱う
場合には、一方の符号系列生成回路のシフトレジスタ状
態を進めるのに非常に長い時間がかかるという問題があ
る。また、符号系列の一部を連続的に生成させる場合に
は、基準となる符号系列生成回路に対して、もう一方の
符号系列生成回路のシフトレジスタの初期値を、あらか
じめ複雑な計算によって求めなくてはならないという問
題がある。
As described above, according to the prior art, when two code sequences having only arbitrarily different phases are simultaneously generated, and when a code sequence having a very long period is handled, one of the codes is used. There is a problem that it takes a very long time to advance the shift register state of the code sequence generation circuit. Also, when a part of the code sequence is continuously generated, the initial value of the shift register of the other code sequence generation circuit is not determined by a complicated calculation in advance for the reference code sequence generation circuit. There is a problem that must not be.

【0011】本発明は、上記従来の問題を解決するもの
で、位相だけが任意に異なる2つの符号系列を同時に生
成させる場合に、周期が非常に長い符号系列であって
も、基準となる符号系列生成回路のシフトレジスタの状
態から、瞬時にもう一方の符号系列を出力することがで
き、さらに、もう一方の符号系列生成回路のシフトレジ
スタと複雑な初期値計算を不要とし、さらには、基準と
なる符号系列生成回路のシフトレジスタを任意のタイミ
ングで初期化することにより、任意の周期で符号系列を
生成させることができる優れた符号系列生成装置を提供
することを目的とする。
The present invention solves the above-mentioned conventional problem. When two code sequences having only arbitrarily different phases are simultaneously generated, even if the code sequence has a very long period, the reference code can be used. The other code sequence can be output instantaneously from the state of the shift register of the sequence generation circuit, and the shift register of the other code sequence generation circuit and complicated initial value calculation are not required. It is an object of the present invention to provide an excellent code sequence generation device capable of generating a code sequence at an arbitrary period by initializing a shift register of a code sequence generation circuit at an arbitrary timing.

【0012】[0012]

【課題を解決するための手段】上記問題を解決するため
に、本発明は、任意のビット幅を持つシフトレジスタと
帰還のための演算回路からなる最長系列(M系列)を生
成する符号生成手段と、シフトレジスタの各レジスタ出
力から任意の演算を行う演算手段とを備えたものであ
る。また本発明は、前記シフトレジスタが、ロード信号
により初期値を自由に設定できることを特徴とし、請求
項3の発明は、前記演算手段が、前記シフトレジスタと
同じビット幅からなるデータを複数格納する手段と、そ
れらから一つのデータを選択する手段と、選択されたデ
ータBと前記シフトレジスタの各レジスタ出力Xの各要
素について、 yk =BX=b1 1 +b2 2 +b3 3 +…+b
k-1 k-1 +bk k という演算を行う演算回路からなることを特徴としたも
のである。
In order to solve the above problem, the present invention provides a code generation means for generating a longest sequence (M sequence) comprising a shift register having an arbitrary bit width and an operation circuit for feedback. And operation means for performing an arbitrary operation from each register output of the shift register. Further, the present invention is characterized in that the shift register can freely set an initial value by a load signal. The invention according to claim 3, wherein the arithmetic means stores a plurality of data having the same bit width as the shift register. Means, means for selecting one data from them, and for each element of the selected data B and each register output X of the shift register, y k = BX = b 1 x 1 + b 2 x 2 + b 3 x 3 + ... + b
in that it consists of calculating circuit for performing calculation of k-1 x k-1 + b k x k is obtained by the features.

【0013】以上により、位相だけが任意に異なる2つ
の符号系列を同時に生成させる場合に、周期が非常に長
い符号系列であっても、基準となる符号系列生成回路の
シフトレジスタの状態から、瞬時にもう一方の符号系列
を出力することができる。また、もう一方の符号系列生
成回路のシフトレジスタと複雑な初期値計算を不要と
し、さらには、基準となる符号系列生成回路のシフトレ
ジスタを任意のタイミングで初期化することにより、任
意の周期で符号系列を生成させることができる優れた符
号系列生成装置が得られる。
As described above, when simultaneously generating two code sequences arbitrarily different only in phase, even if the code sequence has a very long cycle, the instantaneous shift from the state of the shift register of the reference code sequence generation circuit is performed. To output the other code sequence. In addition, the shift register of the other code sequence generation circuit and complicated initial value calculation are not required, and the shift register of the reference code sequence generation circuit is initialized at an arbitrary timing, so that it can be executed at an arbitrary period. An excellent code sequence generation device capable of generating a code sequence is obtained.

【0014】[0014]

【発明の実施の形態】本発明の請求項1に記載の発明
は、任意のビット幅を持つシフトレジスタと帰還のため
の演算回路からなる最長系列(M系列)を生成する符号
生成手段と、シフトレジスタの各レジスタ出力から任意
の演算を行う演算手段とを備えたものであり、位相だけ
が任意に異なる2つの符号系列を同時に生成させる場合
に、周期が非常に長い符号系列であっても、基準となる
符号系列生成回路のシフトレジスタの状態から、瞬時に
もう一方の符号系列を出力することができる。また、も
う一方の符号系列生成回路のシフトレジスタと複雑な初
期値計算を不要にするという作用を有する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The invention according to claim 1 of the present invention provides a code generation means for generating a longest sequence (M sequence) comprising a shift register having an arbitrary bit width and an operation circuit for feedback. Operation means for performing an arbitrary operation from the output of each register of the shift register. If two code sequences having only arbitrarily different phases are simultaneously generated, even if the code sequence has a very long period, The other code sequence can be output instantaneously from the state of the shift register of the reference code sequence generation circuit. Further, it has the effect of eliminating the need for the shift register of the other code sequence generation circuit and complicated initial value calculation.

【0015】また、請求項2に記載の発明は、前記のシ
フトレジスタが、ロード信号により初期値を自由に設定
できることを特徴とするものであり、位相だけが任意に
異なる2つの符号系列を同時に生成させる場合に、基準
となる符号系列生成回路のシフトレジスタを任意のタイ
ミングで初期化することにより、任意の周期で符号系列
を生成させることができるという作用を有する。
Further, the invention according to claim 2 is characterized in that the shift register can freely set an initial value by a load signal, and simultaneously transmits two code sequences having only arbitrarily different phases. When the code sequence is generated, the code sequence can be generated at an arbitrary cycle by initializing the shift register of the reference code sequence generation circuit at an arbitrary timing.

【0016】また、請求項3に記載の発明は、前記演算
手段が、前記シフトレジスタと同じビット幅からなるデ
ータを複数格納する手段と、それらから一つのデータを
選択する手段と、選択されたデータBと前記シフトレジ
スタの各レジスタ出力Xの各要素について、 yk =BX=b1 1 +b2 2 +b3 3 +…+b
k-1 k-1 +bk k という演算を行う演算回路からなることを特徴とするも
のであり、位相だけが任意に異なる符号系列を同時に生
成させる場合に、複数の“任意の位相”から希望の位相
を選択して出力させることができるという作用を有す
る。
According to a third aspect of the present invention, the arithmetic means includes means for storing a plurality of data having the same bit width as the shift register, and means for selecting one of the data. For each element of the data B and each register output X of the shift register, y k = BX = b 1 x 1 + b 2 x 2 + b 3 x 3 +... + B
which is characterized in that it consists of calculating circuit for performing calculation of k-1 x k-1 + b k x k, if only phase to produce simultaneously the different code sequences Optionally the plurality of "arbitrary phase" Has the effect that a desired phase can be selected and output.

【0017】以下、本発明の実施の形態について、図1
から図5を用いて説明する。 (実施の形態1)図1は本発明の請求項1に対応する実
施の形態1における符号系列生成装置を示す。図1にお
いて、1は最長系列(M系列)を生成する符号系列生成
回路であり、シフトレジスタ回路2へクロックを与える
ことにより、基準となる符号系列を生成する。生成多項
式は、 1+h1 x+h2 2 +h3 3 +・・・+hk-1
k-1 +xk (ただし、hn は‘1’もしくは‘0’) である。2は任意のビット幅(ここではkビット)を持
つシフトレジスタ回路であり、3は帰還のための演算回
路3であり、これらにより符号系列生成回路1が構成さ
れている。4は演算装置であり、シフトレジスタ回路2
の各レジスタ出力から任意の演算を行う回路であり、符
号系列生成回路1よりも任意の位相だけ進んだ符号系列
を出力する。
Hereinafter, an embodiment of the present invention will be described with reference to FIG.
This will be described with reference to FIG. (Embodiment 1) FIG. 1 shows a code sequence generating apparatus according to Embodiment 1 of the present invention. In FIG. 1, reference numeral 1 denotes a code sequence generation circuit for generating a longest sequence (M sequence), which generates a reference code sequence by supplying a clock to the shift register circuit 2. The generator polynomial is 1 + h 1 x + h 2 x 2 + h 3 x 3 +... + H k-1 x
k-1 + xk ( where hn is "1" or "0"). Reference numeral 2 denotes a shift register circuit having an arbitrary bit width (here, k bits), and reference numeral 3 denotes an operation circuit 3 for feedback, and these constitute a code sequence generation circuit 1. Numeral 4 denotes an arithmetic unit, which is a shift register circuit 2
, And outputs a code sequence advanced by an arbitrary phase from the code sequence generation circuit 1.

【0018】以上のように構成された符号系列生成装置
についてその動作を説明をする。まず、符号系列生成回
路1について、シフトレジスタ回路2の各レジスタの現
在の状態をX、nクロック位相を進ませた後の各レジス
タの内容をY、生成多項式から導かれるk×k行列をA
とすると、次式が成立する。 Y=[y1 2 3 ・・・yk-1 k ]=An X ・・・(1) ここで、行列Aは次のように定義される。
The operation of the above-configured code sequence generator will be described. First, regarding the code sequence generation circuit 1, the current state of each register of the shift register circuit 2 is X, the content of each register after advancing the n clock phase is Y, and the k × k matrix derived from the generation polynomial is A.
Then, the following equation is established. Y = [y 1 y 2 y 3 ... Y k−1 y k ] = A n X (1) Here, the matrix A is defined as follows.

【数1】 ・・・(2)(Equation 1) ... (2)

【0019】ここで、Yのk列目の要素y kに着眼す
る。これはシフトレジスタ回路2のレジスタR kについ
て、n クロック位相が進んだ状態の値であり、すなわ
ち、符号系列生成回路1の出力1に対し、常にnクロッ
ク位相の進んだ状態の値を表している。よって、この値
を出力2とすると、出力2は出力1に対して常にnクロ
ック位相が進んだ符号系列を出力する。Aをn乗した行
列のk行目を表す1×k行列Bを、次のように定義す
る。 B=[b1 2 3 ・・・bk-1 k ] =[000・・・01]An ・・・(3) すると、y k は次式で表すことができる。 yk =BX=b1 1 +b2 2 +b3 3 +…+bk-1 k-1 +bk k ・・・(4) すなわち、nクロック位相が進んだ符号系列を生成する
には、行列Aをn乗した行列のk行目とシフトレジスタ
回路2の各レジスタの値を積和演算すればよいことがわ
かる。
Here, attention is paid to the element y k in the k-th column of Y. This is the value of the register Rk of the shift register circuit 2 in the state where the n clock phase is advanced, that is, the value of the output 1 of the code sequence generation circuit 1 in the state where the n clock phase is always advanced. I have. Therefore, assuming that this value is output 2, output 2 always outputs a code sequence with n clock phases ahead of output 1. A 1 × k matrix B representing a k-th row of a matrix obtained by raising A to the nth power is defined as follows. B = [b 1 b 2 b 3 ... B k-1 b k ] = [000... 01] An ... (3) Then, y k can be represented by the following equation. y k = BX = b 1 x 1 + b 2 x 2 + b 3 x 3 + ... + b k-1 x k-1 + b k x k ··· (4) that is, to generate a code sequence advanced n clock phase It can be seen that the sum of the k-th row of the matrix obtained by raising the matrix A to the n-th power and the value of each register of the shift register circuit 2 may be calculated.

【0020】以上のことから、図1における演算装置4
の詳細は、図2に示す演算装置5の構成となり、上記式
(4)の右項の演算を行う。これらの内容をより具体的
に説明するために、生成多項式が1+x+x4 である場
合の構成を図3に示す。
From the above, the arithmetic unit 4 in FIG.
2 has the configuration of the arithmetic unit 5 shown in FIG. 2, and performs the operation of the right term of the above equation (4). To explain these contents more specifically, showing the configuration when the generator polynomial is 1 + x + x 4 in FIG. 3.

【0021】図3において、符号系列生成回路6は生成
多項式1+x+x4 の周期15の最長系列(M系列)を
生成し、演算回路7は任意の位相を進める演算回路であ
る。出力2は符号系列生成回路6の出力1よりも任意の
位相だけ進んだ符号系列を出力するものとする。ここ
で、“任意の位相”を4とすると、行列B は次のよう
になる。
[0021] In FIG. 3, the code sequence generating circuit 6 generates the longest sequence (M-sequence) of the period 15 of the generator polynomial 1 + x + x 4, the arithmetic circuit 7 is an operational circuit for advancing the arbitrary phase. The output 2 outputs a code sequence that is advanced by an arbitrary phase from the output 1 of the code sequence generation circuit 6. Here, assuming that “arbitrary phase” is 4, the matrix B is as follows.

【数2】 4 =BX=b1 1 +b2 2 +b3 3 +b4 4 =x1 +x4 ・・・(7) これより、生成多項式が1+x+x4 であり、位相だけ
が4異なる符号系列を同時に生成する符号系列生成装置
を得ることができる。その構成を図4に示す。図4にお
いて、演算装置8は式7の演算を行い、生成多項式1+
x+x4 の符号系列出力1に対し、常に4位相進んだ符
号系列を出力する排他的論理和回路からなる演算回路で
ある。
(Equation 2) y 4 = BX = b 1 x 1 + b 2 x 2 + b 3 x 3 + b 4 x 4 = x 1 + x 4 ··· (7) from which generator polynomial is the 1 + x + x 4, only the phase is 4 different code sequences Can be obtained at the same time. The configuration is shown in FIG. In FIG. 4, the arithmetic unit 8 performs the arithmetic operation of Expression 7, and generates the generator polynomial 1+
This is an arithmetic circuit including an exclusive OR circuit that always outputs a code sequence that is four phases ahead of the code sequence output 1 of x + x 4 .

【0022】以上のように、本発明の実施の形態1によ
れば、符号系列の生成多項式および任意の進めたい位相
数から導かれる1×k行列Bに対し、y k = BXという
演算を行う演算回路を設けることにより、位相だけが任
意に異なる2つの符号系列を同時に生成させる場合に、
周期が非常に長い符号系列であっても、基準となる符号
系列生成回路のシフトレジスタの状態から、瞬時にもう
一方の符号系列を出力することができ、さらに、もう一
方の符号系列生成回路のシフトレジスタと複雑な初期値
計算を不要とすることができる。
As described above, according to the first embodiment of the present invention, an operation of y k = BX is performed on a 1 × k matrix B derived from a code sequence generator polynomial and an arbitrary number of phases to be advanced. By providing an arithmetic circuit, when two code sequences having only arbitrarily different phases are simultaneously generated,
Even if the code sequence has a very long cycle, the other code sequence can be output instantaneously from the state of the shift register of the reference code sequence generation circuit. The shift register and complicated initial value calculation can be eliminated.

【0023】なお、以上の説明では、符号生成回路1を
最長系列(M系列)符号を生成する回路に限定していた
が、レジスタに格納されたkビット長のデータXに、任
意に規定されたk×k行列Aで線型変換を繰り返す符号
系列、すなわち、位相を1進ませた時のレジスタ内容Y
がで表される符号系列を生成する回路としても、同様に
実施可能である。
In the above description, the code generation circuit 1 is limited to a circuit for generating the longest sequence (M sequence) code. However, the code generation circuit 1 is arbitrarily defined in k-bit data X stored in the register. A code sequence that repeats the linear transformation with the k × k matrix A, that is, the register content Y when the phase is advanced by one.
Can be implemented similarly as a circuit that generates a code sequence represented by.

【0024】(実施の形態2)本発明の請求項2に対応
する実施の形態2は、上記実施の形態1と同じ構成の符
号系列生成装置を用いる。本実施の形態2においては、
図1のシフトレジスタ回路2に接続されたロード信号お
よび初期値信号を積極的に使用する。図1のシフトレジ
スタ回路2はロード信号を“1”にすることにより、各
レジスタの状態を初期値信号で与えられた状態に設定す
ることができる。よって、任意のタイミングでロード信
号を“1”にすることにより、符号系列生成回路1の各
レジスタを初期化することができ、任意の周期で符号系
列を生成することができる。符号系列生成回路1が任意
の周期となることにより、演算装置4の出力も位相が異
なる任意の周期の符号系列となる。
(Embodiment 2) A second embodiment according to the second aspect of the present invention uses a code sequence generation apparatus having the same configuration as that of the first embodiment. In the second embodiment,
The load signal and the initial value signal connected to the shift register circuit 2 of FIG. 1 are actively used. The shift register circuit 2 in FIG. 1 can set the state of each register to the state given by the initial value signal by setting the load signal to “1”. Therefore, by setting the load signal to “1” at an arbitrary timing, each register of the code sequence generation circuit 1 can be initialized, and a code sequence can be generated at an arbitrary cycle. Since the code sequence generation circuit 1 has an arbitrary cycle, the output of the arithmetic unit 4 also has a code sequence with an arbitrary cycle having a different phase.

【0025】以上のように、本発明の実施の形態2によ
れば、シフトレジスタ回路2のロード信号を任意の周期
で“1”にすることにより、基準となる符号系列生成回
路のシフトレジスタを任意のタイミングで初期化するこ
とができ、位相だけが任意に異なる2つの符号系列を同
時に生成させる場合に、任意の周期で符号系列を生成さ
せることができる。
As described above, according to the second embodiment of the present invention, by setting the load signal of the shift register circuit 2 to "1" at an arbitrary cycle, the shift register of the reference code sequence generation circuit can be changed. Initialization can be performed at an arbitrary timing, and when two code sequences having only arbitrarily different phases are simultaneously generated, a code sequence can be generated at an arbitrary cycle.

【0026】(実施の形態3)図5は本発明の請求項3
に対応する実施の形態3における符号系列生成装置の演
算装置9の構成を示したものであり、符号系列装置全体
の構成は図1に示したものと同様である。図5におい
て、メモリ回路10は1×k行列データを複数格納し、
選択回路11は前記複数データから、希望のデータを一
つ選択する。演算回路12は前記選択されたデータとシ
フトレジスタの各レジスタ出力Xの各要素について、 yk =BX=b1 1 +b2 2 +b3 3 +…+bk-1 k-1 +bk k ・・・(8) という演算を行うものである。メモリ回路10には複数
の“任意の位相”に対応したデータを格納し、選択回路
11で希望の“任意の位相”のデータを選択するように
構成することで、演算回路12に希望の“任意の位相”
に対応するデータだけが入力され、希望の位相を出力す
ることができる。
(Embodiment 3) FIG. 5 shows a third embodiment of the present invention.
This shows the configuration of the arithmetic unit 9 of the code sequence generation device according to the third embodiment corresponding to FIG. 2, and the configuration of the entire code sequence device is the same as that shown in FIG. In FIG. 5, the memory circuit 10 stores a plurality of 1 × k matrix data,
The selection circuit 11 selects one desired data from the plurality of data. Arithmetic circuit 12 for each element of each register output X of the selected data and the shift register, y k = BX = b 1 x 1 + b 2 x 2 + b 3 x 3 + ... + b k-1 x k-1 + b The operation of k x k (8) is performed. The memory circuit 10 stores data corresponding to a plurality of “arbitrary phases”, and the selecting circuit 11 is configured to select data of a desired “arbitrary phase”. Arbitrary phase "
Is input, and a desired phase can be output.

【0027】以上のように、本発明の実施の形態3によ
れば、位相だけが任意に異なる符号系列を同時に生成さ
せる場合に、メモリ回路10に格納された複数の“任意
の位相”に対応するデータから、選択回路11によって
希望の“任意の位相”を選択して演算回路12に入力す
ることにより、複数の“任意の位相”から希望の位相を
選択して出力させることができる。
As described above, according to the third embodiment of the present invention, when simultaneously generating code sequences having only arbitrarily different phases, a plurality of "arbitrary phases" stored in the memory circuit 10 are supported. By selecting a desired “arbitrary phase” from the data to be input by the selection circuit 11 and inputting it to the arithmetic circuit 12, a desired phase can be selected from a plurality of “arbitrary phases” and output.

【0028】[0028]

【発明の効果】以上のように、本発明は、任意のビット
幅を持つシフトレジスタと帰還のための演算回路からな
る最長系列(M系列)を生成する符号生成手段と、シフ
トレジスタの各レジスタ出力から任意の演算を行う演算
手段を設けることにより、位相だけが任意に異なる2つ
の符号系列を同時に生成させる場合に、周期が非常に長
い符号系列であっても、基準となる符号系列生成回路の
シフトレジスタの状態から、瞬時にもう一方の符号系列
を出力することができる。また、もう一方の符号系列生
成回路のシフトレジスタと複雑な初期値計算を不要と
し、さらには、基準となる符号系列生成回路のシフトレ
ジスタを任意のタイミングで初期化することにより、任
意の周期で符号系列を生成させることができるという優
れた効果が得られる。
As described above, the present invention provides a code generation means for generating a longest sequence (M sequence) comprising a shift register having an arbitrary bit width and an operation circuit for feedback, and each register of the shift register. A code sequence generation circuit serving as a reference even when a code sequence having a very long period is generated when two code sequences having only arbitrarily different phases are simultaneously generated by providing an arithmetic unit for performing an arbitrary operation from an output. , The other code sequence can be output instantaneously. In addition, the shift register of the other code sequence generation circuit and complicated initial value calculation are not required, and the shift register of the reference code sequence generation circuit is initialized at an arbitrary timing, so that it can be executed at an arbitrary period. An excellent effect that a code sequence can be generated is obtained.

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

【図1】本発明の実施の形態における符号系列生成装置
の構成を示すブロック図
FIG. 1 is a block diagram illustrating a configuration of a code sequence generation device according to an embodiment of the present invention.

【図2】図1における演算装置の具体例を示すブロック
FIG. 2 is a block diagram showing a specific example of an arithmetic unit in FIG. 1;

【図3】本発明の実施の形態1における符号系列生成装
置の生成多項式が1+x+x4である符号系列生成回路
の具体例を示すブロック図
FIG. 3 is a block diagram illustrating a specific example of a code sequence generation circuit in which the generation polynomial of the code sequence generation device is 1 + x + x 4 in the first embodiment of the present invention.

【図4】本発明の実施の形態1における符号系列生成装
置の生成多項式が1+x+x4であり、出力1に対して
出力2の位相を4進める演算装置の具体例を示すブロッ
ク図
FIG. 4 is a block diagram showing a specific example of an arithmetic unit in which the generator polynomial of the code sequence generator according to the first embodiment of the present invention is 1 + x + x 4 , and the output 2 advances the phase of output 2 by 4 with respect to output 1

【図5】本発明の実施の形態3における演算装置の具体
例を示すブロック図
FIG. 5 is a block diagram illustrating a specific example of an arithmetic unit according to Embodiment 3 of the present invention.

【図6】生成多項式が1+x+x4 であるM系列符号生
成回路のブロック図
FIG. 6 is a block diagram of an M-sequence code generation circuit whose generation polynomial is 1 + x + x 4

【図7】生成多項式が1+h1 x+h2 3 +・・・+
k-1 k-1 +xk であるM系列符号生成回路のブロッ
ク図
FIG. 7 shows that a generator polynomial is 1 + h 1 x + h 2 x 3 +... +
Block diagram of an M-sequence code generation circuit of h k−1 x k−1 + x k

【図8】M系列符号生成回路による同時に2つの位相だ
けが異なる符号系列を生成させる従来の符号系列生成装
置のブロック図
FIG. 8 is a block diagram of a conventional code sequence generation device that generates a code sequence that differs only in two phases at the same time by an M-sequence code generation circuit.

【図9】図8の構成に初期値計算回路を加えた同時に2
つの位相だけが異なる符号系列を生成させる従来の符号
系列生成装置のブロック図
FIG. 9 is a block diagram showing the configuration of FIG.
Block diagram of a conventional code sequence generation device that generates a code sequence that differs only in two phases

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

1 最長系列(M系列)を生成する符号系列生成回路 2 シフトレジスタ回路 3 帰還のための演算回路 4 演算装置 5 yk =BX=b1 1 +b2 2 +・・・bk-1
k-1 +bk k の演算装置 6 生成多項式が1+x+x4 である符号系列生成装置 7 演算装置 8 y4 =x1 +x4 の演算装置 9 演算装置 10 メモリ回路 11 選択回路 12 y4 =BX=b1 1 +b2 2 +b3 3 +b
4 4 =x1 +x4 の演算回路 20 シフトレジスタ回路 21 排他的論理和回路 22 シフトレジスタ回路 23 1+h1 x+h2 2 +h3 3 +・・・+h
k-1 k-1 +xk の演算回路 24 基準となるM系列符号生成回路 25 M系列符号生成回路 26 基準となる符号系列生成回路 27 初期値計算回路 28 符号系列生成回路
Reference Signs List 1 Code sequence generation circuit for generating longest sequence (M sequence) 2 Shift register circuit 3 Operation circuit for feedback 4 Operation device 5 y k = BX = b 1 x 1 + b 2 x 2 + ... b k-1 x
k-1 + b k x k of the computing device generating polynomial is 1 + x + x code sequence generator is a 4 7 arithmetic unit 8 y 4 = x 1 + x 4 operation unit 9 arithmetic unit 10 memory circuit 11 selects circuit 12 y 4 = BX = B 1 x 1 + b 2 x 2 + b 3 x 3 + b
4 x 4 = x 1 + x 4 arithmetic circuit 20 a shift register circuit 21 exclusive OR circuit 22 a shift register circuit 23 1 + h 1 x + h 2 x 2 + h 3 x 3 + ··· + h
k-1 x k-1 + x k in the arithmetic circuit 24 serving as a reference M-sequence code generation circuit 25 M-sequence code generation circuit becomes 26 reference code sequence generating circuit 27 initial value calculating circuit 28 code sequence generating circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 任意のビット幅を持つシフトレジスタと
帰還のための演算回路からなる最長系列(M系列)を生
成する符号生成手段と、シフトレジスタの各レジスタ出
力から任意の演算を行う演算手段とを備えた符号系列生
成装置。
1. A code generation means for generating a longest sequence (M sequence) comprising a shift register having an arbitrary bit width and an operation circuit for feedback, and an arithmetic means for performing an arbitrary operation from each register output of the shift register And a code sequence generation device comprising:
【請求項2】 前記シフトレジスタは、ロード信号によ
り初期値を自由に設定できることを特徴とする請求項1
記載の系列符号生成装置。
2. The shift register according to claim 1, wherein an initial value can be freely set by a load signal.
The sequence code generation device according to the above.
【請求項3】 前記演算手段は、前記シフトレジスタと
同じビット幅からなるデータを複数格納する手段と、そ
れらから一つのデータを選択する手段と、選択されたデ
ータBと前記シフトレジスタの各レジスタ出力Xの各要
素について、 yk =BX=b1 1 +b2 2 +b3 3 +・・・b
k-1 k-1 +bk k という演算を行う演算回路からなることを特徴とする請
求項1記載の系列符号生成装置。
3. The operation means includes means for storing a plurality of data having the same bit width as the shift register, means for selecting one of the data, and the selected data B and each register of the shift register. For each element of the output X, y k = BX = b 1 x 1 + b 2 x 2 + b 3 x 3 +... B
k-1 x k-1 + b k x k to an operational circuit for performing an operation that sequence code generating apparatus according to claim 1, wherein.
JP9154174A 1997-06-11 1997-06-11 Device for generating code group Pending JPH114144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9154174A JPH114144A (en) 1997-06-11 1997-06-11 Device for generating code group

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9154174A JPH114144A (en) 1997-06-11 1997-06-11 Device for generating code group

Publications (1)

Publication Number Publication Date
JPH114144A true JPH114144A (en) 1999-01-06

Family

ID=15578461

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9154174A Pending JPH114144A (en) 1997-06-11 1997-06-11 Device for generating code group

Country Status (1)

Country Link
JP (1) JPH114144A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6731670B1 (en) 1999-02-25 2004-05-04 Matsushita Electric Industrial Co., Ltd. Method and circuit for generating spreading codes
DE102004013480A1 (en) * 2004-03-18 2005-10-13 Infineon Technologies Ag Random number generator and method for generating random numbers

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6731670B1 (en) 1999-02-25 2004-05-04 Matsushita Electric Industrial Co., Ltd. Method and circuit for generating spreading codes
DE102004013480A1 (en) * 2004-03-18 2005-10-13 Infineon Technologies Ag Random number generator and method for generating random numbers
US7979482B2 (en) 2004-03-18 2011-07-12 Infineon Technologies Ag Random number generator configured to combine states of memory cells
DE102004013480B4 (en) * 2004-03-18 2013-01-24 Infineon Technologies Ag Random number generator and method for generating random numbers

Similar Documents

Publication Publication Date Title
KR20130060275A (en) Bit sequence generator
JP3532860B2 (en) Arithmetic device, method, and program using remainder representation
JPH0818550A (en) Code sequence generator
US7185039B2 (en) Multiplier for modular exponentiation
US5323338A (en) Pseudo-random sequence generators
JPH114144A (en) Device for generating code group
JP2005184832A (en) Dds pulse generation instrument
JPH09204296A (en) Power residue operation method and unit
KR960032231A (en) Multiplier and Multiplier
JP2001251194A (en) Crc arithmetic unit
TWI240199B (en) Interstitial product generator, multiplication circuit and multiplication method for bit segments
US5311193A (en) Digital chirp generator
JP3965805B2 (en) Code sequence generator
US5309385A (en) Vector division processing method and system
JP2000252862A (en) Circuit and method for spread code generating circuit
US7053800B2 (en) Apparatus and method for generating a code mask
JPH11317676A (en) Reciprocal incarnation circuit for optional element of finite field
JP4436830B2 (en) Configurable multi-step linear feedback shift register
JP4541485B2 (en) Exponentiation arithmetic unit, exponentiation remainder arithmetic unit, elliptic power multiple arithmetic unit, arrangement of those methods, and recording medium
JPH10117128A (en) Controller for phase of pseudo noise series code
CN106603085A (en) Method and device for generating BCH code generator polynomial, encoder, controller, and electronic device
JP2000276328A (en) Multiplier circuit on finite field
JP2000047853A (en) Code sequence generator
JPH09325882A (en) Uniform random number generation circuit
JP2000077987A (en) Code generating method and device