JP2819955B2 - In-device error monitoring circuit - Google Patents

In-device error monitoring circuit

Info

Publication number
JP2819955B2
JP2819955B2 JP4225443A JP22544392A JP2819955B2 JP 2819955 B2 JP2819955 B2 JP 2819955B2 JP 4225443 A JP4225443 A JP 4225443A JP 22544392 A JP22544392 A JP 22544392A JP 2819955 B2 JP2819955 B2 JP 2819955B2
Authority
JP
Japan
Prior art keywords
data
read
write
circuit
plo
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
Application number
JP4225443A
Other languages
Japanese (ja)
Other versions
JPH0678015A (en
Inventor
真 門脇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP4225443A priority Critical patent/JP2819955B2/en
Publication of JPH0678015A publication Critical patent/JPH0678015A/en
Application granted granted Critical
Publication of JP2819955B2 publication Critical patent/JP2819955B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は装置内誤り監視回路に関
し、特にディジタル伝送を利用する装置内のデータ誤り
を監視する装置内誤り監視回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an in-device error monitoring circuit, and more particularly to an in-device error monitoring circuit for monitoring data errors in a device using digital transmission.

【0002】[0002]

【従来の技術】従来の装置内誤り監視回路は、図3に示
すように、書込みデータ1のパリティを演算し、空きビ
ットにパリティビットを挿入するパリティ演算付加回路
18と、パリティビットを付加された書込みデータを書
込み制御パルス2によって制御し、書込みクロック3に
より入力して読出し制御パルス6によって制御し、読出
しクロック7によって読出しデータ5を出力するエラス
ティックストア4と、読出しデータ5を入力し、パリテ
ィ演算を行い、パリティ演算付加回路18で付加したパ
リティビットと比較してデータの誤り有り、無しを判定
してデータ誤り情報17を出力するパリティ誤り検出回
路19とを備えた構成を有している。
2. Description of the Related Art As shown in FIG. 3, a conventional error monitoring circuit in a device calculates a parity of write data 1 and inserts a parity bit into a vacant bit. The write data is controlled by a write control pulse 2, input by a write clock 3 and controlled by a read control pulse 6, and an elastic store 4 for outputting read data 5 by a read clock 7 and read data 5, A parity error detection circuit 19 that performs a parity operation, determines whether or not there is a data error by comparing with the parity bit added by the parity operation addition circuit 18, and outputs the data error information 17. I have.

【0003】[0003]

【発明が解決しようとする課題】この従来の装置内誤り
監視回路は、データ誤り検出を行うためにパリティ演算
結果を付加する余剰ビットを必要とし、適用範囲が限定
された。
The conventional error monitoring circuit in the apparatus requires a surplus bit for adding a parity operation result in order to detect a data error, and its application range is limited.

【0004】また、パリティを用いた誤り検出方式のた
め、複数ビットの誤りに対しては誤りが検出出来ないと
いう問題点があった。
Further, there is a problem that an error cannot be detected with respect to an error of a plurality of bits because of an error detection system using parity.

【0005】本発明の目的は、上述した問題点を解決
し、データ誤り検出のための余剰ビットを必要とせず、
かつ複数ビットの誤りに対しても確実に誤り検出を行な
うことができる装置内誤り監視回路を提供することにあ
る。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems and eliminate the need for extra bits for data error detection.
It is another object of the present invention to provide an in-device error monitoring circuit capable of reliably performing error detection even for errors of a plurality of bits.

【0006】[0006]

【課題を解決するための手段】本発明の装置内誤り監視
回路は、書込みデータを書込み制御パルスによって制御
して書込みクロックにより入力し、読出しデータを読出
し制御パルスによって制御して読出しクロックによって
出力するとともに、前記書込みクロックと前記読出しク
ロックはPLOによって周波数同期を確保されたデータ
書込み/読出し手段と、前記データ書込み/読出し手段
におけるデータの書込みから読出しまでの遅延時間を検
出する遅延量検出手段と、前記書込み制御パルスと前記
読出し制御パルスを監視し前記PLOの安定/非安定動
作情報を出力するPLO監視手段と、前記書込みデータ
を入力し前記遅延時間の遅延を付与する可変遅延手段
と、前記可変遅延手段の出力データと前記読出しデータ
とを1ビットずつ比較して一致および不一致を確認し不
一致のときはデータ誤り情報を出力するデータ比較手段
と、前記PLOの安定/非安定動作情報を受け安定動作
情報入力時のみ前記データ比較手段から前記データ誤り
情報を出力せしめる出力制御手段とを備えた構成を有す
る。
An error monitoring circuit in a device according to the present invention controls write data by a write control pulse and inputs it by a write clock, and controls read data by a read control pulse and outputs it by a read clock. Data write / read means for securing the frequency synchronization between the write clock and the read clock by PLO; delay amount detection means for detecting a delay time from writing to reading of data in the data write / read means; PLO monitoring means for monitoring the write control pulse and the read control pulse and outputting stable / unstable operation information of the PLO; variable delay means for inputting the write data and providing a delay of the delay time; The output data of the delay means and the read data are compared one bit at a time. A data comparing means for confirming a match and a mismatch and outputting data error information when there is a mismatch, and receiving the stable / unstable operation information of the PLO and receiving the data error information from the data comparing means only when the stable operation information is input. And output control means for outputting.

【0007】[0007]

【実施例】次に、本発明について図面を参照して説明す
る。
Next, the present invention will be described with reference to the drawings.

【0008】図1は、本発明の一実施例の装置内誤り監
視回路の基本的構成を示すブロック図である。
FIG. 1 is a block diagram showing a basic configuration of an in-device error monitoring circuit according to one embodiment of the present invention.

【0009】図1に示す実施例は、データ書込み/読出
し手段としてのエラスティックストア4と、エラスティ
ックストア4におけるデータ書込み制御パルスを読出し
制御パルスの時間軸上の距離測定によりデータ書込みか
ら読出しまでの遅延量を計測する遅延量検出手段として
の遅延量検出回路8と、PLOの同期および非同期状態
を監視するPLO監視手段としてのPLO監視回路9
と、入力する書込みデータにデータ書込みから読出しま
での遅延量を与える可変遅延手段としての可変遅延回路
9と、エラスティックストア4の読出しデータと可変遅
延回路10の出力する遅延データとのビットバイビット
のデータ比較を行ない、一致を見ないときはデータ誤り
情報を出力するデータ比較手段としてのデータ比較回路
14と、PLOが動作非安定状態のときはデータ比較回
路14の出力するデータ誤り情報の出力を抑止する出力
制御手段としての出力制御回路16とを備えた構成を有
する。
In the embodiment shown in FIG. 1, an elastic store 4 as data writing / reading means, a data write control pulse in the elastic store 4 is read, and data writing to reading is performed by measuring a distance of the control pulse on a time axis. And a PLO monitoring circuit 9 as PLO monitoring means for monitoring the synchronous and asynchronous states of the PLO.
A variable delay circuit 9 as a variable delay means for giving a delay amount from data writing to reading to input write data, and a bit-by-bit conversion between read data from the elastic store 4 and delay data output from the variable delay circuit 10. Data comparison circuit 14 as data comparison means for outputting data error information when no match is found, and output of data error information output from data comparison circuit 14 when PLO is in an unstable operation state And an output control circuit 16 as output control means for suppressing the above.

【0010】図2は、本発明の一実施例の装置内誤り監
視回路の具体的構成例を示すブロック図である。
FIG. 2 is a block diagram showing a specific configuration example of the in-device error monitoring circuit according to one embodiment of the present invention.

【0011】図2に示す構成は、図1と同じエラスティ
ックストア4と、図1の遅延量検出回路8を具体的に形
成するPLO20,書込み側フレームカウンタ22,読
出し側フレームカウンタ23と、図1の遅延量検出回路
8に対応する遅延量演算回路21と、図1のPLO監視
回路9を具体的に形成するスリップ検出回路24,フリ
ップフロップ25,26、一致検出回路27およびOR
回路28と、図1と同じ可変遅延回路10、データ比較
回路14および出力制御回路16とを備えた構成を有す
る。
The configuration shown in FIG. 2 includes the same elastic store 4 as in FIG. 1, a PLO 20, a write-side frame counter 22, and a read-side frame counter 23 which specifically form the delay amount detection circuit 8 in FIG. 1, a slip amount calculating circuit 21 corresponding to the delay amount detecting circuit 8, a slip detecting circuit 24, flip-flops 25 and 26, a coincidence detecting circuit 27, and an OR which specifically form the PLO monitoring circuit 9 in FIG.
It has a configuration including a circuit 28 and the same variable delay circuit 10, data comparison circuit 14, and output control circuit 16 as in FIG.

【0012】次に、図2を参照して本実施例の動作につ
いて説明する。
Next, the operation of this embodiment will be described with reference to FIG.

【0013】エラスティックストア4には、書込みデー
タ1が書込み制御パルス2の制御のもとに書込みクロッ
ク3で書き込まれる。
The write data 1 is written into the elastic store 4 by the write clock 3 under the control of the write control pulse 2.

【0014】書込みデータ1は、読出し制御パルス5の
制御のもとに、読出しクロック7により読み出される。
The write data 1 is read by a read clock 7 under the control of a read control pulse 5.

【0015】書込みクロック3と読出しクロック7と
は、PLO20により周波数同期が確保されているた
め、PLO20が安定動作状態では、エラスティックス
トア4のデータ入力からデータ出力までの遅延量は、書
き込みクロック3により動作する書込み側フレームカウ
ンタ22と、読出しクロック7により動作する読出し側
フレームカウンタ23のそれぞれの出力にもとづいて遅
延量演算回路21により算出さた値の固定値となる。
The frequency synchronization between the write clock 3 and the read clock 7 is ensured by the PLO 20. Therefore, when the PLO 20 is in a stable operation state, the delay from the data input to the data output of the elastic store 4 is equal to the write clock 3 , And a fixed value of the value calculated by the delay amount calculating circuit 21 based on the respective outputs of the write-side frame counter 22 operated by the read clock 7 and the read-side frame counter 23 operated by the read clock 7.

【0016】従って、この遅延量を可変遅延回路10に
設定し、エラスティックストア4の入力データを可変遅
延回路10を通して出力されたデータと、エラスティッ
クストア4の出力データとを1ビットずつ、ビットバイ
ビットでデータ比較回路14で比較することにより誤り
検出ができる。
Therefore, this delay amount is set in the variable delay circuit 10, and the input data of the elastic store 4 is converted into the data output through the variable delay circuit 10 and the output data of the elastic store 4 bit by bit. An error can be detected by comparing the data with the data comparison circuit 14 in bibits.

【0017】一方、PLO20が非安定動作状態の場
合、すなわち同期引込み動作中や定常位相誤差の変化中
には、エラスティックストア4のデータ入力からデータ
出力までの遅延量は時時刻刻と変化しており、データ比
較回路14にて正しく誤り検出を行うことができない。
この場合には、出力制御回路16によりデータ誤り情報
17を出力しないように制御する。
On the other hand, when the PLO 20 is in an unstable operation state, that is, during the synchronization pull-in operation or the change of the steady phase error, the delay amount from the data input to the data output of the elastic store 4 changes every hour. Therefore, the data comparison circuit 14 cannot correctly detect an error.
In this case, the output control circuit 16 controls the data error information 17 so as not to be output.

【0018】PLO20の同期引込中状態は、書込み制
御パルス2と読出し制御パルス6の衝突をスリップ検出
に着目してスリップ検出回路24にて監視し、衝突が発
生している時には同期引込中と判断する。
In the state where the PLO 20 is in the pull-in state, the collision between the write control pulse 2 and the read-out control pulse 6 is monitored by the slip detection circuit 24 paying attention to slip detection. I do.

【0019】また、定常位相誤差変化中状態について
は、書込み側フレームカウンタ22と読出し側フレーム
カウンタ23それぞれの出力を遅延量演算回路21で算
出された値が、サンプリングされる連続する2つの時刻
で異なるか否かを、フリップフロップ25,26を通し
た結果について一致検出回路27で検出し、異っていれ
ば、定常位相誤差変化中と判断する。
In the steady phase error changing state, the output of each of the write-side frame counter 22 and the read-side frame counter 23 is changed at two consecutive times when the value calculated by the delay amount calculation circuit 21 is sampled. Whether or not they are different is detected by the coincidence detecting circuit 27 with respect to the result passed through the flip-flops 25 and 26, and if they are different, it is determined that the steady phase error is changing.

【0020】スリップ検出回路24の検出出力および一
致検出回路27の検出出力はいずれもOR回路28に供
給され、いずれか一方の検出出力でも存在すれば出力制
御回路16の制御情報として提供し、データ誤り情報1
76の送出を抑止させる。
The detection output of the slip detection circuit 24 and the detection output of the coincidence detection circuit 27 are both supplied to an OR circuit 28. If any one of the detection outputs is present, the detection output is provided as control information of the output control circuit 16, and Error information 1
76 is suppressed.

【0021】[0021]

【発明の効果】以上説明したように本発明は、エラステ
ィックストアを通した後のデータを1ビットずつビット
バイビットで基準データと比較することにより誤り検出
を行うことにより、パリティビットを付加するための余
剰ビットを必要とせず、また複数ビットの誤りに対して
も確実に誤り検出ができるという効果を有する。
As described above, the present invention adds a parity bit by performing error detection by comparing data after passing through the elastic store bit by bit with reference data bit by bit. No extra bits are required, and an error can be reliably detected even for errors of a plurality of bits.

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

【図1】本発明の一実施例の装置内誤り監視回路の基本
構成を示すブロック図である。
FIG. 1 is a block diagram showing a basic configuration of an error monitoring circuit in a device according to an embodiment of the present invention.

【図2】本発明の一実施例の装置内誤り監視回路の具体
的構成例を示すブロック図である。
FIG. 2 is a block diagram illustrating a specific configuration example of an in-device error monitoring circuit according to one embodiment of the present invention;

【図3】従来の装置内誤り監視回路の構成を示すブロッ
ク図である。
FIG. 3 is a block diagram showing a configuration of a conventional in-device error monitoring circuit.

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

1 書込みデータ 2 書込み制御パルス 3 書込みクロック 4 エラスティックストア 5 読出しデータ 6 読出し制御パス 7 読出しクロック 8 遅延量検出回路 9 PLO監視回路 10 可変遅延回路 11 遅延量情報 12 PLO安定/非安定動作情報 13 遅延データ 14 データ比較回路 15 データ誤り生情報 16 出力制御回路 17 データ誤り情報 18 パリティ演算付加回路 19 パリティ誤り検出回路 20 PLO 21 遅延量演算回路 22 書込み側フレームカウンタ 23 読出し側フレームカウンタ 24 スリップ検出回路 25 フリップフロップ 26 フリップフロップ 27 一致検出回路 28 OR回路 29 不一致情報 DESCRIPTION OF SYMBOLS 1 Write data 2 Write control pulse 3 Write clock 4 Elastic store 5 Read data 6 Read control path 7 Read clock 8 Delay amount detection circuit 9 PLO monitoring circuit 10 Variable delay circuit 11 Delay amount information 12 PLO stable / unstable operation information 13 Delayed data 14 Data comparison circuit 15 Data error raw information 16 Output control circuit 17 Data error information 18 Parity calculation addition circuit 19 Parity error detection circuit 20 PLO 21 Delay amount calculation circuit 22 Write-side frame counter 23 Read-side frame counter 24 Slip detection circuit 25 Flip-flop 26 Flip-flop 27 Match detection circuit 28 OR circuit 29 Mismatch information

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 書込みデータを書込み制御パルスによっ
て制御して書込みクロックにより入力し、読出しデータ
を読出し制御パルスによって制御して読出しクロックに
よって出力するとともに、前記書込みクロックと前記読
出しクロックはPLOによって周波数同期を確保された
データ書込み/読出し手段と、前記データ書込み/読出
し手段におけるデータの書込みから読出しまでの遅延時
間を検出する遅延量検出手段と、前記書込み制御パルス
と前記読出し制御パルスを監視し前記PLOの安定/非
安定動作情報を出力するPLO監視手段と、前記書込み
データを入力し前記遅延時間の遅延を付与する可変遅延
手段と、前記可変遅延手段の出力データと前記読出しデ
ータとを1ビットずつ比較して一致および不一致を確認
し不一致のときはデータ誤り情報を出力するデータ比較
手段と、前記PLOの安定/非安定動作情報を受け安定
動作情報入力時のみ前記データ比較手段から前記データ
誤り情報を出力せしめる出力制御手段とを備えることを
特徴とする装置内誤り監視回路。
A write data is controlled by a write control pulse and input by a write clock, read data is controlled by a read control pulse and output by a read clock, and the write clock and the read clock are frequency synchronized by a PLO. Data writing / reading means, a delay amount detecting means for detecting a delay time from writing to reading of data in the data writing / reading means, and monitoring the write control pulse and the read control pulse and controlling the PLO. PLO monitoring means for outputting stable / unstable operation information, variable delay means for inputting the write data and providing a delay of the delay time, and outputting data of the variable delay means and the read data one bit at a time. Compare and check for matches and mismatches. Data comparison means for outputting data error information, and output control means for receiving the stable / unstable operation information of the PLO and outputting the data error information from the data comparison means only when stable operation information is input. In-device error monitoring circuit.
JP4225443A 1992-08-25 1992-08-25 In-device error monitoring circuit Expired - Lifetime JP2819955B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4225443A JP2819955B2 (en) 1992-08-25 1992-08-25 In-device error monitoring circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4225443A JP2819955B2 (en) 1992-08-25 1992-08-25 In-device error monitoring circuit

Publications (2)

Publication Number Publication Date
JPH0678015A JPH0678015A (en) 1994-03-18
JP2819955B2 true JP2819955B2 (en) 1998-11-05

Family

ID=16829445

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4225443A Expired - Lifetime JP2819955B2 (en) 1992-08-25 1992-08-25 In-device error monitoring circuit

Country Status (1)

Country Link
JP (1) JP2819955B2 (en)

Also Published As

Publication number Publication date
JPH0678015A (en) 1994-03-18

Similar Documents

Publication Publication Date Title
US11061432B2 (en) Data handoff between two clock domains sharing a fundamental beat
US4425646A (en) Input data synchronizing circuit
US7724669B2 (en) High speed bus with flow control and extended burst enhancements
US4835728A (en) Deterministic clock control apparatus for a data processing system
US7546480B1 (en) High speed bus with alignment, re-timing and buffer underflow/overflow detection enhancements
CA1090888A (en) Data buffer retiming circuit
JP2641276B2 (en) Two-stage synchronizer
JP2819955B2 (en) In-device error monitoring circuit
JPWO2008152755A1 (en) Timing recovery circuit, communication node, network system, and electronic device
JPS6386630A (en) Frame synchronization system in parallel transmission line
JPH0431211B2 (en)
US7752506B1 (en) FIFO memory error circuit and method
JPH03171945A (en) Digital system
JPH04178047A (en) Skew compensation system
US4212038A (en) Double density read recovery
JP2783495B2 (en) Clock transfer circuit
JPH04326219A (en) Pointer processing circuit
KR0172459B1 (en) Method and device for reproducing clock signal
JPS60200631A (en) Code error detecting circuit
JPH08139711A (en) Receiver circuit for asynchronous data
JP2560516B2 (en) Digital signal processor
US6260153B1 (en) Automatic compensation circuit for no margin input data
JPH08138369A (en) Memory control circuit
JP2864779B2 (en) Pulse input circuit
JP2001016190A (en) Digital data processor

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: 19980728