JPH07226661A - Hazard removal circuit - Google Patents
Hazard removal circuitInfo
- Publication number
- JPH07226661A JPH07226661A JP6018761A JP1876194A JPH07226661A JP H07226661 A JPH07226661 A JP H07226661A JP 6018761 A JP6018761 A JP 6018761A JP 1876194 A JP1876194 A JP 1876194A JP H07226661 A JPH07226661 A JP H07226661A
- Authority
- JP
- Japan
- Prior art keywords
- alm
- output
- input
- data
- hazard
- 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.)
- Withdrawn
Links
- 230000008030 elimination Effects 0.000 claims abstract description 19
- 238000003379 elimination reaction Methods 0.000 claims abstract description 19
- 230000001934 delay Effects 0.000 claims abstract 3
- 238000005070 sampling Methods 0.000 claims description 17
- 238000003708 edge detection Methods 0.000 claims description 8
- 230000000630 rising effect Effects 0.000 claims description 6
- 230000003111 delayed effect Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 19
- 239000003990 capacitor Substances 0.000 description 3
- 239000000470 constituent Substances 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Manipulation Of Pulses (AREA)
- Electronic Switches (AREA)
Abstract
(57)【要約】
【目的】 2入力1出力のスイッチ等の入力側で必要デ
ータの中に発生した不要なハザードを、スイッチの出力
側で除去するハザード除去回路に関し、入力側で色々な
形態で発生したハザードを含むデータから出力側で該ハ
ザードを確実に而も簡単な構成で除去できるハザード除
去回路の実現を目的とする。
【構成】 入力の不要なハザードを含むデータ(AL
M)を D入力として入力し,同時入力のクロック(CL
K)により Q出力として出力データ(ALM 1) を得るフリ
ップフロップFF (3)と、該出力データ(ALM 1) と,該出
力データ(ALM 1) を入力し前記入力クロック(CLK)
により1クロックづつnクロック分だけ遅らせ出力する
n段フリップフロップFF(17)の出力との論理積(AND)を
取るハザード除去部(6)とを具え、該ハザード除去部(6)
の出力(ALM 4) を其の出力データとするように構成す
る。
(57) [Abstract] [Purpose] A hazard elimination circuit that eliminates unnecessary hazards generated in the necessary data on the input side of a 2-input 1-output switch, etc. on the output side of the switch, and various forms on the input side. It is an object of the present invention to realize a hazard removal circuit that can reliably remove the hazard on the output side from the data including the hazard generated in 1. [Structure] Data containing hazards that do not require input (AL
M) is input as D input and the clock of simultaneous input (CL
The flip-flop FF (3) for obtaining the output data (ALM 1) as the Q output by K), the output data (ALM 1) and the output data (ALM 1) are input and the input clock (CLK) is input.
And a hazard removing unit (6) that takes a logical product (AND) with the output of the n-stage flip-flop FF (17) that delays and outputs one clock by n clocks.
Configure the output of (ALM 4) as its output data.
Description
【0001】[0001]
【産業上の利用分野】本発明は、入力の例えば現用系,
予備系の2系統のデータとクロックをスイッチで切り替
える際に、入力の現用クロックが断になるとアラームAL
M M を選択して送出し, 予備クロックが断になるとアラ
ームALM P を選択して送出するような2入力 1出力の選
択動作をするスイッチ等の動作に係り、特に其の入力側
におけるデータとクロックの干渉や装置パネルの引き抜
き等の原因により発生して,出力側データ( ALM M又は
ALM Pであって, ALMと表す)の不特定部分に発生す
る不要な誤りパルス(通称ヒゲと呼ばれる)である所謂
ハザードを、出力側データ(ALM)から除去してハザ
ードの無い出力データを得るハザード除去回路に関す
る。BACKGROUND OF THE INVENTION The present invention relates to an input system such as an active system,
When switching the data and clock of the two systems of the standby system with a switch, alarm AL will be issued if the input working clock is cut
It relates to the operation of a switch, etc., which selects 2-input and 1-output, such as selecting and sending MM and sending and selecting alarm ALM P when the standby clock is cut off, especially the data and clock on the input side. This is caused by interference with the device or pulling out of the device panel, and the output side data (ALM M or
The so-called hazard, which is an unnecessary error pulse (commonly called beard) that occurs in an unspecified part of ALM P, which is represented by ALM, is removed from the output side data (ALM) to obtain output data without a hazard. The present invention relates to a hazard elimination circuit.
【0002】ハザード除去回路としては、前記スイッチ
等の入力側にて必要データの中に色々な形態で発生した
不要なハザードを、出力側でデータから確実に而も簡単
に除去できることが望まれている。As a hazard elimination circuit, it is desired that unnecessary hazards generated in various forms in necessary data on the input side of the switch can be surely and easily eliminated from the data on the output side. There is.
【0003】[0003]
【従来の技術】従来のハザード除去回路は、図7に示す
如く、前記2入力1出力のスイッチ等の入力側で発生し
たハザードを含むデータであるアラームALMを入力
し、其の入力ALMを直列抵抗Rと負側- が接地のコン
デンサCとから成る時定数CRを持つ低域フィルタ(31)
を通して、ハザードの立ち上がり立ち下がりで発生する
高周波成分を其のコンデンサCで接地へパスすることに
より、ハザードを除去し出力データとしていたが、此の
従来のハザード除去方法は、入力側で発生したハザード
の時間幅が短い場合には、短い時定数の低域フィルタ(3
1)を用いる事により効率良く除去できるが、ハザードの
時間幅が長い場合には、長い時定数の低域フィルタ(31)
を用いるので、其のハザードの出力波形が鈍ってしま
い、出力側で其のハザードを充分に除去することが出来
ないのが実情であった。2. Description of the Related Art As shown in FIG. 7, a conventional hazard elimination circuit inputs an alarm ALM, which is data including a hazard generated on the input side of the switch having two inputs and one output, and inputs the input ALM in series. A low-pass filter (31) having a time constant CR consisting of a resistor R and a capacitor C whose negative side is grounded
The high-frequency component generated at the rise and fall of the hazard is removed by the capacitor C to the ground to remove the hazard and use it as the output data. However, this conventional hazard elimination method uses the hazard generated at the input side. When the time width of is short, the low-pass filter (3
It can be removed efficiently by using 1), but when the hazard time width is long, a low-pass filter with a long time constant (31)
However, since the output waveform of that hazard is blunted, the actual situation is that the hazard cannot be sufficiently removed on the output side.
【0004】[0004]
【発明が解決しようとする課題】上記の如く、従来のハ
ザード除去回路である低域フィルタ(31)のパスコンデン
サCによりハザードを除去する方法は、入力側で色々の
形態で発生したハザードを充分に除去するという点では
問題があった。本発明の目的は、2入力1出力のスイッ
チ等の入力側で、ハザードがランダムに発生した場
合,ハザードが定期的に発生した場合、ハザードが
一定時間だけバースト状に発生した場合に、其の出力側
にて、確実で而も簡単な構成により、それ等のハザード
を含むデータ(ALM)から不要なハザードを除去する
ことが出来るハザード除去回路を提供することにある。As described above, the conventional method of removing a hazard by the pass capacitor C of the low pass filter (31) which is a hazard removing circuit is effective in eliminating hazards generated in various forms on the input side. There was a problem in removing it. An object of the present invention is to provide an input side, such as a switch with two inputs and one output, when a hazard occurs randomly, when a hazard occurs regularly, or when a hazard occurs in a burst for a certain time. An object of the present invention is to provide a hazard elimination circuit capable of eliminating unnecessary hazards from data (ALM) including such hazards on the output side with a reliable and simple configuration.
【0005】[0005]
【課題を解決するための手段】この目的達成のための本
発明のハザード除去回路のうち、2入力 1出力のスイッ
チ等の入力側でハザードがランダムに発生した場合の
出力側データ(ALM)に対する請求項1のハザード除
去回路の基本構成は、図1の原理図に示す如く、入力の
不要なハザードを含むデータ(ALM)を D入力として
入力し,同時入力のクロック(CLK)により, Q出力
として出力データ(ALM 1) を得るフリップフロップFF
(3)と、該出力データ(ALM 1) と, 該出力データ(ALM 1)
を入力し前記入力クロック(CLK)により1クロッ
クづつnクロック分だけ遅らせて出力するn段フリップ
フロップFF(17)の出力との論理積(AND)を取るハザード
除去部(6)とを具え、該ハザード除去部(6)の出力(ALM
4) を其の出力データとする様にハザード除去回路を構
成する。次に、入力側のハザードが定期的に発生した
場合の出力のハザードを含むデータ(ALM)に対する
請求項2のハザード除去回路の基本構成は、図1の原理
図に示す如く、該ハザードが含まれたデータ(ALM)
を入力し,同時入力のクロック(CLK)をアトランダ
ムに変化させるPN発生部(1) の出力の PN パターン化
されたクロック(CLK1)により,Q 出力として出力データ
(ALM 2) を得るフリップフロップFF(4) と、該出力デー
タ(ALM 2) と, 該出力データ(ALM2)を入力し前記クロッ
ク(CLK)により1クロックづつnクロック分だけ遅
らせて出力するn段フリップフロップFF(17)の出力との
論理積(AND,18)を取るハザード除去部(6) とを具え、該
ハザード除去部(6)の出力(ALM 4) を其の出力データと
する様に構成する。次に、入力側でハザードが一定時
間だけバースト状に発生する場合の出力データ(AL
M)に対する請求項3のハザード除去回路の基本構成
は、図1の原理図に示す如く、該ハザードを含むデータ
(ALM)を入力し,前記PN発生部(1) の出力クロッ
ク(CLK1)の周波数を更に1/n に分周するn分周発生部
(2) の出力クロック(CLK2)により,Q 出力として出力デ
ータ(ALM 3) を得るフリップフロップFF(5) と、該出力
データ(ALM 3) と該出力データ(ALM3)を入力し前記クロ
ック(CLK)により1クロックづつnクロック分だけ
遅らせて出力するn段フリップフロップFF(17)の出力と
の論理積(AND,18)を取るハザード除去部(6) とを具え、
該ハザード除去部(6) の出力(ALM 4) を其の出力データ
とする様に構成する。次に請求項4は、確実で而も簡単
な構成のハザード除去回路を目的としたもので、図2の
原理図に示す如く、上記ハザードを含むデータ(AL
M)を入力し,該入力の一定サンプリングクロック(SC)
間のALMの高レベル"H" 部分のビット数を計数するカ
ウンタ(8) と、該入力を反転する反転器(INV) の出力の
該入力のALMの低レベル"L" 部分のビット数を計数す
るカウンタ(7) と、両カウンタ(7),(8) の計数値ALM L
ALM H を比較する比較部(9) とを具え、該比較部(9) の
出力ALM 5 として、入力のALMの低レベル"L" のカウ
ンタ(7) の計数値ALM L が、高レベル"H" のカウンタ
(8) の計数値ALM H よりも小さい時 ALM L < ALM Hのみ
データとして高レベル"H" を送出し、その他のALM L ≧
ALM Hの時は低レベル"L" を出力する様に構成する。請
求項5も、確実で而も簡単な構成のハザード除去回路を
目的としたものであり、図3の原理図に示す如く、上記
ハザードを含むデータ(ALM)を入力し,該入力の一
定サンプリングクロック(SC)間の立ち上がりと立ち下が
りのエッジを検出するエッジ検出部(10)と、該入力のエ
ッジの数が偶数であるか奇数であるかを判断する偶数奇
数判断部(11)とを具え、偶数奇数判断部(11)の出力ALM
6 として、一定サンプリングクロック(SC)間のエッジの
数が奇数の場合にはデータとして高レベル"H" を出力
し、偶数の場合にはデータとして低レベル"L" を出力す
る様に構成する。To solve this problem, in the hazard elimination circuit of the present invention, for output side data (ALM) in the case where a hazard is randomly generated at the input side such as a 2-input 1-output switch. The basic configuration of the hazard elimination circuit according to claim 1 is that, as shown in the principle diagram of FIG. 1, data (ALM) including a hazard that does not need to be input is input as D input, and Q output is performed by the clock (CLK) of simultaneous input. Flip-flop FF to get output data (ALM 1) as
(3), the output data (ALM 1), and the output data (ALM 1)
And a hazard remover (6) for taking a logical product (AND) with the output of the n-stage flip-flop FF (17), which is delayed by n clocks by 1 clock by the input clock (CLK) and is output, Output of the hazard removal unit (6) (ALM
Configure the hazard elimination circuit so that 4) is used as its output data. Next, as shown in the principle diagram of FIG. 1, the basic configuration of the hazard elimination circuit of claim 2 for data (ALM) containing an output hazard when an input-side hazard regularly occurs is Data (ALM)
, And the PN pattern clock (CLK 1 ) of the output of the PN generator (1) that changes the clock (CLK) of simultaneous input at random is output data as Q output.
A flip-flop FF (4) for obtaining (ALM 2), the output data (ALM 2) and the output data (ALM 2) are input, and output by delaying one clock by n clocks by the clock (CLK). And a hazard removal unit (6) that takes the logical product (AND, 18) with the output of the stage flip-flop FF (17), and uses the output (ALM 4) of the hazard removal unit (6) as its output data To configure. Next, the output data (AL
The basic configuration of the hazard elimination circuit of claim 3 for M) is as shown in the principle diagram of FIG. 1, in which data (ALM) including the hazard is input and the output clock (CLK 1 ) of the PN generator (1) is input. N division generator that further divides the frequency of 1 / n
Flip-flop FF (5) that obtains output data (ALM 3) as Q output by the output clock (CLK 2 ) of ( 2 ), input the output data (ALM 3) and the output data (ALM 3), and input the clock And a hazard removal unit (6) that takes a logical product (AND, 18) with the output of the n-stage flip-flop FF (17), which is delayed by n clocks for each clock by (CLK),
The output (ALM 4) of the hazard removing unit (6) is used as its output data. Next, claim 4 is intended for a hazard removal circuit having a reliable and extremely simple structure, and as shown in the principle diagram of FIG.
M) is input and the constant sampling clock (SC) of the input
The counter (8) that counts the number of bits in the high level "H" portion of the ALM between them and the number of bits in the low level "L" portion of the input ALM of the output of the inverter (INV) that inverts the input The counter (7) for counting and the count value ALM L of both counters (7), (8)
A comparison unit (9) for comparing ALM H is provided, and as the output ALM 5 of the comparison unit (9), the count value ALM L of the low level "L" counter (7) of the input ALM is high level " H "counter
When it is smaller than the count value ALM H in (8), ALM L <ALM H only sends high level "H" as data, and other ALM L ≥
Configure to output low level "L" at ALM H. Claim 5 is also directed to a hazard removal circuit having a reliable and simple configuration. As shown in the principle diagram of FIG. 3, data (ALM) including the hazard is input, and constant sampling of the input is performed. An edge detection unit (10) that detects rising and falling edges between clocks (SC) and an even-odd determination unit (11) that determines whether the number of edges of the input is even or odd. Output of the even / odd judgment section (11) ALM
As 6, the configuration is such that when the number of edges between constant sampling clocks (SC) is odd, high level "H" is output as data, and when it is even, low level "L" is output as data. .
【0006】[0006]
【作用】図1の原理図を参照し、本発明の請求項1では
入力クロックCLK を其のまま何の手も加えずにフリップ
フロップFF(3) のクロックとして、ハザードを含む入力
データALMをビット単位で該フリップフロップFF(3)
にラッチし,Q 出力として出力データALM 1 を得る。請
求項2では入力クロックCLK をPN発生部(1) にて PN
パターン化したクロックCLK1をフリップフロップFF(4)
のクロックとし,入力データALMを該フリップフロッ
プFF(4) にラッチし, Q 出力として出力データALM 2 を
得る。請求項3では該PN発生部(1) の出力の PN パタ
ーンのクロックCLK1を更にn分周発生部(2) で 1/nに分
周したクロックCLK2をフリップフロップFF(5) のクロッ
クとして, 入力データALMを該フリップフロップFF
(5) にラッチし, Q 出力として出力データALM 3 を得
る。そして各出力データ ALM 1,ALM 2, ALM 3を、下段
のハザード除去部(6) に入力し、前記の各クロック CL
K,CLK1, CLK2をサンプリングクロックとしてn段フリッ
プフロップFF(17)にて各出力データALM 1,ALM 2,ALM 3
をサンプリングし、其のサンプル出力と前記入力の各デ
ータALM 1,ALM 2,ALM 3 との論理積を取る AND回路(18)
により、出力データALM 4 が入力データALMに含まれ
るハザードの影響を受けない様にする。With reference to the principle diagram of FIG. 1, in claim 1 of the present invention, the input data ALM including a hazard is used as the clock of the flip-flop FF (3) without changing the input clock CLK as it is. The flip-flop FF (3) in bit units
Latch and output data ALM 1 as Q output. In claim 2, the input clock CLK is PN by the PN generator (1).
Flip-flop FF (4) for patterned clock CLK 1
The input data ALM is latched in the flip-flop FF (4) by using this clock as the clock and the output data ALM 2 is obtained as the Q output. According to claim 3, the clock CLK 1 of the PN pattern of the output of the PN generator (1) is further divided into 1 / n by the frequency divider n (2), and the clock CLK 2 is the clock of the flip-flop FF (5). The input data ALM as the flip-flop FF
Latch at (5) and obtain output data ALM 3 as Q output. Then, input each output data ALM 1, ALM 2, ALM 3 to the hazard removal unit (6) in the lower stage, and
Each output data ALM 1, ALM 2, ALM 3 by n-stage flip-flop FF (17) with K, CLK 1, CLK 2 as sampling clock.
AND circuit (18) that samples and samples the output and ANDs each data ALM 1, ALM 2, ALM 3 of the input
This prevents the output data ALM 4 from being affected by the hazard contained in the input data ALM.
【0007】本発明の請求項4では、図2の原理図を参
照し、ハザードが含まれた入力データALMの、外部入
力のサンプリングクロックSCの周期の一定期間に於ける
状態"L" のビット数ALM L と状態"H"のビット数ALM H
を、カウンタ(7),カウンタ( 8)により入力クロックCLK
を計数する事により求める。そして下段の比較部(9) に
て、各々の計数値ALM L , ALM H を比較する。そして其
の計数値ALM L , ALM Hの大/少により、出力データALM
5 として "L"/"H" のデータを出力する。According to claim 4 of the present invention, referring to the principle diagram of FIG. 2, the bit of the state "L" of the input data ALM containing the hazard in a certain period of the cycle of the sampling clock SC of the external input. Number ALM L and number of bits in state "H" ALM H
Input clock CLK by counter (7), counter (8)
It is obtained by counting. Then, the lower comparison section (9) compares the count values ALM L and ALM H. The output data ALM depends on the large / small of the count values ALM L and ALM H.
Outputs "L" / "H" data as 5.
【0008】本発明の請求項5では、図3の原理図を参
照して、ハザードを含む入力データALMの、外部入力
のサンプリングクロックSCの周期の一定期間に於ける立
ち上がりと立ち下がりのエッジを、エッジ検出部(10)に
て検出する。そして下段の偶数奇数判断部(11)にて、前
記入力データALMのエッジ数が偶数か奇数かを判断す
る。そして其の判断結果が奇数の場合は状態"H" の、偶
数の場合には状態"L"のデータを出力データ ALM 6とし
て出力する。According to the fifth aspect of the present invention, referring to the principle diagram of FIG. 3, the rising and falling edges of the input data ALM including a hazard in a certain period of the cycle of the sampling clock SC of the external input are detected. The edge detection unit (10) detects it. The lower even-numbered odd number judging section (11) judges whether the number of edges of the input data ALM is even or odd. Then, if the judgment result is odd, the data in the state "H" is output, and if it is even, the data in the state "L" is output as the output data ALM 6.
【0009】[0009]
【実施例】図4は本発明の請求項1〜請求項3の実施例
の構成図であり、図8は其の動作のタイムチャートであ
る。そして図5は本発明の請求項4の実施例の構成図で
あり、図9は其の動作のタイムチャートである。図6は
本発明の請求項5の実施例の構成図であり、図10は其の
動作のタイムチャートである。FIG. 4 is a block diagram of an embodiment of claims 1 to 3 of the present invention, and FIG. 8 is a time chart of its operation. 5 is a block diagram of the embodiment of claim 4 of the present invention, and FIG. 9 is a time chart of the operation. FIG. 6 is a block diagram of the embodiment of claim 5 of the present invention, and FIG. 10 is a time chart of the operation.
【0010】図4の請求項1〜請求項3の実施例の構成
図において、入力クロックCLK の其のままを, ハザード
を含む入力データALMを取り込み出力するフリップフ
ロップFF(14)のクロックとし, 其の Q出力として出力デ
ータALM 1 を得る場合と、入力クロックCLK をPN発生
部(12)にて PN パターン化したクロックCLK1を、入力デ
ータALMを取り込み出力するフリップフロップFF(15)
のクロックとして入力し, 其の Q出力として出力データ
ALM 2 を得る場合と、PN発生部(12)の出力クロックCL
K1を, 更にn分周発生部(13)にて 1/nに分周したクロッ
クCLK2を、入力データALMを取り込み出力するフリッ
プフロップFF(16)のクロックとして入力し, Q 出力とし
て出力データALM 3 を得る場合とがある。それ等の実施
例の動作を図8のタイムチャートに示す。図8のタイム
チャートでは、入力クロックCLKのn分周発生部(13)の
分周率を2分周としている。上記のフリップフロップFF
(14),FF(15),FF(16)の各 Q出力である出力データALM 1,
ALM 2, ALM 3は、それぞれ下段の N段フリップフロップ
FF(17)と AND回路(18)とから成るハザード除去部(6) に
入力され、其の N段フリップフロップFF(17)にて N段シ
フトしたシフト出力データと, 前記フリップフロップFF
(14),FF(15),FF(16)から入力の何も細工しない入力デー
タ其のまま ALM 1,ALM 2,ALM 3とを AND回路(18)にて互
の論理積を取る。各入力データ ALM 1,ALM 2,ALM 3を N
段シフトさせる N段フリップフロップFF(17)の段数N は
任意であるが、図8のタイムチャートでは、1段として
いる。また、其のハザード除去部(6) の N段フリップフ
ロップ FF(17) のクロックCLKは、入力クロックCLK 其
のままを使用している。入力データALMに、図の如く
短時間のランダムなハザードが載っていて、FF(14)の出
力と FF(17) の出力に不要なパルスが生じている場合で
も、ハザード除去部(6) の AND回路(18)の出力 ALM 4で
は、該不要なパルスは除去されて、正しい出力データが
得られる。In the configuration diagram of the embodiments of claims 1 to 3 in FIG. 4, the input clock CLK as it is is used as the clock of the flip-flop FF (14) for fetching and outputting the input data ALM including a hazard, in the case of obtaining the output data ALM 1 as its Q output, the input clock CLK to PN generator clock CLK 1 that PN patterned at (12), flip-flop outputs captures input data ALM FF (15)
Input as the clock of and output data as its Q output
When ALM 2 is obtained, output clock CL of PN generator (12)
The K 1, inputs further divided by n generator clock CLK 2 obtained by dividing to 1 / n at (13), as the clock of the flip flop FF (16) for outputting captures input data ALM, outputted as Q output Sometimes you get the data ALM 3. The operation of these embodiments is shown in the time chart of FIG. In the time chart of FIG. 8, the frequency division ratio of the n frequency division generation unit (13) of the input clock CLK is divided by 2. Flip-flop FF above
Output data ALM 1, which is each Q output of (14), FF (15), FF (16)
ALM 2 and ALM 3 are the lower N-stage flip-flops
The shift output data input to the hazard removal unit (6) consisting of the FF (17) and the AND circuit (18) and shifted by N stages by the N-stage flip-flop FF (17) and the flip-flop FF.
Input data from (14), FF (15), and FF (16) without any modification. AND circuit (18) ANDs ALM 1, ALM 2, and ALM 3 with each other. Input data ALM 1, ALM 2, ALM 3 to N
Although the number N of N-stage flip-flops FF (17) to be shifted is arbitrary, it is set to one in the time chart of FIG. The clock CLK of the N-stage flip-flop FF (17) of the hazard removal unit (6) uses the input clock CLK as it is. Even if the input data ALM contains a short-term random hazard as shown in the figure and unnecessary pulses are generated in the output of FF (14) and the output of FF (17), the hazard removal unit (6) At the output ALM 4 of the AND circuit (18), the unnecessary pulse is removed and correct output data is obtained.
【0011】図5の請求項4の実施例では、図9のタイ
ムチャートを参照し、2 個のハザードを含んだ入力デー
タALMを、入力クロックCLK によりフリップフロップ
FF(19) に1ビットづつラッチし、其の Q出力をカウン
タ(21)のイネーブル端子ENに入力する。又フリップフロ
ップFF(19)の Q出力を反転器INV にて符号を反転させた
反転信号を、カウンタ(20)のイネーブル端子ENに入力す
る。即ち、カウンタ(20)では入力データALMの"L" 部
分のビット数をカウントし、カウンタ(21)は入力ALM
の"H" 部分のビット数をカウントして、其の両カウント
値を比較部(22)にて比較する。"L" 部分のビット数をカ
ウントするカウンタ(20)のカウント値を ALM Lとし、
"H" 部分のビット数をカウントするカウンタ(21)のカウ
ント値を ALM Hとすると、比較部(22)は、其の出力が A
LM L < ALM Hの場合(図9の例では ALM L=3 < ALM H=5
の場合) には高レベル"H" を FF(23) へ入力する。そし
てALM L ≧ ALM Hの場合(図9の例では ALM L=5 > ALM
H=3の場合) には低レベル"L"を FF(23) へ入力する。
フリップフロップ FF(23) は、この高レベル"H"の入力
を、外部入力のサンプリングクロックSCにより、自分の
D入力に取り込み、其の Q出力として出力データALM 5
を得る。その時、両カウンタ(20)(21)をクリアし、カウ
ント値 ALM L, ALM H を零0 に戻す。図9のタイムチャ
ートでは、入力データのALMに2つのハザードが載っ
ていて、そのハザードをも FF(19)に取り込んでいる
が、カウンタ(20)のカウント値 ALM Lとカウンタ(21)の
カウント値 ALM Hを比較する比較部(22)の出力をサンプ
リングクロックSCにてサンプルする FF(23) の Q出力で
ある出力データALM 5 では、除去され無くなっている。
この出力データALM 5 は、サンプリングクロックSCの周
期を該ハザードの間隔よりも充分長くする事により、サ
ンプリングクロックSCが、両カウンタ(20)(21)のカウン
ト値 ALM L, ALM H に対して悪い影響を与えることは殆
ど無い。In the embodiment of claim 4 of FIG. 5, referring to the time chart of FIG. 9, the input data ALM including two hazards is flip-flopped by the input clock CLK.
Latch each bit in FF (19) and input the Q output to the enable terminal EN of the counter (21). Also, the inverted signal obtained by inverting the sign of the Q output of the flip-flop FF (19) by the inverter INV is input to the enable terminal EN of the counter (20). That is, the counter (20) counts the number of bits in the "L" portion of the input data ALM, and the counter (21) counts the input ALM.
The number of bits in the "H" part of is counted, and both count values are compared by the comparison unit (22). Let ALM L be the count value of the counter (20) that counts the number of bits in the "L" part,
If the count value of the counter (21) that counts the number of bits in the "H" part is ALM H , the comparator (22) outputs
When LM L <ALM H (In the example of FIG. 9, ALM L = 3 <ALM H = 5
In case of), input high level "H" to FF (23). And if ALM L ≧ ALM H (in the example of FIG. 9, ALM L = 5> ALM
In case of H = 3, input low level "L" to FF (23).
The flip-flop FF (23) outputs this high-level "H" input by its own sampling clock SC.
Input to D input and output data as its Q output ALM 5
To get At that time, both counters (20) and (21) are cleared and the count values ALM L and ALM H are returned to zero. In the time chart of Fig. 9, two hazards are listed in the ALM of the input data, and these hazards are also captured in FF (19), but the count value ALM L of the counter (20) and the count of the counter (21) are counted. Output data ALM 5, which is the Q output of FF (23) that samples the output of the comparison unit (22) that compares the value ALM H with the sampling clock SC, is no longer removed.
This output data ALM 5 has a problem that the sampling clock SC is bad for the count values ALM L and ALM H of both counters (20) and (21) by making the cycle of the sampling clock SC sufficiently longer than the hazard interval. It has almost no effect.
【0012】図6の請求項5の実施例では、1個のハザ
ードを含んだ入力データALMを、エッジ検出部(10)を
構成する FF(24) にて入力クロックCLK により取り込
み、其の FF(24) の Q出力の立ち上がりと立ち下がりの
エッジを、次のFF(25)とEX-OR(26) により検出する。次
に、偶数奇数判断部(11)を構成する EX-OR(27)とFF(28)
により、サンプリングクロックSC間のエッジの数が奇数
か偶数かを判定し、奇数の場合には FF(28) は "H"を出
力し、偶数の場合には FF(28) は "L"を出力する。FF(2
8)の出力が "H"の場合は、EX-OR(29) を介して FF(30)
の出力 ALM 6は、その高レベル"H" を低レベル"L" に反
転させる。図10のタイムチャートでは、入力データであ
るALMに1個のハザードが載っていて、其れを入力ク
ロックCLKにより FF(24),FF(25)に取り込み出力してい
るが、EX-OR(27),FF(28)は、EX-OR(26)の出力のサンプ
リングクロックSC間の立ち上がりと立ち下がりのエッジ
を見ているので、其のALMのエッジ(立ち下がり)は
1ケであり、ハザードのエッジ(立ち上がりと立ち下が
り)は2ケの偶数と認識されるので、合計 1+2= 3 の奇
数となる。従って、 FF(28) からは"H" が出力され、次
段の FF(30)からは出力データALM 6 としては"L" が出
力される。サンプリングクロックSCの一定期間内に、こ
の例の様に入力データALMのエッジにハザードのエッ
ジが混在している場合でも、ALMのエッジは奇数と認
識されるので、問題は無い。In the embodiment of claim 5 of FIG. 6, the input data ALM including one hazard is fetched by the input clock CLK by the FF (24) which constitutes the edge detection section (10), and the FF is fetched. The rising and falling edges of the Q output of (24) are detected by the next FF (25) and EX-OR (26). Next, the EX-OR (27) and FF (28) that make up the even-odd judgment section (11)
Determines whether the number of edges between sampling clocks SC is odd or even. If it is odd, FF (28) outputs "H", and if it is even, FF (28) outputs "L". Output. FF (2
When the output of 8) is "H", FF (30) is sent via EX-OR (29).
Output ALM 6 inverts its high level "H" to low level "L". In the time chart of Fig. 10, one hazard is recorded in ALM that is input data, and it is captured by FF (24), FF (25) by the input clock CLK and output, but EX-OR ( 27) and FF (28) see the rising and falling edges between the sampling clocks SC of the output of EX-OR (26), so the ALM edge (falling edge) is one, Hazard edges (rising and falling) are recognized as two even numbers, so a total of 1 + 2 = 3 odd numbers. Therefore, "H" is output from FF (28), and "L" is output as output data ALM 6 from FF (30) in the next stage. Even if the edges of the input data ALM are mixed with the edges of the hazard within a certain period of the sampling clock SC as in this example, the edges of the ALM are recognized as odd numbers, and there is no problem.
【0013】[0013]
【発明の効果】本発明によれば、種々の形態で発生した
不要なハザードが含まれる入力データALMから該ハザ
ードを確実に除去できるので、高品質の出力データが得
られる効果がある。According to the present invention, since the hazard can be reliably removed from the input data ALM containing unnecessary hazards generated in various forms, there is an effect that high quality output data can be obtained.
【図1】 本発明の請求項1〜請求項3のハザード除去
回路の基本構成を示す原理図FIG. 1 is a principle diagram showing a basic configuration of a hazard removal circuit according to claims 1 to 3 of the present invention.
【図2】 本発明の請求項4のハザード除去回路の基本
構成を示す原理図FIG. 2 is a principle diagram showing a basic configuration of a hazard elimination circuit according to claim 4 of the present invention.
【図3】 本発明の請求項5のハザード除去回路の基本
構成を示す原理図FIG. 3 is a principle diagram showing a basic configuration of a hazard elimination circuit according to claim 5 of the present invention.
【図4】 本発明の請求項1〜請求項3の実施例のハザ
ード除去回路の構成図FIG. 4 is a configuration diagram of a hazard removal circuit according to an embodiment of claims 1 to 3 of the present invention.
【図5】 本発明の請求項4の実施例のハザード除去回
路の構成図FIG. 5 is a configuration diagram of a hazard elimination circuit according to a fourth embodiment of the present invention.
【図6】 本発明の請求項5の実施例のハザード除去回
路の構成図FIG. 6 is a configuration diagram of a hazard removal circuit according to a fifth embodiment of the present invention.
【図7】 従来のハザード除去回路の構成図FIG. 7 is a configuration diagram of a conventional hazard removal circuit.
【図8】 本発明の請求項1〜請求項3の実施例のハザ
ード除去回路の動作のタイムチャートFIG. 8 is a time chart of the operation of the hazard removal circuit according to the first to third embodiments of the present invention.
【図9】 本発明の請求項4の実施例のハザード除去回
路の動作のタイムチャートFIG. 9 is a time chart of the operation of the hazard removal circuit according to the fourth embodiment of the present invention.
【図10】 本発明の請求項5の実施例のハザード除去
回路の動作のタイムチャートFIG. 10 is a time chart of the operation of the hazard removal circuit according to the fifth embodiment of the present invention.
(1),(12)はPN発生部、(2),(13)はn分周発生部、(3)
(14),(4)(15),(5)(16)はフリップフロップFF、(6) はハ
ザード除去部、(7)(20),(8)(21) はカウンタ、(9)(22)
は比較部、(10)はエッジ検出部、(11)は偶数奇数判断
部、(17)はハザード除去部(6) の構成要素の N段フリッ
プフロップ、(18)はハザード除去部6 の構成要素の AND
回路、(19)は入力のフリップフロップFF、(23)はサンプ
リングクロックSCによるサンプル出力用のフリップフロ
ップFF、(24)はエッジ検出部10の構成要素の入力のフリ
ップフロップFF、(25)はエッジ検出部10の構成要素の次
段フリップフロップFF、(26)はエッジ検出部10の構成要
素の出力用の排他的論理和回路EX-OR 、(27)は偶数奇数
判断部11の構成要素の排他的論理和回路EX-OR 、(28)は
偶数奇数判断部11の構成要素の中段フリップフロップF
F、(29)は偶数奇数判断部11の構成要素の出力用の排他
的論理和回路EX-OR 、(30)は偶数奇数判断部11の構成要
素の出力用フリップフロップFF、ALMはハザードが含
まれた入力データ、ALM 1,ALM 2,ALM 3 はフリップフロ
ップ(3)(14),(4)(15),(5)(16) の各 Q出力データ、ALM
4,ALM 5,ALM 6 は本発明のハザード除去回路の出力デー
タ、CLKは入力クロック、CLK1は入力クロックCLK を
PN パターン化したクロック、CLK2は PN パターン化し
たクロックCLK1を更にn分周したクロックである。(1) and (12) are PN generators, (2) and (13) are n divider generators, and (3)
(14), (4) (15), (5) (16) is a flip-flop FF, (6) is a hazard removal unit, (7) (20), (8) (21) is a counter, and (9) ( twenty two)
Is a comparison unit, (10) is an edge detection unit, (11) is an even-odd judgment unit, (17) is an N-stage flip-flop that is a constituent element of the hazard removal unit (6), and (18) is a configuration of the hazard removal unit 6. Element AND
A circuit, (19) is an input flip-flop FF, (23) is a sample output flip-flop FF by the sampling clock SC, (24) is an input flip-flop FF of a component of the edge detection unit 10, and (25) is The next stage flip-flop FF of the component of the edge detection unit 10, (26) is an exclusive OR circuit EX-OR for the output of the component of the edge detection unit 10, and (27) is a component of the even-odd determination unit 11. The exclusive OR circuit EX-OR of (28) is the middle-stage flip-flop F of the constituent elements of the even-odd determination unit 11.
F, (29) is an exclusive OR circuit EX-OR for the output of the components of the even / odd determination section 11, (30) is a flip-flop FF for the output of the components of the even / odd determination section 11, and ALM is a hazard. Included input data, ALM 1, ALM 2, ALM 3 are Q output data of flip-flops (3) (14), (4) (15), (5) (16), ALM
4, ALM 5 and ALM 6 are the output data of the hazard elimination circuit of the present invention, CLK is the input clock, and CLK 1 is the input clock CLK.
The PN-patterned clock CLK 2 is a clock obtained by further dividing the PN-patterned clock CLK 1 by n.
Claims (5)
なハザードを出力側にて除去するハザード除去回路であ
って、入力の不要なハザードを含むデータ(ALM)を
D入力として入力し,同時入力のクロック(CLK)に
より Q出力として出力データ(ALM 1) を得るフリップフ
ロップFF (3)と、該出力データ(ALM 1) と,該出力デー
タ(ALM 1) を入力し前記入力クロック(CLK)により
1クロックづつnクロック分だけ遅らせ出力するn段フ
リップフロップFF(17)の出力との論理積(AND)を取るハ
ザード除去部(6)とを具え、該ハザード除去部(6)の出力
(ALM 4) を其の出力データとすることを特徴としたハザ
ード除去回路。1. A hazard elimination circuit for eliminating unnecessary hazards generated in necessary data on the input side at the output side, the data (ALM) including the hazards not requiring input.
Flip-flop FF (3) which receives as D input and obtains output data (ALM 1) as Q output by simultaneous input clock (CLK), this output data (ALM 1) and this output data (ALM 1) A hazard removing unit (6) for taking a logical product (AND) with the output of an n-stage flip-flop FF (17) which is input and delayed by 1 clock by n clocks according to the input clock (CLK), and outputs the hazard. Output of remover (6)
Hazard removal circuit characterized by using (ALM 4) as its output data.
LM)を D入力として入力し,同時入力のクロック(C
LK)をアトランダムに変化させるPN発生部(1) の出
力の PN パターン化されたクロック(CLK1)により Q出力
として出力データ(ALM 2) を得るフリップフロップFF
(4) と、該出力データ(ALM 2) と,該出力データ(ALM2)
を入力し前記入力クロック(CLK)により1クロック
づつnクロック分だけ遅らせ出力するn段フリップフロ
ップFF(17)の出力との論理積(AND) を取るハザード除去
部(6)とを具え、該ハザード除去部(6)の出力(ALM 4) を
其の出力データとすることを特徴とするハザード除去回
路。2. Data including a hazard that does not require input (A
LM) is input as D input, and the clock (C
Flip-flop FF that obtains output data (ALM 2) as Q output by PN patterned clock (CLK 1 ) of PN generator (1) output that randomly changes LK)
(4), the output data (ALM 2), and the output data (ALM 2)
And a hazard remover (6) for taking a logical product (AND) with the output of the n-stage flip-flop FF (17) which delays and outputs one clock by n clocks by the input clock (CLK). A hazard elimination circuit characterized in that the output (ALM 4) of the hazard elimination unit (6) is used as its output data.
LM)を D入力として入力し前記PN発生部(1) の出力
の PN パターン化されたクロック(CLK1)を更に1/n に分
周するn分周発生部(2) の出力クロック(CLK2)により,
Q 出力として出力データ(ALM 3) を得るフリップフロッ
プFF(5) と、該出力データ(ALM 3) と,該出力データ(A
LM3)を入力し前記入力クロック(CLK)により1クロ
ックづつnクロック分だけ遅らせ出力するn段フリップ
フロップFF(17)の出力との論理積(AND)を取るハザード
除去部(6) を具え、該ハザード除去部(6) の出力(ALM
4)を其の出力データとすることを特徴とするハザード除
去回路。3. Data (A including an unnecessary hazard)
LM) as a D input and further divides the PN-patterned clock (CLK 1 ) of the output of the PN generator (1) into 1 / n, the output clock (CLK of the n-divider generator (2) 2 )
A flip-flop FF (5) that obtains the output data (ALM 3) as the Q output, the output data (ALM 3), and the output data (A
A hazard removing unit (6) for taking a logical product (AND) with the output of the n-stage flip-flop FF (17) which inputs the LM3) and delays by 1 clock by 1 clock by the input clock (CLK), Output of the hazard removal unit (6) (ALM
Hazard elimination circuit characterized by using 4) as its output data.
LM)の一定サンプリングクロック(SC)間の高レベル"
H"部分のビット数を計数するカウンタ(8) と、該入力デ
ータ(ALM)の符号を反転(INV) した該入力データ
(ALM)の前記サンプリングクロック(SC)間の低レベ
ル"L" 部分のビット数を計数するカウンタ(7) と、両カ
ウンタ(7, 8)の計数値(ALML ,ALMH ) を比較する比較部
(9) とを具え、該比較部(9) の出力(ALM 5) として、入
力データ(ALM)の低レベル"L" のカウンタ(7) の計
数値(ALM L)が高レベル"H" のカウンタ(8) の計数値(AL
M H)よりも小さい場合(ALM L < ALM H)にはデータとして
高レベル"H" を送出し、その他の場合(ALM L≧ ALM H)
には低レベル"L" を出力することを特徴とするハザード
除去回路。4. Data (A including an unnecessary hazard)
High level during constant sampling clock (SC) of LM "
A counter (8) for counting the number of bits in the H "part and the input data
The input data with the sign of the data (ALM) inverted (INV)
(ALM) Low level between the sampling clocks (SC)
Counter (7) that counts the number of bits in the "L" part and both
Unta (7,8) Count value (ALML, ALMH) Comparing part
(9) and the output (ALM 5) of the comparison unit (9) is input.
Counter (7) for low level "L" of force data (ALM)
Numerical value (ALML) Is high level "H" counter (8) count value (AL
M H) Is smaller than (ALML <ALMH) As data
Send high level "H", otherwise (ALML≧ ALMH)
Hazard characterized by outputting low level "L"
Removal circuit.
LM)の立ち上がりと立ち下がりのエッジを検出するエ
ッジ検出部(10)と、該入力データ(ALM)の一定サン
プリングクロック(SC)間の前記エッジの数が偶数である
か奇数であるかを判断する偶数奇数判断部(11)とを具
え、偶数奇数判断部(11)の出力(ALM 6)として前記エッ
ジの数が奇数の場合にはデータとして高レベル"H" を出
力し、偶数の場合には低レベル"L" を出力することを特
徴とするハザード除去回路。5. Data (A including an unnecessary hazard)
LM) edge detection unit (10) for detecting rising and falling edges, and whether the number of edges between the constant sampling clock (SC) of the input data (ALM) is an even number or an odd number If the number of said edges is odd, the high level "H" is output as the output (ALM 6) of the even / odd judgment section (11) A hazard removal circuit characterized by outputting a low level "L".
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6018761A JPH07226661A (en) | 1994-02-16 | 1994-02-16 | Hazard removal circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6018761A JPH07226661A (en) | 1994-02-16 | 1994-02-16 | Hazard removal circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH07226661A true JPH07226661A (en) | 1995-08-22 |
Family
ID=11980632
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP6018761A Withdrawn JPH07226661A (en) | 1994-02-16 | 1994-02-16 | Hazard removal circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH07226661A (en) |
-
1994
- 1994-02-16 JP JP6018761A patent/JPH07226661A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6175603B1 (en) | System for managing signals in different clock domains and a programmable digital filter | |
JP4009338B2 (en) | Noise and intermittent data stream decoding apparatus and method | |
EP2058668B1 (en) | Eye diagram violation and excess jitter trigger | |
US4763341A (en) | Digital timing using a state machine | |
KR900000668Y1 (en) | Digital filter circuit | |
EP0672256A4 (en) | Method and apparatus for discriminating computer network signals. | |
US7664166B2 (en) | Pleisiochronous repeater system and components thereof | |
US7127015B2 (en) | Digital filter for reducing voltage peaks | |
JPH07226661A (en) | Hazard removal circuit | |
JP2998650B2 (en) | DC sorting circuit for frequency divider | |
EP0673121A2 (en) | Phase lock detector | |
CA2198338C (en) | Clock signal generating apparatus and clock signal generating method | |
CN1086862C (en) | Frequency modulation signal demodulating circuit | |
CN107579736A (en) | Hybrid locking detector | |
JP2553680B2 (en) | Digital signal processing circuit | |
JP2002026704A (en) | Clock fault detector and its method | |
JP3233016B2 (en) | MSK demodulation circuit | |
JP3211283B2 (en) | Filter circuit | |
JP3586578B2 (en) | Edge detection circuit | |
KR100345328B1 (en) | Apparatus and method for detecting frequency of input signal | |
JP3450312B2 (en) | High-speed error detection circuit | |
JP3145830B2 (en) | Voice multiplex pilot signal detection circuit | |
JPH0563524A (en) | Signal input circuit | |
JPH08331186A (en) | Frequency demodulating circuit | |
KR0133375Y1 (en) | Signal processing device for counting two input signals at high speed |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20010508 |