JP2003069392A - Pattern generating apparatus and communication device - Google Patents

Pattern generating apparatus and communication device

Info

Publication number
JP2003069392A
JP2003069392A JP2001258007A JP2001258007A JP2003069392A JP 2003069392 A JP2003069392 A JP 2003069392A JP 2001258007 A JP2001258007 A JP 2001258007A JP 2001258007 A JP2001258007 A JP 2001258007A JP 2003069392 A JP2003069392 A JP 2003069392A
Authority
JP
Japan
Prior art keywords
pattern
unit
output
generating
time
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
JP2001258007A
Other languages
Japanese (ja)
Inventor
Yutaka Moriyama
豊 森山
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.)
Ando Electric Co Ltd
Kyushu Ando Electric Co Ltd
Original Assignee
Ando Electric Co Ltd
Kyushu Ando Electric 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 Ando Electric Co Ltd, Kyushu Ando Electric Co Ltd filed Critical Ando Electric Co Ltd
Priority to JP2001258007A priority Critical patent/JP2003069392A/en
Publication of JP2003069392A publication Critical patent/JP2003069392A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a pattern generating apparatus that can keep continuity of a pattern before and after a particular pattern even in the case of generating the pattern resulting from inserting the particular pattern with an optional length to part of a consecutive pattern. SOLUTION: A PN pattern generating section 12 generates a consecutive PN pattern P1 sequentially from a predetermined initial value, and a particular pattern generating section 12 generates the particular pattern P2 to be inserted to the PN pattern P1. A pattern traveling section 20 generates a pattern P5 advancing the PN pattern P1 by a prescribed time, a PN pattern selection section 22 selects the initial value of the PN pattern generating section 12 so that a pattern consecutive to the PN pattern finished just before the particular pattern P2 is inserted to the PN pattern P1 is placed just after the end of the particular pattern P2 on the basis of the pattern P5 advanced by the pattern traveling section 20.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、疑似ランダムパタ
ーン(以下、PNパターンという)を発生するパターン
発生装置及び当該パターン発生装置を備え、パターン発
生装置から発生されるPNパターンを用いて通信に関す
る種々の試験を行うことができる通信装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pattern generating device for generating a pseudo random pattern (hereinafter referred to as a PN pattern) and a communication device using the PN pattern generated by the pattern generating device. The present invention relates to a communication device capable of performing the above test.

【0002】[0002]

【従来の技術】PNパターンは種々の装置が正常に動作
しているか否かを試験するために頻繁に用いられる。例
えば、半導体集積回路試験装置(いわゆる、ICテス
タ)では、PNパターンを被試験対象としての半導体デ
バイスに書き込んだ後で半導体デバイスからデータを読
み出し、読み出したデータが期待値と一致しているか否
かを判定することにより、半導体デバイスが正常に製造
されているか否かが試験される。
2. Description of the Related Art PN patterns are frequently used to test whether various devices are working properly. For example, in a semiconductor integrated circuit test apparatus (so-called IC tester), after writing a PN pattern to a semiconductor device as a test target, data is read from the semiconductor device and whether the read data matches an expected value or not. By determining, the semiconductor device is tested whether it is normally manufactured or not.

【0003】また、SDH(同期デジタルハイアラー
キ)多重化装置等の通信装置では、情報をSDHフレー
ム単位に分割して伝送しているが、例えばSOH(セク
ションオーバーヘッド)にPNパターンを付加したSD
Hフレームを通信装置間で送受信し、通信装置が受信し
たPNパターンを調査することにより、通信装置の通信
に関する試験を行っている。
In a communication device such as an SDH (Synchronous Digital Hierarchy) multiplexer, information is divided into SDH frame units and transmitted. For example, SD in which a PN pattern is added to SOH (section overhead) is used.
The H-frame is transmitted and received between the communication devices, and the PN pattern received by the communication devices is investigated to perform a test on the communication of the communication devices.

【0004】このような半導体集積回路試験装置及び通
信装置等の装置はPNパターンを発生するパターン発生
装置を備える。この種のパターン発生装置には、パラレ
ルのPNパターンを発生するPNパターン発生部と、P
Nパターン発生部で発生したパラレルのPNパターンを
シリアルに変換するパラレル・シリアル変換部とが設け
られる。ここで、PNパターン発生部のビット幅がN
(Nは2以上の整数)ビットであるとすると、PNパタ
ーン発生部の動作を規定する基準クロックが入力される
度に、PNパターン発生部からNビットのPNパターン
が出力される。
Devices such as the semiconductor integrated circuit test device and the communication device are provided with a pattern generator for generating a PN pattern. This type of pattern generator includes a PN pattern generator that generates a parallel PN pattern, and a P
A parallel / serial conversion unit for converting the parallel PN pattern generated by the N pattern generation unit into serial is provided. Here, if the bit width of the PN pattern generator is N
Assuming that (N is an integer of 2 or more) bits, the N-bit PN pattern is output from the PN pattern generation unit every time the reference clock that defines the operation of the PN pattern generation unit is input.

【0005】PNパターン発生部から出力されたNビッ
トのPNパターンは、パラレル・シリアル変換部におい
て、例えば最上位ビット(MSB)から最下位ビット
(LSB)の順でシリアルのパターンに変換される。以
上の動作が繰り返されて、基準クロック毎にPNパター
ン発生部から出力されるパラレルのPNパターンが連続
したシリアルのPNパターンに変換されて出力される。
The N-bit PN pattern output from the PN pattern generator is converted into a serial pattern in the parallel / serial converter, for example, in the order of the most significant bit (MSB) to the least significant bit (LSB). The above operation is repeated, and the parallel PN pattern output from the PN pattern generating unit is converted into a continuous serial PN pattern for each reference clock and output.

【0006】[0006]

【発明が解決しようとする課題】ところで、上述した各
種装置の内、特にSDHフレームを送受信する通信装置
では、SOHにPNパターンを付加するときにPNパタ
ーンの一部に別のパターンを挿入することがある。図7
は、PNパターンの一部に別のパターンを挿入する様子
を示す図である。尚、図7においては、上述したPNパ
ターン発生部から出力されるPNパターンのビット幅が
10ビットであるときの、パラレルのPNPNパターン
を図示している。また、図7では、理解を容易にするた
めに、PNパターン発生部から出力されたPNパターン
を大文字のアルファベット‘A’〜‘Z’で示してお
り、PNパターン発生部からは‘A’〜‘Z’の順で連
続して繰り返すパターンが出力されるものとする。尚、
アルファベット‘A’〜‘Z’各々が取り得る値は
‘0’又は‘1’である。
By the way, among the above-mentioned various devices, particularly in a communication device for transmitting and receiving SDH frames, it is necessary to insert another pattern into a part of the PN pattern when adding the PN pattern to SOH. There is. Figure 7
FIG. 8 is a diagram showing how another pattern is inserted in a part of the PN pattern. Note that FIG. 7 illustrates a parallel PNPN pattern when the bit width of the PN pattern output from the above-described PN pattern generation unit is 10 bits. Further, in FIG. 7, in order to facilitate understanding, the PN pattern output from the PN pattern generating unit is shown by capital letters “A” to “Z”, and from the PN pattern generating unit, “A” to “A”. It is assumed that a pattern that is continuously repeated in the order of'Z 'is output. still,
The possible values of each of the alphabets "A" to "Z" are "0" or "1".

【0007】図7に示すように、PNパターンP10,
P11は、基準クロックCLKが入力される度に基準ク
ロックCLKに同期して出力され、その一部に別のパタ
ーンが挿入されている。ここで、PNパターン発生部か
ら出力されたPNパターンの一部に挿入される他のパタ
ーン(以下、特定パターンという)を小文字のアルファ
ベットで表し、そのビット幅をCとする。尚、特定パタ
ーンを発生する特定パターン発生装置も前述した基準ク
ロックに同期して動作するため、PNパターンに対する
挿入位置はクロックCLKが入力される時間位置(クロ
ックCLKの立ち上がり)となる。
As shown in FIG. 7, the PN pattern P10,
Every time the reference clock CLK is input, P11 is output in synchronization with the reference clock CLK, and another pattern is inserted in a part thereof. Here, another pattern (hereinafter, referred to as a specific pattern) inserted in a part of the PN pattern output from the PN pattern generating unit is represented by a lower case alphabet, and its bit width is C. Since the specific pattern generator that generates the specific pattern also operates in synchronization with the above-described reference clock, the insertion position for the PN pattern is the time position at which the clock CLK is input (the rising edge of the clock CLK).

【0008】いま、ビット幅NのPNパターンに対して
ビット幅Cの特定パターンを挿入する場合を考える。特
定パターンのビット幅CがPNパターンのビット幅Nの
自然数倍であるとき(図7(a)に示した例ではC=2
N)には、特定パターンを挿入する時刻t12〜時刻t
14の間の期間T10ではPNパターン発生部によるP
Nパターンの発生を一時中断し、この期間T10の経過
後にPNパターンの発生を再開させれば特定パターンを
挿入した期間T10の前後におけるPNパターンの連続
性は保たれる。つまり、図7(a)に示した例では、期
間T10の直前では‘J’のPNパターンが出力され、
期間T10の直後では‘K’のPNパターンが出力され
ている。
Now, consider the case where a specific pattern of bit width C is inserted into a PN pattern of bit width N. When the bit width C of the specific pattern is a natural number times the bit width N of the PN pattern (C = 2 in the example shown in FIG. 7A)
N) is time t12 to time t when the specific pattern is inserted.
In the period T10 between 14, the PN pattern generator generates P
If the generation of the N pattern is suspended and the generation of the PN pattern is restarted after the period T10, the continuity of the PN pattern before and after the period T10 in which the specific pattern is inserted is maintained. That is, in the example shown in FIG. 7A, the PN pattern of'J 'is output immediately before the period T10,
Immediately after the period T10, the PN pattern of'K 'is output.

【0009】しかしながら、特定パターンのビット幅C
がPNパターンのビット幅Nの自然数倍でないとき(図
7(b)に示した例ではC=2N+5、つまり‘a’〜
‘y’の25ビット)には、特定パターンを挿入した期
間T11の前後におけるPNパターンの連続性は保たれ
ない。つまり、図7(b)に示した例では、期間T11
の直前では‘J’のPNパターンが出力され、期間T1
1の直後では‘P’のPNパターンが出力されている。
従来のパターン発生装置が備えるパターン発生部は基準
クロックに同期して動作しているため、図7(b)に示
した期間T11の直後に動作を再開させて‘J’から始
まるPNパターンを発生させることはできない。
However, the bit width C of the specific pattern
Is not a natural multiple of the bit width N of the PN pattern (C = 2N + 5 in the example shown in FIG. 7B, that is, 'a'-
In (25 bits of'y '), the continuity of the PN pattern before and after the period T11 in which the specific pattern is inserted cannot be maintained. That is, in the example shown in FIG. 7B, the period T11
Just before, the PN pattern of'J 'is output and the period T1
Immediately after 1, the PN pattern of'P 'is output.
Since the pattern generator provided in the conventional pattern generator operates in synchronization with the reference clock, the operation is restarted immediately after the period T11 shown in FIG. 7B to generate a PN pattern starting from'J '. I can't let you do it.

【0010】このように、従来のパターン発生装置は、
挿入する特定パターンのビット幅Cがパターン発生部か
ら出力されるPNパターン(パラレル)のビット幅Nの
自然数倍以外のときは、挿入した特定パターンの前後に
おいてPNパターンの連続性を保つことができなかっ
た。近年においてPNパターンに挿入する特定パターン
のビット幅Cは設定により任意に変更されるため特定パ
ターンのビット幅に拘わらず、特定パターンの前後にお
いてPNパターンの連続性を保つことが必要となってき
た。
As described above, the conventional pattern generator is
When the bit width C of the inserted specific pattern is not a natural number multiple of the bit width N of the PN pattern (parallel) output from the pattern generation unit, the continuity of the PN pattern can be maintained before and after the inserted specific pattern. could not. In recent years, the bit width C of the specific pattern to be inserted into the PN pattern is arbitrarily changed by setting, so that it is necessary to maintain the continuity of the PN pattern before and after the specific pattern regardless of the bit width of the specific pattern. .

【0011】本発明は上記事情に鑑みてなされたもので
あり、連続性を有するパターンの一部に任意の長さの特
定パターンを挿入したパターンを発生する場合であって
も、特定パターンの前後においてパターンの連続性を保
つことができるパターン発生装置及び当該パターン発生
装置を備える通信装置を提供することを目的とする。
The present invention has been made in view of the above circumstances. Even when a pattern in which a specific pattern having an arbitrary length is inserted in a part of a pattern having continuity is generated, the pattern before and after the specific pattern is generated. It is an object of the present invention to provide a pattern generator capable of maintaining the continuity of patterns and a communication device including the pattern generator.

【0012】[0012]

【課題を解決するための手段】上記課題を解決するため
に、本発明のパターン発生装置は、設定された初期値
(P0、P6)から順に連続した第1パターン(P1)
を発生する第1パターン発生部(12)と、前記第1パ
ターン(P1)に挿入する第2パターン(P2)を発生
する第2パターン発生部(14)と、前記第1パターン
(P1)を所定の時間分だけ進めるパターン進行部(2
0)と、前記パターン進行部(20)によって進められ
た第1パターン(P5)から、前記第2パターン(P
2)挿入直前に終了した前記第1パターン(P1)に連
続するパターンが前記第2パターン(P2)の終了直後
に位置するように、前記第1パターン発生部(12)の
初期値(P6)を選択する選択部(22)と、前記第1
パターン発生部(12)から発生される第1パターン
(P1)に対して前記第2パターン(P2)を付加する
付加部(16)とを備えることを特徴としている。この
発明によれば、第1パターン発生部から出力された連続
する第1パターンに対して所定の時間進んだパターンを
パターン進行部で得た後、このパターンから第2パター
ンの挿入直前に終了した第1パターンに連続するパター
ンが第2パターンの終了直後に位置するためのパターン
を選択し、このパターンを初期値として第1パターン発
生部に入力しているため、連続性を有するパターンの一
部に任意の長さの特定パターンを挿入したパターンを発
生する場合であっても、特定パターンの前後においてパ
ターンの連続性を保つことができる。また、本発明のパ
ターン発生装置は、前記第1パターン(P1)に対して
前記第2パターン(P2)を挿入する所定のタイミング
で、前記選択部(22)で選択された初期値(P6)を
前記第1パターン発生部(12)の初期値に設定する制
御部(10)を備えることを特徴としている。また、本
発明のパターン発生装置は、前記第1パターン発生部
(12)が前記第1パターン(P1)を所定の単位毎に
発生し、前記パターン進行部(20)は、前記第1パタ
ーン(P1)を前記所定の単位の所定単位数分だけ進め
ることにより前記第1パターン(P1)を前記所定の時
間分だけ進めることを特徴としている。また、本発明の
パターン発生装置は、前記付加部(16)から出力され
るパターンは、パラレルのパターンであり、前記パラレ
ルのパターンを、時間的に連続したシリアルのパターン
に変換する変換部(18)を備えることを特徴としてい
る。また、本発明のパターン発生装置は、前記パターン
進行部(20)が前記第1パターン(P1)を進める時
間が、前記選択部(22)が前記初期値を選択するため
に要する時間の長さに応じて定められることを特徴とし
ている。また、本発明のパターン発生装置は、情報をフ
レーム(f1,f2)単位に分割して伝送する通信装置
であって、上記の何れかのパターン発生装置で発生され
るパターンを前記フレーム(f1,f2)の一部に含め
て伝送することを特徴としている。
In order to solve the above-mentioned problems, the pattern generating apparatus of the present invention has a first pattern (P1) which is continuous from the set initial value (P0, P6).
A first pattern generating section (12), a second pattern generating section (14) generating a second pattern (P2) to be inserted into the first pattern (P1), and the first pattern (P1). The pattern progression part (2
0) and the first pattern (P5) advanced by the pattern progression unit (20) to the second pattern (P5).
2) An initial value (P6) of the first pattern generation unit (12) so that a pattern continuous with the first pattern (P1) that has ended immediately before insertion is positioned immediately after the end of the second pattern (P2). A selection unit (22) for selecting the
It is characterized by comprising an adding section (16) for adding the second pattern (P2) to the first pattern (P1) generated from the pattern generating section (12). According to the present invention, after the pattern advancing unit obtains a pattern advanced by a predetermined time with respect to the continuous first pattern output from the first pattern generating unit, the process ends immediately before the insertion of the second pattern from this pattern. Since a pattern is selected so that the pattern following the first pattern is located immediately after the end of the second pattern, and this pattern is input to the first pattern generation unit as an initial value, a part of the pattern having continuity is selected. Even when a pattern in which a specific pattern having an arbitrary length is inserted is generated, the continuity of the pattern can be maintained before and after the specific pattern. Further, the pattern generating apparatus of the present invention has an initial value (P6) selected by the selecting unit (22) at a predetermined timing when the second pattern (P2) is inserted into the first pattern (P1). Is provided with a control unit (10) for setting an initial value of the first pattern generation unit (12). Further, in the pattern generating apparatus of the present invention, the first pattern generating section (12) generates the first pattern (P1) for each predetermined unit, and the pattern advancing section (20) causes the first pattern (P1) to be generated. The first pattern (P1) is advanced by the predetermined time by advancing P1) by the predetermined number of the predetermined units. Further, in the pattern generating apparatus of the present invention, the pattern output from the adding unit (16) is a parallel pattern, and the conversion unit (18) that converts the parallel pattern into a temporally continuous serial pattern. ) Is provided. Further, in the pattern generating apparatus of the present invention, the time required for the pattern advancing unit (20) to advance the first pattern (P1) is the length of time required for the selecting unit (22) to select the initial value. It is characterized by being set according to. Further, a pattern generating apparatus of the present invention is a communication apparatus that divides and transmits information in units of frames (f1, f2), and the pattern generated by any one of the above pattern generating apparatuses is the frame (f1, f2). It is characterized in that it is included in a part of f2) for transmission.

【0013】[0013]

【発明の実施の形態】以下、図面を参照して本発明の一
実施形態によるパターン発生装置及び通信装置について
詳細に説明する。図1は、本発明の一実施形態によるパ
ターン発生装置の概略構成を示すブロック図である。図
1に示したように、本実施形態のパターン発生装置は制
御部10、第1パターン発生部としてのPNパターン発
生部12、第2パターン発生部としての特定パターン発
生部14、付加部としてのパターン付加部16、変換部
としてのパラレル・シリアル変換部18、パターン進行
部20、及び選択部としてのPNパターン選択部22を
含んで構成される。
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, a pattern generating device and a communication device according to an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of a pattern generator according to an embodiment of the present invention. As shown in FIG. 1, the pattern generating apparatus according to the present embodiment includes a control unit 10, a PN pattern generating unit 12 as a first pattern generating unit, a specific pattern generating unit 14 as a second pattern generating unit, and an adding unit. The pattern adding unit 16, the parallel / serial converting unit 18 as a converting unit, the pattern advancing unit 20, and the PN pattern selecting unit 22 as a selecting unit are included.

【0014】PNパターン発生部12は、例えば、周波
数が100MHzの図示せぬ基準クロックに同期して動
作し、設定された初期値から順に連続した第1パターン
としてのPNパターンP1を発生する。図1に示したよ
うに、PNパターン発生部12には初期パターンP0及
びPNパターン選択部22から選択パターンP6が入力
されており、これらの何れかが制御部10から出力され
る制御信号CS1,CS2に基づいて初期値として設定
される。尚、PNパターン発生部12から出力されるP
NパターンP1は複数のビット幅N(所定の単位)のパ
ラレルの信号である。
The PN pattern generator 12 operates, for example, in synchronization with a reference clock (not shown) having a frequency of 100 MHz, and generates a PN pattern P1 as a first pattern which is continuous in order from a set initial value. As shown in FIG. 1, the PN pattern generation unit 12 receives the initial pattern P0 and the selection pattern P6 from the PN pattern selection unit 22, and any one of them is output from the control unit 10 as a control signal CS1. It is set as an initial value based on CS2. The P output from the PN pattern generator 12
The N pattern P1 is a parallel signal having a plurality of bit widths N (predetermined unit).

【0015】特定パターン発生部14は、PNパターン
発生部12から出力されるPNパターンP1に対して挿
入する第2パターンとしての特定パターンP2を発生す
る。この特定パターン発生部14もPNパターン発生部
12と同様に図示せぬ基準クロックに同期して動作す
る。また、特定パターン発生部14は制御部10から制
御信号CS3が出力されるタイミングで特定パターンP
2を出力する。尚、特定パターン発生部14から出力さ
れる特定パターンP2は複数のビット幅Cのパラレルの
信号である。
The specific pattern generator 14 generates a specific pattern P2 as a second pattern to be inserted into the PN pattern P1 output from the PN pattern generator 12. Like the PN pattern generating section 12, the specific pattern generating section 14 also operates in synchronization with a reference clock (not shown). Further, the specific pattern generation unit 14 outputs the specific pattern P at the timing when the control signal CS3 is output from the control unit 10.
2 is output. The specific pattern P2 output from the specific pattern generator 14 is a parallel signal having a plurality of bit widths C.

【0016】パターン付加部16は、特定パターン発生
部14から特定パターンP2が出力されたときには、P
Nパターン発生部12から出力されるPNパターン12
に対して特定パターンP2を上書きして出力し、特定パ
ターン発生部14から特定パターンP2が発生されてい
ないときには、PNパターン発生部12から出力される
PNパターンP1をそのまま出力する。尚、PNパター
ンP1及び特定パターンP2はパラレルの信号であるた
め、パターン付加部16が出力するパターンP3もパラ
レルの信号である。パラレル・シリアル変換部18は、
パターン付加部16から出力されたパラレルのパターン
P3を、時間的に連続したシリアルのパターンに変換し
て、シリアルのPNパターンP4として出力する。
When the specific pattern generating section 14 outputs the specific pattern P2, the pattern adding section 16 outputs P
PN pattern 12 output from N pattern generation unit 12
On the other hand, the specific pattern P2 is overwritten and output, and when the specific pattern P2 is not generated by the specific pattern generation unit 14, the PN pattern P1 output from the PN pattern generation unit 12 is output as it is. Since the PN pattern P1 and the specific pattern P2 are parallel signals, the pattern P3 output by the pattern adding unit 16 is also a parallel signal. The parallel / serial converter 18
The parallel pattern P3 output from the pattern adding unit 16 is converted into a temporally continuous serial pattern and output as a serial PN pattern P4.

【0017】パターン進行部20は、PNパターン発生
部12から出力されたPNパターンP1を所定の時間分
だけ進めたパターンP5を出力する。前述したようにP
NパターンP1はある周期をもって同じパターンを繰り
返すパターンであるため、パターン進行部20はPNパ
ターンP1の周期性を利用することにより、PNパター
ン発生部12から出力されるPNパターンP1よりも時
間的に進んだパターンP5を出力することができる。パ
ターン進行部20がPNパターンP1を進める時間は、
PNパターン選択部22で行われる処理に要する時間に
応じて応じて設定される。具体的には、PNパターン選
択部22において処理に要する時間が基準クロックの3
クロック分である場合には、パターン進行部20は(3
+1=4)クロック分だけPNパターンP1を進める。
The pattern advancing section 20 outputs a pattern P5 obtained by advancing the PN pattern P1 output from the PN pattern generating section 12 by a predetermined time. As mentioned above, P
Since the N pattern P1 is a pattern in which the same pattern is repeated with a certain period, the pattern progression unit 20 uses the periodicity of the PN pattern P1 to temporally compare with the PN pattern P1 output from the PN pattern generating unit 12. The advanced pattern P5 can be output. The time for the pattern progression unit 20 to advance the PN pattern P1 is
It is set according to the time required for the processing performed by the PN pattern selection unit 22. Specifically, the time required for processing in the PN pattern selection unit 22 is 3 of the reference clock.
In the case of the number of clocks, the pattern progression unit 20 outputs (3
+ 1 = 4) The PN pattern P1 is advanced by the number of clocks.

【0018】PNパターン選択部22は、PNパターン
発生部12から出力されるPNパターンP1に対して特
定パターンP2を挿入したときに、特定パターンP2を
挿入する直前のPNパターンP1に連続するパターン
が、特定パターンP2を挿入した直後に位置するよう
に、パターン進行部20から出力されるパターンP5か
らパターンを選択するものである。このPNパターン選
択部22には、制御部10からの特定パターン発生部1
4が特定パターンを出力している旨を示す制御信号CS
4が入力されており、この制御信号CS4が入力されて
いる場合には、選択したパターンを保持する。
When the specific pattern P2 is inserted into the PN pattern P1 output from the PN pattern generating unit 12, the PN pattern selection unit 22 determines that a pattern continuous with the PN pattern P1 immediately before the specific pattern P2 is inserted. The pattern is selected from the patterns P5 output from the pattern advancing unit 20 so as to be located immediately after the insertion of the specific pattern P2. The PN pattern selection unit 22 includes the specific pattern generation unit 1 from the control unit 10.
Control signal CS indicating that 4 is outputting a specific pattern
4 is input and the control signal CS4 is input, the selected pattern is held.

【0019】以上、本発明の一実施形態によるパターン
発生装置の概略構成について説明したが、次に、以上説
明したPNパターン発生部12、パターン進行部20、
及びPNパターン選択部22の詳細について順に説明す
る。図2は、PNパターン発生部12の構成を示すブロ
ック図である。尚、図2においては、理解を容易にする
ため、7ビットの初期値データを入力して10ビットの
PNパターンを発生するパターン発生装置を一例として
図示している。
The schematic configuration of the pattern generating apparatus according to the embodiment of the present invention has been described above. Next, the PN pattern generating section 12, the pattern advancing section 20, and the
The details of the PN pattern selection unit 22 will be described in order. FIG. 2 is a block diagram showing the configuration of the PN pattern generation unit 12. Note that, in FIG. 2, for easy understanding, a pattern generation device for inputting 7-bit initial value data and generating a 10-bit PN pattern is illustrated as an example.

【0020】図2に示したパターン発生部12は、初期
値データP0の入力部としての切替部30と、PNパタ
ーンの出力線L5各々に対して設けられた10個の排他
的論理和回路(以下、EXOR回路という)31と、こ
のEXOR回路31の出力端に接続されるとともにPN
パターンの出力線L5に接続された切替部32とを備え
る。切替部30には図1中の制御部10から出力される
制御信号CS1及び基準クロックCLKが入力されてお
り、その内部には7つのビットレジスタB0〜B6が設
けられている。各ビットレジスタB0〜B6には信号線
L1及びLSB側の7ビットの出力線L5に接続された
信号線L4がそれぞれ接続されている。また、各ビット
レジスタB0〜B6の出力側には信号線L3が接続され
ており、この信号線L3と10個のEXOR回路31と
の接続関係は発生させるPNパターンに応じて設定され
ている。
The pattern generating section 12 shown in FIG. 2 includes a switching section 30 as an input section for the initial value data P0 and ten exclusive OR circuits (for each of the PN pattern output lines L5). (Hereinafter referred to as EXOR circuit) 31 and the PN connected to the output terminal of this EXOR circuit 31
And a switching unit 32 connected to the pattern output line L5. The control signal CS1 and the reference clock CLK output from the control unit 10 in FIG. 1 are input to the switching unit 30, and seven bit registers B0 to B6 are provided inside thereof. A signal line L1 and a signal line L4 connected to a 7-bit output line L5 on the LSB side are connected to the bit registers B0 to B6, respectively. A signal line L3 is connected to the output side of each bit register B0 to B6, and the connection relationship between this signal line L3 and the ten EXOR circuits 31 is set according to the PN pattern to be generated.

【0021】この切替部30は、制御部10から出力さ
れる制御信号CS1に基づいて、PNパターンを発生さ
せるときには信号線L1を介して入力される初期パター
ンP0を各ビットレジスタB0〜B6に取り込み、この
初期パターンP0を一度取り込んだ後は信号線L4を介
して入力される信号を各ビットレジスタB0〜B6に取
り込むように入力を切り替える。
Based on the control signal CS1 output from the control unit 10, the switching unit 30 fetches the initial pattern P0 input via the signal line L1 into each bit register B0 to B6 when generating the PN pattern. After the initial pattern P0 has been fetched once, the input is switched so that the signal inputted via the signal line L4 is fetched in each of the bit registers B0 to B6.

【0022】また、切替部32は、その内部に10個の
ビットレジスタを備える。各ビットレジスタにはEXO
R回路31の出力端及び信号線L2がそれぞれ接続され
ている。また、各ビットレジスタには出力線L5が接続
されている。この切替部32は、制御部10から出力さ
れる制御信号CS3に基づいて、EXOR回路31各々
から出力される信号を取り込んで出力するか、又は、信
号線L2を介して入力される選択パターンP6を取り込
んで出力するかを切り替える。
Further, the switching unit 32 has 10 bit registers therein. EXO for each bit register
The output terminal of the R circuit 31 and the signal line L2 are connected to each other. An output line L5 is connected to each bit register. The switching unit 32 takes in and outputs the signals output from the EXOR circuits 31 based on the control signal CS3 output from the control unit 10, or selects the selection pattern P6 input via the signal line L2. To switch between capturing and outputting.

【0023】次に、信号線L3とEXOR回路31との
接続関係について詳細に説明する。信号線L3とEXO
R回路31との接続関係は、以下の(1)式に示すPN
パターンの生成多項式に基づいて設定される。尚、以下
の式における演算子「+」は排他的論理和である。 f(x)=x7+x+1 ……(1) x0=1〜x6は、各々ビットレジスタB0〜B6に記憶
されている値を示しており、x7〜x16は出力線L5の
ビットB7〜ビットB16に現れる値を示している。
Next, the connection relationship between the signal line L3 and the EXOR circuit 31 will be described in detail. Signal line L3 and EXO
The connection relationship with the R circuit 31 is PN shown in the following equation (1).
It is set based on the generator polynomial of the pattern. The operator "+" in the following formula is an exclusive OR. f (x) = x 7 + x + 1 ...... (1) x 0 = 1~x 6 shows the values that are respectively stored in the bit register B0~B6, x 7 ~x 16 bit output lines L5 The values appearing from B7 to bit B16 are shown.

【0024】上記(1)式でf(x)=0とすると、以
下の(2)式が得られる。 x7 =x+1 x8 =x7・x =x2+x x9 =x7・x2=x3+x210=x7・x3=x4+x311=x7・x4=x5+x412=x6+x513=x6+x+1 x14=x2+1 x15=x3+x x16=x4+x2 ……(2)
When f (x) = 0 in the above equation (1), the following equation (2) is obtained. x 7 = x + 1 x 8 = x 7 · x = x 2 + x x 9 = x 7 · x 2 = x 3 + x 2 x 10 = x 7 · x 3 = x 4 + x 3 x 11 = x 7 · x 4 = x 5 + x 4 x 12 = x 6 + x 5 x 13 = x 6 + x + 1 x 14 = x 2 +1 x 15 = x 3 + x x 16 = x 4 + x 2 (2)

【0025】上記(2)式から信号線L3とEXOR回
路31との接続関係を得るには、例えば、ビットB8の
出力線に現れる値x8は、ビットレジスタB2に記憶さ
れている値x2とビットレジスタB1に格納されている
値xとの排他的論理和であるため、ビットB8の出力線
に接続されているEXOR回路31の入力端と、ビット
レジスタB2及びビットレジスタB1に接続されている
接続線とを接続する。
To obtain the connection relationship between the signal line L3 and the EXOR circuit 31 from the above equation (2), for example, the value x 8 appearing on the output line of the bit B8 is the value x 2 stored in the bit register B2. Is an exclusive OR of the value x stored in the bit register B1 and the input end of the EXOR circuit 31 connected to the output line of the bit B8 and the bit register B2 and the bit register B1. Connect with the connecting line.

【0026】次に、パターン進行部20の構成について
説明する。図3は、パターン進行部20の構成を示すブ
ロック図である。尚、図3においては、理解を容易にす
るため、PNパターン発生部12から発生される10ビ
ットのPNパターンP1の内の下位7ビットのみを入力
として、基準クロックCLKの4クロック分だけPNパ
ターンP1を進行させたパターンP5を得るパターン進
行部を図示している。
Next, the structure of the pattern progression unit 20 will be described. FIG. 3 is a block diagram showing the configuration of the pattern progression unit 20. Note that, in FIG. 3, in order to facilitate understanding, only the lower 7 bits of the 10-bit PN pattern P1 generated from the PN pattern generation unit 12 are input, and the PN pattern for 4 clocks of the reference clock CLK is input. The pattern advancing part which obtains the pattern P5 which advanced P1 is shown.

【0027】図2に示したPNパターン発生部12は、
7ビットの初期パターンから10ビットのPNパターン
P1を発生していた。図3に示したパターン進行部20
は、ある時点においてPNパターン発生部12から出力
される7ビットのPNパターンを初期値として用い、P
NパターンP1の周期性を利用することにより、PNパ
ターン発生部12から出力されるPNパターンP1より
も4クロック分だけ進んでいるパターンP5を出力する
(発生する)ものである。
The PN pattern generator 12 shown in FIG.
The 10-bit PN pattern P1 is generated from the 7-bit initial pattern. The pattern progression unit 20 shown in FIG.
Uses a 7-bit PN pattern output from the PN pattern generator 12 at a certain point as an initial value,
By utilizing the periodicity of the N pattern P1, a pattern P5 that is ahead of the PN pattern P1 output from the PN pattern generating unit 12 by four clocks is output (generated).

【0028】図3に示したパターン進行部20は、パタ
ーンP5の出力線L11各々に対して出力端が接続され
た10個のEXOR回路40を備える。EXOR回路4
0の入力端は、PNパターン発生部12から出力される
PNパターンの下位7ビットが入力される7本の信号線
L10の少なくとも3本に接続されている。信号線L1
0とEXOR回路40との接続関係は、PNパターンP
1を進行させる時間(クロック数)に応じて設定され
る。
The pattern progression unit 20 shown in FIG. 3 is provided with ten EXOR circuits 40 whose output ends are connected to the respective output lines L11 of the pattern P5. EXOR circuit 4
The input terminal of 0 is connected to at least three of the seven signal lines L10 to which the lower 7 bits of the PN pattern output from the PN pattern generation unit 12 are input. Signal line L1
0 and the EXOR circuit 40 are connected by a PN pattern P
It is set according to the time (the number of clocks) in which 1 is advanced.

【0029】次に、信号線L10とEXOR回路40と
の接続関係について説明する。いま、図3に示したよう
に、信号線L10の各々をビットb0〜b6とし、出力
線L11の各々をビットb37〜b46とする。ここ
で、信号線L10の各ビットb0〜b6に入力されるパ
ターンの値をx0=1〜x6とし、出力線L11の各ビッ
トb37〜b46に現れるパターンの値をx37〜x46
する。このとき、出力線L11から出力されるパターン
P5が信号線L10に入力されるパターンに対して4ク
ロック分進んだものとなるためには、以下の(3)式を
満たす必要がある。尚、以下の(3)式に示した演算子
「+」も排他的論理和である。
Next, the connection relationship between the signal line L10 and the EXOR circuit 40 will be described. Now, as shown in FIG. 3, each of the signal lines L10 is set to bits b0 to b6, and each of the output lines L11 is set to bits b37 to b46. Here, the value of the pattern input to each bit b0 to b6 of the signal line L10 is x 0 = 1 to x 6, and the value of the pattern appearing at each bit b37 to b46 of the output line L11 is x 37 to x 46 . To do. At this time, in order that the pattern P5 output from the output line L11 is advanced by 4 clocks with respect to the pattern input to the signal line L10, it is necessary to satisfy the following expression (3). The operator "+" shown in the following expression (3) is also an exclusive OR.

【0030】 x37=x6+x3+x2+x+1 x38=x4+x3+x2+1 x39=x5+x4+x3+x x40=x6+x5+x4+x241=x6+x5+x3+x1+1 x42=x6+x4+x2+1 x43=x5+x3+1 x44=x6+x4+x x45=x5+x2+x+1 x46=x6+x3+x2+x ……(3)X 37 = x 6 + x 3 + x 2 + x + 1 x 38 = x 4 + x 3 + x 2 +1 x 39 = x 5 + x 4 + x 3 + x x 40 = x 6 + x 5 + x 4 + x 2 x 41 = x 6 + x 5 + x 3 + x 1 +1 x 42 = x 6 + x 4 + x 2 +1 x 43 = x 5 + x 3 +1 x 44 = x 6 + x 4 + x x 45 = x 5 + x 2 + x + 1 x 46 = x 6 + x 3 + x 2 + x …… (3)

【0031】上記(3)式から信号線L10とEXOR
回路40との接続関係を得るには、例えば、ビットb3
7の出力線に現れる値x37は、ビットb0に現れるパタ
ーンの値1、ビットb1に現れるパターンの値x、ビッ
トb2に現れるパターンの値x2、ビットb3に現れる
パターンの値x3、及びビットb6に現れるパターンの
値x6の排他的論理和であるため、ビットb37の出力
線に接続されているEXOR回路40の入力端と、信号
線L10のビットb0,b1,b2,b3,b6の信号
線とを接続する。
From the equation (3), the signal line L10 and EXOR
To obtain the connection relationship with the circuit 40, for example, the bit b3
The value x 37 appearing on the output line of 7 is the pattern value 1 appearing in the bit b0, the pattern value x appearing in the bit b1, the pattern value x 2 appearing in the bit b2, the pattern value x 3 appearing in the bit b3, and Since it is the exclusive OR of the pattern value x 6 appearing in the bit b6, the input end of the EXOR circuit 40 connected to the output line of the bit b37 and the bits b0, b1, b2, b3, b6 of the signal line L10. Connect with the signal line of.

【0032】以上、パターン進行部20がPNパターン
P1を基準クロックCLKの4クロック分進行させる構
成例について説明したが、進行させるクロック数が異な
る回路を複数設け、使用する回路を適宜選択するように
構成しても良い。
The example of the configuration in which the pattern advancing unit 20 advances the PN pattern P1 by four clocks of the reference clock CLK has been described above. However, a plurality of circuits having different numbers of advancing clocks are provided and a circuit to be used is appropriately selected. It may be configured.

【0033】次に、PNパターン選択部22の詳細につ
いて説明する。前述したようにPNパターン選択部22
は、PNパターン発生部12から出力されるPNパター
ンP1に対して特定パターンP2を挿入したときに、特
定パターンP2を挿入する直前のPNパターンP1に連
続するパターンが、特定パターンP2を挿入した直後に
位置するように、パターン進行部20から出力されるパ
ターンP5からパターンを選択して、選択パターンP6
としてPNパターン発生部12に与えるものである。
Next, details of the PN pattern selection unit 22 will be described. As described above, the PN pattern selection unit 22
When the specific pattern P2 is inserted into the PN pattern P1 output from the PN pattern generating unit 12, a pattern continuous with the PN pattern P1 immediately before the specific pattern P2 is inserted is immediately after the specific pattern P2 is inserted. Pattern P5 output from the pattern advancing unit 20 so that the selected pattern P6 is selected.
Is given to the PN pattern generator 12.

【0034】いま、図7(b)において、挿入した特定
パターンの直後(期間T11の直後)において、‘K’
(特定パターンを挿入する直前のPNパターン‘J’に
連続するパターン)から始まるPNパターンを得るため
には、時刻t24から時刻t25までの期間内におい
て、6ビット目に‘K’が位置するパターンを得ればよ
い。換言すると、時刻t24において、パターン‘K’
の5ビット前のパターン‘F’から始まるPNパターン
を得れば、6ビット目にパターン‘K’を位置させるこ
とができる。
Now, in FIG. 7B, immediately after the inserted specific pattern (immediately after the period T11), 'K' is entered.
In order to obtain a PN pattern starting from (a pattern continuous with the PN pattern'J 'immediately before the insertion of the specific pattern), a pattern in which'K' is located at the 6th bit in the period from time t24 to time t25 Just get In other words, at time t24, the pattern'K '
If the PN pattern starting from the pattern "F" 5 bits before is obtained, the pattern "K" can be located at the 6th bit.

【0035】図4は、PNパターン選択部22が行う処
理を定性的に説明するための図である。図4に示した例
では、パターン進行部20から出力されるパターンP5
の内の基準クロックCLKの2クロック分のパターンP
10,P11(計20ビット)から、基準クロックCL
Kの1クロック分のパターンP6(10ビット)を得て
いる。
FIG. 4 is a diagram for qualitatively explaining the processing performed by the PN pattern selection unit 22. In the example shown in FIG. 4, the pattern P5 output from the pattern progression unit 20.
Pattern P for two clocks of the reference clock CLK in
Reference clock CL from 10, P11 (20 bits in total)
A pattern P6 (10 bits) for one clock of K is obtained.

【0036】図4に示した例では、6ビット目にパター
ン‘K’を位置させるために、パターンP10,P11
に対して徐々にデータ幅を絞り込んでいき、計5回の処
理(基準クロックCLKの5クロック分の処理)を行っ
て、パターンP10,P11からパターンP6を得てい
る。ここで、図4に示したように、絞り込みの処理を複
数回設けるのは実際のパターンP10,P11は数百ビ
ットであるため、絞り込みを一度に行おうとすると絞り
込みの条件が複雑となり、基準クロックCLKの1クロ
ックの時間では処理が間に合わないからである。尚、図
4においては、パターンの選択を基準クロックCLKの
5クロック分で行っている場合を例に挙げて説明してい
るが、図1に示したPNパターン選択部22は基準クロ
ックの3クロック分で行うことができるものとする。
In the example shown in FIG. 4, in order to position the pattern'K 'at the 6th bit, patterns P10 and P11 are placed.
Then, the data width is gradually narrowed down, and a total of 5 times of processing (processing for 5 clocks of the reference clock CLK) is performed to obtain the pattern P6 from the patterns P10 and P11. Here, as shown in FIG. 4, since the actual patterns P10 and P11 are provided with a plurality of narrowing down processes several hundreds of bits, if the narrowing down is performed at once, the narrowing down condition becomes complicated and the reference clock This is because the processing cannot be completed in time for one clock of CLK. In FIG. 4, the case where the pattern selection is performed for 5 clocks of the reference clock CLK is described as an example, but the PN pattern selection unit 22 shown in FIG. 1 uses the 3 clocks of the reference clock. It can be done in minutes.

【0037】次に、上記構成における本発明の一実施形
態によるパターン発生装置の動作について説明する。図
5は、本発明の一実施形態によるパターン発生装置の動
作を説明するためのタイミングチャートである。パター
ン発生装置が動作を開始すると、まず図1に示した制御
部10がPNパターン発生部12に制御信号CS1を出
力する。この制御信号CS1が入力されると、図2に示
したPNパターン発生部12内の切替部30が、各ビッ
トレジスタB0〜B6の入力を信号線L1に切り替える
ことにより初期パターンP0が各ビットレジスタB0〜
B6に取り込まれる。初期パターンP0がビットレジス
タB0〜B6内に取り込まれると、制御部10は制御信
号CS1を出力し、ビットレジスタB0〜B6の入力を
信号線L4に切り替える。以上の動作が終了して、基準
クロックCLKが入力されると10ビットのパラレルの
PNパターンP1が出力線L5から出力される。
Next, the operation of the pattern generator having the above-described structure according to the embodiment of the present invention will be described. FIG. 5 is a timing chart for explaining the operation of the pattern generator according to the embodiment of the present invention. When the pattern generator starts operating, the control unit 10 shown in FIG. 1 first outputs the control signal CS1 to the PN pattern generator 12. When this control signal CS1 is input, the switching unit 30 in the PN pattern generation unit 12 shown in FIG. 2 switches the input of each bit register B0 to B6 to the signal line L1 so that the initial pattern P0 is set to each bit register. B0
It is taken into B6. When the initial pattern P0 is taken into the bit registers B0 to B6, the control unit 10 outputs the control signal CS1 and switches the input of the bit registers B0 to B6 to the signal line L4. When the above operation is completed and the reference clock CLK is input, the 10-bit parallel PN pattern P1 is output from the output line L5.

【0038】PNパターンP1は、制御部10から制御
信号CS3が入力されていないときには、パターン付加
部16を介してパターンP3としてパラレル・シリアル
変換部18に入力され、パラレルのPNパターンP4と
して出力される。また、PNパターン発生部12から出
力されたPNパターンP1はパターン進行部20に入力
され、PNパターンP1に対して4クロック分進んだパ
ターンP5に変換されて出力される。図5を参照する
と、例えばパターンP5の時刻t1〜時刻t2の間のパ
ターン(‘K’から始まり‘T’で終わるパターン)
は、特定パターンP2が挿入されない場合に、時刻t5
〜時刻t6の間にパターン付加部16から出力されるパ
ターンP3と同じパターンである。尚、図5において
は、時刻t5〜時刻t6の間のパターンP3は特定パタ
ーンが上書きされた場合のパターン付加部16から出力
されるパターンを図示している。
When the control signal CS3 is not input from the control unit 10, the PN pattern P1 is input to the parallel / serial conversion unit 18 as the pattern P3 via the pattern addition unit 16 and output as the parallel PN pattern P4. It Further, the PN pattern P1 output from the PN pattern generating unit 12 is input to the pattern advancing unit 20, is converted into a pattern P5 which is advanced by 4 clocks with respect to the PN pattern P1, and is output. Referring to FIG. 5, for example, a pattern between time t1 and time t2 of pattern P5 (a pattern starting with'K 'and ending with'T')
Is the time t5 when the specific pattern P2 is not inserted.
It is the same pattern as the pattern P3 output from the pattern addition unit 16 between time t6. Note that, in FIG. 5, the pattern P3 between time t5 and time t6 is a pattern output from the pattern adding unit 16 when the specific pattern is overwritten.

【0039】時刻t5〜時刻t6の期間は、時刻t1〜
時刻t2の期間に対して4クロック分進んでいる。よっ
て、パターンP5の時刻t1〜時刻t2の間に現れるパ
ターン(パターンP3の時刻t5〜時刻t6の間に現れ
るパターンと同一のパターン)は、パターンP3の時刻
t1〜時刻t2に現れるパターンに対して4クロック分
進んでいる。
The period from time t5 to time t6 is from time t1 to time t1.
It advances by 4 clocks with respect to the period of time t2. Therefore, the pattern that appears between time t1 and time t2 of pattern P5 (the same pattern that appears between time t5 and time t6 of pattern P3) is different from the pattern that appears between time t1 and time t2 of pattern P3. Four clocks ahead.

【0040】パターン進行部20から出力されたパター
ンP5はPNパターン選択部22に入力され、図4を用
いて説明した処理が行われて常時基準クロックCLKの
2クロック分のパターンから特定のパターンが選択され
て選択パターンP6として出力される。例えば、図5を
参照すると、パターンP5の時刻t1〜時刻t2のパタ
ーンとその1クロック前の周期におけるパターンとの2
クロック分のパターンから、時刻t4〜時刻t5におい
てパターン‘F’から始まる連続した選択パターンP6
が生成される。この選択パターンP6はPNパターン発
生部12に出力されるが、時刻t4〜時刻t5の間にお
いては制御部10からPNパターン発生部12に対して
制御信号CS2が出力されていないため、その値がPN
パターン発生部12に設けられた切替部32内のビット
レジスタには取り込まれない。
The pattern P5 output from the pattern advancing unit 20 is input to the PN pattern selecting unit 22 and the processing described with reference to FIG. It is selected and output as a selection pattern P6. For example, referring to FIG. 5, the pattern P5 has two patterns, that is, the pattern from time t1 to time t2 and the pattern in the cycle one clock before.
From the clock pattern, a continuous selection pattern P6 starting from the pattern'F 'from time t4 to time t5
Is generated. The selection pattern P6 is output to the PN pattern generation unit 12, but since the control signal CS2 is not output from the control unit 10 to the PN pattern generation unit 12 between time t4 and time t5, its value is PN
It is not taken into the bit register in the switching unit 32 provided in the pattern generating unit 12.

【0041】しかしながら、特定パターンP2をPNパ
ターン発生部12から出力されるPNパターンP1に付
加する場合には、時刻t5において制御信号CS3が特
定パターン発生部14に出力されて、図示のように
‘a’から始まり‘j’で終わる特定パターンがPNパ
ターンP1に上書きされる(パターン付加部16で
‘a’から始まり‘j’で終わる特定パターンが選択さ
れてパターンP3として出力される)。また、この時点
において、制御部10は、特定パターンP2を出力して
いる旨を示す制御信号CS4をPNパターン選択部22
に出力する。この制御信号CS4によって、PNパター
ン選択部22は選択したパターンを保持し、図5中に示
すように、時刻t5以降において保持した選択パターン
P6(時刻t4〜時刻t5の間のパターン(‘F’から
始まり‘O’で終わるパターン))を基準クロックCL
Kが入力される度に出力する。
However, when the specific pattern P2 is added to the PN pattern P1 output from the PN pattern generating unit 12, the control signal CS3 is output to the specific pattern generating unit 14 at time t5, and as shown in FIG. A specific pattern starting from a'and ending with'j 'is overwritten on the PN pattern P1 (the specific pattern starting with'a' and ending with'j 'is selected by the pattern adding unit 16 and output as the pattern P3). Further, at this time, the control unit 10 outputs the control signal CS4 indicating that the specific pattern P2 is output, to the PN pattern selection unit 22.
Output to. With this control signal CS4, the PN pattern selection unit 22 holds the selected pattern, and as shown in FIG. 5, the selected pattern P6 (the pattern ('F' between time t4 and time t5) held after time t5. Pattern that starts with "O" and ends with "O"))
Output every time K is input.

【0042】PNパターンP1に上書きする特定パター
ンの残りのビット数を特定パターンP1のビット数で除
算した商が「1」以上である場合には、以上の動作を基
準クロックCLKが入力される度に繰り返す。しかしな
がら、PNパターンP1に上書きする特定パターンの残
りのビット数を特定パターンP1のビット数で除算した
商が「0」より小になると、制御部10は制御信号CS
2をPNパターン発生部12に出力する(図5に示した
例では、時刻t6で制御信号CS2を出力する)。
When the quotient obtained by dividing the number of remaining bits of the specific pattern overwriting the PN pattern P1 by the number of bits of the specific pattern P1 is "1" or more, the above operation is performed every time the reference clock CLK is input. Repeat. However, when the quotient obtained by dividing the number of remaining bits of the specific pattern to be overwritten on the PN pattern P1 by the number of bits of the specific pattern P1 becomes smaller than “0”, the control unit 10 controls the control signal CS.
2 is output to the PN pattern generation unit 12 (in the example shown in FIG. 5, the control signal CS2 is output at time t6).

【0043】この制御信号CS2が出力されると、PN
パターン発生部12内の切替部32は、PNパターン選
択部22から出力される選択パターンP6を各レジスタ
内に取り込むとともに、パターン付加部16に出力す
る。図5に示した例では、時刻t6において、PNパタ
ーン選択部22から出力される選択パターンP6は
‘F’から始まり‘O’で終わるパターンであり、この
パターンがパターン付加部16に出力される。時刻t6
〜時刻t7の期間において、パターン付加部16は、ま
ず、特定パターンP2の残りのパターン(‘k’から始
まり‘o’で終わるパターン)を選択し、次にLSB側
から5ビット(‘K’〜‘O’)の選択パターンP6を
選択して出力する。
When this control signal CS2 is output, PN
The switching unit 32 in the pattern generation unit 12 loads the selection pattern P6 output from the PN pattern selection unit 22 into each register and outputs the selection pattern P6 to the pattern addition unit 16. In the example shown in FIG. 5, at time t6, the selection pattern P6 output from the PN pattern selection unit 22 is a pattern starting with “F” and ending with “O”, and this pattern is output to the pattern adding unit 16. . Time t6
In the period from time t7 to the time t7, the pattern adding unit 16 first selects the remaining pattern of the specific pattern P2 (the pattern starting with'k 'and ending with'o'), and then 5 bits from the LSB side ('K'). ~ 'O') selection pattern P6 is selected and output.

【0044】図5において、符号T1を付した期間は特
定パターンが付加される期間であり、この期間T1の前
後を参照すると、特定パターンP2の挿入直前に終了し
たPNパターン‘J’に連続するパターン‘K’が期間
T1の終了直後に位置している。このようにして、特定
パターンP2を付加する期間の前後において、PNパタ
ーンの連続性を保つことができる。特定パターンP2が
付加されたパターンP3は、パラレル・シリアル変換部
18において、シリアルのPNパターンに変換され、P
NパターンP4として出力される。
In FIG. 5, the period denoted by the reference symbol T1 is a period in which the specific pattern is added, and referring to the period before and after this period T1, the PN pattern'J 'which is completed immediately before the insertion of the specific pattern P2 is continued. The pattern'K 'is located immediately after the end of the period T1. In this way, the continuity of the PN pattern can be maintained before and after the period in which the specific pattern P2 is added. The pattern P3 to which the specific pattern P2 is added is converted into a serial PN pattern by the parallel / serial conversion unit 18, and P
It is output as N pattern P4.

【0045】以上、本発明の一実施形態によるパターン
発生装置について説明したが、次に、本発明の一実施形
態による通信装置について説明する。本実施形態の通信
装置は、上述したパターン発生装置を備えた構成であ
り、通信装置間ではデータをフレーム単位に分割して伝
送する。図6は、本発明の一実施形態による通信装置が
生成するフレームの一例を示す図である。図6(a)に
おいて、f1,f2は時間的に連続する2つのフレーム
を示しており、図示したように各々のフレームf1,f
2にはセクションオーバーヘッドh1,h2が設けられ
ている。
The pattern generating apparatus according to the embodiment of the present invention has been described above. Next, the communication apparatus according to the embodiment of the present invention will be described. The communication device according to the present embodiment has a configuration including the above-described pattern generation device, and transmits data by dividing the data between the communication devices in frame units. FIG. 6 is a diagram showing an example of a frame generated by the communication device according to the embodiment of the present invention. In FIG. 6A, f1 and f2 indicate two temporally consecutive frames, and as shown in the figure, each frame f1 and f2
2 has section overheads h1 and h2.

【0046】また、フレームf1中に符号tr1〜tr
5を付して示した矢印及びフレームf2中に符号tr6
〜tr10を付して示した矢印は、フレーム中のデータ
の送受信順を示している。つまり、セクションオーバー
ヘッドの一部と送受信するデータが格納されたデータ部
の一部とが対とされ、この対が複数集まって1つのフレ
ームが構成されている。尚、時間的に連続するフレーム
f1,f2においては、フレームf1中の符号tr5を
付して示した矢印の順でデータの送受信を終えると、フ
レームf2中の符号tr6を付して示した矢印の順でデ
ータの送受信が開始される。
The symbols tr1 to tr in the frame f1
The symbol tr6 in the arrow and frame f2 indicated by 5
The arrow indicated by ~ tr10 indicates the transmission / reception order of data in the frame. That is, a part of the section overhead and a part of the data part in which the data to be transmitted / received are stored are paired, and a plurality of these pairs are collected to form one frame. In the time-sequential frames f1 and f2, when data transmission / reception is completed in the order of the arrow indicated by the symbol tr5 in the frame f1, the arrow indicated by the symbol tr6 in the frame f2. Transmission and reception of data is started in this order.

【0047】図6(b)は、フレームf1,f2中に挿
入される特定パターンが挿入される位置SR1,SR2
を示す図である。図6(b)に示したように、特定パタ
ーンの挿入位置SR1,SR2は各フレームf1,f2
中のデータ送受信の開始位置にそれぞれ設定される。
尚、通信装置の試験を行う場合には、フレームf1,f
2中の特定パターンが配置される位置SR1,SR2以
外の部分にはPNパターンが格納される。
FIG. 6B shows positions SR1 and SR2 at which the specific patterns to be inserted in the frames f1 and f2 are inserted.
FIG. As shown in FIG. 6B, the insertion positions SR1 and SR2 of the specific pattern are set to the frames f1 and f2.
It is set to the start position of the middle data transmission / reception.
When testing the communication device, the frames f1 and f
The PN pattern is stored in a portion other than the positions SR1 and SR2 where the specific pattern is arranged in the second pattern.

【0048】ここで、例えば特定パターンが配置される
位置SR2と時間的に連続する位置に配置されるPNパ
ターンPN1,PN2は連続性を保つ必要がある。この
ようなパターンを発生させるために、本実施形態の通信
装置は、挿入する特定パターンの前後において連続性を
有するPNパターンを発生するPNパターン発生装置を
備える。尚、図6に示した特定パターンが配置される位
置SR1,SR2は一例であって、その位置はフレーム
f1,f2の任意の位置で良い。
Here, for example, the PN patterns PN1 and PN2 arranged at positions temporally continuous with the position SR2 where the specific pattern is arranged need to maintain continuity. In order to generate such a pattern, the communication device of the present embodiment includes a PN pattern generator that generates a PN pattern having continuity before and after the specific pattern to be inserted. The positions SR1 and SR2 where the specific patterns shown in FIG. 6 are arranged are examples, and the positions may be arbitrary positions of the frames f1 and f2.

【0049】[0049]

【発明の効果】以上説明したように、本発明によれば、
第1パターン発生部から出力された連続する第1パター
ンに対して所定の時間進んだパターンをパターン進行部
で得た後、このパターンから第2パターンの挿入直前に
終了した第1パターンに連続するパターンが第2パター
ンの終了直後に位置するためのパターンを選択し、この
パターンを初期値として第1パターン発生部に入力して
いるため、連続性を有するパターンの一部に任意の長さ
の特定パターンを挿入したパターンを発生する場合であ
っても、特定パターンの前後においてパターンの連続性
を保つことができるという効果がある。
As described above, according to the present invention,
After the pattern advancing unit obtains a pattern advanced by a predetermined time with respect to the continuous first pattern output from the first pattern generating unit, the pattern is continued from this pattern to the first pattern finished immediately before the insertion of the second pattern. A pattern is selected so that the pattern is located immediately after the end of the second pattern, and this pattern is input to the first pattern generation unit as an initial value. Therefore, a part of the pattern having continuity has an arbitrary length. Even when a pattern in which the specific pattern is inserted is generated, there is an effect that the continuity of the pattern can be maintained before and after the specific pattern.

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

【図1】 本発明の一実施形態によるパターン発生装置
の概略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a pattern generation device according to an embodiment of the present invention.

【図2】 PNパターン発生部12の構成を示すブロッ
ク図である。
FIG. 2 is a block diagram showing a configuration of a PN pattern generation unit 12.

【図3】 パターン進行部20の構成を示すブロック図
である。
3 is a block diagram showing a configuration of a pattern progression unit 20. FIG.

【図4】 PNパターン選択部22が行う処理を定性的
に説明するための図である。
FIG. 4 is a diagram for qualitatively explaining the processing performed by the PN pattern selection unit 22.

【図5】 本発明の一実施形態によるパターン発生装置
の動作を説明するためのタイミングチャートである。
FIG. 5 is a timing chart for explaining the operation of the pattern generation device according to the embodiment of the present invention.

【図6】 本発明の一実施形態による通信装置が生成す
るフレームの一例を示す図である。
FIG. 6 is a diagram showing an example of a frame generated by a communication device according to an embodiment of the present invention.

【図7】 PNパターンの一部に別のパターンを挿入す
る様子を示す図である。
FIG. 7 is a diagram showing how another pattern is inserted in a part of a PN pattern.

【符号の説明】 10 制御部 12 PNパターン発生部(第1パターン発生
部) 14 特定パターン発生部(第2パターン発生
部) 16 パターン付加部(付加部) 18 パラレル・シリアル変換部(変換部) 20 パターン進行部 22 PNパターン選択部(選択部) f1,f2 フレーム P0 初期パターン(初期値) P1 PNパターン(第1パターン) P2 特定パターン(第2パターン) P5 パターン(進められたPNパターン) P6 選択パターン(初期値)
[Description of Reference Signs] 10 control unit 12 PN pattern generation unit (first pattern generation unit) 14 specific pattern generation unit (second pattern generation unit) 16 pattern addition unit (addition unit) 18 parallel / serial conversion unit (conversion unit) 20 pattern progression unit 22 PN pattern selection unit (selection unit) f1, f2 frame P0 initial pattern (initial value) P1 PN pattern (first pattern) P2 specific pattern (second pattern) P5 pattern (advanced PN pattern) P6 Selection pattern (initial value)

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 設定された初期値から順に連続した第1
パターンを発生する第1パターン発生部と、 前記第1パターンに挿入する第2パターンを発生する第
2パターン発生部と、 前記第1パターンを所定の時間分だけ進めるパターン進
行部と、 前記パターン進行部によって進められた第1パターンか
ら、前記第2パターン挿入直前に終了した前記第1パタ
ーンに連続するパターンが前記第2パターンの終了直後
に位置するように、前記第1パターン発生部の初期値を
選択する選択部と、 前記第1パターン発生部から発生される第1パターンに
対して前記第2パターンを付加する付加部とを備えるこ
とを特徴とするパターン発生装置。
1. A first continuous number in order from a set initial value
A first pattern generating section for generating a pattern, a second pattern generating section for generating a second pattern to be inserted into the first pattern, a pattern advancing section for advancing the first pattern for a predetermined time, and the pattern advancing Initial value of the first pattern generation unit so that a pattern continuous from the first pattern finished immediately before the insertion of the second pattern from the first pattern advanced by the unit is located immediately after the end of the second pattern. A pattern generation device comprising: a selection unit for selecting the first pattern generation unit; and an addition unit configured to add the second pattern to the first pattern generated by the first pattern generation unit.
【請求項2】 前記第1パターンに対して前記第2パタ
ーンを挿入する所定のタイミングで、前記選択部で選択
された初期値を前記第1パターン発生部の初期値に設定
する制御部を備えることを特徴とする請求項1記載のパ
ターン発生装置。
2. A control unit that sets the initial value selected by the selection unit to the initial value of the first pattern generation unit at a predetermined timing when the second pattern is inserted into the first pattern. The pattern generator according to claim 1, wherein
【請求項3】 前記第1パターン発生部は前記第1パタ
ーンを所定の単位毎に発生し、 前記パターン進行部は、前記第1パターンを前記所定の
単位の所定単位数分だけ進めることにより前記第1パタ
ーンを前記所定の時間分だけ進めることを特徴とする請
求項1又は請求項2記載のパターン発生装置。
3. The first pattern generating unit generates the first pattern for each predetermined unit, and the pattern advancing unit advances the first pattern by a predetermined unit number of the predetermined unit. The pattern generation device according to claim 1 or 2, wherein the first pattern is advanced by the predetermined time.
【請求項4】 前記付加部から出力されるパターンは、
パラレルのパターンであり、 前記パラレルのパターンを、時間的に連続したシリアル
のパターンに変換する変換部を備えることを特徴とする
請求項1から請求項3の何れか一項に記載のパターン発
生装置。
4. The pattern output from the adding unit is
The pattern generating apparatus according to claim 1, further comprising a conversion unit that is a parallel pattern and that converts the parallel pattern into a serial pattern that is temporally continuous. .
【請求項5】 前記パターン進行部が前記第1パターン
を進める時間は、前記選択部が前記初期値を選択するた
めに要する時間に応じて定められることを特徴とする請
求項1から請求項4の何れか一項に記載のパターン発生
装置。
5. The method according to claim 1, wherein the time for which the pattern advancing unit advances the first pattern is determined according to the time required for the selecting unit to select the initial value. The pattern generator according to claim 1.
【請求項6】 情報をフレーム単位に分割して伝送する
通信装置であって、請求項1から請求項5の何れか一項
に記載のパターン発生装置で発生されるパターンを前記
フレームの一部に含めて伝送することを特徴とする通信
装置。
6. A communication device for transmitting information by dividing it into frame units, wherein the pattern generated by the pattern generating device according to claim 1 is part of the frame. A communication device characterized by being included in and transmitted.
JP2001258007A 2001-08-28 2001-08-28 Pattern generating apparatus and communication device Pending JP2003069392A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001258007A JP2003069392A (en) 2001-08-28 2001-08-28 Pattern generating apparatus and communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001258007A JP2003069392A (en) 2001-08-28 2001-08-28 Pattern generating apparatus and communication device

Publications (1)

Publication Number Publication Date
JP2003069392A true JP2003069392A (en) 2003-03-07

Family

ID=19085592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001258007A Pending JP2003069392A (en) 2001-08-28 2001-08-28 Pattern generating apparatus and communication device

Country Status (1)

Country Link
JP (1) JP2003069392A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008075485A1 (en) * 2006-12-21 2008-06-26 Leader Electronics Corp. Method and device for measuring bit error rate of tuner

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008075485A1 (en) * 2006-12-21 2008-06-26 Leader Electronics Corp. Method and device for measuring bit error rate of tuner

Similar Documents

Publication Publication Date Title
US8411782B2 (en) Parallel generation and matching of a deskew channel
JP2003069392A (en) Pattern generating apparatus and communication device
CN106933767B (en) Comma detection and word alignment method and system suitable for JESD204B protocol
EP0472098B1 (en) Time-division multiplexing apparatus
JP2002539662A (en) Random signal generator and random signal generation method
CN110727618B (en) Integrated circuit, multichannel transmission device and signal transmission method thereof
JP2000350262A (en) Code generating method and circuit
JP2004096427A (en) Pattern generating apparatus and method
JP2004112214A (en) Serial data receiver
JP4001423B2 (en) Same sign strength test equipment
KR920007997Y1 (en) High frequency video generating circuits for graphic display apparatus
KR20010095265A (en) Transmission apparatus and method thereof, reception apparatus and method thereof, and data communication device
JP2005117223A (en) Pseudo-random pattern generator
JP3514020B2 (en) Rate generator
JP2000183982A (en) Information transmission system
SU714397A1 (en) Arrangement for shaping command address
JP2957250B2 (en) Pilot pattern inspection circuit
JPS596647A (en) Method for synchronizing transmission of serial data
JPH04119738A (en) Frame synchronizing circuit
KR950004542Y1 (en) Sub-code interface circuit
KR100202327B1 (en) Timming generator for plural reference oscillator
KR100199186B1 (en) Block sync. circuit of digital ultra frequency transmission device
JPH09181577A (en) Pattern generation circuit
JPH10242951A (en) Pseudo random pattern draw in circuit
JPH08274759A (en) Pn pattern synchronism acquiring circuit

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20041001