JPH07118697B2 - PN code inspection circuit - Google Patents
PN code inspection circuitInfo
- Publication number
- JPH07118697B2 JPH07118697B2 JP5170497A JP17049793A JPH07118697B2 JP H07118697 B2 JPH07118697 B2 JP H07118697B2 JP 5170497 A JP5170497 A JP 5170497A JP 17049793 A JP17049793 A JP 17049793A JP H07118697 B2 JPH07118697 B2 JP H07118697B2
- Authority
- JP
- Japan
- Prior art keywords
- flip
- circuit
- generation circuit
- code
- under test
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 238000007689 inspection Methods 0.000 title description 12
- 238000010586 diagram Methods 0.000 description 3
- 238000005259 measurement Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 238000004904 shortening Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Detection And Prevention Of Errors In Transmission (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、通信機器の伝送路試験
信号等として用いられるPN符号検査回路に関し、特に
被試験信号の内部PN符号生成回路への引き込みを高速
化したPN符号検査回路に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a PN code inspection circuit used as a transmission line test signal for communication equipment, and more particularly to a PN code inspection circuit which speeds up pulling of a signal under test into an internal PN code generation circuit. .
【0002】[0002]
【従来の技術】PN符号を使用するデジタル制御線の同
期時間短縮方式は、例えば特開平2−140031号公
報に示されている。これに示された同期引き込み時間短
縮方式は、デジタル制御線データを入力し、順次データ
をシフトして出力するシフトレジスタと、PNパターン
を発生するPN発生器と、PNパターン比較器とから構
成され、デジタル制御線データの同期引き込みを行うフ
レーム同期回路に、簡単な回路を付加するだけで、同期
引き込み時間の短縮を行っている。2. Description of the Related Art A method for shortening the synchronization time of a digital control line using a PN code is disclosed in, for example, Japanese Patent Laid-Open No. 2-140031. The synchronous pull-in time shortening method shown therein is composed of a shift register for inputting digital control line data, sequentially shifting and outputting the data, a PN generator for generating a PN pattern, and a PN pattern comparator. The sync pull-in time is shortened by adding a simple circuit to the frame sync circuit that pulls in the digital control line data.
【0003】従来のPN符号検査回路として、生成多項
式X15+X+1(CCITT勧告0.151)による符
号の検査回路を図2に示す。従来のPN符号検査回路
は、図2に示すように、PN符号生成回路11と、外部
入力被試験データ101をリタイミングするためのフリ
ップフロップ12と、PN符号生成回路11において生
成された信号と外部入力の被試験データとを照合するた
めの比較器13と、被試験データをPN符号生成回路1
1に引き込む際に引き込み数を計数する引き込みカウン
タ14とを備えている。As a conventional PN code checking circuit, a code checking circuit based on a generator polynomial X 15 + X + 1 (CCITT recommendation 0.151) is shown in FIG. As shown in FIG. 2, the conventional PN code inspection circuit includes a PN code generation circuit 11, a flip-flop 12 for retiming the external input data under test 101, and a signal generated in the PN code generation circuit 11. A comparator 13 for collating with externally input data under test, and a PN code generation circuit 1 for the data under test.
A pull-in counter 14 that counts the number of pull-in when pulling in 1 is provided.
【0004】この従来の回路において、PN符号の検査
をする場合、まず最初に外部入力データをPN符号生成
回路11に引き込むことから行うが、この際に、PN符
号生成回路11がn段シフトレジスタから構成されてい
るため、nビット分の被試験データを引き込まなければ
ならない。そのため、外部制御系回路からの引き込み開
始制御信号を引き込み数カウンタ14で計数し、nクロ
ック時間引き込むための制御信号を生成し、PN符号生
成回路内の2−1セレクタ15を制御する必要がある。In the conventional circuit, when the PN code is inspected, the external input data is first drawn into the PN code generating circuit 11. At this time, the PN code generating circuit 11 is an n-stage shift register. Since it is composed of, the data under test for n bits must be fetched. Therefore, it is necessary to count the pull-in start control signal from the external control system circuit by the pull-in number counter 14, generate a control signal for pulling in for n clock time, and control the 2-1 selector 15 in the PN code generation circuit. .
【0005】[0005]
【発明が解決しようとする課題】この従来のPN符号検
査回路では、測定開始時に外部被試験データを検査回路
内のPN符号生成回路に引き込む際にnクロック時間の
引き込みを行わなければならないため、PN符号が高次
元になるにつれて引き込み時間が増大する。また、引き
込み時の消費電力は段数に比例するため、高次元PN符
号検査回路においては消費電力が増大する。In this conventional PN code inspection circuit, it is necessary to pull in n clock time when the external data under test is pulled into the PN code generation circuit in the inspection circuit at the start of measurement. The pull-in time increases as the PN code becomes higher-dimensional. Moreover, since the power consumption during pull-in is proportional to the number of stages, the power consumption increases in the high-dimensional PN code inspection circuit.
【0006】したがって、本発明の目的は、PN符号生
成回路への被試験データの引き込みを1クロックで実現
するとともに、高次元PN符号検査回路においても消費
電力を低く抑えることにある。Therefore, an object of the present invention is to realize the pulling of the data under test into the PN code generation circuit in one clock and to keep the power consumption low even in the high-dimensional PN code inspection circuit.
【0007】[0007]
【課題を解決するための手段】本発明によるPN符号検
査回路は、検査回路内のPN符号生成回路のn段シフト
レジスタをn個のフリップフロップとn個の2−1セレ
クタとで構成し、PN符号生成回路とは独立に引き込み
イネーブル信号とし被試験データを入力するn個のフリ
ップフロップを有している。According to the PN code inspection circuit of the present invention, an n-stage shift register of the PN code generation circuit in the inspection circuit is composed of n flip-flops and n 2-1 selectors, Independently of the PN code generation circuit, it has n flip-flops for inputting data under test as a pull-in enable signal.
【0008】また、本発明によるPN符号検査回路は、
PNn段符号生成回路と、外部からの被試験データを入
力するn段シフトレジスタと、前記PNn段符号生成回
路において生成された符号と被試験データとを照合する
比較器とを備え、前記PNn段符号生成回路は、同期引
き込みイネーブル信号とするn個のイネーブル付きフリ
ップフロップと、n個の2−1セレクタと、前記n個の
フリップフロップ出力のうち生成多項式の係数が「1」
の項に準じたフリップフロップの出力を入力とする排他
的論理和回路とを縦続接続する構成をとり、(i=1,
2,3,…,n)として、2−1セレクタの一方の入力
をAi 、他方の入力をBi 、出力をYi、フリップフロ
ップの入力をDi 、出力をQi 、排他的論理和回路の出
力をPと表し、前記n段シフトレジスタのフリップフロ
ップの入力をD’i+1 、出力をQ’i+1 と表したときA
i とQi+1 、Bi とQ’i+1 、Di とYi 、D’i と
Q’i 、Ai とPを接続し、D’0 には外部からの被試
験データを入力し、引き込み制御信号をn個の2−1セ
レクタの選択制御端子に共通に接続することを特徴とす
る。Further, the PN code check circuit according to the present invention is
A PNn stage code generation circuit, an n stage shift register for inputting data under test from the outside, and a comparator for collating the code generated in the PNn stage code generation circuit with the data under test are provided. The code generation circuit includes n number of flip-flops with enable as a synchronization pull-in enable signal, n number of 2-1 selectors, and a coefficient of a generation polynomial of “1” among the n number of flip-flop outputs.
In the configuration in which the exclusive OR circuit that receives the output of the flip-flop in accordance with the above item is connected in cascade, (i = 1,
2, 3, ..., N), one input of the 2-1 selector is A i , the other input is B i , the output is Y i , the input of the flip-flop is D i , the output is Q i , exclusive logic When the output of the sum circuit is represented as P, the input of the flip-flop of the n-stage shift register is represented as D' i + 1 , and the output is represented as Q'i + 1 , A
i and Q i + 1 , B i and Q'i + 1 , D i and Y i , D' i and Q ' i , A i and P are connected, and D' 0 is input the data under test from the outside. However, the pull-in control signal is commonly connected to the selection control terminals of the n 2-1 selectors.
【0009】[0009]
【実施例】次に、本発明の一実施例を示した図面を参照
して説明する。An embodiment of the present invention will now be described with reference to the drawings.
【0010】図1は本発明の一実施例によるPN符号検
査回路のブロック図である。ここではn=15として、
生成多項式X15X+1(CCITT勧告0.151)に
よるPN15段符号の検査回路を例として示す。FIG. 1 is a block diagram of a PN code check circuit according to an embodiment of the present invention. Here, n = 15,
A check circuit of a PN15 stage code by the generator polynomial X 15 X + 1 (CCITT recommendation 0.151) will be shown as an example.
【0011】本実施例によるPN符号検査回路は、PN
15段符号生成回路1と、外部からの被試験データ10
1を入力するシフトレジスタ2と、PN符号生成回路1
で生成された符号と被試験データとを照合する比較器3
とを備えている。The PN code check circuit according to the present embodiment has a PN code check circuit.
15-stage code generation circuit 1 and data under test 10 from the outside
Shift register 2 for inputting 1 and PN code generation circuit 1
Comparator 3 for collating the code generated in 1. with the data under test
It has and.
【0012】PN符号生成回路1は、n(=15)個の
2−1セレクタ5とフリップフロップ6からなるn段シ
フトレジスタと、生成多項式に準じて項が「1」に対応
するフリップフロップ出力を入力とする排他的論理和回
路4から構成される。2−1セレクタ5は、一方の入力
端子AはPN符号生成回路1内のフリップフロップ6の
Q出力と接続し、他方の入力端子Bは被試験データを入
力とするシフトレジスタ2の引き込みイネーブル103
をイネーブル信号とするフリップフロップ7のQ出力に
接続されている。2−1セレクタ5の選択制御端子S
は、引き込み制御102を入力する。The PN code generation circuit 1 is an n-stage shift register consisting of n (= 15) 2-1 selectors 5 and flip-flops 6, and a flip-flop output whose term corresponds to "1" according to the generator polynomial. Is formed from the exclusive OR circuit 4. In the 2-1 selector 5, one input terminal A is connected to the Q output of the flip-flop 6 in the PN code generation circuit 1, and the other input terminal B is the pull-in enable 103 of the shift register 2 to which the data under test is input.
Is connected to the Q output of the flip-flop 7 which uses the signal as an enable signal. 2-1 Selection control terminal S of selector 5
Inputs the pull-in control 102.
【0013】PN符号生成回路1は、同期引き込みイネ
ーブル信号とするn(=15)個のイネーブル付きフリ
ップフロップと、n(=15)個の2−1セレクタと、
n(=15)個のフリップフロップ出力のうち生成多項
式の係数が「1」の項に準じたフリップフロップの出力
を入力とする排他的論理和回路とを縦続接続する構成を
とり、(i=1,2,3,…,n)として、2−1セレ
クタの一方の入力をAi 、他方の入力をBi 、出力をY
i 、フリップフロップの入力をDi 、出力をQi 、排他
的論理和回路の出力をPと表し、前記n段シフトレジス
タのフリップフロップの入力をD’i+1 、出力をQ’
i+1 と表したときAi とQi+1 、Bi とQ’i+1 、Di
とYi 、D’i とQ’i 、Ai とPを接続し、D’0 に
は外部からの被試験データを入力し、引き込み制御信号
をn個の2−1セレクタの選択制御端子に共通に接続し
ている。The PN code generation circuit 1 includes n (= 15) flip-flops with enable, which are synchronization pull-in enable signals, and n (= 15) 2-1 selectors.
Of the n (= 15) outputs of the flip-flops, the exclusive-OR circuit that receives the output of the flip-flop according to the term of which the coefficient of the generator polynomial is “1” is connected in cascade, and (i = 1, 2, 3, ..., N), one input of the 2-1 selector is A i , the other input is B i , and the output is Y.
i , the input of the flip-flop is D i , the output is Q i , the output of the exclusive OR circuit is P, and the input of the flip-flop of the n-stage shift register is D ′ i + 1 and the output is Q ′.
When expressed as i + 1 , A i and Q i + 1 , B i and Q ′ i + 1 , D i
And Y i, D 'i and Q' i, connects Ai and P, the D '0 to enter the test data from the outside, the pull-in control signal to the n-number of 2-1 selectors select control terminal They are commonly connected.
【0014】外部入力データの測定を行なう場合、まず
被試験データのPN符号生成回路1への引き込みを行な
う。When measuring the external input data, the data under test is first pulled into the PN code generation circuit 1.
【0015】本回路では、シフトレジスタとPN符号生
成回路内のシフトレジスタは双方のフリップフロップが
1対1で対応しているため、引き込み制御102により
2−1セレクタ5を入力B選択にすることで測定の際の
データ引き込みは1クロックで完了する。シフトレジス
タ2は、引き込み制御102が引き込み側(2−1セレ
クタ5が入力Bを選択)となる前のn(=15)クロッ
ク時間のみイネーブル状態を示す引き込みイネーブル1
03により、n(=15)クロック時間のみ被試験デー
タを引き込む。In this circuit, since the flip-flops of the shift register and the shift register in the PN code generation circuit correspond to each other on a one-to-one basis, the pull-in control 102 sets the 2-1 selector 5 to the input B selection. Data acquisition during measurement is completed in 1 clock. The shift register 2 has a pull-in enable 1 indicating an enable state only for n (= 15) clock time before the pull-in control 102 becomes the pull-in side (2-1 selector 5 selects the input B).
By 03, the data under test is pulled in only for n (= 15) clock time.
【0016】なお、本実施例では、同期引き込みイネー
ブルをフリップフロップ7のリセットに入力している
が、これは用途に応じてセット入力等適宜に設定すれば
よい。In the present embodiment, the synchronization pull-in enable is input to the reset of the flip-flop 7, but this may be appropriately set such as set input according to the application.
【0017】[0017]
【発明の効果】以上説明したように、本発明において
は、1クロック時間で被試験データの引き込みを実現で
きるためのシフトレジスタに対し引き込みイネーブルに
より被試験データの引き込み制御を行ない、2−1セレ
クタが引き込み状態となるnクロック時間前から引き込
み開始までのnクロック時間のみシフトレジスタが動作
するため、シフトレジスタによる消費電力を最小限に抑
えることができる。As described above, in the present invention, the pull-in control of the data under test is performed by the pull-in enable for the shift register for realizing the pull-in of the data under test in one clock time. Since the shift register operates only during the n clock time from the time before the clock is brought into the pull-in state to the start of the pull-in, the power consumption by the shift register can be minimized.
【0018】PN符号検査回路における消費電力は、P
N符号生成回路とシフトレジスタに含まれるフリップフ
ロップが大きな割合を占め、消費電力はPN符号の段数
nに比例する。特にフリップフロップを多く備える高次
元PNパターン検査回路では消費電力が非常に大きなも
のとなる。しかしながら、本発明においては、2−1セ
レクタが引き込み状態となるnクロック時間前から引き
込み開始までのnクロック時間のみシフトレジスタが動
作するため、シフトレジスタによる消費電力を最小限に
抑えることができる。The power consumption in the PN code inspection circuit is P
The flip-flops included in the N code generation circuit and the shift register occupy a large proportion, and the power consumption is proportional to the number n of PN code stages. Especially, in a high-dimensional PN pattern inspection circuit including many flip-flops, power consumption becomes very large. However, in the present invention, since the shift register operates only for n clock times before the n-th clock time when the 2-1 selector becomes the pull-in state and before the start of pull-in, the power consumption by the shift register can be minimized.
【図1】本発明の一実施例によるPN符号検査回路のブ
ロック図である。FIG. 1 is a block diagram of a PN code check circuit according to an embodiment of the present invention.
【図2】従来のPN符号検査回路のブロック図である。FIG. 2 is a block diagram of a conventional PN code check circuit.
1 PN15段符号生成回路 2 リセット付き15段シフトレジスタ 3 比較器 4 排他的論理和回路 5 2−1セレクタ 6 フリップフロップ 7 リセット付きフリップフロップ 14 引き込み数カウンタ 101 被試験データ 102 引き込み制御 103 引き込みイネーブル 104 照合結果 105 被試験データ 106 生成データ 1 PN 15-stage code generation circuit 2 15-stage shift register with reset 3 Comparator 4 Exclusive OR circuit 5 2-1 selector 6 Flip-flop 7 Flip-flop with reset 14 Pull-in counter 101 Test data 102 Pull-in control 103 Pull-in enable 104 Matching result 105 Test data 106 Generated data
Claims (2)
試験データを入力するn段シフトレジスタと、前記PN
n段符号生成回路において生成された符号と被試験デー
タとを照合する比較器とを備え、 前記PNn段符号生成回路は、n個のフリップフロップ
とn個の2−1セレクタとを有し、 前記n段シフトレジスタは、PN符号生成回路とは独立
に引き込みイネーブル信号とし被試験データを入力する
n個のフリップフロップを有することを特徴とするPN
符号検査回路。1. A PN n-stage code generation circuit, an n-stage shift register for inputting data under test from the outside, and said PN.
A comparator for collating the code generated in the n-stage code generation circuit with the data under test is provided, and the PN n-stage code generation circuit has n flip-flops and n 2-1 selectors, The n-stage shift register has n flip-flops for inputting data under test as pull-in enable signals independently of the PN code generation circuit.
Code checking circuit.
試験データを入力するn段シフトレジスタと、前記PN
n段符号生成回路において生成された符号と被試験デー
タとを照合する比較器とを備え、 前記PNn段符号生成回路は、同期引き込みイネーブル
信号とするn個のイネーブル付きフリップフロップと、
n個の2−1セレクタと、前記n個のフリップフロップ
出力のうち生成多項式の係数が「1」の項に準じたフリ
ップフロップの出力を入力とする排他的論理和回路とを
縦続接続する構成をとり、(i=1,2,3,…,n)
として、2−1セレクタの一方の入力をAi 、他方の入
力をBi、出力をYi 、フリップフロップの入力を
Di 、出力をQi 、排他的論理和回路の出力をPと表
し、前記n段シフトレジスタのフリップフロップの入力
をD’i+1 、出力をQ’i+1 と表したときAi と
Qi+1 、Bi とQ’i+1 、Di とYi 、D’i と
Q’i 、Ai とPを接続し、D’0 には外部からの被試
験データを入力し、引き込み制御信号をn個の2−1セ
レクタの選択制御端子に共通に接続することを特徴とす
るPN符号検査回路。2. A PN n-stage code generation circuit, an n-stage shift register for inputting data under test from the outside, said PN
a comparator for collating the code generated in the n-stage code generation circuit with the data under test, wherein the PN n-stage code generation circuit includes n number of flip-flops with enable as a synchronization pull-in enable signal;
A configuration in which n 2-1 selectors and an exclusive OR circuit that receives the outputs of the flip-flops according to the term of the coefficient of the generator polynomial according to the term “1” among the n flip-flop outputs as the input are cascaded. , (I = 1, 2, 3, ..., N)
, One input of the 2-1 selector is B i , the other input is B i , the output is Y i , the input of the flip-flop is D i , the output is Q i , and the output of the exclusive OR circuit is P. the n-input of D flip-flop stage shift register a i and Q i + 1 when the 'i + 1, the output Q' representing the i + 1, B i and Q 'i + 1, D i and Y i, D 'i and Q' i, connects Ai and P, enter under test data from the outside to the D '0, the pull-in control signal in common to the selection control terminal of the n 2-1 selectors A PN code check circuit characterized by being connected.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5170497A JPH07118697B2 (en) | 1993-07-09 | 1993-07-09 | PN code inspection circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5170497A JPH07118697B2 (en) | 1993-07-09 | 1993-07-09 | PN code inspection circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0730530A JPH0730530A (en) | 1995-01-31 |
| JPH07118697B2 true JPH07118697B2 (en) | 1995-12-18 |
Family
ID=15906064
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5170497A Expired - Lifetime JPH07118697B2 (en) | 1993-07-09 | 1993-07-09 | PN code inspection circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07118697B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5627533B2 (en) * | 2011-04-18 | 2014-11-19 | 富士通テレコムネットワークス株式会社 | Test apparatus and test method |
-
1993
- 1993-07-09 JP JP5170497A patent/JPH07118697B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0730530A (en) | 1995-01-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7290190B2 (en) | Semiconductor integrated circuit with a test circuit | |
| US6192385B1 (en) | Pseudorandom number generating method and pseudorandom number generator | |
| US5105376A (en) | Linear feedback shift registers | |
| US4913557A (en) | Intergrated logic circuit having testing function circuit formed integrally therewith | |
| TWI521891B (en) | High speed serializer | |
| US5506796A (en) | Digital signal processing circuit selectively operable in either a normal or a pseudorandom noise generative mode | |
| JPH07118697B2 (en) | PN code inspection circuit | |
| JP2833922B2 (en) | PN code inspection circuit | |
| JP2797793B2 (en) | Pseudo random pattern generator | |
| JP3533956B2 (en) | Pseudo random number generator | |
| US6898748B1 (en) | Test circuit method and apparatus | |
| JPH10191098A (en) | Programmable pulse generator | |
| JP2860112B2 (en) | Apparatus and method for transmitting test data for integrated circuit and device test circuit for integrated circuit | |
| JPH0748702B2 (en) | M-sequence code generator | |
| EP0208393A1 (en) | Testing digital integrated circuits | |
| US5767706A (en) | Rate generator | |
| JP2968629B2 (en) | Maximum period sequence code generation circuit | |
| JP3364777B2 (en) | PN pattern generator | |
| KR100434364B1 (en) | Serial adder | |
| KR0164790B1 (en) | Color Format Converter | |
| JPH0394543A (en) | Communication controller | |
| KR100236331B1 (en) | counter | |
| JP2882158B2 (en) | Asynchronous transmission circuit | |
| JP3115756B2 (en) | Demultiplexer circuit | |
| JPH06276248A (en) | Data format converter |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 19960604 |