JPH03183229A - Synchronization error generation circuit - Google Patents

Synchronization error generation circuit

Info

Publication number
JPH03183229A
JPH03183229A JP1322964A JP32296489A JPH03183229A JP H03183229 A JPH03183229 A JP H03183229A JP 1322964 A JP1322964 A JP 1322964A JP 32296489 A JP32296489 A JP 32296489A JP H03183229 A JPH03183229 A JP H03183229A
Authority
JP
Japan
Prior art keywords
error
transmission line
bits
clock
bit
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
JP1322964A
Other languages
Japanese (ja)
Inventor
Toshihiro Azuma
東 敏博
Kazutaka Uozumi
魚住 一貴
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1322964A priority Critical patent/JPH03183229A/en
Publication of JPH03183229A publication Critical patent/JPH03183229A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To surely generate the set number of error bits by converting an error bit generating instruction synchronizing with a processor clock into the instruction synchronizing with a transmission line clock, and afterwards, generating an error bit setting pulse by delaying the instruction by two bits portion of the transmission line clock, and taking an exclusive OR with transmission line data. CONSTITUTION:Flip flops 21, 22 and a latch circuit 23 are the constituent part of a clock switching part 2, and the flip flops 31, 32, 34 and an EX-OR gate 33 are the constituent part of an error bit generating part 3. The error bit generating instruction synchronizing with the processor clock is converted into the instruction synchronizing with the transmission line clock by the clock switching part 2. Then, at the error bit generating part 3, after the error bit generating instruction synchronizing with the transmission line clock is delayed, and the error bit setting pulse is obtained, the check bits which are in-phase with a specified data bit are generated by the designated number of bits by taking the exclusive OR of this error bits setting pulse and the transmission line data, and are sent as the error bits. Thus, the set number of the error bits are surely generated.

Description

【発明の詳細な説明】 〔概要〕 nB1C符号を使用する機器の同期保護機能を試験する
際に使用される同期誤り発生回路に関し、設定した個数
の誤りビットが確実に生成される様にすることを目的と
し、 伝送路クロックに同期したデータビットnビット毎に該
nビット内の特定データビットを反転したチェックビッ
トを該nビットに付加するnBlc符号を用いてデータ
伝送すると共に、該反転したチェックビットを用いて(
n+1)ビットの同期保護を行う伝送方式において、入
力する誤りビット発生命令を該伝送路クロックに同期さ
せるクロック乗換部分と該クロック乗換部分の出力を、
該伝送路クロックを用いて同期保護段数分だけ遅延させ
て誤りビット数設定パルスを得た後、該誤りビット数設
定パルスと該特定データビットとを用いて設定されたビ
ット数だけ該特定データビットと同相の誤りビットを生
成する誤りビット生成部分とを有する様に構成する。
[Detailed Description of the Invention] [Summary] To ensure that a set number of error bits are generated in a synchronization error generation circuit used when testing the synchronization protection function of equipment using nB1C codes. With the purpose of Using bits (
In a transmission system that performs synchronization protection for n+1) bits, a clock transfer section synchronizes an input error bit generation command with the transmission line clock, and an output of the clock transfer section,
After obtaining the error bit number setting pulse by delaying it by the number of synchronization protection stages using the transmission line clock, the specific data bit is set by the set number of bits using the error bit number setting pulse and the specific data bit. and an error bit generation section that generates error bits in phase with the error bits.

〔産業上の利用分野〕[Industrial application field]

本発明はnBlc符号を使用する機器の同期保護機能を
試験する際に使用される同期誤り発生回路に関するもの
である。
The present invention relates to a synchronization error generation circuit used when testing the synchronization protection function of equipment using nBlc codes.

例えば、伝送速度100 Mb/s以上のLANを用い
て8ビツトのデータを伝送する際に88IC符号を用い
る場合がある。
For example, when transmitting 8-bit data using a LAN with a transmission speed of 100 Mb/s or more, the 88IC code is sometimes used.

この8BIC符号は8ビツト目のデータを反転させたも
のを、チェックビットとして9ビツト目に付加すること
により、データのマーク率を1/8以上に確保する為の
ものであるが、9ビツト目のチェックビットを用いて同
期保護(以下、この保護をワード同期と云う)を取るこ
とが可能である。
This 8BIC code inverts the data of the 8th bit and adds it to the 9th bit as a check bit to ensure the mark rate of the data is 1/8 or more. It is possible to take synchronization protection (hereinafter, this protection is referred to as word synchronization) using the check bit of .

ここで、通常使用される同期保護はフレーム同期保護の
みであるが、伝送路の品質向上の為には上記のワード同
期は有益である。
Here, the synchronization protection normally used is only frame synchronization protection, but the above-mentioned word synchronization is useful for improving the quality of the transmission path.

何故なら、フレーム同期の場合にはエフレームに含まれ
るビット数が多く、中心付近でビット誤りが発生しても
、フレーム同期パターンに影響を与えなければこの誤り
は判らない。
This is because, in the case of frame synchronization, the number of bits included in an e-frame is large, and even if a bit error occurs near the center, this error will not be noticed unless it affects the frame synchronization pattern.

しかし、ワード同期の場合には(8+1)ビット毎に同
期外れを見ているので、ビット誤りが発生すれば上記の
フレーム同期の場合よりも速く判り、迅速な対応が可能
となる。
However, in the case of word synchronization, out-of-synchronization is detected every (8+1) bits, so if a bit error occurs, it can be detected more quickly than in the case of frame synchronization, and a prompt response can be taken.

さて、ワード同期保護回路が正常に機能するか否かを同
期を外して同期保護機能の確認をする必要があるが、こ
の時、設定した個数の誤りビットが確実に生成される様
にすることが必要である。
Now, it is necessary to remove the synchronization and check the synchronization protection function to see if the word synchronization protection circuit is functioning properly. At this time, it is necessary to ensure that the set number of error bits are generated. is necessary.

〔従来の技術〕[Conventional technology]

第4図は従来例のブロック図、第5図は第4図の動作説
明図を示す。
FIG. 4 is a block diagram of a conventional example, and FIG. 5 is an explanatory diagram of the operation of FIG. 4.

ここで、第4図中の伝送路データ0〜6については1つ
の伝送路データで代表させている。また。
Here, transmission line data 0 to 6 in FIG. 4 are represented by one transmission line data. Also.

第5図中の左側の符号は第4図中の同じ符号の部分の波
形を示す。
The symbols on the left side of FIG. 5 indicate the waveforms of the portions with the same symbols in FIG.

以下、前方保護段数は2段として、第5図を参照して第
4図の動作を説明する。
Hereinafter, the operation of FIG. 4 will be explained with reference to FIG. 5, assuming that the number of forward protection stages is two.

先ず、入力する伝送路データO〜6と7はそれぞれ対応
するフリップフロップ(以下、 FFと省略する)11
.12で、伝送路クロックを用いて打ち抜かれて出力デ
ータ0〜6と出力データ7として送出される(第5図−
■、■、■参照:伝送路データ7のみ)。
First, the input transmission line data O to 6 and 7 are input to the corresponding flip-flops (hereinafter abbreviated as FF) 11.
.. 12, the data is punched out using the transmission line clock and sent out as output data 0 to 6 and output data 7 (Fig.
(See ■, ■, ■: Transmission path data 7 only).

次に9図示しないプロセッサから誤りビット発生命令が
入力すると、 FF 13で伝送路クロックと非同期の
プロセッサ・クロックを用いて打ち抜き。
Next, when an error bit generation command is input from a processor (not shown) in 9, the FF 13 punches out using a processor clock that is asynchronous to the transmission line clock.

反転出力を取り出し、 EX−ORゲート14に送出す
る(第5図−■、■、■参照)。
The inverted output is taken out and sent to the EX-OR gate 14 (see Figure 5 - ■, ■, ■).

一方、ここには伝送路データ7も加えられているので、
2つのデータの排他的論理和をとると第5図−■に示す
様な出力が得られ、更に、FF 15で伝送路クロック
を用いて打ち抜くと第5図−■に示す様な出力データ8
(チェックビット)が得られる。
On the other hand, transmission line data 7 is also added here, so
By taking the exclusive OR of the two data, an output as shown in Figure 5-■ is obtained, and when further punched out using the transmission line clock by FF 15, output data 8 as shown in Figure 5-■ is obtained.
(check bit) is obtained.

即ち、 8BIC符号として出力データ8は出力データ
7を反転したビットになっているが(第5図−■、■の
A、 B以外参照)、誤りビット発生指令により第5図
−■、■のA、 Bに示す様に、前方保護膜数分だけ同
相ビット(誤りビット)を発生する。
That is, as an 8BIC code, output data 8 is a bit obtained by inverting output data 7 (see other than A and B in Figure 5-■ and ■), but due to the error bit generation command, the bits in Figure 5-■ and ■ are inverted. As shown in A and B, as many in-phase bits (erroneous bits) as there are front protective films are generated.

これにより、前方保護に入っている同期保護回路(図示
せず)は同期外れが2回連続して発生するので前方保護
が外れて非同期状態になる。
As a result, the synchronization protection circuit (not shown) in the forward protection mode loses synchronization twice in a row, so the forward protection is removed and the circuit goes into an asynchronous state.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記の様に、前方保護2段の同期保護を外す為には、第
5図−■、■のA、 Bに示す様に出力データ7と8の
2ビツトの状態を同じにしなければならない。
As mentioned above, in order to remove the synchronization protection of the two stages of forward protection, the states of the two bits of output data 7 and 8 must be made the same, as shown in A and B in Figure 5--.

しかし、プロセッサ・クロックと伝送路クロックとが非
同期の為、設定した個数の誤りビットが確実に発生する
とは限らないと云う問題がある。
However, since the processor clock and the transmission line clock are asynchronous, there is a problem in that the set number of error bits is not guaranteed to occur.

この為、不定回数だけ同期が外れる可能性があり、同期
外れの状態になった時にプロセッサからの命令で強制的
に同期保護を外したのか、伝送路で生じた誤りの為に同
期保護が外れたのかの判別が困難であった。
For this reason, there is a possibility that the synchronization will be lost an indefinite number of times, and when the synchronization becomes out of synchronization, the synchronization protection may be forcibly removed by a command from the processor, or the synchronization protection may be removed due to an error that occurred in the transmission path. It was difficult to determine whether

本発明は設定した個数の誤りビットが確実に生成される
様にすることを目的とする。
An object of the present invention is to ensure that a set number of error bits are generated.

〔課題を解決する為の手段〕[Means to solve problems]

第1図は本発明の原理ブロック図を示す。 FIG. 1 shows a block diagram of the principle of the present invention.

図中、2は入力する誤りビット発生命令を該伝送路クロ
ックに同期させるクロック乗換部分で、3は該クロック
乗換部分の出力を、該伝送路クロックを用いて同期保護
膜数分だけ遅延させて誤りビット数設定パルスを得た後
、該誤りビット数設定パルスと該特定データビットとを
用いて設定されたビット数だけ該特定データビットと同
相の誤りビットを生成する誤りビット生成部分である。
In the figure, 2 is a clock transfer part that synchronizes the input error bit generation command with the transmission line clock, and 3 is a clock transfer part that delays the output of the clock transfer part by the number of synchronization protection films using the transmission line clock. After obtaining the error bit number setting pulse, the error bit generation part generates error bits having the same phase as the specific data bit by the set number of bits using the error bit number setting pulse and the specific data bit.

〔作用〕[Effect]

本発明はクロック乗換回路でプロセッサ・クロックに同
期した誤りビット発生命令を伝送路クロックに同期した
命令に変換する。
The present invention uses a clock transfer circuit to convert an error bit generating instruction synchronized with a processor clock into an instruction synchronized with a transmission line clock.

そして、誤りビット生成部分において、伝送路クロック
に同期した誤りビット発生命令を遅延させて誤りビット
設定パルスを得た後、この誤りビット設定パルスと伝送
路データとの排他的論理和を取って指定されたビット数
だけ特定データビットと同相のチェックビットを生成し
て誤りビットとして送出する。
In the error bit generation section, the error bit generation command synchronized with the transmission line clock is delayed to obtain an error bit setting pulse, and then the error bit setting pulse and the transmission line data are exclusive-ORed and specified. Check bits having the same phase as the specified data bit are generated and sent as error bits.

これにより、設定した個数の誤りビットが確実に生成さ
れる。
This ensures that the set number of error bits are generated.

〔実施例〕〔Example〕

第2図は本発明の実施例のブロック図、第3図は第2図
の動作説明図を示す。
FIG. 2 is a block diagram of an embodiment of the present invention, and FIG. 3 is an explanatory diagram of the operation of FIG. 2.

尚、第2図中の伝送路データO〜6については1つの伝
送路データで代表させており、第3図中の左側の符号は
第2図中の同じ符号の部分の波形を示す。また、全図を
通じて同一符号は同一対象物を示す。
The transmission line data O to 6 in FIG. 2 are represented by one transmission line data, and the symbols on the left side of FIG. 3 indicate the waveforms of the portions with the same symbols in FIG. 2. Also, the same reference numerals indicate the same objects throughout the figures.

ここで、フリップ70ツブ21.22.ラッチ回路23
はクロック乗換部分2の構成部分、フリップフロップ3
1.32.34. BX−ORゲート33は誤りビット
生成部分の構成部分である。
Here, flip 70 knobs 21.22. Latch circuit 23
is a component of clock transfer section 2, flip-flop 3
1.32.34. The BX-OR gate 33 is a component of the error bit generation section.

以下、前方保護2段として第3図を参照して第2図の動
作を説明する。
Hereinafter, the operation shown in FIG. 2 will be explained with reference to FIG. 3 as the second stage of front protection.

先ず、入力する伝送路データ0〜6と7はそれぞれ対応
するフリップフロップFF 11.12で、伝送路クロ
ックを用いて打ち抜かれて出力データO〜6と出力デー
タ7として送出される(第3図−■、■、[相]参照:
伝送路データ7のみ)。
First, the input transmission line data 0 to 6 and 7 are punched out by the corresponding flip-flops FF 11 and 12 using the transmission line clock and sent out as output data 0 to 6 and output data 7 (Fig. 3). −■, ■, [phase] Reference:
transmission path data 7 only).

次に9図示しないプロセッサからの誤りビット発生命令
が入力するとFF 21でプロセッサ・クロック1ピツ
ト分、遅延して遅延出力が得られる。
Next, when an error bit generation command is input from a processor (not shown), the FF 21 delays by one pit of the processor clock and obtains a delayed output.

このFF 21の出力は更に、FF22でプロセッサ・
クロック1ピツト分、遅延された後7反転されて反転出
力がFF21のリセット端子とラッチ回路23の端子S
に加えられる(第3図−■、■参照)。
The output of this FF 21 is further processed by the processor in FF 22.
The clock is delayed by 1 pit, then inverted by 7, and the inverted output is sent to the reset terminal of the FF 21 and the terminal S of the latch circuit 23.
(See Figure 3 - ■, ■).

そこで、 FF 21はリセットされると共に、ラッチ
回路23から第3図〜■に示す様な伝送路クロックに乗
り換えられた誤りビット発生命令が取り出されてFF3
1に加えられる(第3図−■、■、参照)。
Therefore, the FF 21 is reset, and the error bit generation instruction transferred to the transmission line clock as shown in FIGS.
1 (see Figure 3 - ■, ■).

この誤りビット発生命令はFF 31. FF 32の
FF2段(前方保護段数に等しい)で伝送路クロック2
クロツク分、遅延した後、第3図−■に示す様なFF 
32の反転出力かラッチ回路の端子RとEX−ORゲー
ト33に加えられる。
This error bit generation instruction is FF31. Transmission line clock 2 with 32 FF 2 stages (equal to the number of forward protection stages)
After a delay of one clock, the FF as shown in Figure 3-■
The inverted output of 32 is applied to terminal R of the latch circuit and EX-OR gate 33.

そこで、ラッチ回路23はリセットされてLレベルの出
力になるが、これによりプロセッサからの1回の命令に
対して1回だけ同期保護を外すことになる。
Therefore, the latch circuit 23 is reset and outputs an L level, but as a result, the synchronization protection is removed only once for each command from the processor.

また、EX−ORゲート33には第3図−■に示す伝送
路データも加えられているので、2つの信号の排他的論
理和か取られた後、更にFF 34で伝送路クロックエ
ビ11分、遅延した後、第3図−0にに示す様な出力が
出力データ8として取り出される。
In addition, since the transmission line data shown in Figure 3-■ is also added to the EX-OR gate 33, after the exclusive OR of the two signals is taken, the FF 34 further outputs the transmission line clock data for 11 minutes. , the output as shown in FIG. 3-0 is taken out as output data 8.

ここで、第3図−[相]、■に示す出力データ7と出力
データ8とを比較すると、 A、 Hの部分が同相にな
って2ビツトの誤りビットが発生している。
Here, when comparing the output data 7 and the output data 8 shown in FIG. 3-[Phase], (2), it is found that the A and H portions are in the same phase and two error bits occur.

即ち、プロセッサ・クロックに同期した誤りビット発生
命令を伝送路クロックに同期した命令に変換した後、こ
の命令を伝送路クロツク2ビツト分遅延させて誤りビッ
ト設定パルスを生成する。
That is, after converting an error bit generation instruction synchronized with the processor clock into an instruction synchronized with the transmission line clock, this instruction is delayed by two bits of the transmission line clock to generate an error bit setting pulse.

そして、この設定パルスと伝送路データとの排他的論理
和を取ることにより、設定した個数の誤りビットが確実
に生成される。
Then, by taking the exclusive OR of this setting pulse and the transmission line data, a set number of error bits are reliably generated.

尚、保護段数が3段の場合にはFF 31.32のFF
2段を3段にすればよい。
In addition, when the number of protection stages is 3, FF 31.32 FF
You can change the 2 tiers to 3 tiers.

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明した様に本発明によれば、設定した個数
の誤りビットが確実に生成されると云う効果がある。
As described in detail above, according to the present invention, there is an effect that a set number of error bits are reliably generated.

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

第1図は本発明の原理ブロック図、 第2図は本発明の実施例のブロック図、第3図は第2図
の動作説明図、 第4図は従来例のブロック図、 第5図は第4図の動作説明図を示す。 図において、 2はクロック乗換部分、 3は誤りビット生成部分を示す。
Fig. 1 is a block diagram of the principle of the present invention, Fig. 2 is a block diagram of an embodiment of the invention, Fig. 3 is an explanatory diagram of the operation of Fig. 2, Fig. 4 is a block diagram of a conventional example, and Fig. 5 is a block diagram of an embodiment of the present invention. The operation explanatory diagram of FIG. 4 is shown. In the figure, 2 indicates a clock transfer section, and 3 indicates an error bit generation section.

Claims (1)

【特許請求の範囲】 伝送路クロックに同期したデータビットnビット(nは
正の整数)毎に該nビット内の特定データビットを反転
したチェックビットを該nビットに付加するnB1C符
号を用いてデータ伝送すると共に、該反転したチェック
ビットを用いて(n+1)ビットの同期保護を行う伝送
方式において、入力する誤りビット発生命令を該伝送路
クロックに同期させるクロック乗換部分(2)と 該クロック乗換部分の出力を、該伝送路クロックを用い
て同期保護段数分だけ遅延させて誤りビット数設定パル
スを得た後、 該誤りビット数設定パルスと該特定データビットとを用
いて設定されたビット数だけ該特定データビットと同相
の誤りビットを生成する誤りビット生成部分(3)とを
有することを特徴とする同期誤り発生回路。
[Claims] Using an nB1C code that adds a check bit, which is an inversion of a specific data bit within the n bits, to every n data bits (n is a positive integer) synchronized with the transmission line clock. In a transmission method that transmits data and protects the synchronization of (n+1) bits using the inverted check bit, a clock transfer part (2) that synchronizes the input error bit generation command with the transmission line clock and the clock transfer After obtaining the error bit number setting pulse by delaying the output of the part by the number of synchronization protection stages using the transmission line clock, the bit number set using the error bit number setting pulse and the specific data bit. 1. A synchronous error generation circuit comprising: an error bit generation section (3) that generates an error bit that is in phase with the specific data bit.
JP1322964A 1989-12-12 1989-12-12 Synchronization error generation circuit Pending JPH03183229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1322964A JPH03183229A (en) 1989-12-12 1989-12-12 Synchronization error generation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1322964A JPH03183229A (en) 1989-12-12 1989-12-12 Synchronization error generation circuit

Publications (1)

Publication Number Publication Date
JPH03183229A true JPH03183229A (en) 1991-08-09

Family

ID=18149614

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1322964A Pending JPH03183229A (en) 1989-12-12 1989-12-12 Synchronization error generation circuit

Country Status (1)

Country Link
JP (1) JPH03183229A (en)

Similar Documents

Publication Publication Date Title
JPH0637746A (en) Frame synchronization control system
JPH03183229A (en) Synchronization error generation circuit
JPS6229239A (en) Frame synchronizing system in cyclic information transmitter
JPH03291033A (en) Sum decoding circuit
US4818894A (en) Method and apparatus for obtaining high frequency resolution of a low frequency signal
JP3033543B2 (en) Frame synchronization circuit
JPS63116537A (en) Synchronization protecting circuit
JPH0531973B2 (en)
JP3990064B2 (en) Path monitoring method and path monitoring circuit
JPH03110945A (en) Burst signal regenerative repeater
JP2769530B2 (en) Bit phase synchronization circuit
JPH09139730A (en) Elastic storage device
JP2611722B2 (en) Error flag output circuit
JPH05145532A (en) Clock transfer system
JPH0720087B2 (en) Frame synchronization circuit
JPH0220937A (en) Synchronous detecting circuit
JPH05304522A (en) Synchronization detection controller
JPH0467819B2 (en)
JPH05136774A (en) Clock transfer circuit
JPH11187006A (en) Pcm digital communication equipment
JPH0379129A (en) Syndrome calculation system
JP2000134065A (en) Tentative hold circuit
JPS63227232A (en) Frame synchronizing circuit
JPH01205643A (en) Frame synchronizing circuit
JPH0766731A (en) Cmi encoding/decoding circuit