KR100882725B1 - Apparatus for converting synchronous data - Google Patents
Apparatus for converting synchronous data Download PDFInfo
- Publication number
- KR100882725B1 KR100882725B1 KR1020020027721A KR20020027721A KR100882725B1 KR 100882725 B1 KR100882725 B1 KR 100882725B1 KR 1020020027721 A KR1020020027721 A KR 1020020027721A KR 20020027721 A KR20020027721 A KR 20020027721A KR 100882725 B1 KR100882725 B1 KR 100882725B1
- Authority
- KR
- South Korea
- Prior art keywords
- data
- signal
- reference clock
- synchronous
- clock signal
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K5/00—Manipulating of pulses not covered by one of the other main groups of this subclass
- H03K5/13—Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals
- H03K5/135—Arrangements having a single output and transforming input signals into pulses delivered at desired time intervals by the use of time reference signals, e.g. clock signals
Landscapes
- Physics & Mathematics (AREA)
- Nonlinear Science (AREA)
- Analogue/Digital Conversion (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
여러 시스템들이 상호간에 소정의 데이터를 주고받거나 소정의 데이터를 처리하는 과정에서 여러 부품들의 서로 상이한 시간지연 등으로 인하여 기준 클럭신호와 동기가 일치되지 않는 데이터를 기준 클럭신호에 정확하게 동기시킨다.In the process of exchanging predetermined data or processing predetermined data among various systems, data that is not synchronized with the reference clock signal is accurately synchronized with the reference clock signal due to different time delays of various components.
제 1 동기 변환부가 비동기 데이터를 기준 클럭신호에 동기시키고 저장하여 제 1 비교신호를 발생하며, 제 2 동기 변환부가 비동기 데이터를 반전 및 설정시간 지연시킨 후 기준 클럭신호에 동기시키고 저장하여 제 2 비교신호를 발생하며, 상기 제 1 동기 변환부 및 제 2 동기 변환부가 각기 발생한 제 1 비교신호 및 제 2 비교신호의 극성을 동기 데이터 발생부가 비교하여 극성이 상이할 경우에 제 1 동기 변환부가 기준 클럭신호에 동기시킨 데이터를 기준 클럭신호에 따라 동기 데이터로 발생하며 극성이 동일할 경우에 상기 발생한 동기 데이터의 극성을 반전시켜 기준 클럭신호에 따라 동기 데이터로 발생한다.The first synchronous converter synchronizes and stores the asynchronous data with the reference clock signal to generate a first comparison signal, and the second synchronous converter synchronizes and stores the asynchronous data with the reference clock signal after inverting and delaying the set time, thereby comparing the second. The first synchronous conversion unit and the second synchronous conversion unit to generate a signal, and the first synchronous conversion unit compares the polarity of the first comparison signal and the second comparison signal respectively generated by the synchronous data generation unit when the polarities are different. The data synchronized with the signal is generated as the synchronization data according to the reference clock signal. When the polarities are the same, the polarity of the generated synchronization data is inverted to generate the synchronization data according to the reference clock signal.
동기, 데이터, 변환, 기준 클럭신호Sync, data, conversion, reference clock signal
Description
도 1은 종래의 변환장치의 구성을 보인 회로도이고,1 is a circuit diagram showing a configuration of a conventional converter,
도 2는 도 1의 각부의 동작 파형도이며,2 is an operation waveform diagram of each part of FIG.
도 3은 본 발명의 변환장치의 구성을 보인 회로도이며,3 is a circuit diagram showing the configuration of the converter of the present invention,
도 4는 정상동작 할 경우에 도 3의 각부의 동작 파형도이며,4 is an operation waveform diagram of each part of FIG. 3 in the normal operation;
도 5는 데이터 손실이 발생할 경우에 도 3의 각부의 동작 파형도이다.FIG. 5 is a view illustrating operation waveforms of each part of FIG. 3 when data loss occurs.
*도면의 주요 부분에 대한 부호의 설명** Description of the symbols for the main parts of the drawings *
200 : 제 1 동기 변환부 201, 213 : 제 1 및 제 2 멀티플렉서200: first
203, 207, 215 : 제 1 내지 제 3 래치 205 : 앤드 게이트203, 207, and 215: first to
210 : 제 2 동기 변환부 211 : 인버터210: second synchronous conversion unit 211: inverter
220 : 동기 데이터 발생부 221 : 비교/멀티플렉서220: synchronous data generator 221: comparison / multiplexer
223 : D형 플립플롭 BCLK : 기준 클럭신호223: D flip-flop BCLK: reference clock signal
RST1, RST2 : 제 1 및 제 2 리세트 신호RST1, RST2: first and second reset signals
COMP1, COMP2 : 제 1 및 제 2 비교신호COMP1, COMP2: first and second comparison signals
본 발명은 비동기 데이터를 기준 클럭신호에 정확히 동기시키는 동기 데이터 변환장치에 관한 것이다.The present invention relates to a synchronous data converter for synchronizing asynchronous data with a reference clock signal accurately.
일반적으로 동일한 기준 클럭신호를 사용하는 여러 시스템들이 상호간에 소정의 데이터를 주고받거나 소정의 데이터를 처리하는 과정에서 여러 부품들의 서로 상이한 시간지연 등으로 인하여 데이터가 기준 클럭신호와 정확하게 동기되지 않고, 어긋나는 경우가 많이 발생하게 된다.In general, when various systems using the same reference clock signal exchange data with each other or process predetermined data, data may not be synchronized exactly with the reference clock signal due to different time delays of various components. There are many cases.
상기 데이터가 기준 클럭신호와 정확하게 동기되지 않으면, 데이터의 검출에 에러가 발생하여 손실된다. 그러므로 데이터가 기준 클럭신호와 동기되지 않을 경우에 그 데이터를 기준 클럭신호와 정확하게 동기되도록 변환해야 된다.If the data is not correctly synchronized with the reference clock signal, an error occurs in the detection of the data and is lost. Therefore, when data is not synchronized with the reference clock signal, the data must be converted to be correctly synchronized with the reference clock signal.
도 1은 종래의 동기데이터 변환장치의 구성을 보인 회로도이다. 이에 도시된 바와 같이 제 1 리세트 신호(RST1)에 따라 리세트되고, 제 2 리세트 신호(RST2)에 따라 인에이블되어 입력단자(IN)의 신호를 출력단자(Q)로 출력하는 래치(100)와, 기준 클럭신호(BCLK)에 따라 상기 래치(100)의 출력 데이터 또는 비동기 데이터를 선택적으로 출력하여 상기 래치(100)의 입력단자(IN)로 궤환 입력시키는 멀티플렉서(110)와, 상기 멀티플렉서(110)의 출력 데이터 및 상기 제 2 리세트 신호(RST2)를 논리 곱하는 앤드 게이트(120)와, 상기 제 2 리세트 신호(RST2)에 따라 리세트되고 기준 클럭신호(BCLK)에 따라 상기 앤드 게이트(120)의 출력 데이터를 저장하여 동기 데이터로 출력하는 D형 플립플롭(130)으로 구성된다.1 is a circuit diagram showing the configuration of a conventional synchronous data converter. As shown in FIG. 1, the latch is reset according to the first reset signal RST1 and enabled according to the second reset signal RST2 to output a signal of the input terminal IN to the output terminal Q. 100 and a
이와 같이 구성된 종래의 변환장치는 제 1 리세트 신호(RST1) 및 제 2 리세 트 신호(RST2)가 저전위로 래치(100)의 리세트 단자(RST) 및 D형 플립플롭(130)의 리세트 단자(RST)에 각기 인가되어 리세트된 후 제 1 리세트 신호(RST1) 및 제 2 리세트 신호(RST2)가 고전위로 될 경우에 래치(100) 및 D형 플립플롭(130)의 리세트가 해제되고, 래치(100)는 인에이블 단자(EN)에 고전위의 제 2 리세트 신호(RST2)가 인가되어 인에이블된다.In the conventional converter configured as described above, the reset terminal RST of the
이와 같은 상태에서 도 2의 (a) 파형으로 도시된 바와 같이 입력되는 비동기 데이터가 멀티플렉서(110)의 입력단자(IN2)에 인가되고, 도 2의 (b) 파형으로 도시된 바와 같은 기준 클럭신호(BCLK)가 멀티플렉서(110)의 선택단자(SEL)에 인가된다.In this state, the asynchronous data input as shown by the waveform (a) of FIG. 2 is applied to the input terminal IN2 of the
그러면, 멀티플렉서(110)는 기준 클럭신호(BCLK)의 저전위 기간동안 입력단자(IN2)의 비동기 데이터를 선택하여 출력하고, 출력한 데이터는 래치(100)의 입력단자(IN)로 입력되므로 래치(100)는 상기 멀티플렉서(110)의 출력 데이터를 저장하고, 출력단자(Q)로 도 2의 (c) 파형으로 도시된 바와 같이 출력하여 멀티플렉서(110)의 입력단자(IN1)로 입력된다.Then, the
그리고 상기 멀티플렉서(110)는 기준 클럭신호(BCLK)의 고전위 기간동안 상기 래치(100)에서 출력되어 입력단자(IN1)로 입력되는 데이터를 선택하여 출력하는 것으로서 멀티플렉서(110)는 기준 클럭신호(BCLK)에 따라 도 2의 (d) 파형으로 도시된 바와 같이 소정의 데이터를 출력하게 된다. 즉, 멀티플렉서(110)는 기준 클럭신호(BCLK)가 고전위 기간일 경우에 입력단자(IN1)의 신호를 선택하고 기준 클럭신호(BCLK)가 저전위 기간일 경우에 입력단자(IN2)의 비동기 데이터를 선택하여 도 2의 (d)파형으로 도시된 바와 같이 비동기 데이터를 기준 클럭신호(BCLK)에 동기시켜 출력하게 된다.The
상기 멀티플렉서(110)의 출력 데이터는 앤드 게이트(120)에서 제 2 리세트 신호(RST2)와 논리 곱되어 출력되고, 앤드 게이트(120)의 출력신호는 D형 플립플롭(130)의 입력단자(D)에 입력되어 다시 기준 클럭신호(BCLK)에 다시 동기된 후 도 2의 (e) 파형으로 도시된 바와 같이 출력된다.The output data of the
이러한 종래의 기술은 기준 클럭신호(BCLK)의 저전위 기간동안 멀티플렉서(110)가 비동기 데이터를 선택하여 래치(100)에 저장하면서 동기 데이터로 변환하는 것으로서 플래그 신호와 같이 데이터가 비동기로 변할 경우에 정확히 동기시켜 출력할 수 있으나, 동일한 주파수로 매 기준 클럭신호마다 연속으로 변하는 데이터에 대해서는 정확히 동기데이터로 변환하지 못하고 에러가 발생하게 된다.The conventional technology is that the
예를 들면, 래치(100)의 동작시간 지연이나 비동기 데이터의 지연 등으로 인하여 시간(t1)에 비동기 데이터를 래치(100)에 저장하지 못하게 될 경우에 래치(100)는 계속 이전에 저장한 비동기 데이터를 유지하게 되고, 그 유지한 비동기 데이터는 D형 플립플롭(130)이 출력하는 동기 데이터에 영향을 주게 되어 한 구간의 데이터를 잃어버리게 된다. 즉, 비동기 데이터의 현재 변화분이 다음의 기준 클럭신호(BCLK)가 입력될 때까지 유지하게 된다면 다음의 기준 클럭신호(BCLK)에서 동기 데이터로 출력되나, 비동기 데이터가 기준 클럭신호(BCLK)와 같이 변동되거나 데이터의 신호 형태로 입력될 경우에 현재 데이터를 잃어버리게 되는 문제점이 있었다.For example, when the asynchronous data cannot be stored in the
따라서 본 발명의 목적은 시간 지연 등이 발생하여도 비동기 데이터를 잃어버림이 없이 정확히 동기 데이터로 변환하는 동기 데이터 변환장치를 제공하는데 있다. Accordingly, an object of the present invention is to provide a synchronous data converting apparatus that converts asynchronous data into synchronous data accurately without losing time even if a time delay or the like occurs.
이러한 목적을 가지는 본 발명의 동기데이터 변환장치는, 제 1 동기 변환부가 비동기 데이터를 기준 클럭신호에 동기시키고 그 동기시킨 데이터를 저장하며 제 1 비교신호로 발생하고, 제 2 동기 변환부가 비동기 데이터를 반전 및 설정시간 지연시킨 후 기준 클럭신호에 동기시키고 그 동기시킨 데이터를 저장하며 제 2 비교신호로 발생하며, 상기 제 1 비교신호 및 제 2 비교신호의 극성을 동기 데이터 발생부가 비교하여 상이할 경우에 상기 제 1 동기 변환부가 기준 클럭신호에 동기시킨 데이터를 동기 데이터로 발생하고 극성이 동일할 경우에 그 동기 데이터의 극성을 반전시킨 데이터를 동기 데이터로 발생하는 것을 특징으로 한다.In the synchronous data conversion device of the present invention having the above object, the first synchronous conversion unit synchronizes the asynchronous data to the reference clock signal, stores the data synchronized therein, and generates the first comparison signal, and the second synchronous conversion unit generates the asynchronous data. After delaying the inversion and setting time, it synchronizes with the reference clock signal, stores the synchronized data, generates the second comparison signal, and compares the polarity of the first comparison signal and the second comparison signal with the synchronization data generator. The first synchronization converter generates data synchronized with the reference clock signal as the synchronization data, and when the polarity is the same, the data inverting the polarity of the synchronization data is generated as the synchronization data.
상기 제 1 동기 변환부는, 기준 클럭신호에 따라 궤환 입력신호 또는 비동기 데이터를 제 1 멀티플렉서가 선택하고, 제 1 래치가 제 1 리세트 신호에 따라 리세트되고 제 2 리세트 신호에 따라 인에이블되면서 상기 제 1 멀티플렉서의 선택 데이터를 저장하여 제 1 비교신호로 출력하며, 상기 제 1 멀티플렉서 및 제 1 래치의 출력 데이터를 앤드 게이트가 논리 곱하며, 제 2 래치가 상기 제 1 리세트 신호에 따라 리세트되고 제 2 리세트 신호에 따라 인에이블되면서 상기 앤드 게이트의 출력 데이터를 저장하여 상기 제 1 멀티플렉서에 궤환 입력신호로 입력시키는 것을 특징으로 한다.The first synchronous converter is configured to select a feedback input signal or asynchronous data according to a reference clock signal by a first multiplexer, and a first latch is reset according to a first reset signal and is enabled according to a second reset signal. The select data of the first multiplexer is stored and output as a first comparison signal, and AND gates logically multiply output data of the first multiplexer and the first latch, and a second latch is reset according to the first reset signal. It is set and enabled according to the second reset signal, and stores the output data of the AND gate to be input to the first multiplexer as a feedback input signal.
상기 제 2 동기 변환부는, 상기 비동기 데이터를 인버터가 반전 및 지연시키 고, 상기 인버터의 출력 데이터 또는 제 2 비교신호를 제 2 멀티플렉서가 기준 클럭신호에 따라 선택하며, 제 3 래치가 제 1 리세트 신호에 따라 리세트되고 제 2 리세트 신호에 따라 인에이블되면서 상기 제 2 멀티플렉서의 출력 데이터를 저장하고 제 2 비교신호로 출력하는 것을 특징으로 한다.The second synchronous conversion unit, the inverter inverts and delays the asynchronous data, the second multiplexer selects the output data or the second comparison signal of the inverter according to the reference clock signal, the third latch is the first reset The output data of the second multiplexer may be stored and reset as a second comparison signal while being reset according to the signal and enabled according to the second reset signal.
상기 동기 데이터 발생부는, 비교/멀티플렉서가 상기 제 1 비교신호 및 제 2 비교신호를 비교하여 극성이 상이할 경우에 상기 제 1 동기 변환부가 기준 클럭신호에 동기시킨 데이터를 선택하고 극성이 동일할 경우에 반전 동기 데이터를 선택하며, D형 플립플롭이 기준 클럭신호에 따라 상기 비교/멀티플렉서의 출력 데이터를 동기 데이터로 출력하고 그 동기 데이터를 반전시킨 반전 동기데이터를 발생하여 상기 비교/멀티플렉서로 입력시키는 것을 특징으로 한다.The synchronization data generation unit selects data synchronized with the reference clock signal by the first synchronization converter when the comparison / multiplexer compares the first comparison signal and the second comparison signal with different polarities, and has the same polarity. Selects inverted synchronous data, and the D-type flip-flop outputs the output data of the comparison / multiplexer as the synchronous data according to a reference clock signal, and generates inverted synchronous data inverted the synchronous data and inputs the inverted synchronous data to the comparison / multiplexer. It is characterized by.
이하, 첨부된 도 3 내지 도 5의 도면을 참조하여 본 발명의 동기 데이터 변환장치를 상세히 설명한다.Hereinafter, the synchronous data converter of the present invention will be described in detail with reference to the accompanying drawings of FIGS. 3 to 5.
도 3은 본 발명의 동기 데이터 변환장치의 구성을 보인 회로도이다. 이에 도시된 바와 같이 비동기 데이터를 기준 클럭신호(BCLK)에 동기시키고 그 동기시킨 데이터를 저장하며 제 1 비교신호(COMP1)로 발생하는 제 1 동기 변환부(200)와, 비동기 데이터를 반전 및 설정시간 지연시킨 후 기준 클럭신호에 동기시키고 그 동기시킨 데이터를 저장하며 제 2 비교신호(COMP2)로 발생하는 제 2 동기 변환부(210)와, 상기 제 1 동기 변환부(200)의 제 1 비교신호(COMP1) 및 제 2 동기 변환부(210)의 제 2 비교신호(COMP2)의 극성을 비교하여 극성이 상이할 경우에 상 기 제 1 동기 변환부(200)가 기준 클럭신호(BCLK)에 동기시킨 데이터를 동기 데이터로 발생하고 극성이 동일할 경우에 그 동기 데이터의 극성을 반전시킨 데이터를 동기 데이터로 발생하는 동기 데이터 발생부(220)로 구성된다.3 is a circuit diagram showing the configuration of the synchronous data converter of the present invention. As shown in FIG. 1, the first
상기 제 1 동기 변환부(200)는, 기준 클럭신호(BCLK)에 따라 입력단자(IN11)의 데이터 또는 입력단자(IN12)의 비동기 데이터를 선택하는 제 1 멀티플렉서(201)와, 제 1 리세트 신호(RST1)에 따라 리세트되고 제 2 리세트 신호(RST2)에 따라 인에이블되면서 상기 제 1 멀티플렉서(201)가 선택한 데이터를 저장하고 제 1 비교신호(COMP1)로 출력하는 제 1 래치(203)와, 상기 제 1 멀티플렉서(201) 및 제 1 래치(203)의 출력 데이터를 논리 곱하는 앤드 게이트(205)와, 상기 제 1 리세트 신호(RST1)에 따라 리세트되고 제 2 리세트 신호(RST2)에 따라 인에이블되면서 상기 앤드 게이트(205)의 출력 데이터를 저장하고 상기 제 1 멀티플렉서(201)의 입력단자(IN11)로 입력시키는 제 2 래치(207)로 구성된다.The first
상기 제 2 동기 변환부(210)는, 상기 비동기 데이터를 반전 및 지연시키는 인버터(211)와, 기준 클럭신호(BCLK)에 따라 입력단자(IN22)의 제 2 비교신호(COMP2) 또는 상기 인버터(211)의 출력 데이터를 선택하는 제 2 멀티플렉서(113)와, 제 1 리세트 신호(RST1)에 따라 리세트되고 제 2 리세트 신호(RST2)에 따라 인에이블되면서 상기 제 2 멀티플렉서(213)의 출력 데이터를 저장하고 제 2 비교신호(COMP2)로 출력하는 제 3 래치(215)로 구성된다.The second
상기 동기 데이터 발생부(220)는, 상기 제 1 동기 변환부(200)의 제 1 비교신호(COMP1) 및 제 2 동기 변환부(210)의 제 2 비교신호(COMP2)의 극성을 비교하여 극성이 상이할 경우에 상기 제 1 동기 변환부(200)가 기준 클럭신호(BCLK)에 동기시킨 상기 제 1 멀티플렉서(201)의 출력 데이터를 선택하고 극성이 동일할 경우에 반전 동기 데이터를 선택하는 비교/멀티플렉서(221)와, 상기 제 2 리세트 신호(RST2)에 따라 리세트되고 상기 기준 클럭신호(BCLK)에 따라 상기 비교/멀티플렉서(221)의 출력 데이터를 동기 데이터로 출력하고 반전 동기데이터를 발생하여 상기 비교/멀티플렉서(221)로 입력시키는 D형 플립플롭(223)으로 구성된다.The
이와 같이 구성된 본 발명의 변환장치는 제 1 리세트 신호(RST1) 및 제 2 리세트 신호(RST2)가 저전위로 제 1 내지 제 3 래치(203, 207, 215)의 리세트 단자(RST) 및 D형 플립플롭(223)의 리세트 단자(RST)에 각기 인가되어 리세트된 후 제 1 리세트 신호(RST1) 및 제 2 리세트 신호(RST2)가 고전위로 될 경우에 제 1 내지 제 3 래치(203, 207, 215) 및 D형 플립플롭(223)은 모두 리세트가 해제되고, 제 1 내지 제 3 래치(203, 207, 215)의 인에이블 단자(EN)에는 고전위의 제 2 리세트 신호(RST2)가 인가되어 모두 인에이블된다.The converter according to the present invention configured as described above has the reset terminal RST of the first to
이와 같은 상태에서 도 4의 (a) 파형으로 도시된 기준 클럭신호(BCLK) 및 도 4의 (b) 파형으로 도시된 비동기 데이터가 입력되면, 제 1 동기 변환부(200)의 제 1 멀티플렉서(201)가 기준 클럭신호(BCLK)의 고전위 기간동안 입력단자(IN12)의 비동기 데이터를 선택하여 출력하게 된다.In this state, when the reference clock signal BCLK shown by the waveform (a) of FIG. 4 and the asynchronous data shown by the waveform (b) of FIG. 4 are input, the first multiplexer of the first synchronous conversion unit 200 ( 201 selects and outputs asynchronous data of the input terminal IN12 during the high potential period of the reference clock signal BCLK.
상기 제 1 멀티플렉서(201)가 선택 출력한 데이터는 제 1 래치(203)의 입력단자(D)로 입력되어 저장되고 출력단자(Q)로 도 4의 (c) 파형으로 도시된 바와 같이 출력되며, 제 1 래치(203)의 출력 데이터는 앤드 게이트(205)에서 상기 제 1 멀티플렉서(201)의 출력 데이터와 논리 곱된다. 상기 앤드 게이트(205)의 출력 데이터는 제 2 래치(207)의 입력단자(D)로 입력되어 저장되고 출력단자(Q)로 출력되며, 제 2 래치(207)의 출력 데이터는 상기 제 1 멀티플렉서(201)의 입력단자(IN11)로 입력된다.The data selected and output by the
그리고 제 1 멀티플렉서(201)는 기준 클럭신호(BCLK)의 저전위 기간동안 제 2 래치(207)의 출력 데이터를 선택 출력하고 제 1 멀티플렉서(201)의 출력 데이터는 상기한 바와 같이 제 1 래치(203) 및 제 2 래치(207)에 각기 저장되면서 제 1 멀티플렉서(201)의 입력단자(IN11)로 입력되는 것으로서 제 1 동기 변환부(200)의 제 1 멀티플렉서(201)는 비동기 데이터를 기준 클럭신호(BCLK)에 동기시켜 데이터로 출력하고, 상기 제 1 래치(203)의 출력 데이터는 제 1 비교신호(COMP1)로 출력된다.The
즉, 제 1 동기 변환부(200)는, 기준 클럭신호(BCLK)의 고전위 기간동안 제 1 멀티플렉서(201)가 비동기 데이터를 선택하여 제 2 래치(207)에 저장하여 두고, 기준 클럭신호(BCLK)의 저전위 기간동안 제 1 멀티플렉서(201)가 상기 제 2 래치(207)에 저장된 데이터를 선택하여 비동기 데이터가 기준 클럭신호(BCLK)에 동기되게 하며, 그 동기된 데이터를 제 1 래치(203)가 저장하면서 도 4의 (c) 파형과 같이 제 1 비교신호(COMP1)로 출력한다.That is, the first
제 2 동기 변환부(210)는, 입력되는 비동기 데이터가 인버터(211)를 통해 반전되고 지연된 후 제 2 멀티플렉서(213)의 입력단자(IN22)로 입력되는 것으로 제 2 멀티플렉서(213)는 도 4의 (d) 파형으로 도시된 바와 같이 기준 클럭신호(BCLK)의 고전위 기간동안 인버터(211)의 출력 데이터를 선택하여 출력단자(Q)로 출력하게 된다. 상기 제 2 멀티플렉서(213)의 출력 데이터는 제 3 래치(215)의 입력단자(D)로 입력되어 저장되고, 출력단자(Q)로 출력되어 제 2 멀티플렉서(213)의 입력단자(IN22)로 입력된다.The second
그리고 기준 클럭신호(BCLK)의 저전위 기간동안 제 2 멀티플렉서(213)는 도 4의 (d)파형으로 도시된 바와 같이 제 3 래치(215)의 출력 데이터를 선택하여 출력하고, 그 제 2 멀티플렉서(213)의 출력 데이터는 제 3 래치(215)에 저장 및 출력된다.During the low potential period of the reference clock signal BCLK, the
즉, 제 2 동기 변환부(210)는, 비동기 데이터를 인버터(211)로 반전 및 소정 시간 지연시킨 후, 기준 클럭신호(BCLK)의 고전위 기간동안 그 반전 및 지연시킨 비동기 데이터를 제 1 멀티플렉서(213)가 선택하여 제 3 래치(215)에 저장하여 두고, 기준 클럭신호(BCLK)의 저전위 기간동안 제 1 멀티플렉서(213)가 상기 제 3 래치(215)에 저장된 데이터를 선택하면서 상기 인버터(211)에서 반전 및 지연시킨 비동기 데이터를 기준 클럭신호(BCLK)에 동기시키고, 그 동기시킨 데이터를 제 3 래치(215)에 저장하여 도 4의 (d) 파형으로 도시된 바와 같이 제 2 비교신호(COMP2)를 출력하게 된다.That is, the second
이와 같은 상태에서 동기 데이터 발생부(220)의 비교/멀티플렉서(221)는, 상기 제 1 동기 변환부(200)가 발생하는 제 1 비교신호(COMP1)와 제 2 동기 변환부(210)가 발생한 제 2 비교신호(COMP2)를 입력받아 극성을 비교하고, 비교 결과 제 1 비교신호(COMP1) 및 제 2 비교신호(COMP2)의 극성이 서로 상이할 경우에 비교/멀티플렉서(221)는 상기 제 1 멀티플렉서(201)의 출력 데이터를 선택 출력하며, 비교/멀티플렉서(221)의 출력 데이터는 기준 클럭신호(BCLK)에 따라 플립플롭(223)을 통해 도 4의 (e) 파형으로 도시된 바와 같이 동기 데이터로 출력된다.In this state, the comparison /
그리고 상기 비교 결과 제 1 비교신호(COMP1) 및 제 2 비교신호(COMP2)의 극성이 동일할 경우에 비교/멀티플렉서(221)는 상기 D형 플립플롭(223)의 출력단자(/Q)로 출력되는 반전 동기 데이터를 선택 출력하고, 그 출력한 반전 동기 데이터가 기준 클럭신호(BCLK)에 따라 플립플롭(223)을 통해 동기 데이터로 출력된다.The comparison /
즉, 비동기 데이터의 시간 지연 및 처리시간 지연 등이 발생될 경우에 제 1 동기 변환부(200)는 도 5의 (a) 파형으로 도시된 바와 같이 입력되는 기준 클럭신호(BCLK)에 따라 도 5의 (b) 파형으로 도시된 비동기 데이터의 변화를 정확하게 검출하지 못하고, 도 5의 (c) 파형으로 도시된 바와 같이 제 1 비교신호(COMP1)를 계속 고전위로 출력하게 된다.That is, when a time delay or processing time delay of asynchronous data occurs, the first
이 때, 제 2 동기 변환부(210)는 비동기 데이터를 반전 및 소정시간 지연시킨 후 검출하므로 비동기 데이터의 변화를 정확하게 검출하여 도 5의 (d) 파형으로 도시된 바와 같이 제 2 비교신호(COMP2)를 출력하게 된다.At this time, since the second
이와 같이 제 1 비교신호(COMP1)가 계속 고전위로 출력되고, 제 2 비교신호(COMP2)가 비동기 데이터의 변화에 따라 극성이 반전되면, 비교/멀티플렉서(221)는 제 1 비교신호(COMP1) 및 제 2 비교신호(COMP2)의 극성을 비교하여 상이할 경우에 제 1 동기 변환부(200)에서 출력되는 데이터를 선택하고 플립플롭(223)을 통해 동기 데이터로 출력하며, 극성이 동일할 경우에는 플립플롭(223)의 출력단자(/Q)에서 출력되는 반전 동기 데이터를 선택하여 플립플롭(223)을 통해 도 5의 (e) 파형으로 도시된 바와 같이 동기 데이터로 출력하므로 비동기 데이터를 손실됨이 없이 정확히 동기 데이터로 변환하여 출력하게 된다.As described above, when the first comparison signal COMP1 is continuously output at high potential and the second comparison signal COMP2 is inverted in polarity according to the change of the asynchronous data, the comparison /
즉, 본 발명은 제 1 동기 변환부(200)는 비동기 데이터를 지연시키지 않고, 기준 클럭신호(BCLK)에 동기시켜 제 1 비교신호(COMP1)를 발생하고, 제 2 동기 변환부(210)는 비동기 데이터를 반전 및 지연시킨 후 기준 클럭신호(BCLK)에 동기시켜 제 2 비교신호(COMP2)를 발생하므로 비동기 데이터를 기준 클럭신호(BCLK)의 고전위 기간에서 검출하지 못하는 것을 보완하는 것으로서 제 1 동기 변환부(200)와 제 2 동기 변환부(210) 중에서 어느 하나 이상은 반드시 기준 클럭신호(BCLK)의 고전위 기간에서 비동기 데이터를 정확하게 검출하게 된다. 이를 이용하여 동기 데이터 출력부(220)는, 제 1 비교신호(COMP1) 및 제 2 비교신호(COMP2)를 비교하여 극성이 상이할 경우에 제 1 동기 변환부(200) 및 제 2 동기 변환부(210)가 비동기 데이터를 정확히 검출한 것으로서 그 제 1 동기 변환부(200)가 기준 클럭신호(BCLK)에 동기시킨 데이터를 동기 데이터로 선택 출력하고, 극성이 동일할 경우에는 제 1 동기 변환부(200) 및 제 2 동기 변환부(210) 중에서 어느 하나가 비동기 데이터를 정확히 검출하지 못한 것으로서 상기 반전 동기 데이터를 선택 출력하여 비동기 데이터의 손실을 방지하고, 클럭신호에 정확히 동기시켜 출력한다.That is, in the present invention, the first
이상에서 상세히 설명한 바와 같이 본 발명은 제 1 동기 변환부와 제 2 동기 변환부가 상호 보완적으로 비동기 데이터를 기준 클럭신호에 동기시켜 발생하도록 하고, 그 발생한 데이터에 따라 비동기 데이터를 기준 클럭신호에 동기시킨 동기 데이터로 변환하는 것으로서 비동기 데이터를 손실됨이 없이 정확히 기준 클럭신호에 동기시켜 출력할 수 있다.As described in detail above, the present invention allows the first synchronous conversion unit and the second synchronous conversion unit to generate asynchronous data in synchronization with the reference clock signal, and synchronizes the asynchronous data with the reference clock signal according to the generated data. By converting into the synchronous data, the asynchronous data can be output in synchronization with the reference clock signal without loss.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020020027721A KR100882725B1 (en) | 2002-05-20 | 2002-05-20 | Apparatus for converting synchronous data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020020027721A KR100882725B1 (en) | 2002-05-20 | 2002-05-20 | Apparatus for converting synchronous data |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20030089835A KR20030089835A (en) | 2003-11-28 |
KR100882725B1 true KR100882725B1 (en) | 2009-02-06 |
Family
ID=32383486
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020020027721A KR100882725B1 (en) | 2002-05-20 | 2002-05-20 | Apparatus for converting synchronous data |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100882725B1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4993026A (en) * | 1988-09-27 | 1991-02-12 | Nec Corporation | Multiplexer apparatus with auxiliary synchronization for compensating for cable delays |
JPH0851416A (en) * | 1994-08-09 | 1996-02-20 | Fujitsu Ltd | Clock synchronizing circuit |
KR19980078230A (en) * | 1997-04-25 | 1998-11-16 | 양승택 | Cell Synchronizer Using Data Delay |
KR20000001673A (en) * | 1998-06-12 | 2000-01-15 | 윤종용 | Clock synchronization circuit |
-
2002
- 2002-05-20 KR KR1020020027721A patent/KR100882725B1/en not_active IP Right Cessation
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4993026A (en) * | 1988-09-27 | 1991-02-12 | Nec Corporation | Multiplexer apparatus with auxiliary synchronization for compensating for cable delays |
JPH0851416A (en) * | 1994-08-09 | 1996-02-20 | Fujitsu Ltd | Clock synchronizing circuit |
KR19980078230A (en) * | 1997-04-25 | 1998-11-16 | 양승택 | Cell Synchronizer Using Data Delay |
KR20000001673A (en) * | 1998-06-12 | 2000-01-15 | 윤종용 | Clock synchronization circuit |
Also Published As
Publication number | Publication date |
---|---|
KR20030089835A (en) | 2003-11-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPWO2007060756A1 (en) | Phase comparator and phase adjustment circuit | |
US6943595B2 (en) | Synchronization circuit | |
JP2002289776A (en) | Semiconductor device | |
US5163069A (en) | Pattern synchronizing circuit and method | |
KR100817270B1 (en) | Interface device and method for synchronizing data | |
KR100882725B1 (en) | Apparatus for converting synchronous data | |
JP3039441B2 (en) | Synchronous edge detection method between different clocks and synchronous edge detection method between different clocks | |
US4741005A (en) | Counter circuit having flip-flops for synchronizing carry signals between stages | |
KR0175605B1 (en) | Connection control logic between utopia synchronous element and non-utopia asynchronous element | |
JP4266728B2 (en) | Synchronization control method | |
JP3036223B2 (en) | Clock transfer circuit | |
KR100201400B1 (en) | Clock synchronization circuit | |
JPH09139730A (en) | Elastic storage device | |
KR100546189B1 (en) | Data input / output device | |
JP2809202B2 (en) | Clock switching circuit and clock transfer device using the same | |
KR200229125Y1 (en) | A device of byte clock generator for i/o board | |
JP2665257B2 (en) | Clock transfer circuit | |
JPH01128684A (en) | Synchronizing circuit | |
KR0172459B1 (en) | Method and device for reproducing clock signal | |
JPH0438017A (en) | Serial/parallel conversion circuit | |
JPH08237104A (en) | Bit phase detection circuit and bit phase synchronization circuit | |
JPH08316942A (en) | Asynchronous data transmission circuit | |
JPH09107349A (en) | Bit phase synchronization circuit | |
JPH1141215A (en) | Clock changing circuit | |
KR20050072619A (en) | Synchroning circuit generating output signal stably |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20111220 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20130128 Year of fee payment: 5 |
|
LAPS | Lapse due to unpaid annual fee |