KR20110017275A - Clock recovery circuit and sampling signal generator including the same - Google Patents

Clock recovery circuit and sampling signal generator including the same Download PDF

Info

Publication number
KR20110017275A
KR20110017275A KR1020090074856A KR20090074856A KR20110017275A KR 20110017275 A KR20110017275 A KR 20110017275A KR 1020090074856 A KR1020090074856 A KR 1020090074856A KR 20090074856 A KR20090074856 A KR 20090074856A KR 20110017275 A KR20110017275 A KR 20110017275A
Authority
KR
South Korea
Prior art keywords
signal
clock
window
delay
code
Prior art date
Application number
KR1020090074856A
Other languages
Korean (ko)
Other versions
KR101615101B1 (en
Inventor
임정필
이재열
배한수
백동훈
Original Assignee
삼성전자주식회사
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 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020090074856A priority Critical patent/KR101615101B1/en
Priority to US12/832,319 priority patent/US8878792B2/en
Priority to TW99127182A priority patent/TWI468000B/en
Publication of KR20110017275A publication Critical patent/KR20110017275A/en
Application granted granted Critical
Publication of KR101615101B1 publication Critical patent/KR101615101B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/06Clock generators producing several clock signals

Abstract

PURPOSE: A clock recovery circuit and a sampling signal generating device including the same are provided to use an adaptively generated clock window signal, thereby transmitting a signal at high speed. CONSTITUTION: A clock code detecting unit(110) receives a transmission signal with a clock code to detect an edge of the clock code. The clock code detecting unit generates a clock transition signal based on an edge of the clock code. A clock signal generating unit(130) generates a restoration clock signal in response to the clock transition signal.

Description

클록 복원 회로 및 이를 포함하는 샘플링 신호 생성기{CLOCK RECOVERY CIRCUIT AND SAMPLING SIGNAL GENERATOR INCLUDING THE SAME}CLOCK RECOVERY CIRCUIT AND SAMPLING SIGNAL GENERATOR INCLUDING THE SAME}

본 발명은 클록 복원 회로에 관한 것으로서, 더욱 상세하게는 클록 임베디드 데이터로부터 클록 신호를 복원하는 클록 복원 회로 및 이를 포함하는 샘플링 신호 생성기에 관한 것이다.The present invention relates to a clock recovery circuit, and more particularly, to a clock recovery circuit for recovering a clock signal from clock embedded data and a sampling signal generator including the same.

장치간, 집적 회로(integrated circuit, IC)간, 모듈간, 또는 시스템간에 고속 신호 전송을 위하여 직렬 인터페이스가 널리 이용되고 있다. 직렬 인터페이스는 복수의 신호선들을 통하여 데이터를 병렬로 전송하는 종래의 인터페이스에 비하여 신호선의 수를 감소시킬 수 있고, 신호간 스큐를 제거할 수 있다.Serial interfaces are widely used for high-speed signal transmission between devices, integrated circuits (ICs), modules, or systems. The serial interface can reduce the number of signal lines and eliminate skew between signals as compared with the conventional interface for transmitting data in parallel through a plurality of signal lines.

최근에는, 신호선의 수를 더욱 감소시키고, 신호 전송을 더욱 고속화하도록 데이터 신호선에 데이터와 함께 클록 신호를 전송하는 클록 임베딩(clock embedding) 기술이 연구되고 있다. 그러나, 클록 임베딩을 이용한 종래의 인터페이스 시스템에서는 클록 신호 전송을 위하여 지속적인 천이를 가지도록 데이터가 8B/10B 등으로 인코딩되어 전송되고, 수신 장치가 데이터 신호선을 통하여 전송된 클록 신호를 복원하기 위하여 인코딩된 데이터를 디코딩해야 하므로, 데이터 오버 헤드(overhead)가 크고, 회로가 복잡해지는 문제가 있다.In recent years, a clock embedding technique for transferring a clock signal along with data to a data signal line has been studied to further reduce the number of signal lines and to speed up signal transmission. However, in the conventional interface system using clock embedding, data is encoded and transmitted to 8B / 10B, etc. so as to have a continuous transition for clock signal transmission, and the receiving device is encoded to recover the clock signal transmitted through the data signal line. Since data needs to be decoded, data overhead is large and circuitry is complicated.

상기와 같은 문제점을 해결하기 위하여, 본 발명의 목적은 클록 임베디드 데이터로부터 클록 신호를 정확하게 복원할 수 있는 클록 복원 회로를 제공하는 것이다.In order to solve the above problems, it is an object of the present invention to provide a clock recovery circuit that can accurately recover a clock signal from the clock embedded data.

본 발명의 다른 목적은 상기 클록 복원 회로를 포함하는 샘플링 신호 생성기를 제공하는 것이다.Another object of the present invention is to provide a sampling signal generator including the clock recovery circuit.

본 발명의 목적을 달성하기 위해, 본 발명의 실시예들에 따른 클록 복원 회로는 클록 코드 검출부 및 클록 신호 생성부를 포함한다.In order to achieve the object of the present invention, the clock recovery circuit according to the embodiments of the present invention includes a clock code detector and a clock signal generator.

상기 클록 코드 검출부는 클록 코드를 포함하는 전송 신호를 수신하고, 클록 윈도우 신호에 응답하여 상기 전송 신호에서 상기 클록 코드의 에지를 검출하며, 상기 클록 코드의 에지에 기초하여 클록 천이 신호를 생성한다. 상기 클록 신호 생성부는 상기 클록 천이 신호에 응답하여 복원 클록 신호를 생성한다.The clock code detector receives a transmission signal including a clock code, detects an edge of the clock code in the transmission signal in response to a clock window signal, and generates a clock transition signal based on the edge of the clock code. The clock signal generator generates a recovery clock signal in response to the clock transition signal.

일 실시예에서, 상기 클록 코드 검출부는, 상기 전송 신호에서 상기 클록 코드의 상승 에지를 검출하여 상승 에지 검출 신호를 생성하는 상승 검출기, 상기 전송 신호에서 상기 클록 코드의 하강 에지를 검출하여 하강 에지 검출 신호를 생성하는 하강 검출기, 상기 클록 코드가 상승 에지를 가지는지 또는 하강 에지를 가지는지를 판단하여 상승-하강 결정 신호를 생성하는 상승-하강 결정기, 및 상기 상승 -하강 결정 신호에 응답하여 상기 클록 천이 신호로서 상기 상승 에지 검출 신호 또는 상기 하강 에지 검출 신호를 선택적으로 출력하는 선택기를 포함할 수 있다.In one embodiment, the clock code detector, a rising detector for detecting a rising edge of the clock code in the transmission signal to generate a rising edge detection signal, detecting a falling edge of the clock code in the transmission signal A falling detector that generates a signal, a rising-falling determinant that generates a rising-falling decision signal by determining whether the clock code has a rising edge or a falling edge, and the clock transition in response to the rising-falling decision signal The signal may include a selector for selectively outputting the rising edge detection signal or the falling edge detection signal.

상기 상승 검출기는, 상기 클록 윈도우 신호가 로직 하이 레벨을 가지고, 상기 전송 신호가 로직 하이 레벨을 가질 때, 상기 클록 윈도우 신호를 상기 상승 에지 검출 신호로서 출력하는 제1 래치를 포함하고, 상기 하강 검출기는, 상기 클록 윈도우 신호가 로직 하이 레벨을 가지고, 상기 전송 신호가 로직 로우 레벨을 가질 때, 상기 클록 윈도우 신호를 상기 하강 에지 검출 신호로서 출력하는 제2 래치를 포함하며, 상기 상승-하강 결정기는 상기 클록 윈도우 신호의 상승 에지에 응답하여 상기 전송 신호를 상기 상승-하강 결정 신호로서 출력하는 플립-플롭을 포함하고, 상기 선택기는 상기 상승-하강 결정 신호를 선택 신호로서 수신하고, 상기 상승-하강 결정 신호에 응답하여 상기 클록 천이 신호로서 상기 상승 에지 검출 신호 또는 상기 하강 에지 검출 신호를 선택적으로 출력하는 멀티플렉서를 포함할 수 있다.The rising detector includes a first latch for outputting the clock window signal as the rising edge detection signal when the clock window signal has a logic high level and the transmission signal has a logic high level; And a second latch for outputting the clock window signal as the falling edge detection signal when the clock window signal has a logic high level and the transmission signal has a logic low level, wherein the rising-falling determiner A flip-flop for outputting the transmission signal as the rising-falling determination signal in response to the rising edge of the clock window signal, wherein the selector receives the rising-falling determination signal as a selection signal, and the rising-falling The rising edge detection signal or the falling edge detection as the clock transition signal in response to a determination signal; The signal may comprise a multiplexer for selectively outputting.

일 실시예에서, 상기 클록 생성부는, 상기 클록 천이 신호에 응답하여 상승 천이하고, 상기 클록 천이 신호를 지연시킨 지연 클록 천이 신호에 응답하여 하강 천이하는 상기 복원 클록 신호를 생성할 수 있다.In an example embodiment, the clock generator may generate the reconstructed clock signal that rises in response to the clock transition signal and falls in response to a delayed clock transition signal that delays the clock transition signal.

일 실시예에서, 상기 클록 생성부는, 상기 클록 천이 신호에 응답하여 상승 천이하고, 지연 고정 루프 회로로부터 수신된 클록 하강 신호에 응답하여 하강 천이하는 상기 복원 클록 신호를 생성할 수 있다.In an example embodiment, the clock generator may generate the recovery clock signal that rises and shifts in response to the clock transition signal and falls and transitions in response to the clock falling signal received from the delay locked loop circuit.

일 실시예에서, 상기 클록 복원 회로는 상기 클록 코드 검출부 및 상기 클록 신호 생성부의 지연 시간만큼 상기 전송 신호를 지연시키는 지연부를 더 포함할 수 있다.The clock recovery circuit may further include a delay unit configured to delay the transmission signal by a delay time of the clock code detector and the clock signal generator.

일 실시예에서, 상기 클록 복원 회로는, 락 검출 신호에 응답하여 상기 클록 신호 생성부로부터 출력된 상기 복원 클록 신호 또는 상기 지연부로부터 출력된 상기 전송 신호를 선택적으로 출력하는 클록 출력부, 및 상기 락 검출 신호에 응답하여 상기 지연 회로로부터 출력된 상기 전송 신호를 선택적으로 출력하는 데이터 출력부를 더 포함할 수 있다.In one embodiment, the clock recovery circuit, the clock output unit for selectively outputting the recovery clock signal output from the clock signal generation unit or the transmission signal output from the delay unit in response to the lock detection signal, and the The apparatus may further include a data output unit configured to selectively output the transmission signal output from the delay circuit in response to the lock detection signal.

상기 다른 목적을 달성하기 위해, 본 발명의 실시예들에 따른 샘플링 신호 생성기는 클록 복원 회로 및 지연 고정 루프 회로를 포함한다.In order to achieve the above another object, the sampling signal generator according to embodiments of the present invention includes a clock recovery circuit and a delay locked loop circuit.

상기 클록 복원 회로는 클록 코드를 포함하는 전송 신호를 수신하고, 클록 윈도우 신호에 응답하여 상기 전송 신호에서 상기 클록 코드의 에지를 검출하며, 상기 클록 코드의 에지에 기초하여 클록 신호를 생성한다. 상기 지연 고정 루프 회로는 상기 클록 신호에 기초하여 다중 위상 클록 신호를 생성하고, 상기 다중 위상 클록 신호에 기초하여 상기 클록 윈도우 신호를 생성하며, 상기 다중 위상 클록 신호를 샘플링 신호로서 출력한다.The clock recovery circuit receives a transmission signal comprising a clock code, detects an edge of the clock code in the transmission signal in response to a clock window signal, and generates a clock signal based on the edge of the clock code. The delay locked loop circuit generates a multi-phase clock signal based on the clock signal, generates the clock window signal based on the multi-phase clock signal, and outputs the multi-phase clock signal as a sampling signal.

일 실시예에서, 상기 지연 고정 루프 회로는, 상기 클록 신호를 순차적으로 지연시켜 상기 다중 위상 클록 신호를 생성하는 복수의 딜레이 셀들을 포함하고, 상기 클록 신호가 지연된 지연 클록 신호를 생성하는 딜레이 라인, 상기 클록 신호와 상기 지연 클록 신호의 위상 차에 기초하여 업 신호 및 다운 신호를 생성하는 위상 주파수 검출기, 상기 업 신호 및 상기 다운 신호에 응답하여 상기 딜레이 라 인의 지연 시간을 조절하는 지연 제어 신호를 생성하는 제어 신호 생성기, 상기 업 신호 및 상기 다운 신호에 응답하여 락 검출 신호를 생성하는 락 검출기, 및 상기 다중 위상 클록 신호에 논리 연산을 수행하여 상기 클록 윈도우 신호를 생성하는 클록 윈도우 생성기를 포함할 수 있다.In one embodiment, the delay lock loop circuit comprises: a delay line including a plurality of delay cells for sequentially delaying the clock signal to generate the multi-phase clock signal, the delay line generating a delayed clock signal delayed by the clock signal; A phase frequency detector for generating an up signal and a down signal based on a phase difference between the clock signal and the delayed clock signal, and generating a delay control signal for adjusting a delay time of the delay line in response to the up signal and the down signal A control signal generator, a lock detector generating a lock detection signal in response to the up signal and the down signal, and a clock window generator generating a clock window signal by performing a logical operation on the multi-phase clock signal. have.

일 실시예에서, 상기 클록 윈도우 생성기는, 상기 다중 위상 클록 신호 중 두개의 클록 신호들에 논리 연산을 수행하여 제1 윈도우 신호를 생성하고, 상기 두개의 클록 신호들에 각각 인접한 두개의 클록 신호들에 논리 연산을 수행하여 제2 윈도우 신호를 생성하며, 윈도우 선택 신호에 응답하여 상기 제1 윈도우 신호 또는 상기 제2 윈도우 신호를 선택적으로 출력하는 윈도우 신호 생성부, 및 상기 제1 윈도우 신호와 상기 클록 코드의 에지 사이의 간격을 검출하고, 상기 검출된 간격에 기초하여 상기 윈도우 선택 신호를 생성하는 윈도우 신호 선택부를 포함할 수 있다.In one embodiment, the clock window generator generates a first window signal by performing a logic operation on two clock signals of the multi-phase clock signal, and two clock signals adjacent to the two clock signals, respectively. Generating a second window signal by performing a logical operation on the window signal, and selectively outputting the first window signal or the second window signal in response to a window selection signal, and the first window signal and the clock. And a window signal selector configured to detect an interval between edges of a code and generate the window selection signal based on the detected interval.

본 발명의 실시예들에 따른 클록 복원 회로 및 샘플링 신호 생성기는 클록 임베디드 데이터로부터 클록 신호를 정확하게 복원할 수 있다.The clock recovery circuit and the sampling signal generator according to the embodiments of the present invention can accurately recover the clock signal from the clock embedded data.

또한, 본 발명의 실시예들에 따른 클록 복원 회로 및 샘플링 신호 생성기는, 적응적으로 생성된 클록 윈도우 신호를 이용함으로써, 신호 전송을 고속화할 수 있다.In addition, the clock recovery circuit and the sampling signal generator according to the embodiments of the present invention can speed up signal transmission by using an adaptively generated clock window signal.

본문에 개시되어 있는 본 발명의 실시예들에 대해서, 특정한 구조적 내지 기 능적 설명들은 단지 본 발명의 실시예를 설명하기 위한 목적으로 예시된 것으로, 본 발명의 실시예들은 다양한 형태로 실시될 수 있으며 본문에 설명된 실시예들에 한정되는 것으로 해석되어서는 아니 된다.With respect to the embodiments of the present invention disclosed herein, specific structural to functional descriptions are merely illustrated for the purpose of describing embodiments of the present invention, embodiments of the present invention may be implemented in various forms It should not be construed as limited to the embodiments set forth herein.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 형태를 가질 수 있는바, 특정 실시예들을 도면에 예시하고 본문에 상세하게 설명하고자 한다. 그러나 이는 본 발명을 특정한 개시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.As the inventive concept allows for various changes and numerous modifications, particular embodiments will be illustrated in the drawings and described in detail in the text. However, this is not intended to limit the present invention to a specific disclosed form, it should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the present invention.

제1, 제2 등의 용어는 다양한 구성 요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성 요소로부터 구별하는 목적으로 사용될 수 있다. 예를 들어, 본 발명의 권리 범위로부터 이탈되지 않은 채 제1 구성 요소는 제2 구성 요소로 명명될 수 있고, 유사하게 제 2 구성 요소도 제1 구성 요소로 명명될 수 있다.Terms such as first and second may be used to describe various components, but the components should not be limited by the terms. The terms may be used for the purpose of distinguishing one component from another component. For example, without departing from the scope of the present invention, the first component may be referred to as the second component, and similarly, the second component may also be referred to as the first component.

어떤 구성 요소가 다른 구성 요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성 요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성 요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성 요소가 다른 구성 요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. 구성 요소들 간의 관계를 설명하는 다른 표현들, 즉 "~사이에"와 "바로 ~사이에" 또는 "~에 이웃하는"과 "~에 직접 이웃하는" 등도 마찬 가지로 해석되어야 한다.When a component is said to be "connected" or "connected" to another component, it may be directly connected to or connected to that other component, but it may be understood that other components may exist in the middle. Should be. On the other hand, when a component is said to be "directly connected" or "directly connected" to another component, it should be understood that there is no other component in between. Other expressions describing the relationship between components, such as "between" and "immediately between," or "neighboring to," and "directly neighboring to" should be interpreted as well.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 설시된 특징, 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting of the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, the terms "comprise" or "having" are intended to indicate that there is a feature, number, step, action, component, part, or combination thereof that is described, and that one or more other features or numbers are present. It should be understood that it does not exclude in advance the possibility of the presence or addition of steps, actions, components, parts or combinations thereof.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미이다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥상 가지는 의미와 일치하는 의미인 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art. Terms such as those defined in the commonly used dictionaries should be construed as meanings consistent with the meanings in the context of the related art and shall not be construed in ideal or excessively formal meanings unless expressly defined in this application. .

이하, 첨부한 도면들을 참조하여, 본 발명의 실시예들을 보다 상세하게 설명하고자 한다. 도면상의 동일한 구성 요소에 대해서는 동일하거나 유사한 참조 부호를 사용한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. The same or similar reference numerals are used for the same components in the drawings.

도 1은 본 발명의 일 실시예에 따른 클록 복원 회로를 나타내는 블록도이다.1 is a block diagram illustrating a clock recovery circuit according to an exemplary embodiment of the present invention.

도 1을 참조하면, 클록 복원 회로(100)는 클록 코드 검출부(110), 클록 신호 생성부(130), 지연 회로(150) 및 출력부(170)를 포함한다.Referring to FIG. 1, the clock recovery circuit 100 includes a clock code detector 110, a clock signal generator 130, a delay circuit 150, and an output unit 170.

클록 코드 검출부(110)는 클록 코드를 포함하는 전송 신호(RX)를 수신한다. 전송 신호(RX)는 직렬화된 데이터 비트들 및 상기 클록 코드를 포함할 수 있다. 상기 클록 코드는 전송 신호(RX)에 주기적으로 포함될 수 있고, N 개(N은 2 이상의 자연수)의 데이터 비트들마다 1 비트 또는 2 비트의 길이로 부가될 수 있다. 또한, 상기 클록 코드는 인접한 데이터 비트의 값에 반대되는 값을 가질 수 있다. 예를 들어, 인접한 데이터 비트가 로직 하이 레벨을 가지면, 상기 클록 코드는 로직 로우 레벨을 가질 수 있고, 인접한 데이터 비트가 로직 로우 레벨을 가지면, 상기 클록 코드는 로직 하이 레벨을 가질 수 있다. 일 실시예에서, 상기 클록 코드는 직전 데이터 비트의 값에 반대되는 값을 가질 수 있다. 다른 실시예에서, 상기 클록 코드는 다음 데이터 비트의 값에 반대되는 값을 가질 수 있다. 인접한 데이터 비트의 값에 반대되는 값을 가지는 상기 클록 코드는 상기 클록 코드와 상기 인접한 데이터 비트 사이에서 상승 또는 하강하는 에지를 가질 수 있다.The clock code detector 110 receives a transmission signal RX including a clock code. The transmission signal RX may comprise serialized data bits and the clock code. The clock code may be periodically included in the transmission signal RX, and may be added in length of 1 bit or 2 bits for every N data bits (N is a natural number of 2 or more). In addition, the clock code may have a value opposite to that of an adjacent data bit. For example, if adjacent data bits have a logic high level, the clock code may have a logic low level, and if adjacent data bits have a logic low level, the clock code may have a logic high level. In one embodiment, the clock code may have a value opposite to the value of the immediately preceding data bit. In another embodiment, the clock code may have a value that is opposite to the value of the next data bit. The clock code having a value opposite to the value of an adjacent data bit may have a rising or falling edge between the clock code and the adjacent data bit.

클록 코드 검출부(110)는 클록 윈도우 신호(CLKWIN)에 응답하여 전송 신호(RX)에서 상기 클록 코드의 에지를 검출할 수 있다. 예를 들어, 클록 코드 검출부(110)는 지연 고정 루프(delay locked loop, DLL) 회로로부터 클록 윈도우 신호(CLKWIN)를 수신할 수 있다. 클록 윈도우 신호(CLKWIN)는 상기 클록 코드가 상승 천이 또는 하강 천이할 때 로직 하이 레벨을 가진다. 클록 코드 검출부(110)는 클록 윈도우 신호(CLKWIN)가 로직 하이 레벨을 가질 때 전송 신호(RX)의 에지를 검출함으로써, 전송 신호(RX)에서 상기 클록 코드의 에지를 검출할 수 있다. 클록 윈도우 신호(CLKWIN)는 상기 클록 코드의 검출된 에지에 기초하여 상기 클록 코드가 천 이할 때 상승 천이하는 클록 천이 신호(CTS)를 생성할 수 있다.The clock code detector 110 may detect an edge of the clock code from the transmission signal RX in response to the clock window signal CLKWIN. For example, the clock code detector 110 may receive the clock window signal CLKWIN from a delay locked loop (DLL) circuit. The clock window signal CLKWIN has a logic high level when the clock code rises or falls. The clock code detector 110 may detect an edge of the clock code in the transmission signal RX by detecting an edge of the transmission signal RX when the clock window signal CLKWIN has a logic high level. The clock window signal CLKWIN may generate a clock transition signal CTS that rises and shifts when the clock code transitions based on the detected edge of the clock code.

클록 신호 생성부(130)는 클록 천이 신호(CTS)에 응답하여 복원 클록 신호(RCLK)를 생성한다. 클록 신호 생성부(130)는 클록 천이 신호(CTS)에 응답하여 주기적으로 천이하는 복원 클록 신호(RCLK)를 생성할 수 있다. 이에 따라, 클록 신호 생성부(130)는 클록 천이 신호(CTS)의 주기와 실질적으로 동일한 주기를 가지는 복원 클록 신호(RCLK)를 생성할 수 있다.The clock signal generator 130 generates a recovery clock signal RCLK in response to the clock transition signal CTS. The clock signal generator 130 may generate a recovery clock signal RCLK that periodically transitions in response to the clock transition signal CTS. Accordingly, the clock signal generator 130 may generate the recovery clock signal RCLK having a period substantially the same as the period of the clock transition signal CTS.

클록 신호 생성부(130)는 클록 천이 신호(CTS)가 상승 천이할 때 복원 클록 신호(RCLK)가 상승 천이하도록 복원 클록 신호(RCLK)를 제어할 수 있다. 또한, 클록 신호 생성부(130)는, 클록 천이 신호(CTS)를 지연시킨 지연 클록 천이 신호에 응답하여 복원 클록 신호(RCLK)가 하강 천이하도록 복원 클록 신호(RCLK)를 제어하거나, 지연 고정 루프 회로로부터 수신된 클록 하강 신호에 응답하여 복원 클록 신호(RCLK)가 하강 천이하도록 복원 클록 신호(RCLK)를 제어할 수 있다.The clock signal generator 130 may control the recovery clock signal RCLK so that the recovery clock signal RCLK rises and shifts when the clock transition signal CTS rises. In addition, the clock signal generator 130 controls the recovery clock signal RCLK so that the recovery clock signal RCLK falls in response to the delayed clock transition signal that delayed the clock transition signal CTS, or delay-locked loop. The recovery clock signal RCLK may be controlled to fall back in response to the clock falling signal received from the circuit.

지연 회로(150)는 전송 신호(RX)를 지연시켜 지연 전송 신호(DRX)를 출력한다. 지연 회로(150)는, 트레이닝 구간 동안 클록 트레이닝 신호를 포함하는 전송 신호(RX)를 지연시켜 지연된 클록 트레이닝 신호를 출력하고, 데이터 구간 동안 데이터 비트들을 포함하는 전송 신호(RX)를 지연시켜 지연된 데이터 비트들을 출력할 수 있다.The delay circuit 150 outputs the delayed transmission signal DRX by delaying the transmission signal RX. The delay circuit 150 outputs the delayed clock training signal by delaying the transmission signal RX including the clock training signal during the training period, and delays the transmission signal RX including the data bits during the data period, thereby delaying the data. You can output the bits.

지연 회로(150)는 클록 코드 검출부(110) 및 클록 신호 생성부(130)의 지연 시간만큼 전송 신호(RX)를 지연시킬 수 있다. 이에 따라, 지연 회로(150)는 상기 데이터 구간 동안 클록 코드 검출부(110) 및 클록 신호 생성부(130)에 의해 생성된 복원 클록 신호(RCLK)가 지연된 시간만큼 전송 신호(RX)에 포함된 상기 데이터 비트들을 지연시킬 수 있다. 또한, 지연 회로(150)는 상기 트레이닝 구간 동안 상기 클록 트레이닝 신호를 복원 클록 신호(RCLK)가 지연되는 시간만큼 지연시킬 수 있다.The delay circuit 150 may delay the transmission signal RX by the delay time of the clock code detector 110 and the clock signal generator 130. Accordingly, the delay circuit 150 includes the delay signal 150 included in the transmission signal RX by a time delayed by the recovery clock signal RCLK generated by the clock code detector 110 and the clock signal generator 130 during the data period. It may delay the data bits. In addition, the delay circuit 150 may delay the clock training signal by the time that the recovery clock signal RCLK is delayed during the training period.

출력부(170)는 클록 신호(CLK)로서 클록 신호 생성부(130)로부터 수신된 복원 클록 신호(RCLK) 또는 지연 회로(150)로부터 수신된 지연 전송 신호(DRX)를 출력하고, 데이터(DATA)로서 지연 회로(150)로부터 수신된 지연 전송 신호(DRX)를 출력할 수 있다. 출력부(170)는 상기 트레이닝 구간 동안 지연 회로(150)로부터 수신된 상기 지연된 클록 트레이닝 신호인 지연 전송 신호(DRX)를 클록 신호(CLK)로서 출력할 수 있다. 또한, 출력부(170)는 상기 데이터 구간 동안 클록 신호 생성부(130)로부터 수신된 복원 클록 신호(RCLK)를 클록 신호(CLK)로서 출력하고, 지연 회로(150)로부터 수신된 상기 지연된 데이터 비트들을 포함하는 지연 전송 신호(DRX)를 데이터(DATA)로서 출력할 수 있다.The output unit 170 outputs the recovered clock signal RCLK received from the clock signal generator 130 or the delayed transmission signal DRX received from the delay circuit 150 as the clock signal CLK, and the data DATA. ) May output the delayed transmission signal DRX received from the delay circuit 150. The output unit 170 may output the delayed transmission signal DRX, which is the delayed clock training signal received from the delay circuit 150, during the training period, as a clock signal CLK. In addition, the output unit 170 outputs the restored clock signal RCLK received from the clock signal generator 130 as the clock signal CLK during the data period, and the delayed data bit received from the delay circuit 150. The delayed transmission signal DRX including the data may be output as data DATA.

클록 복원 회로(100)는 8B/10B와 같은 코드에 의해 부호화되지 않은 전송 신호(RX)를 수신하므로, 별도의 디코딩을 수행하지 않을 수 있다. 또한, 클록 복원 회로(100)는 클록 윈도우 신호(CLKWIN)를 이용하여 전송 신호(RX)로부터 클록 코드의 에지를 검출함으로써, 클록 신호를 정확하고 효율적으로 복원할 수 있다.Since the clock recovery circuit 100 receives the transmission signal RX which is not encoded by a code such as 8B / 10B, the clock recovery circuit 100 may not perform separate decoding. In addition, the clock recovery circuit 100 may accurately and efficiently recover the clock signal by detecting the edge of the clock code from the transmission signal RX using the clock window signal CLKWIN.

도 2는 도 1의 클록 복원 회로의 동작을 설명하기 위한 타이밍도이다.FIG. 2 is a timing diagram for describing an operation of the clock recovery circuit of FIG. 1.

도 1 및 도 2를 참조하면, 트레이닝 구간 동안, 지연 회로(150)는 클록 트레이닝 신호인 전송 신호(RX)를 클록 코드 검출부(110) 및 클록 신호 생성부(130)의 지연 시간(TD)만큼 지연시켜 지연 전송 신호(DRX)를 출력하고, 출력부(170)는 지연 회로(150)로부터 수신된 지연 전송 신호(DRX)를 클록 신호(CLK)로서 출력한다. 예를 들어, 지연 전송 신호(DRX)의 펄스(202)는 클록 트레이닝 신호의 펄스(201)로부터 지연 시간(TD)만큼 지연되고, 클록 신호(CLK)의 펄스(203)로서 출력된다.1 and 2, during the training period, the delay circuit 150 transmits the transmission signal RX, which is a clock training signal, by the delay time TD of the clock code detector 110 and the clock signal generator 130. The delayed output signal DRX is output by delaying, and the output unit 170 outputs the delayed transmission signal DRX received from the delay circuit 150 as the clock signal CLK. For example, the pulse 202 of the delayed transmission signal DRX is delayed by the delay time TD from the pulse 201 of the clock training signal and output as the pulse 203 of the clock signal CLK.

상기 트레이닝 구간이 시작된 후 일정 시간이 지나면, 클록 코드 검출부(110) 및 클록 신호 생성부(130)는 전송 신호(RX)의 에지를 검출하여 복원 클록 신호(RCLK)를 생성한다. 상기 일정 시간은 클록 신호(CLK)를 입력으로서 수신하는 지연 고정 루프 회로가 상기 클록 트레이닝 신호를 수신할 때부터 락 될 때까지의 시간일 수 있다. 즉, 클록 코드 검출부(110) 및 클록 신호 생성부(130)는 상기 지연 고정 루프 회로가 락 된 후 복원 클록 신호(RCLK)를 생성할 수 있다. 예를 들어, 클록 코드 검출부(110) 및 클록 신호 생성부(130)는 클록 트레이닝 신호의 펄스(204)의 상승 에지를 검출하여 복원 클록 신호(RCLK)의 펄스(206)를 생성할 수 있다. 실시예에 따라, 출력부(170)는 지연 전송 신호(DRX)의 펄스(205)를 클록 신호(CLK)의 펄스(207)로서 출력하거나, 복원 클록 신호(RCLK)의 펄스(206)를 클록 신호(CLK)의 펄스(207)로서 출력할 수 있다.After a predetermined time has passed since the training period starts, the clock code detector 110 and the clock signal generator 130 detect the edge of the transmission signal RX to generate a recovery clock signal RCLK. The predetermined time may be a time from when the delay locked loop circuit, which receives the clock signal CLK as an input, receives the clock training signal until it is locked. That is, the clock code detector 110 and the clock signal generator 130 may generate a recovery clock signal RCLK after the delay lock loop circuit is locked. For example, the clock code detector 110 and the clock signal generator 130 may detect the rising edge of the pulse 204 of the clock training signal to generate the pulse 206 of the restored clock signal RCLK. According to an embodiment, the output unit 170 outputs the pulse 205 of the delayed transmission signal DRX as the pulse 207 of the clock signal CLK, or clocks the pulse 206 of the recovery clock signal RCLK. It can output as the pulse 207 of the signal CLK.

데이터 구간 동안, 전송 신호(RX)는 데이터 비트들(209) 및 데이터 비트들(209)에 부가된 클록 코드(208)를 포함한다. 지연 회로(150)는 전송 신호(RX)를 지연 시간(TD)만큼 지연시켜 지연 전송 신호(DRX)를 출력한다. 출력부(170)는 지연 회로(150)로부터 수신된 지연 전송 신호(DRX)를 데이터(DATA)로서 출력한다. 예를 들어, 클록 코드(208) 및 데이터 비트들(209)이 지연 시간(TD)만큼 지연된 클록 코 드(210) 및 데이터 비트들(211)이 데이터(DATA)로서 출력될 수 있다. 데이터(DATA)로서 출력된 클록 코드(212) 및/또는 데이터 비트들(213)은 샘플러에 의해 병렬화될 수 있다.During the data period, the transmission signal RX includes data bits 209 and a clock code 208 added to the data bits 209. The delay circuit 150 outputs the delayed transmission signal DRX by delaying the transmission signal RX by the delay time TD. The output unit 170 outputs the delayed transmission signal DRX received from the delay circuit 150 as data DATA. For example, the clock code 210 and the data bits 211 in which the clock code 208 and the data bits 209 are delayed by the delay time TD may be output as the data DATA. The clock code 212 and / or data bits 213 output as data DATA may be parallelized by a sampler.

상기 데이터 구간 동안, 클록 코드 검출부(110) 및 클록 신호 생성부(130)는 클록 코드(208)의 에지를 검출하여 복원 클록 신호(RCLK)를 생성하고, 출력부(170)는 복원 클록 신호(RCLK)를 클록 신호(CLK)로서 출력한다. 예를 들어, 클록 코드 검출부(110)는 클록 코드(208)와 데이터 비트들(209) 사이의 에지를 검출하여 클록 천이 신호(CTS)를 생성하고, 클록 신호 생성부(130)는 클록 천이 신호(CTS)에 응답하여 복원 클록 신호(RCLK)의 펄스(214)를 생성하며, 출력부(170)는 복원 클록 신호(RCLK)의 펄스(214)를 클록 신호(CLK)의 펄스(215)로서 출력할 수 있다.During the data period, the clock code detector 110 and the clock signal generator 130 detect the edge of the clock code 208 to generate a recovery clock signal RCLK, and the output unit 170 generates a recovery clock signal ( RCLK) is output as the clock signal CLK. For example, the clock code detector 110 detects an edge between the clock code 208 and the data bits 209 to generate a clock transition signal CTS, and the clock signal generator 130 generates a clock transition signal. In response to CTS, a pulse 214 of the recovery clock signal RCLK is generated, and the output unit 170 uses the pulse 214 of the recovery clock signal RCLK as the pulse 215 of the clock signal CLK. You can print

도 3a는 도 1의 클록 복원 회로에 포함된 클록 코드 검출부 및 클록 신호 생성부의 동작의 일 예를 설명하기 위한 타이밍도이다.3A is a timing diagram illustrating an example of operations of a clock code detector and a clock signal generator included in the clock recovery circuit of FIG. 1.

도 1 및 도 3a를 참조하면, 전송 신호(RX)에 포함된 클록 코드(214, 219)는 1 비트 길이를 가지고, 다음 데이터 비트(215, 221)의 값에 반대되는 값을 가진다. 예를 들어, 클록 코드(214)는 로직 하이 레벨을 가지는 다음 데이터 비트(215)에 반대되는 로직 로우 레벨을 가지고, 클록 코드(219)는 로직 로우 레벨을 가지는 다음 데이터 비트(220)에 반대되는 로직 하이 레벨을 가질 수 있다. 이에 따라, 클록 코드(214, 219)는 클록 코드(214, 219)와 다음 데이터 비트(215, 220)와의 사이의 에지(216, 221)를 가질 수 있다. 예를 들어, 클록 코드(214)는 상승 에지(216)를 가지고, 클록 코드(219)는 하강 에지(221)를 가질 수 있다.1 and 3A, the clock codes 214 and 219 included in the transmission signal RX have a length of 1 bit and have values opposite to the values of the next data bits 215 and 221. For example, clock code 214 has a logic low level as opposed to the next data bit 215 having a logic high level, and clock code 219 is opposed to the next data bit 220 having a logic low level. It may have a logic high level. Accordingly, clock codes 214 and 219 may have edges 216 and 221 between clock codes 214 and 219 and next data bits 215 and 220. For example, clock code 214 can have rising edge 216 and clock code 219 can have falling edge 221.

클록 코드 검출부(110)는 클록 윈도우 신호(CLKWIN)가 로직 하이 레벨을 가질 때 전송 신호(RX)의 에지를 검출할 수 있다. 또한, 클록 윈도우 신호(CLKWIN)는 클록 코드(214, 215)의 일 시점에서 다음 데이터 비트(219, 220)의 일 시점까지 로직 하이 레벨을 가질 수 있다. 이에 따라, 클록 코드 검출부(110)는 클록 코드(214, 219)의 에지를 검출할 수 있다. 예를 들어, 클록 코드 검출부(110)는 클록 윈도우 신호(CLKWIN)의 펄스(217)에 응답하여 클록 코드(214)의 상승 에지(216)를 검출하고, 클록 윈도우 신호(CLKWIN)의 펄스(222)에 응답하여 클록 코드(219)의 하강 에지(221)를 검출할 수 있다. 클록 코드 검출부(110)는 검출 결과로서 클록 코드(214, 219)의 에지(216, 221)에서 상승 천이하는 클록 천이 신호(CTS)를 출력한다.The clock code detector 110 may detect an edge of the transmission signal RX when the clock window signal CLKWIN has a logic high level. In addition, the clock window signal CLKWIN may have a logic high level from one time point of the clock codes 214 and 215 to one time point of the next data bits 219 and 220. Accordingly, the clock code detector 110 may detect edges of the clock codes 214 and 219. For example, the clock code detector 110 detects the rising edge 216 of the clock code 214 in response to the pulse 217 of the clock window signal CLKWIN, and the pulse 222 of the clock window signal CLKWIN. ), The falling edge 221 of the clock code 219 can be detected. The clock code detector 110 outputs a clock transition signal CTS that rises and transitions at the edges 216 and 221 of the clock codes 214 and 219 as a detection result.

클록 신호 생성부(130)는 클록 천이 신호(CTS)에 응답하여 복원 클록 신호(RCLK)를 생성한다. 클록 신호 생성부(130)는 클록 천이 신호(CTS)의 각각의 펄스들(218, 223)에 응답하여 주기적으로 상승 천이하는 복원 클록 신호(RCLK)를 생성할 수 있다.The clock signal generator 130 generates a recovery clock signal RCLK in response to the clock transition signal CTS. The clock signal generator 130 may generate a recovery clock signal RCLK that periodically rises and shifts in response to the pulses 218 and 223 of the clock transition signal CTS.

도 3b는 도 1의 클록 복원 회로에 포함된 클록 코드 검출부 및 클록 신호 생성부의 동작의 다른 예를 설명하기 위한 타이밍도이다.3B is a timing diagram illustrating another example of operations of the clock code detector and the clock signal generator included in the clock recovery circuit of FIG. 1.

도 1 및 도 3b를 참조하면, 전송 신호(RX)에 포함된 클록 코드(224)는 1 비트 길이를 가지고, 이전 데이터 비트(225)의 값에 반대되는 값을 가진다. 예를 들어, 클록 코드(224)는 로직 하이 레벨을 가지는 이전 데이터 비트(225)에 반대되는 로직 로우 레벨을 가지고, 이전 데이터 비트(225)와의 사이에서 하강 에지(226)를 가질 수 있다. 클록 코드 검출부(110)는 이전 데이터 비트(225)의 일 시점까지 클록 코드(224)의 일 시점까지 로직 하이 레벨을 가지는 클록 윈도우 신호(CLKWIN)의 펄스(227)에 응답하여 클록 코드(224)의 에지(226)를 검출하고, 클록 코드(224)의 에지(226)에서 상승 천이하는 클록 천이 신호(CTS)를 생성할 수 있다. 클록 신호 생성부(130)는 클록 천이 신호(CTS)의 펄스(228)에 응답하여 상승 천이하는 복원 클록 신호(RCLK)를 생성할 수 있다.1 and 3B, the clock code 224 included in the transmission signal RX has a length of one bit and has a value opposite to the value of the previous data bit 225. For example, clock code 224 may have a logic low level as opposed to previous data bit 225 having a logic high level, and may have falling edge 226 between previous data bits 225. The clock code detector 110 may respond to the clock code 224 in response to the pulse 227 of the clock window signal CLKWIN having a logic high level up to one point of the clock code 224 until one point of the previous data bit 225. Edge 226 may be detected, and a clock transition signal CTS that rises and transitions at edge 226 of clock code 224 may be generated. The clock signal generator 130 may generate a restored clock signal RCLK that rises and shifts in response to the pulse 228 of the clock transition signal CTS.

도 3c는 도 1의 클록 복원 회로에 포함된 클록 코드 검출부 및 클록 신호 생성부의 동작의 또 다른 예를 설명하기 위한 타이밍도이다.3C is a timing diagram illustrating another example of operations of a clock code detector and a clock signal generator included in the clock recovery circuit of FIG. 1.

도 1 및 도 3c를 참조하면, 전송 신호(RX)에 포함된 클록 코드(229)는 2 비트 길이를 가지고, 다음 데이터 비트(230)의 값에 반대되는 값을 가진다. 예를 들어, 클록 코드(229)는 로직 하이 레벨을 가지는 다음 데이터 비트(230)에 반대되는 로직 로우 레벨을 가지고, 다음 데이터 비트(230)와의 사이에서 상승 에지(231)를 가질 수 있다. 클록 코드 검출부(110)는 클록 코드(229)의 첫 비트의 일 시점에서 다음 데이터 비트(230)의 일 시점까지 로직 하이 레벨을 가지는 클록 윈도우 신호(CLKWIN)의 펄스(232)에 응답하여 클록 코드(229)의 에지(231)를 검출하고, 클록 코드(229)의 에지(231)에서 상승 천이하는 클록 천이 신호(CTS)를 생성할 수 있다. 클록 신호 생성부(130)는 클록 천이 신호(CTS)의 펄스(233)에 응답하여 상승 천이하는 복원 클록 신호(RCLK)를 생성할 수 있다.1 and 3C, the clock code 229 included in the transmission signal RX is two bits long and has a value opposite to the value of the next data bit 230. For example, clock code 229 may have a logic low level as opposed to next data bit 230 having a logic high level, and may have a rising edge 231 between the next data bit 230. The clock code detection unit 110 responds to the clock code in response to the pulse 232 of the clock window signal CLKWIN having a logic high level from one time point of the first bit of the clock code 229 to one time point of the next data bit 230. The edge 231 of 229 may be detected, and a clock transition signal CTS that rises and transitions at the edge 231 of the clock code 229 may be generated. The clock signal generator 130 may generate a restored clock signal RCLK that rises and shifts in response to the pulse 233 of the clock transition signal CTS.

도 3d는 도 1의 클록 복원 회로에 포함된 클록 코드 검출부 및 클록 신호 생성부의 동작의 또 다른 예를 설명하기 위한 타이밍도이다.FIG. 3D is a timing diagram illustrating another example of operations of the clock code detector and the clock signal generator included in the clock recovery circuit of FIG. 1.

도 1 및 도 3d를 참조하면, 전송 신호(RX)에 포함된 클록 코드(234)는 2 비트 길이를 가지고, 이전 데이터 비트(235)의 값에 반대되는 값을 가진다. 예를 들어, 클록 코드(234)는 로직 하이 레벨을 가지는 이전 데이터 비트(235)에 반대되는 로직 로우 레벨을 가지고, 이전 데이터 비트(235)와의 사이에서 하강 에지(236)를 가질 수 있다. 클록 코드 검출부(110)는 이전 데이터 비트(235)의 일 시점에서 클록 코드(234)의 두 번째 비트의 일 시점까지 로직 하이 레벨을 가지는 클록 윈도우 신호(CLKWIN)의 펄스(238)에 응답하여 클록 코드(234)의 에지(236)를 검출하고, 클록 코드(234)의 에지(236)에서 상승 천이하는 클록 천이 신호(CTS)를 생성할 수 있다. 클록 신호 생성부(130)는 클록 천이 신호(CTS)의 펄스(238)에 응답하여 상승 천이하는 복원 클록 신호(RCLK)를 생성할 수 있다.1 and 3D, the clock code 234 included in the transmission signal RX is two bits long and has a value opposite to the value of the previous data bit 235. For example, clock code 234 may have a logic low level as opposed to previous data bit 235 having a logic high level, and may have falling edge 236 between previous data bits 235. The clock code detector 110 clocks in response to the pulse 238 of the clock window signal CLKWIN having a logic high level from one time point of the previous data bit 235 to one time point of the second bit of the clock code 234. The edge 236 of the code 234 can be detected and a clock transition signal CTS that generates a rising transition at the edge 236 of the clock code 234 can be generated. The clock signal generator 130 may generate a restored clock signal RCLK that rises and shifts in response to the pulse 238 of the clock transition signal CTS.

도 3a 내지 도 3d에 도시된 바와 같이, 클록 코드는 1 비트 이상의 길이를 가질 수 있고, 이전 또는 다음 비트와의 사이에서 에지를 가질 수 있다. 설명의 편의상, 도 3a 내지 도 3d에는 클록 코드 검출부 및 클록 신호 생성부에 의한 지연이 도시되지 않았으나, 복원 클록 신호는 클록 코드 검출부 및 클록 신호 생성부에 의해 클록 코드의 에지에 대하여 지연될 수 있다. 또한, 클록 복원 회로는, 도 17 내지 도 21b를 참조하여 후술될 바와 같이, 전송율 및/또는 지연량에 따라 적응적으로 선택되는 클록 윈도우 신호를 이용함으로써, 클록 코드가 지연되더라도 정확하게 클록 코드의 에지를 검출하여 복원 클록 신호를 생성할 수 있다.As shown in FIGS. 3A-3D, the clock code may have a length of at least one bit and may have an edge between the previous or next bit. For convenience of explanation, although the delays due to the clock code detector and the clock signal generator are not illustrated in FIGS. 3A to 3D, the reconstructed clock signal may be delayed with respect to the edge of the clock code by the clock code detector and the clock signal generator. . In addition, the clock recovery circuit uses a clock window signal that is adaptively selected according to the transmission rate and / or the delay amount, as will be described later with reference to FIGS. 17 to 21B, so that the clock code edge is accurately corrected even if the clock code is delayed. Can be detected to generate a recovered clock signal.

도 4는 도 1의 클록 복원 회로에 포함된 클록 코드 검출부를 나타내는 블록도이다.4 is a block diagram illustrating a clock code detector included in the clock recovery circuit of FIG. 1.

도 4를 참조하면, 클록 코드 검출부(110)는 상승 검출기(111), 하강 검출기(113), 상승-하강 결정기(115) 및 선택기(117)를 포함한다.Referring to FIG. 4, the clock code detector 110 includes a rise detector 111, a fall detector 113, a rise-fall determiner 115, and a selector 117.

상승 검출기(111)는 클록 윈도우 신호(CLKWIN)에 기초하여 전송 신호(RX)에 포함된 클록 코드의 상승 에지를 검출하여 상승 에지 검출 신호(REDS)를 생성한다. 하강 검출기(113)는 클록 윈도우 신호(CLKWIN)에 기초하여 전송 신호(RX)에 포함된 클록 코드의 하강 에지를 검출하여 하강 에지 검출 신호(FEDS)를 생성한다. 클록 코드가 상승 에지를 가진 경우 상승 에지 검출 신호(REDS)가 상기 클록 코드의 상승 에지에 응답하여 활성화되고, 상기 클록 코드가 하강 에지를 가진 경우 하강 에지 검출 신호(FEDS)가 상기 클록 코드의 하강 에지에 응답하여 활성화될 수 있다.The rising detector 111 detects the rising edge of the clock code included in the transmission signal RX based on the clock window signal CLKWIN to generate the rising edge detection signal REDS. The falling detector 113 detects the falling edge of the clock code included in the transmission signal RX based on the clock window signal CLKWIN to generate the falling edge detection signal FEDS. The rising edge detection signal REDS is activated in response to the rising edge of the clock code if the clock code has a rising edge, and the falling edge detection signal FEDS is falling the clock code when the clock code has a falling edge. It may be activated in response to the edge.

일 실시예에서, 상승 검출기(111)는 클록 윈도우 신호(CLKWIN)가 인가되는 데이터 단자, 전송 신호(RX)가 인가되는 인에이블 단자, 클록 윈도우 신호(CLKWIN)가 인가되는 반전 리셋 단자, 및 상승 에지 검출 신호(REDS)가 출력되는 출력 단자를 가지는 제1 게이티드 래치를 포함할 수 있다. 상승 검출기(111)는 클록 윈도우 신호(CLKWIN)가 로직 로우 레벨을 가질 때 리셋될 수 있다. 상승 검출기(111)는, 클록 윈도우 신호(CLKWIN)가 로직 하이 레벨을 가지고, 전송 신호(RX)가 로직 하이 레벨을 가질 때, 클록 윈도우 신호(CLKWIN)를 그대로 출력하고, 전송 신호(RX)가 로직 로우 레벨을 가질 때 이전의 출력을 유지할 수 있다.In one embodiment, the rising detector 111 includes a data terminal to which the clock window signal CLKWIN is applied, an enable terminal to which the transmission signal RX is applied, an inverting reset terminal to which the clock window signal CLKWIN is applied, and a rising edge. It may include a first gated latch having an output terminal to which the edge detection signal (REDS) is output. The rising detector 111 may be reset when the clock window signal CLKWIN has a logic low level. The rising detector 111 outputs the clock window signal CLKWIN as it is when the clock window signal CLKWIN has a logic high level, and the transmission signal RX has a logic high level, and the transmission signal RX The previous output can be retained when having a logic low level.

하강 검출기(113)는 클록 윈도우 신호(CLKWIN)가 인가되는 데이터 단자, 전송 신호(RX)가 인가되는 반전 인에이블 단자, 클록 윈도우 신호(CLKWIN)가 인가되는 반전 리셋 단자, 및 하강 에지 검출 신호(FEDS)가 출력되는 출력 단자를 가지는 제2 게이티드 래치를 포함할 수 있다. 하강 검출기(113)는 클록 윈도우 신호(CLKWIN)가 로직 로우 레벨을 가질 때 리셋될 수 있다. 하강 검출기(113)는, 클록 윈도우 신호(CLKWIN)가 로직 하이 레벨을 가지고, 전송 신호(RX)가 로직 로우 레벨을 가질 때, 클록 윈도우 신호(CLKWIN)를 그대로 출력하고, 전송 신호(RX)가 로직 하이 레벨을 가질 때 이전의 출력을 유지할 수 있다.The falling detector 113 includes a data terminal to which the clock window signal CLKWIN is applied, an inverting enable terminal to which the transmission signal RX is applied, an inverting reset terminal to which the clock window signal CLKWIN is applied, and a falling edge detection signal ( FEDS) may include a second gated latch having an output terminal to which the FEDS is output. The falling detector 113 may be reset when the clock window signal CLKWIN has a logic low level. The falling detector 113 outputs the clock window signal CLKWIN as it is when the clock window signal CLKWIN has a logic high level, and the transmission signal RX has a logic low level, and the transmission signal RX The previous output can be retained when it has a logic high level.

상승-하강 결정기(115)는 클록 윈도우 신호(CLKWIN)에 기초하여 전송 신호(RX)에 포함된 클록 코드가 상승 에지를 가지는지 또는 하강 에지를 가지는지를 판단하여 상승-하강 결정 신호(RFDS)를 생성한다. 예를 들어, 상승-하강 결정기(115)는 상기 클록 코드가 상승 에지를 가질 때 로직 로우 레벨을 가지는 상승-하강 결정 신호(RFDS)를 생성하고, 상기 클록 코드가 하강 에지를 가질 때 로직 하이 레벨을 가지는 상승-하강 결정 신호(RFDS)를 생성할 수 있다.The rising-falling determiner 115 determines whether the clock code included in the transmission signal RX has the rising edge or the falling edge based on the clock window signal CLKWIN to generate the rising-falling determination signal RFDS. Create For example, the rise-fall determiner 115 generates a rise-fall decision signal (RFDS) having a logic low level when the clock code has a rising edge and a logic high level when the clock code has a falling edge. A rising-falling decision signal (RFDS) may be generated.

일 실시예에서, 상승-하강 결정기(115)는 전송 신호(RX)가 인가되는 데이터 단자, 클록 윈도우 신호(CLKWIN)가 인가되는 클록 단자, 및 상승-하강 결정 신호(RFDS)가 출력되는 출력 단자를 가지는 상승 에지 트리거드 플립-플롭을 포함할 수 있다. 상승-하강 결정기(115)는 클록 윈도우 신호(CLKWIN)의 상승 에지에 응답하여 전송 신호(RX)를 상승-하강 결정 신호(RFDS)로서 출력할 수 있다.In one embodiment, the rise-fall determiner 115 is a data terminal to which the transmission signal RX is applied, a clock terminal to which the clock window signal CLKWIN is applied, and an output terminal to which the rise-fall determination signal RFDS is output. And a rising edge triggered flip-flop having: The rising-falling determiner 115 may output the transmission signal RX as a rising-falling determination signal RFDS in response to the rising edge of the clock window signal CLKWIN.

선택기(117)는 상승-하강 결정기(115)로부터 수신된 상승-하강 결정 신호(RFDS)에 응답하여 클록 천이 신호(CTS)로서 상승 검출기(111)로부터 수신된 상승 에지 검출 신호(REDS) 또는 하강 검출기(113)로부터 수신된 하강 에지 검출 신호(FEDS)를 선택적으로 출력한다.The selector 117 is a rising edge detection signal (REDS) or falling edge received from the rising detector (111) as a clock transition signal (CTS) in response to the rising-falling determination signal (RFDS) received from the rising-falling determiner (115). The falling edge detection signal FEDS received from the detector 113 is selectively output.

일 실시예에서, 선택기(117)는 상승 에지 검출 신호(REDS)가 인가되는 제1 입력 단자, 하강 에지 검출 신호(FEDS)가 인가되는 제2 입력 단자, 상승-하강 결정 신호(RFDS)가 인가되는 선택 단자 및 클록 천이 신호(CTS)가 출력되는 출력 단자를 가지는 멀티플렉서를 포함할 수 있다. 예를 들어, 선택기(117)는, 상승-하강 결정 신호(RFDS)가 로직 로우 레벨을 가질 때 상승 에지 검출 신호(REDS)를 클록 천이 신호(CTS)로서 출력하고, 상승-하강 결정 신호(RFDS)가 로직 하이 레벨을 가질 때 하강 에지 검출 신호(FEDS)를 클록 천이 신호(CTS)로서 출력할 수 있다.In one embodiment, the selector 117 is applied with the rising edge detection signal (REDS), the first input terminal, the second input terminal to which the falling edge detection signal (FEDS) is applied, the rising-fall determination signal (RFDS) is applied. It may include a multiplexer having a selection terminal and an output terminal to which the clock transition signal (CTS) is output. For example, the selector 117 outputs the rising edge detection signal REDS as the clock transition signal CTS when the rising-falling determination signal RFDS has a logic low level, and the rising-falling determination signal RFDS. ) May output the falling edge detection signal FEDS as the clock transition signal CTS.

클록 코드 검출부(110)는 상기 클록 코드가 상승 에지를 가지는지 또는 하강 에지를 가지는지에 무관하게 상기 클록 코드의 에지를 검출할 수 있다.The clock code detector 110 may detect an edge of the clock code regardless of whether the clock code has a rising edge or a falling edge.

도 5는 도 4의 클록 코드 검출부의 동작을 설명하기 위한 타이밍도이다.FIG. 5 is a timing diagram for describing an operation of the clock code detector of FIG. 4.

도 4 및 도 5를 참조하면, 상승 검출기(111)는, 로직 로우 레벨을 가지는 클록 코드(239)가 인에이블 단자에 인가될 때, 이전 출력을 유지하여 로직 로우 레벨을 가지는 상승 에지 검출 신호(REDS)를 출력한다. 상승 검출기(111)의 인에이블 단자에 로직 하이 레벨을 가지는 데이터 비트(240)가 인가되면, 상승 검출기(111)는 로직 하이 레벨을 가지는 클록 윈도우 신호(CLKWIN)를 그대로 출력하여 로직 하이 레벨을 가지는 상승 에지 검출 신호(REDS)를 출력할 수 있다. 클록 윈도우 신호(CLKWIN)가 로직 로우 레벨로 천이하면, 상승 검출기(111)는 리셋되어 로직 로우 레벨을 가지는 상승 에지 검출 신호(REDS)를 다시 출력한다. 이에 따라, 상승 검출기(111)는 클록 코드(239)의 상승 에지에 응답하여 상승 천이하는 펄스(243)를 가지는 상승 에지 검출 신호(REDS)를 생성할 수 있다. 이와 유사하게, 하강 검출 기(113)는 클록 코드의 하강 에지에 응답하여 상승 천이하는 펄스(247)를 가지는 하강 에지 검출 신호(FEDS)를 생성할 수 있다.4 and 5, when the clock code 239 having the logic low level is applied to the enable terminal, the rising detector 111 maintains the previous output to maintain the previous output and has the rising edge detection signal having the logic low level. REDS) is printed. When a data bit 240 having a logic high level is applied to an enable terminal of the rise detector 111, the rise detector 111 outputs a clock window signal CLKWIN having a logic high level as it is to have a logic high level. The rising edge detection signal REDS may be output. When the clock window signal CLKWIN transitions to the logic low level, the rising detector 111 is reset to output the rising edge detection signal Reds having the logic low level again. Accordingly, the rising detector 111 may generate a rising edge detection signal REDS having a pulse 243 that rises in response to the rising edge of the clock code 239. Similarly, falling detector 113 may generate falling edge detection signal FEDS having a pulse 247 rising in response to the falling edge of the clock code.

상승-하강 결정기(115)는 클록 윈도우 신호(CLKWIN)의 상승 에지에 응답하여 전송 신호(RX)를 상승-하강 결정 신호(RFDS)로서 출력할 수 있다. 예를 들어, 상승-하강 결정기(115)는 클록 윈도우 신호(CLKWIN)의 펄스(242)의 상승 에지에 응답하여 로직 로우 레벨을 가지는 클록 코드(239)를 래치함으로써 로직 로우 레벨(245)을 가지는 상승-하강 결정 신호(RFDS)를 출력할 수 있다.The rising-falling determiner 115 may output the transmission signal RX as a rising-falling determination signal RFDS in response to the rising edge of the clock window signal CLKWIN. For example, the rise-fall determiner 115 has a logic low level 245 by latching a clock code 239 having a logic low level in response to the rising edge of the pulse 242 of the clock window signal CLKWIN. A rise-fall decision signal (RFDS) may be output.

선택기(117)는 상승-하강 결정 신호(RFDS)에 응답하여 클록 천이 신호(CTS)로서 상승 에지 검출 신호(REDS) 또는 하강 에지 검출 신호(FEDS)를 선택적으로 출력한다. 예를 들어, 선택기(117)는, 상승-하강 결정 신호(RFDS)가 로직 로우 레벨(245)을 가질 때, 상승 에지 검출 신호(REDS)를 클록 천이 신호(CTS)로서 출력하고, 상승-하강 결정 신호(RFDS)가 로직 하이 레벨(248)을 가질 때, 하강 에지 검출 신호(FEDS)를 클록 천이 신호(CTS)로서 출력할 수 있다. 이에 따라, 클록 천이 신호(CTS)는 클록 코드의 에지에서 상승 천이하는 펄스들(246, 249)을 가질 수 있다.The selector 117 selectively outputs the rising edge detection signal Reds or the falling edge detection signal FEDS as the clock transition signal CTS in response to the rising-falling determination signal RFDS. For example, the selector 117 outputs the rising edge detection signal REDS as the clock transition signal CTS and rises-down when the rising-falling determination signal RFDS has a logic low level 245. When the decision signal RFDS has a logic high level 248, the falling edge detection signal FEDS may be output as the clock transition signal CTS. Accordingly, the clock transition signal CTS may have pulses 246 and 249 rising at the edge of the clock code.

도 6은 도 1의 클록 복원 회로에 포함된 클록 신호 생성부를 나타내는 도면이다.FIG. 6 is a diagram illustrating a clock signal generator included in the clock recovery circuit of FIG. 1.

도 6을 참조하면, 클록 신호 생성부(130)는 SR 래치(131) 및 지연 회로(132)를 포함한다.Referring to FIG. 6, the clock signal generator 130 includes an SR latch 131 and a delay circuit 132.

지연 회로(132)는 클록 천이 신호(CTS)를 지연시켜 지연 클록 천이 신호(DCTS)를 출력한다. 지연 클록 천이 신호(DCTS)는 클록 천이 신호(CTS)의 펄스에 대하여 소정의 지연 시간만큼 지연된 펄스를 가질 수 있다.The delay circuit 132 outputs a delayed clock transition signal DCTS by delaying the clock transition signal CTS. The delayed clock transition signal DCTS may have a pulse delayed by a predetermined delay time with respect to the pulse of the clock transition signal CTS.

SR 래치(131)는 클록 천이 신호(CTS)가 인가되는 셋 단자, 지연 클록 천이 신호(DCTS)가 인가되는 리셋 단자, 및 복원 클록 신호(RCLK)가 출력되는 출력 단자를 가진다. SR 래치(131)는, 클록 천이 신호(CTS)가 로직 하이 레벨일 때 로직 하이 레벨을 가지는 복원 클록 신호(RCLK)를 출력하고, 지연 클록 천이 신호(DCTS)가 로직 하이 레벨일 때 로직 로우 레벨을 가지는 복원 클록 신호(RCLK)를 출력하며, 클록 천이 신호(CTS) 및 지연 클록 천이 신호(DCTS)가 모두 로직 로우 레벨을 가질 때 이전 출력을 유지한다. 이에 따라, SR 래치(131)는 클록 천이 신호(CTS)가 상승 천이할 때 상승 천이 하고, 지연 클록 천이 신호(DCTS)가 상승 천이할 때 하강 천이하는 복원 클록 신호(RCLK)를 생성할 수 있다.The SR latch 131 has a set terminal to which the clock transition signal CTS is applied, a reset terminal to which the delay clock transition signal DCTS is applied, and an output terminal to which the recovery clock signal RCLK is output. The SR latch 131 outputs a recovery clock signal RCLK having a logic high level when the clock transition signal CTS is at a logic high level, and a logic low level when the delay clock transition signal DCTS is at a logic high level. The recovery clock signal RCLK is outputted, and the previous output is maintained when both the clock transition signal CTS and the delay clock transition signal DCTS have a logic low level. Accordingly, the SR latch 131 may generate a recovery clock signal RCLK that rises when the clock transition signal CTS rises and falls when the delay clock transition signal DCTS rises. .

도 7은 도 6의 클록 신호 생성부의 동작을 설명하기 위한 타이밍도이다.FIG. 7 is a timing diagram for describing an operation of the clock signal generator of FIG. 6.

도 6 및 도 7을 참조하면, 클록 신호 생성부(130)는, 클록 천이 신호(CTS)의 펄스(252)의 상승 에지에 응답하여 로직 로우 레벨에서 로직 하이 레벨(254)로 천이하고, 지연 클록 천이 신호(DCTS)의 펄스(253)의 상승 에지에 응답하여 로직 하이 레벨(254)에서 로직 로우 레벨(255)로 하강 천이하는 복원 클록 신호(RCLK)를 생성할 수 있다. 이에 따라, 클록 신호 생성부(130)는 클록 코드(250)의 에지에서 상승 천이하는 주기적인 복원 클록 신호(RCLK)를 생성할 수 있다.6 and 7, the clock signal generator 130 transitions from the logic low level to the logic high level 254 in response to the rising edge of the pulse 252 of the clock transition signal CTS, and delays it. In response to the rising edge of the pulse 253 of the clock transition signal DCTS, the reconstructed clock signal RCLK falling from the logic high level 254 to the logic low level 255 may be generated. Accordingly, the clock signal generator 130 may generate a periodic recovery clock signal RCLK that rises and transitions at the edge of the clock code 250.

도 8은 도 1의 클록 복원 회로에 포함된 지연 회로를 나타내는 블록도이다.8 is a block diagram illustrating a delay circuit included in the clock recovery circuit of FIG. 1.

도 8을 참조하면, 지연 회로(150)는 검출기 복제 지연기(151), 선택기 복제 지연기(153) 및 래치 복제 지연기(155)를 포함한다.Referring to FIG. 8, the delay circuit 150 includes a detector replication delayer 151, a selector replication delayer 153, and a latch replication delayer 155.

검출기 복제 지연기(151)는 도 4의 상승 검출기(111) 또는 하강 검출기(111)의 지연 시간만큼 전송 신호(RX)를 지연시키고, 선택기 복제 지연기(153)는 도 4의 선택기(117)의 지연 시간만큼 전송 신호(RX)를 더욱 지연시키며, 래치 복제 지연기(155)는 도 6의 SR 래치(131)의 지연 시간만큼 전송 신호(RX)를 더욱 지연시킬 수 있다. 지연 회로(150)는 도 1의 클록 코드 검출부(110) 및 클록 신호 생성부(130)에 의해 생성된 복원 클록 신호(RCLK)가 지연된 시간만큼 전송 신호(RX)를 지연시킬 수 있다. 이에 따라, 도 1의 클록 복원 회로(100)는 실질적으로 동일한 지연 시간만큼 지연된 클록 신호(CLK) 및 데이터(DATA)를 출력할 수 있다.The detector replication delayer 151 delays the transmission signal RX by the delay time of the rising detector 111 or the falling detector 111 of FIG. 4, and the selector replication delayer 153 is the selector 117 of FIG. 4. Further, the transmission signal RX may be further delayed by a delay time, and the latch copy delayer 155 may further delay the transmission signal RX by the delay time of the SR latch 131 of FIG. 6. The delay circuit 150 may delay the transmission signal RX by a time for which the recovery clock signal RCLK generated by the clock code detector 110 and the clock signal generator 130 of FIG. 1 is delayed. Accordingly, the clock recovery circuit 100 of FIG. 1 may output the clock signal CLK and the data DATA delayed by substantially the same delay time.

도 9는 도 1의 클록 복원 회로에 포함된 출력부를 나타내는 블록도이다.9 is a block diagram illustrating an output unit included in the clock recovery circuit of FIG. 1.

도 9를 참조하면, 출력부(170)는 클록 출력부(171) 및 데이터 출력부(173)를 포함한다.9, the output unit 170 includes a clock output unit 171 and a data output unit 173.

클록 출력부(171)는 클록 신호(CLK)로서 복원 클록 신호(RCLK) 또는 지연 전송 신호(DRX)를 선택적으로 출력할 수 있다. 예를 들어, 클록 출력부(171)는, 트레이닝 구간 동안 지연 전송 신호(DRX)를 클록 신호(CLK)로서 출력하고, 데이터 구간 동안 복원 클록 신호(RCLK)를 클록 신호(CLK)로서 출력할 수 있다.The clock output unit 171 may selectively output the recovery clock signal RCLK or the delayed transmission signal DRX as the clock signal CLK. For example, the clock output unit 171 may output the delayed transmission signal DRX as the clock signal CLK during the training period, and output the recovery clock signal RCLK as the clock signal CLK during the data period. have.

일 실시예에서, 클록 출력부(171)는 복원 클록 신호(RCLK)가 인가되는 제1 입력 단자, 지연 전송 신호(DRX)가 인가되는 제2 입력 단자, 반전 락 검출 신호(LDSB)가 인가되는 선택 단자 및 클록 신호(CLK)가 출력되는 출력 단자를 가지는 멀티플렉서를 포함할 수 있다. 반전 락 검출 신호(LDSB)는 락 검출 신호(LDS)의 반전 신호로서, 클록 신호(CLK)를 수신하는 지연 고정 루프 회로로부터 출력될 수 있 다. 상기 지연 고정 루프 회로는 클록 신호(CLK)에 의해 락될 때 로직 하이 레벨을 가지는 락 검출 신호(LDS)를 출력할 수 있다. 이에 따라, 클록 출력부(171)는, 상기 지연 고정 루프 회로가 락되기 전에는 지연 전송 신호(DRX)를 클록 신호(CLK)로서 출력하고, 상기 지연 고정 루프 회로가 락된 후에는 복원 클록 신호(RCLK)를 클록 신호(CLK)로서 출력할 수 있다.데이터 출력부(173)는 데이터(DATA)로서 지연 전송 신호(DRX)를 선택적으로 출력할 수 있다. 예를 들어, 데이터 출력부(173)는, 트레이닝 구간 동안 데이터(DATA)를 출력하지 않고, 데이터 구간 동안 지연 전송 신호(DRX)를 데이터(DATA)로서 출력할 수 있다.In an embodiment, the clock output unit 171 may include a first input terminal to which the recovery clock signal RCLK is applied, a second input terminal to which the delay transmission signal DRX is applied, and an inversion lock detection signal LDSB. It may include a multiplexer having a selection terminal and an output terminal to which the clock signal CLK is output. The inverted lock detection signal LDSB is an inverted signal of the lock detection signal LDS and may be output from a delay locked loop circuit that receives the clock signal CLK. The delay locked loop circuit may output a lock detection signal LDS having a logic high level when locked by the clock signal CLK. Accordingly, the clock output unit 171 outputs the delayed transmission signal DRX as the clock signal CLK before the delay locked loop circuit is locked, and restores the recovered clock signal RCLK after the delay locked loop circuit is locked. ) May be output as the clock signal CLK. The data output unit 173 may selectively output the delayed transmission signal DRX as the data DATA. For example, the data output unit 173 may output the delayed transmission signal DRX as the data DATA during the data period without outputting the data DATA during the training period.

일 실시예에서, 데이터 출력부(173)는 락 검출 신호(LDS) 및 반전 락 검출 신호(LDSB)에 의해 제어되는 전송 게이트(transmission gate)를 포함할 수 있다. 데이터 출력부(173)는, 락 검출 신호(LDS)가 로직 하이 레벨을 가지고, 반전 락 검출 신호(LDSB)가 로직 로우 레벨을 가질 때, 지연 전송 신호(DRX)를 출력할 수 있다. 이에 따라, 데이터 출력부(173)는 데이터 구간 동안 데이터(DATA)를 출력할 수 있다.In one embodiment, the data output unit 173 may include a transmission gate controlled by the lock detection signal LDS and the inversion lock detection signal LDSB. The data output unit 173 may output the delayed transmission signal DRX when the lock detection signal LDS has a logic high level and the inversion lock detection signal LDSB has a logic low level. Accordingly, the data output unit 173 may output data DATA during the data period.

도 10은 도 1의 클록 복원 회로를 포함하는 샘플링 신호 생성기를 나타내는 블록도이다.FIG. 10 is a block diagram illustrating a sampling signal generator including the clock recovery circuit of FIG. 1.

도 10을 참조하면, 샘플링 신호 생성기(300)는 클록 복원 회로(100) 및 지연 고정 루프 회로(400)를 포함한다. 지연 고정 루프 회로(400)는 위상 주파수 검출기(410), 락 검출기(420), 제어 신호 생성기(430), 딜레이 라인(440) 및 클록 윈도우 생성기(450)를 포함한다.Referring to FIG. 10, the sampling signal generator 300 includes a clock recovery circuit 100 and a delay locked loop circuit 400. The delay locked loop circuit 400 includes a phase frequency detector 410, a lock detector 420, a control signal generator 430, a delay line 440, and a clock window generator 450.

클록 복원 회로(100)는 클록 코드를 포함하는 전송 신호(RX)를 수신하고, 클록 윈도우 신호(CLKWIN)에 응답하여 상기 클록 코드의 에지를 검출함으로써 클록 신호(CLK)를 생성한다. 또한, 클록 복원 회로(100)는 데이터 구간 동안 전송 신호(RX)를 데이터(DATA)로서 출력할 수 있다.The clock recovery circuit 100 receives the transmission signal RX including the clock code and generates the clock signal CLK by detecting an edge of the clock code in response to the clock window signal CLKWIN. In addition, the clock recovery circuit 100 may output the transmission signal RX as the data DATA during the data period.

위상 주파수 검출기(410)는 클록 복원 회로(100)로부터 수신된 클록 신호(CLK)와 딜레이 라인(440)으로부터 수신된 지연 클록 신호(DCLK)의 위상 차를 검출하고, 클록 신호(CLK)와 지연 클록 신호(DCLK)의 검출된 위상 차에 기초하여 업 신호(UP) 및 다운 신호(DN)를 생성한다. 제어 신호 생성기(430)는 위상 주파수 검출기(410)로부터 수신된 업 신호(UP) 및 다운 신호(DN)에 응답하여 지연 제어 신호(CTRL)를 생성한다. 제어 신호 생성기(430)는, 업 신호(UP)에 응답하여 충전 전류를 생성하고, 다운 신호(DN)에 응답하여 방전 전류를 생성하는 차지 펌프, 및 상기 차지 펌프에 의해 충전 또는 방전되어 클록 신호(CLK)와 지연 클록 신호(DCLK)의 위상 차에 상응하는 지연 제어 신호(CTRL)를 생성하는 루프 필터를 포함할 수 있다.The phase frequency detector 410 detects a phase difference between the clock signal CLK received from the clock recovery circuit 100 and the delayed clock signal DCLK received from the delay line 440, and delays the clock signal CLK. The up signal UP and the down signal DN are generated based on the detected phase difference of the clock signal DCLK. The control signal generator 430 generates a delay control signal CTRL in response to the up signal UP and the down signal DN received from the phase frequency detector 410. The control signal generator 430 may include a charge pump generating a charge current in response to the up signal UP and generating a discharge current in response to a down signal DN, and a clock signal charged or discharged by the charge pump. And a loop filter for generating a delay control signal CTRL corresponding to a phase difference between the CLK and the delayed clock signal DCLK.

예를 들어, 지연 클록 신호(DCLK)가 클록 신호(CLK)보다 늦은 경우, 위상 주파수 검출기(410)는 로직 하이 레벨을 가지는 업 신호(UP)를 생성하고, 제어 신호 생성기(430)는 업 신호(UP)에 응답하여 딜레이 라인(440)의 지연 시간을 감소시키는 지연 제어 신호(CTRL)를 생성할 수 있다. 또한, 지연 클록 신호(DCLK)가 클록 신호(CLK)보다 앞선 경우, 위상 주파수 검출기(410)는 로직 하이 레벨을 가지는 다운 신호(DN)를 생성하고, 제어 신호 생성기(430)는 다운 신호(DN)에 응답하여 딜레 이 라인(440)의 지연 시간을 증가시키는 지연 제어 신호(CTRL)를 생성할 수 있다.For example, when the delay clock signal DCLK is later than the clock signal CLK, the phase frequency detector 410 generates an up signal UP having a logic high level, and the control signal generator 430 generates the up signal. In response to UP, a delay control signal CTRL may be generated to reduce the delay time of the delay line 440. In addition, when the delay clock signal DCLK is earlier than the clock signal CLK, the phase frequency detector 410 generates the down signal DN having a logic high level, and the control signal generator 430 generates the down signal DN. ) May generate a delay control signal CTRL that increases the delay time of the delay line 440.

락 검출기(420)는 업 신호(UP) 및 다운 신호(DN)에 기초하여 지연 고정 루프 회로(400)의 락 여부를 나타내는 락 검출 신호(LDS)를 생성한다. 예를 들어, 락 검출기(420)는 업 신호(UP) 및 다운 신호(DN)가 로직 하이 레벨을 가지는 구간들 또는 그 차가 일정 시간 이하인 경우, 로직 하일 레벨을 가지는 락 검출 신호(LDS)를 생성할 수 있다.The lock detector 420 generates a lock detection signal LDS indicating whether the delay locked loop circuit 400 is locked based on the up signal UP and the down signal DN. For example, the lock detector 420 generates a lock detection signal LDS having a logic high level when the up signal UP and the down signal DN have a logic high level or when a difference is less than a predetermined time. can do.

딜레이 라인(440)은 클록 복원 회로(100)로부터 수신된 클록 신호(CLK)를 지연시켜 지연 클록 신호(DCLK)를 생성한다. 또한, 딜레이 라인(440)은 클록 신호(CLK)를 순차적으로 지연시키는 복수의 딜레이 셀들을 포함하고, 상기 복수의 딜레이 셀들로부터 각각 출력되는 클록 신호들을 포함하는 다중 위상 클록 신호(MPCS)를 생성할 수 있다. 또한, 딜레이 라인(440)은 다중 위상 클록 신호(MPCS)를 클록 윈도우 생성기(450)에 제공할 수 있고, 다중 위상 클록 신호(MPCS)를 샘플링 신호(SS)로서 외부의 샘플러에 제공할 수 있다.The delay line 440 delays the clock signal CLK received from the clock recovery circuit 100 to generate the delayed clock signal DCLK. In addition, the delay line 440 may include a plurality of delay cells that sequentially delay the clock signal CLK, and generate a multi-phase clock signal MPCS including clock signals output from the plurality of delay cells, respectively. Can be. In addition, the delay line 440 may provide the multi-phase clock signal MPCS to the clock window generator 450, and may provide the multi-phase clock signal MPCS to the external sampler as the sampling signal SS. .

클록 윈도우 생성기(450)는 딜레이 라인(440)으로부터 수신된 다중 위상 클록 신호(MPCS)에 기초하여 클록 윈도우 신호(CLKWIN)를 생성한다. 클록 윈도우 생성기(450)는 클록 윈도우 신호(CLKWIN)를 생성하도록 다중 위상 클록 신호(MPCS)에 논리 연산을 수행할 수 있다. 또한, 클록 윈도우 생성기(450)는 전송 신호(RX)의 데이터 전송율 및/또는 클록 복원 회로(100)의 지연량에 따라 클록 윈도우 신호(CLKWIN)를 적응적으로 생성할 수 있다. 도 10에는 클록 윈도우 생성기(450)가 지연 고정 루프 회로(400)에 포함되도록 도시되어 있으나, 클록 윈도우 생성 기(450)의 일부 또는 전부는 지연 고정 루프 회로(400)의 외부에 위치할 수 있고, 클록 복원 회로(100)에 포함될 수도 있다.The clock window generator 450 generates the clock window signal CLKWIN based on the multi-phase clock signal MPCS received from the delay line 440. The clock window generator 450 may perform a logic operation on the multi-phase clock signal MPCS to generate the clock window signal CLKWIN. In addition, the clock window generator 450 may adaptively generate the clock window signal CLKWIN according to the data rate of the transmission signal RX and / or the delay amount of the clock recovery circuit 100. Although the clock window generator 450 is illustrated in FIG. 10 to be included in the delay locked loop circuit 400, some or all of the clock window generator 450 may be located outside the delay locked loop circuit 400. It may be included in the clock recovery circuit 100.

샘플링 신호 생성기(300)는 클록 윈도우 신호(CLKWIN)를 이용하여 전송 신호(RX)로부터 클록 신호(CLK)를 정확하고 효율적으로 복원할 수 있고, 데이터(DATA)에 상응하는 샘플링 신호(SS)를 생성할 수 있다.The sampling signal generator 300 may accurately and efficiently recover the clock signal CLK from the transmission signal RX by using the clock window signal CLKWIN, and may extract the sampling signal SS corresponding to the data DATA. Can be generated.

도 11은 도 10의 샘플링 신호 생성기에 포함된 딜레이 라인을 나타내는 블록도이다.FIG. 11 is a block diagram illustrating a delay line included in the sampling signal generator of FIG. 10.

도 11을 참조하면, 딜레이 라인(440)은 제1 내지 제N+3 딜레이 셀들(441, 442, 443, 444, 445, 446, 447, 448)을 포함한다.Referring to FIG. 11, the delay line 440 includes first through N + 3th delay cells 441, 442, 443, 444, 445, 446, 447, and 448.

제1 내지 제N+3 딜레이 셀들(441, 442, 443, 444, 445, 446, 447, 448)은 클록 신호(CLK)를 순차적으로 지연시켜 제1 내지 제3 클록 신호들(CLK_1, CLK_2, CLK_A, CLK_B, CLK_N, CLK_N+1, CLK_N+2, CLK_N+3)을 각각 출력한다. 제1 내지 제N+3 딜레이 셀들(441, 442, 443, 444, 445, 446, 447, 448)은 실질적으로 동일한 지연 시간만큼 입력되는 클록 신호를 지연시킬 수 있다. 또한, 제1 내지 제N+3 딜레이 셀들(441, 442, 443, 444, 445, 446, 447, 448)은 지연 제어 신호(CTRL)에 의해 지연 시간을 증가 또는 감소시키도록 제어될 수 있다.The first to N + 3 delay cells 441, 442, 443, 444, 445, 446, 447, and 448 sequentially delay the clock signal CLK, so that the first to third clock signals CLK_1, CLK_2, CLK_A, CLK_B, CLK_N, CLK_N + 1, CLK_N + 2, and CLK_N + 3) are output respectively. The first to N + 3th delay cells 441, 442, 443, 444, 445, 446, 447, and 448 may delay a clock signal input by substantially the same delay time. In addition, the first to N + 3th delay cells 441, 442, 443, 444, 445, 446, 447, and 448 may be controlled to increase or decrease the delay time by the delay control signal CTRL.

제1 내지 제N+3 딜레이 셀들(441, 442, 443, 444, 445, 446, 447, 448) 각각은 복수의 서브 딜레이 셀들을 포함할 수 있다. 예를 들어, 제2 딜레이 셀(442)은 제1 서브 딜레이 셀(442a), 제2 서브 딜레이 셀(442b), 제3 서브 딜레이 셀(442c), 및 제4 서브 딜레이 셀(442d)을 포함할 수 있다. 제1 내지 제N+3 딜레이 셀들(441, 442, 443, 444, 445, 446, 447, 448) 각각은 복수의 서브 딜레이 셀들의 중간에서 제1 내지 제3 클록 신호들(CLK_1, CLK_2, CLK_A, CLK_B, CLK_N, CLK_N+1, CLK_N+2, CLK_N+3)을 각각 출력할 수 있다. 예를 들어, 제2 딜레이 셀(442)은 제2 서브 딜레이 셀(442b)의 출력 노드, 즉 제3 서브 딜레이 셀(442c)의 입력 노드에서 제2 클록 신호(CLK_2)를 출력할 수 있다.Each of the first to N + 3th delay cells 441, 442, 443, 444, 445, 446, 447, and 448 may include a plurality of sub delay cells. For example, the second delay cell 442 includes a first sub delay cell 442a, a second sub delay cell 442b, a third sub delay cell 442c, and a fourth sub delay cell 442d. can do. Each of the first to N + 3 delay cells 441, 442, 443, 444, 445, 446, 447, and 448 may include first to third clock signals CLK_1, CLK_2, and CLK_A in the middle of the plurality of sub delay cells. , CLK_B, CLK_N, CLK_N + 1, CLK_N + 2, and CLK_N + 3) can be output respectively. For example, the second delay cell 442 may output the second clock signal CLK_2 at the output node of the second sub delay cell 442b, that is, the input node of the third sub delay cell 442c.

일 실시예에서, 전송 신호가 N개의 데이터 비트들 및 N개의 데이터 비트들마다 부가되는 2 비트 길이의 클록 코드를 포함할 때, 딜레이 라인(440)은 N+3 개의 딜레이 셀들(441, 442, 443, 444, 445, 446, 447, 448)을 포함할 수 있다. 딜레이 라인(440)은 제N+2 딜레이 셀(447)의 출력 노드, 즉 제N+3 딜레이 셀(448)의 입력 노드에서 지연 클록 신호(DCLK)를 출력할 수 있다. 이에 따라, 전송 신호가 매 주기 N+2개의 비트들을 포함하고, 딜레이 라인(440)이 N+2개의 딜레이 셀들의 지연 시간만큼 클록 신호(CLK)를 지연시켜 지연 클록 신호(DCLK)를 출력하므로, 각 딜레이 셀의 지연 시간은 전송 신호의 한 비트 길이에 상응할 수 있다.In one embodiment, when the transmission signal comprises N data bits and a 2-bit long clock code added every N data bits, the delay line 440 may include N + 3 delay cells 441, 442,. 443, 444, 445, 446, 447, 448). The delay line 440 may output the delay clock signal DCLK at an output node of the N + 2th delay cell 447, that is, an input node of the N + 3th delay cell 448. Accordingly, since the transmission signal includes N + 2 bits every period, the delay line 440 outputs the delayed clock signal DCLK by delaying the clock signal CLK by the delay time of the N + 2 delay cells. The delay time of each delay cell may correspond to one bit length of the transmission signal.

도 12는 도 10의 샘플링 신호 생성기에 포함된 클록 윈도우 생성기의 일 예를 나타내는 도면이다.FIG. 12 is a diagram illustrating an example of a clock window generator included in the sampling signal generator of FIG. 10.

도 12를 참조하면, 클록 윈도우 생성기(450)는 AND 게이트(451) 및 인버터(452)를 포함한다.Referring to FIG. 12, the clock window generator 450 includes an AND gate 451 and an inverter 452.

인버터(452)는 제N+3 클록 신호(CLK_N+3)를 반전시킨다. AND 게이트(451)는 제N+1 클록 신호(CLK_N+1)와 제N+3 클록 신호(CLK_N+3)의 반전 신호에 AND 연산을 수행한다. AND 게이트(451)는 제N+1 클록 신호(CLK_N+1)가 로직 하이 레벨을 가지 고, 제N+3 클록 신호(CLK_N+3)가 로직 로우 레벨을 가질 때, 로직 하이 레벨을 가지는 클록 윈도우 신호(CLKWIN)를 생성할 수 있다. 이에 따라, 클록 윈도우 생성기(450)는 제N+1 클록 신호(CLK_N+1)의 상승 에지에서 제N+3 클록 신호(CLK_N+3)의 상승 에지까지 로직 하이 레벨을 가지는 클록 윈도우 신호(CLKWIN)를 생성할 수 있다.The inverter 452 inverts the N + 3th clock signal CLK_N + 3. The AND gate 451 performs an AND operation on an inverted signal of the N + 1 th clock signal CLK_N + 1 and the N + 3 th clock signal CLK_N + 3. The AND gate 451 has a logic high level when the N + 1 th clock signal CLK_N + 1 has a logic high level and the N + 3 th clock signal CLK_N + 3 has a logic low level. The window signal CLKWIN can be generated. Accordingly, the clock window generator 450 has a clock window signal CLKWIN having a logic high level from the rising edge of the N + 1 th clock signal CLK_N + 1 to the rising edge of the N + 3 th clock signal CLK_N + 3. ) Can be created.

도 13은 도 11의 딜레이 라인 및 도 12의 클록 윈도우 생성기의 동작을 설명하기 위한 타이밍도이다.FIG. 13 is a timing diagram for describing an operation of the delay line of FIG. 11 and the clock window generator of FIG. 12.

도 11 내지 도 13을 참조하면, 클록 신호(CLK)는 클록 코드의 에지(256)에서 상승 천이하고, 지연 클록 신호(DCLK)는 클록 신호(CLK)와 실질적으로 동일한 위상을 가질 수 있다. 제1 딜레이 셀(441)에 포함된 서브 딜레이 셀들의 중간에서 출력되는 제1 클록 신호(CLK_1)는 제1 데이터 비트(D1)의 중간에서 상승 천이할 수 있다. 또한, 제2 내지 제N 클록 신호들(CLK_2, CLK_A, CLK_B, CLK_N)은 각각 제2 내지 제N 데이터 비트들(D2, DA, DB, DN)의 중간에서 상승 천이할 수 있다. 이에 따라, 제1 내지 제N 클록 신호들(CLK_1, CLK_2, CLK_A, CLK_B, CLK_N)은 각각 제1 내지 제N 데이터 비트들(D1, D2, DA, DB, DN)을 샘플링하는 데에 사용될 수 있다.11 to 13, the clock signal CLK rises and transitions at the edge 256 of the clock code, and the delay clock signal DCLK may have substantially the same phase as the clock signal CLK. The first clock signal CLK_1 output in the middle of the sub delay cells included in the first delay cell 441 may rise and shift in the middle of the first data bit D1. Also, the second to Nth clock signals CLK_2, CLK_A, CLK_B, and CLK_N may rise and transition in the middle of the second to Nth data bits D2, DA, DB, and DN, respectively. Accordingly, the first to Nth clock signals CLK_1, CLK_2, CLK_A, CLK_B, and CLK_N may be used to sample the first to Nth data bits D1, D2, DA, DB, and DN, respectively. have.

제N+1 클록 신호(CLK_N+1)는 클록 코드(CC)의 첫 번째 비트의 중간에서 상승 천이할 수 있고, 제N+2 클록 신호(CLK_N+2)는 클록 코드(CC)의 두 번째 비트의 중간에서 상승 천이할 수 있다. 또한, 제N+3 클록 신호(CLK_N+3)는 다음 주기의 첫 번째 데이터 비트(D1)에 중간에서 상승 천이할 수 있다. 즉, 제N+3 딜레이 셀(448)은 제1 딜레이 셀(441)에서 출력되는 제1 클록 신호(CLK_1)가 한 주기 지연된 제 N+3 클록 신호(CLK_N+3)를 출력할 수 있다.The N + 1 th clock signal CLK_N + 1 may rise and shift in the middle of the first bit of the clock code CC, and the N + 2 th clock signal CLK_N + 2 is the second of the clock code CC. It can rise in the middle of the bit. In addition, the N + 3 th clock signal CLK_N + 3 may rise in the middle of the first data bit D1 of the next period. That is, the N + 3 delay cell 448 may output the N + 3 clock signal CLK_N + 3 delayed by one period from the first clock signal CLK_1 output from the first delay cell 441.

클록 윈도우 생성기(450)는 제N+1 클록 신호(CLK_N+1) 및 제N+3 클록 신호(CLK_N+3)에 논리 연산을 수행하여 클록 윈도우 신호(CLKWIN)를 생성할 수 있다. 예를 들어, 클록 윈도우 생성기(450)는 제N+3 클록 신호(CLK_N+3)를 반전시키고, 제N+1 클록 신호(CLK_N+1) 및 제N+3 클록 신호(CLK_N+3)의 반전 신호에 AND 연산을 수행하여 클록 윈도우 신호(CLKWIN)를 생성할 수 있다. 이에 따라, 클록 윈도우 신호(CLKWIN)는, 제N+1 클록 신호(CLK_N+1)가 로직 하이 레벨(258)을 가지고, 제N+3 클록 신호(CLK_N+3)가 로직 로우 레벨(259)을 가질 때, 로직 하이 레벨(260)을 가질 수 있다. 도 1의 클록 복원 회로(100)는 로직 하이 레벨(260)을 가지는 클록 윈도우 신호(CLKWIN)에 기초하여 전송 신호(RX)의 에지(256)를 검출하고, 전송 신호(RX)의 에지(256)에서 상승 에지(257)를 가지는 클록 신호(CLK)를 생성할 수 있다.The clock window generator 450 may generate a clock window signal CLKWIN by performing a logic operation on the N + 1 th clock signal CLK_N + 1 and the N + 3 th clock signal CLK_N + 3. For example, the clock window generator 450 inverts the N + 3 th clock signal CLK_N + 3, and the clock window generator 450 inverts the N + 3 th clock signal CLK_N + 1 and the N + 3 th clock signal CLK_N + 3. The clock window signal CLKWIN may be generated by performing an AND operation on the inverted signal. Accordingly, the clock window signal CLKWIN has an N + 1 th clock signal CLK_N + 1 having a logic high level 258 and an N + 3 th clock signal CLK_N + 3 having a logic low level 259. May have a logic high level 260. The clock recovery circuit 100 of FIG. 1 detects the edge 256 of the transmission signal RX based on the clock window signal CLKWIN having the logic high level 260, and the edge 256 of the transmission signal RX. ) May generate a clock signal CLK having a rising edge 257.

이와 같이, 본 발명의 일 실시예에 따른 클록 복원 회로 및 샘플링 신호 생성기는 클록 윈도우 신호를 이용하여 클록 코드의 에지를 검출함으로써 클록 임베디드 데이터로부터 클록 신호를 정확하게 복원할 수 있다.As such, the clock recovery circuit and the sampling signal generator according to the embodiment of the present invention can accurately recover the clock signal from the clock embedded data by detecting the edge of the clock code using the clock window signal.

도 14는 본 발명의 다른 실시예에 따른 클록 복원 회로에 포함된 클록 신호 생성부를 나타내는 도면이다.14 is a diagram illustrating a clock signal generator included in a clock recovery circuit according to another exemplary embodiment of the present invention.

도 14를 참조하면, 클록 신호 생성부(130)는 SR 래치(131)를 포함한다.Referring to FIG. 14, the clock signal generator 130 includes an SR latch 131.

SR 래치(131)는 클록 천이 신호(CTS)가 인가되는 셋 단자, 클록 하강 신호(CFS)가 인가되는 리셋 단자, 및 복원 클록 신호(RCLK)가 출력되는 출력 단자를 가진다. SR 래치(131)는, 클록 천이 신호(CTS)가 로직 하이 레벨일 때 로직 하이 레벨을 가지는 복원 클록 신호(RCLK)를 출력하고, 클록 하강 신호(CFS)가 로직 하이 레벨일 때 로직 로우 레벨을 가지는 복원 클록 신호(RCLK)를 출력하며, 클록 천이 신호(CTS) 및 클록 하강 신호(CFS)가 모두 로직 로우 레벨을 가질 때 이전 출력을 유지한다. 이에 따라, SR 래치(131)는 클록 천이 신호(CTS)가 상승 천이할 때 상승 천이 하고, 클록 하강 신호(CFS)가 상승 천이할 때 하강 천이하는 복원 클록 신호(RCLK)를 생성할 수 있다.The SR latch 131 has a set terminal to which the clock transition signal CTS is applied, a reset terminal to which the clock falling signal CFS is applied, and an output terminal to which the recovery clock signal RCLK is output. The SR latch 131 outputs a recovery clock signal RCLK having a logic high level when the clock transition signal CTS is at a logic high level, and outputs a logic low level when the clock falling signal CFS is at a logic high level. The branch outputs a recovery clock signal RCLK and maintains the previous output when both the clock transition signal CTS and the clock falling signal CFS have a logic low level. Accordingly, the SR latch 131 may generate a recovery clock signal RCLK that rises when the clock transition signal CTS rises and falls when the clock fall signal CFS rises.

클록 신호 생성부(130)는 본 발명의 다른 실시예에 따른 도 10의 지연 고정 루프 회로(400)로부터 클록 하강 신호(CFS)를 수신할 수 있다. 도 10의 지연 고정 루프 회로(400)는 다중 위상 클록 신호(MPCS)에 기초하여 클록 하강 신호(CFS)를 생성하는 회로를 더 포함할 수 있다. 예를 들어, 클록 하강 신호(CFS)를 생성하는 회로는 도 12의 클록 윈도우 생성기(450)와 유사한 구성을 가질 수 있다.The clock signal generator 130 may receive the clock falling signal CFS from the delay locked loop circuit 400 of FIG. 10 according to another exemplary embodiment of the present invention. The delay locked loop circuit 400 of FIG. 10 may further include a circuit for generating a clock falling signal CFS based on the multi-phase clock signal MPCS. For example, the circuit for generating the clock falling signal CFS may have a configuration similar to the clock window generator 450 of FIG. 12.

다시 도 13을 참조하면, 클록 하강 신호(CFS)는 제A 클록 신호(CLK_A) 및 제B 클록 신호(CLK_B)의 반전 신호에 AND 연산을 수행하여 생성될 수 있다. 이에 따라, 클록 하강 신호(CFS)는, 제A 클록 신호(CLK_A)가 로직 하이 레벨(262)을 가지고, 제B 클록 신호(CLK_B)가 로직 로우 레벨(263)을 가질 때, 로직 하이 레벨(264)을 가질 수 있다. 제A 클록 신호(CLK_A) 및 제B 클록 신호(CLK_B)는 도 11의 딜레이 라인(440)의 중간에 위치한 두 개의 딜레이 셀들에서 각각 출력된 신호일 수 있다. 예를 들어, 제A 클록 신호(CLK_A)는 딜레이 라인(440)에 포함된 N+3 개의 딜레이 셀들 중 N/2+1 번째 딜레이 셀에서 출력된 신호이고, 제B 클록 신호(CLK_B)는 N/2+2 번째 딜레이 셀에서 출력된 신호일 수 있다. 본 발명의 다른 실시예에 따른 클록 신호 생성부(130)를 포함하는 클록 복원 회로는 로직 하이 레벨(264)을 가지는 클록 하강 신호(CFS)에 응답하여 하강 에지(261)를 가지는 클록 신호(CLK)를 생성할 수 있다.Referring back to FIG. 13, the clock falling signal CFS may be generated by performing an AND operation on the inverted signals of the A-th clock signal CLK_A and the B-th clock signal CLK_B. Accordingly, the clock falling signal CFS has a logic high level when the A clock signal CLK_A has a logic high level 262 and the B clock signal CLK_B has a logic low level 263. 264). The A-th clock signal CLK_A and the B-th clock signal CLK_B may be signals output from two delay cells positioned in the middle of the delay line 440 of FIG. 11. For example, the A-th clock signal CLK_A is a signal output from the N / 2 + 1th delay cell among the N + 3 delay cells included in the delay line 440, and the B-th clock signal CLK_B is N It may be a signal output from the / 2 + 2th delay cell. The clock recovery circuit including the clock signal generator 130 according to another exemplary embodiment of the present invention may include a clock signal CLK having the falling edge 261 in response to the clock falling signal CFS having the logic high level 264. ) Can be created.

본 발명의 다른 실시예에 따른 도 14의 클록 신호 생성부(130)는 도 6의 클록 신호 생성부(130)에 비하여 지연 회로(132) 없이 도 10의 지연 고정 루프 회로(400)로부터 수신된 클록 하강 신호(CFS)에 기초하여 복원 클록 신호(RCLK)를 생성할 수 있다.According to another embodiment of the present invention, the clock signal generator 130 of FIG. 14 is received from the delay locked loop circuit 400 of FIG. 10 without the delay circuit 132 compared to the clock signal generator 130 of FIG. 6. The recovery clock signal RCLK may be generated based on the clock falling signal CFS.

도 15는 본 발명의 또 다른 실시예에 따른 샘플링 신호 생성기에 포함된 클록 윈도우 생성기를 나타내는 도면이다.15 illustrates a clock window generator included in a sampling signal generator according to another embodiment of the present invention.

도 10 및 도 15를 참조하면, 클록 윈도우 생성기(450)는 윈도우 신호 생성부(460) 및 윈도우 신호 선택부(470)를 포함한다.10 and 15, the clock window generator 450 includes a window signal generator 460 and a window signal selector 470.

윈도우 신호 생성부(460)는 딜레이 라인(440)으로부터 다중 위상 클록 신호의 적어도 일부를 수신한다. 예를 들어, 윈도우 신호 생성부(460)는 상기 다중 위상 클록 신호 중 제N 클록 신호(CLK_N), 제N+1 클록 신호(CLK_N+1), 제N+2 클록 신호(CLK_N+2) 및 제N+3 클록 신호(CLK_N+3)를 수신할 수 있다.The window signal generator 460 receives at least a portion of the multi-phase clock signal from the delay line 440. For example, the window signal generator 460 may include an N-th clock signal CLK_N, an N + 1 th clock signal CLK_N + 1, an N + 2 th clock signal CLK_N + 2, and the multi-phase clock signal. An N + 3 th clock signal CLK_N + 3 may be received.

윈도우 신호 생성부(460)는 지연 클록 신호(DCLK)에 대하여 약 1.5 비트 길이만큼 앞선 제N+1 클록 신호(CLK_N+1) 및 지연 클록 신호(DCLK)에 대하여 약 0.5 비트 길이만큼 늦은 제N+3 클록 신호(CLK_N+3)에 논리 연산을 수행하여 제N+1 클록 신호(CLK_N+1)의 상승 에지와 제N+3 클록 신호(CLK_N+3)의 상승 에지 사이에서 로 직 하이 레벨을 가지는 제1 윈도우 신호(CLKWIN1)를 생성할 수 있다. 또한, 윈도우 신호 생성부(460)는 지연 클록 신호(DCLK)에 대하여 약 2.5 비트 길이만큼 앞선 제N 클록 신호(CLK_N) 및 지연 클록 신호(DCLK)에 대하여 약 0.5 비트 길이만큼 앞선 제N+2 클록 신호(CLK_N+2)에 논리 연산을 수행하여 제N 클록 신호(CLK_N)의 상승 에지와 제N+2 클록 신호(CLK_N+2)의 상승 에지 사이에서 로직 하이 레벨을 가지는 제2 윈도우 신호(CLKWIN2)를 생성할 수 있다.The window signal generator 460 is Nth plus one clock signal CLK_N + 1 that is about 1.5 bits long with respect to the delayed clock signal DCLK and Nth delayed by about 0.5 bits with respect to the delayed clock signal DCLK. Logic high level is performed between the rising edge of the N + 1th clock signal CLK_N + 1 and the rising edge of the N + 3th clock signal CLK_N + 3 by performing a logic operation on the +3 clock signal CLK_N + 3. The first window signal CLKWIN1 may be generated. In addition, the window signal generation unit 460 may be N-th clock signal CLK_N preceding the delayed clock signal DCLK by about 2.5 bits and N + 2 preceding the delayed clock signal DCLK by about 0.5 bits. By performing a logic operation on the clock signal CLK_N + 2, the second window signal having a logic high level is provided between the rising edge of the Nth clock signal CLK_N and the rising edge of the N + 2th clock signal CLK_N + 2. CLKWIN2) can be created.

윈도우 신호 선택부(470)는 윈도우 신호 생성부(460)로부터 제1 윈도우 신호(CLKWIN1) 및/또는 제2 윈도우 신호(CLKWIN2)를 수신할 수 있다. 윈도우 신호 선택부(470)는 제1 윈도우 신호(CLKWIN1) 및/또는 제2 윈도우 신호(CLKWIN2)와 전송 신호(RX)에 포함된 클록 코드의 에지 사이의 간격을 검출할 수 있다. 윈도우 신호 선택부(470)는 상기 검출된 간격이 일정한 값 이상인지를 판단하여 제1 윈도우 신호(CLKWIN1) 또는 제2 윈도우 신호(CLKWIN2)를 나타내는 윈도우 선택 신호(WINSEL)를 생성할 수 있다.The window signal selector 470 may receive the first window signal CLKWIN1 and / or the second window signal CLKWIN2 from the window signal generator 460. The window signal selector 470 may detect an interval between the first window signal CLKWIN1 and / or the second window signal CLKWIN2 and an edge of a clock code included in the transmission signal RX. The window signal selector 470 may determine whether the detected interval is equal to or greater than a predetermined value and generate a window selection signal WINSEL indicating the first window signal CLKWIN1 or the second window signal CLKWIN2.

일 실시예에서, 윈도우 신호 선택부(470)는 제1 윈도우 신호(CLKWIN1)가 전송 신호(RX)에 포함된 클록 코드의 에지에 대하여 일정한 마진을 가지는지를 판단할 수 있다. 예를 들어, 윈도우 신호 선택부(470)는, 제1 윈도우 신호(CLKWIN1)의 상승 에지가 상기 클록 코드의 에지에 대하여 상기 일정한 마진으로서 약 0.5 비트 길이 이상 앞선 경우, 제1 윈도우 신호(CLKWIN1)를 나타내는 윈도우 선택 신호(WINSEL)를 생성할 수 있다. 윈도우 신호 선택부(470)는, 제1 윈도우 신호(CLKWIN1)의 상승 에지가 상기 클록 코드의 에지에 대하여 전송 신호(RX)의 약 0.5 비트 길이 이상 앞서지 않은 경우, 제2 윈도우 신호(CLKWIN2)를 나타내는 윈도우 선택 신호(WINSEL)를 생성할 수 있다.In an embodiment, the window signal selector 470 may determine whether the first window signal CLKWIN1 has a constant margin with respect to the edge of the clock code included in the transmission signal RX. For example, the window signal selector 470 may include the first window signal CLKWIN1 when the rising edge of the first window signal CLKWIN1 is about 0.5 bit or more long as the constant margin with respect to the edge of the clock code. A window selection signal WINSEL may be generated. The window signal selector 470 may select the second window signal CLKWIN2 when the rising edge of the first window signal CLKWIN1 is not more than about 0.5 bits long from the transmission signal RX with respect to the edge of the clock code. The window selection signal WINSEL may be generated.

윈도우 신호 생성부(460)는 윈도우 신호 선택부(470)로부터 수신된 윈도우 선택 신호(WINSEL)에 응답하여 클록 윈도우 신호(CLKWIN)로서 제1 윈도우 신호(CLKWIN1) 또는 제2 윈도우 신호(CLKWIN2)를 선택적으로 출력할 수 있다.The window signal generator 460 may receive the first window signal CLKWIN1 or the second window signal CLKWIN2 as the clock window signal CLKWIN in response to the window selection signal WINSEL received from the window signal selector 470. You can optionally output it.

전송 신호(RX)의 전송율이 높아서 클록 복원 회로(100)에 의한 클록 신호(CLK) 또는 클록 신호(CLK)에 상응하는 지연 클록 신호(DCLK)의 지연 시간이 중대한 경우, 지연 클록 신호(DCLK)를 기준으로 생성된 클록 윈도우 신호(CLKWIN)는 전송 신호(RX)에 포함된 클록 코드의 에지 검출에 적합하지 않을 수 있다. 그러나, 본 발명의 또 다른 실시예에 따른 클록 윈도우 생성기(450)를 포함하는 샘플링 신호 생성기(300)는 전송율 및/또는 지연량에 따라 적응적으로 클록 윈도우 신호(CLKWIN)를 생성함으로써, 정확하게 클록 코드의 에지를 검출하여 클록 신호(CLK) 및 샘플링 신호(SS)를 생성할 수 있다.When the transmission rate of the transmission signal RX is high and the delay time of the clock signal CLK by the clock recovery circuit 100 or the delayed clock signal DCLK corresponding to the clock signal CLK is significant, the delayed clock signal DCLK The clock window signal CLKWIN generated based on the reference may not be suitable for edge detection of the clock code included in the transmission signal RX. However, the sampling signal generator 300 including the clock window generator 450 according to another embodiment of the present invention accurately generates the clock window signal CLKWIN according to the transmission rate and / or the delay amount, thereby accurately correcting the clock. The edge of the code may be detected to generate a clock signal CLK and a sampling signal SS.

도 16은 도 15의 클록 윈도우 생성기에 포함된 윈도우 신호 생성부를 나타내는 도면이다.FIG. 16 is a diagram illustrating a window signal generator included in the clock window generator of FIG. 15.

도 16을 참조하면, 포함된 윈도우 신호 생성부(460)는 제1 인버터(461), 제1 AND 게이트(462), 제2 인버터(463), 제2 AND 게이트(464) 및 멀티플렉서(465)를 포함한다.Referring to FIG. 16, the included window signal generator 460 includes a first inverter 461, a first AND gate 462, a second inverter 463, a second AND gate 464, and a multiplexer 465. It includes.

제1 인버터(461)는 제N+3 클록 신호(CLK_N+3)를 반전시킨다. 제1 AND 게이트(462)는 제N+1 클록 신호(CLK_N+1)와 제N+3 클록 신호(CLK_N+3)의 반전 신호에 AND 연산을 수행한다. 제1 AND 게이트(462)는 제N+1 클록 신호(CLK_N+1)가 로직 하이 레벨을 가지고, 제N+3 클록 신호(CLK_N+3)가 로직 로우 레벨을 가질 때, 로직 하이 레벨을 가지는 제1 윈도우 신호(CLKWIN1)를 생성할 수 있다. 이에 따라, 제1 윈도우 신호(CLKWIN1)는 제N+1 클록 신호(CLK_N+1)의 상승 에지에서 제N+3 클록 신호(CLK_N+3)의 상승 에지까지 로직 하이 레벨을 가질 수 있다.The first inverter 461 inverts the N + 3 th clock signal CLK_N + 3. The first AND gate 462 performs an AND operation on an inverted signal of the N + 1 th clock signal CLK_N + 1 and the N + 3 th clock signal CLK_N + 3. The first AND gate 462 has a logic high level when the N + 1 th clock signal CLK_N + 1 has a logic high level and the N + 3 th clock signal CLK_N + 3 has a logic low level. The first window signal CLKWIN1 may be generated. Accordingly, the first window signal CLKWIN1 may have a logic high level from the rising edge of the N + 1 th clock signal CLK_N + 1 to the rising edge of the N + 3 th clock signal CLK_N + 3.

제2 인버터(463)는 제N+2 클록 신호(CLK_N+2)를 반전시킨다. 제2 AND 게이트(464)는 제N 클록 신호(CLK_N)와 제N+2 클록 신호(CLK_N+2)의 반전 신호에 AND 연산을 수행한다. 제2 AND 게이트(464)는 제N 클록 신호(CLK_N)가 로직 하이 레벨을 가지고, 제N+2 클록 신호(CLK_N+2)가 로직 로우 레벨을 가질 때, 로직 하이 레벨을 가지는 제2 윈도우 신호(CLKWIN2)를 생성할 수 있다. 이에 따라, 제2 윈도우 신호(CLKWIN2)는 제N 클록 신호(CLK_N)의 상승 에지에서 제N+2 클록 신호(CLK_N+2)의 상승 에지까지 로직 하이 레벨을 가질 수 있다.The second inverter 463 inverts the N + 2th clock signal CLK_N + 2. The second AND gate 464 performs an AND operation on an inverted signal of the Nth clock signal CLK_N and the N + 2th clock signal CLK_N + 2. The second AND gate 464 has a second window signal having a logic high level when the N-th clock signal CLK_N has a logic high level and the N + 2 clock signal CLK_N + 2 has a logic low level. You can create (CLKWIN2). Accordingly, the second window signal CLKWIN2 may have a logic high level from the rising edge of the N th clock signal CLK_N to the rising edge of the N + 2 th clock signal CLK_N + 2.

멀티플렉서(465)는 제1 윈도우 신호(CLKWIN1)가 인가되는 제1 입력 단자, 제2 윈도우 신호(CLKWIN2)가 인가되는 제2 입력 단자, 도 17의 윈도우 신호 선택부(470)로부터 윈도우 선택 신호(WINSEL)가 인가되는 선택 단자 및 클록 윈도우 신호(CLKWIN)가 출력되는 출력 단자를 가진다. 멀티플렉서(465)는 윈도우 선택 신호(WINSEL)에 응답하여 윈도우 선택 신호(WINSEL)로서 제1 윈도우 신호(CLKWIN1) 또는 제2 윈도우 신호(CLKWIN2)를 선택적으로 출력한다. 예를 들어, 멀티플렉서(465)는, 윈도우 선택 신호(WINSEL)가 로직 하이 레벨을 가질 때 제1 윈도우 신호(CLKWIN1)를 클록 윈도우 신호(CLKWIN)로서 출력하고, 윈도우 선택 신호(WINSEL) 가 로직 로우 레벨을 가질 때 제2 윈도우 신호(CLKWIN2)를 클록 윈도우 신호(CLKWIN)로서 출력할 수 있다.The multiplexer 465 may include a window selection signal from the first input terminal to which the first window signal CLKWIN1 is applied, the second input terminal to which the second window signal CLKWIN2 is applied, and the window signal selection unit 470 of FIG. 17. And a selection terminal to which the WINSEL is applied and an output terminal to which the clock window signal CLKWIN is output. The multiplexer 465 selectively outputs the first window signal CLKWIN1 or the second window signal CLKWIN2 as the window selection signal WINSEL in response to the window selection signal WINSEL. For example, the multiplexer 465 outputs the first window signal CLKWIN1 as the clock window signal CLKWIN when the window select signal WINSEL has a logic high level, and the window select signal WINSEL is logic low. When having a level, the second window signal CLKWIN2 may be output as the clock window signal CLKWIN.

도 17는 도 15의 클록 윈도우 생성기에 포함된 윈도우 신호 선택부의 일 예를 나타내는 도면이다.17 is a diagram illustrating an example of a window signal selector included in the clock window generator of FIG. 15.

도 17을 참조하면, 윈도우 신호 선택부(470)는 지연 회로(471), 제1 플립-플롭(472), 제2 플립-플롭(473) 및 XOR 게이트(474)를 포함한다.Referring to FIG. 17, the window signal selector 470 includes a delay circuit 471, a first flip-flop 472, a second flip-flop 473, and an XOR gate 474.

지연 회로(471)는 도 17의 윈도우 신호 생성부(460)로부터 수신된 제1 윈도우 신호(CLKWIN1)를 수신한다. 지연 회로(471)는 제1 윈도우 신호(CLKWIN1)를 약 0.5 비트 길이, 즉 지연 라인에 포함된 지연 셀의 지연 시간의 절반만큼 제1 윈도우 신호(CLKWIN1)를 지연시킬 수 있다. 지연 회로(471)의 지연 시간은 제1 윈도우 신호(CLKWIN1)가 전송 신호(RX)에 포함된 클록 코드의 에지에 대한 마진에 따라 결정될 수 있다.The delay circuit 471 receives the first window signal CLKWIN1 received from the window signal generator 460 of FIG. 17. The delay circuit 471 may delay the first window signal CLKWIN1 by about 0.5 bits in length, that is, half of the delay time of the delay cell included in the delay line. The delay time of the delay circuit 471 may be determined according to the margin for the edge of the clock code in which the first window signal CLKWIN1 is included in the transmission signal RX.

제1 플립-플롭(472)은 지연 회로(471)에 의해 지연된 제1 윈도우 신호(CLKWIN1)에 응답하여 전송 신호(RX)를 래치한다. 제1 플립-플롭(472)은 전송 신호(RX)가 인가되는 데이터 단자, 지연 회로(471)에 의해 지연된 제1 윈도우 신호(CLKWIN1)가 인가되는 클록 단자, 및 출력 단자를 가지는 상승 에지 트리거드 플립-플롭일 수 있다. 이에 따라, 제1 플립-플롭(472)은 지연 회로(471)에 의해 지연된 제1 윈도우 신호(CLKWIN1)의 상승 에지에서의 전송 신호(RX)의 값을 출력할 수 있다.The first flip-flop 472 latches the transmission signal RX in response to the first window signal CLKWIN1 delayed by the delay circuit 471. The first flip-flop 472 is a rising edge triggered having a data terminal to which the transmission signal RX is applied, a clock terminal to which the first window signal CLKWIN1 delayed by the delay circuit 471 is applied, and an output terminal. It may be a flip-flop. Accordingly, the first flip-flop 472 may output the value of the transmission signal RX at the rising edge of the first window signal CLKWIN1 delayed by the delay circuit 471.

제2 플립-플롭(473)은 지연 회로(471)에 의해 지연된 제1 윈도우 신 호(CLKWIN1)에 응답하여 전송 신호(RX)를 래치한다. 제2 플립-플롭(473)은 전송 신호(RX)가 인가되는 데이터 단자, 지연 회로(471)에 의해 지연된 제1 윈도우 신호(CLKWIN1)가 인가되는 클록 단자, 및 출력 단자를 가지는 하강 에지 트리거드 플립-플롭일 수 있다. 이에 따라, 제2 플립-플롭(473)은 지연 회로(471)에 의해 지연된 제1 윈도우 신호(CLKWIN1)의 하강 에지에서의 전송 신호(RX)의 값을 출력할 수 있다.The second flip-flop 473 latches the transmission signal RX in response to the first window signal CLKWIN1 delayed by the delay circuit 471. The second flip-flop 473 is a falling edge triggered having a data terminal to which the transmission signal RX is applied, a clock terminal to which the first window signal CLKWIN1 delayed by the delay circuit 471 is applied, and an output terminal. It may be a flip-flop. Accordingly, the second flip-flop 473 may output the value of the transmission signal RX at the falling edge of the first window signal CLKWIN1 delayed by the delay circuit 471.

XOR 게이트(474)는 제1 플립-플롭(472)의 출력 신호 및 제2 플립-플롭(473)의 출력 신호에 XOR 연산을 수행한다. 제1 플립-플롭(472)의 출력 신호와 제2 플립-플롭(473)의 출력 신호가 같은 로직 레벨을 가진 경우, 제1 윈도우 신호(CLKWIN1)는 전송 신호(RX)에 포함된 클록 코드의 에지 검출에 적합하지 않다. 이에 따라, XOR 게이트(474)는 로직 로우 레벨을 가지는 윈도우 선택 신호(WINSEL)를 생성하고, 도 18의 멀티플렉서(465)는 제2 윈도우 신호(CLKWIN2)를 클록 윈도우 신호(CLKWIN)로서 출력할 수 있다.The XOR gate 474 performs an XOR operation on the output signal of the first flip-flop 472 and the output signal of the second flip-flop 473. When the output signal of the first flip-flop 472 and the output signal of the second flip-flop 473 have the same logic level, the first window signal CLKWIN1 is the clock code included in the transmission signal RX. Not suitable for edge detection. Accordingly, the XOR gate 474 generates the window select signal WINSEL having a logic low level, and the multiplexer 465 of FIG. 18 may output the second window signal CLKWIN2 as the clock window signal CLKWIN. have.

제1 플립-플롭(472)의 출력 신호와 제2 플립-플롭(473)의 출력 신호가 같은 로직 레벨을 가진 경우, 제1 윈도우 신호(CLKWIN1)는 전송 신호(RX)에 포함된 클록 코드의 에지에 대하여 지연 회로(471)의 지연 시간만큼의 마진을 가지고, 상기 클록 코드의 에지 검출에 적합하다. 이에 따라, XOR 게이트(474)는 로직 하이 레벨을 가지는 윈도우 선택 신호(WINSEL)를 생성하고, 도 16의 멀티플렉서(465)는 제1 윈도우 신호(CLKWIN1)를 클록 윈도우 신호(CLKWIN)로서 출력할 수 있다.When the output signal of the first flip-flop 472 and the output signal of the second flip-flop 473 have the same logic level, the first window signal CLKWIN1 is the clock code included in the transmission signal RX. It has a margin equal to the delay time of the delay circuit 471 with respect to the edge, and is suitable for edge detection of the clock code. Accordingly, the XOR gate 474 generates the window select signal WINSEL having a logic high level, and the multiplexer 465 of FIG. 16 may output the first window signal CLKWIN1 as the clock window signal CLKWIN. have.

이와 같이, 윈도우 신호 선택부(470)를 포함하는 클록 윈도우 생성기는 클록 코드의 에지에 대하여 일정한 마진을 가진 클록 윈도우 신호를 생성할 수 있다. 이에 따라, 윈도우 신호 선택부(470)를 포함하는 클록 윈도우 생성기는 클록 복원시의 지연이 크거나 데이터가 고속으로 전송되더라도 클록 코드의 에지를 정확하게 검출할 수 있다.As such, the clock window generator including the window signal selector 470 may generate a clock window signal having a constant margin with respect to the edge of the clock code. Accordingly, the clock window generator including the window signal selector 470 can accurately detect the edge of the clock code even when a delay in clock recovery is large or data is transmitted at high speed.

일 실시예에서, 윈도우 신호 선택부(470)는, 클록 트레이닝 신호가 전송되는 트레이닝 구간 동안 클록 윈도우 신호(CLKWIN)를 적응적으로 선택하는 동작을 수행하고, 클록 코드를 포함하는 데이터가 전송되는 데이터 구간 동안 전송 오류를 검출하는 클록 오류 검출기로서 동작할 수 있다. 상기 데이터 구간 동안, 윈도우 신호 선택부(470)는 전송 신호(RX) 및 트레이닝 구간 동안 선택된 제1 윈도우 신호(CLKWIN1) 또는 제2 윈도우 신호(CLKWIN2)를 수신하고, 전송 오류, 예를 들어 전송 신호(RX)에 클록 코드가 포함되지 않은 오류를 검출할 수 있다. 전송 신호(RX)에 클록 코드가 포함되지 않은 경우, 도 17의 윈도우 신호 선택부(470)를 포함하는 수신 장치는 송신 장치에 전송 오류를 알리고, 상기 송신 장치는 상기 수신 장치에 클록 트레이닝 신호 및/또는 데이터를 재전송할 수 있다.In one embodiment, the window signal selector 470 adaptively selects the clock window signal CLKWIN during a training period in which the clock training signal is transmitted, and transmits data including a clock code. It can act as a clock error detector that detects transmission errors during the interval. During the data period, the window signal selector 470 receives the transmission signal RX and the first window signal CLKWIN1 or the second window signal CLKWIN2 selected during the training period and transmit a transmission error, for example, a transmission signal. An error in which the clock code is not included in (RX) can be detected. When the clock signal is not included in the transmission signal RX, the reception apparatus including the window signal selection unit 470 of FIG. 17 notifies the transmission apparatus of the transmission error, and the transmission apparatus sends a clock training signal and And / or resend the data.

도 18a는 도 17의 윈도우 신호 선택부의 동작의 일 예를 설명하기 위한 타이밍도이다.18A is a timing diagram illustrating an example of an operation of the window signal selector of FIG. 17.

도 17 및 도 18a를 참조하면, 윈도우 신호 선택부(470)는 트레이닝 구간 동안 도 10의 지연 고정 루프 회로(400)가 락된 후, 즉 락 검출 신호(LDS)가 로직 하이 레벨(268)을 가질 때 적응적 윈도우 선택 동작을 수행한다. 도 10의 클록 복원 회로(100)에 의해 생성된 클록 신호(CLK)는 전송 신호(RX)보다 복원 지연 시 간(TRD)만큼 지연된다. 클록 신호(CLK)의 상승 에지보다 약 1.5 비트 길이만큼 앞선 상승 에지 및 약 0.5 비트 길이만큼 늦은 하강 에지를 가진 제1 윈도우 신호(CLKWIN1)의 펄스(267)는 전송 신호(RX)에 대하여 약 1.5 비트 길이에서 복원 지연 시간(TRD)을 제한 만큼의 마진(M1)을 가진다. 이 때, 제1 윈도우 신호(CLKWIN1)의 마진(M1)이 소정의 시간, 예를 들어 약 0.5 비트 길이 이상인 경우, 윈도우 신호 선택부(470)는 클록 윈도우 신호(CLKWIN)로서 제1 윈도우 신호(CLKWIN1)를 선택할 수 있다. 이에 따라, 데이터 구간 동안, 전송 신호(RX)에 포함된 클록 코드의 에지는 소정의 마진(M1)을 가진 클록 윈도우 신호(CLKWIN)의 펄스(269)를 이용하여 정확하게 검출될 수 있다.Referring to FIGS. 17 and 18A, the window signal selector 470 may have a logic high level 268 after the delay locked loop circuit 400 of FIG. 10 is locked during the training period, that is, the lock detection signal LDS is locked. Perform an adaptive window selection operation. The clock signal CLK generated by the clock recovery circuit 100 of FIG. 10 is delayed by the recovery delay time TRD than the transmission signal RX. The pulse 267 of the first window signal CLKWIN1 having a rising edge about 1.5 bits long before the rising edge of the clock signal CLK and a falling edge about 0.5 bits long is about 1.5 with respect to the transmission signal RX. It has a margin M1 that limits the recovery delay time TRD in the bit length. At this time, when the margin M1 of the first window signal CLKWIN1 is equal to or longer than a predetermined time, for example, about 0.5 bit in length, the window signal selector 470 is a clock window signal CLKWIN. CLKWIN1) can be selected. Accordingly, during the data period, the edge of the clock code included in the transmission signal RX may be accurately detected by using the pulse 269 of the clock window signal CLKWIN having a predetermined margin M1.

도 18b는 도 17의 윈도우 신호 선택부의 동작의 다른 예를 설명하기 위한 타이밍도이다.18B is a timing diagram for describing another example of the operation of the window signal selector of FIG. 17.

도 17 및 도 18b를 참조하면, 제1 윈도우 신호(CLKWIN1)의 펄스(267)는 전송 신호(RX)에 대하여 소정의 마진(M1)을 가진다. 이 때, 제1 윈도우 신호(CLKWIN1)의 마진(M1)이 소정의 시간, 예를 들어 약 0.5 비트 길이 미만인 경우, 제1 윈도우 신호(CLKWIN1)는 클록 코드 검출에 적합하지 않다. 이에 따라, 제1 윈도우 신호(CLKWIN1)에 대하여 약 1 비트 길이 앞선 제2 윈도우 신호(CLKWIN2)가 클록 윈도우 신호(CLKWIN)로서 선택될 수 있다. 제2 윈도우 신호(CLKWIN2)의 펄스(275)는 전송 신호(RX)에 대하여 소정의 마진(M2), 예를 들어 약 0.5 비트 길이 이상 앞설 수 있다. 이에 따라, 데이터 구간 동안, 전송 신호(RX)에 포함된 클록 코드의 에지는 소정의 마진(M2)을 가진 클록 윈도우 신호(CLKWIN)의 펄스(276)를 이용하여 정확하 게 검출될 수 있다.17 and 18B, the pulse 267 of the first window signal CLKWIN1 has a predetermined margin M1 with respect to the transmission signal RX. At this time, when the margin M1 of the first window signal CLKWIN1 is less than a predetermined time, for example, about 0.5 bit long, the first window signal CLKWIN1 is not suitable for clock code detection. Accordingly, the second window signal CLKWIN2 about 1 bit in length with respect to the first window signal CLKWIN1 may be selected as the clock window signal CLKWIN. The pulse 275 of the second window signal CLKWIN2 may precede the transmission signal RX by a predetermined margin M2, for example, about 0.5 bit or more. Accordingly, during the data period, the edge of the clock code included in the transmission signal RX may be accurately detected by using the pulse 276 of the clock window signal CLKWIN having a predetermined margin M2.

이와 같이, 본 발명의 또 다른 실시예에 따른 도 15의 클록 윈도우 생성기(450)는 전송율 및/또는 지연량에 따라 전송 신호(RX)에 대하여 소정의 마진을 가진 클록 윈도우 신호(CLKWIN)를 적응적으로 생성할 수 있다. 이에 따라, 본 발명의 또 다른 실시예에 따른 클록 복원 회로는 적응적으로 생성된 클록 윈도우 신호(CLKWIN)를 이용하여 고속 전송 시에도 클록 코드를 정확하게 검출할 수 있다. 또한, 발명의 또 다른 실시예에 따른 샘플링 신호 생성기는 고속 동작에 적합하다.As such, the clock window generator 450 of FIG. 15 according to another embodiment of the present invention adapts the clock window signal CLKWIN having a predetermined margin with respect to the transmission signal RX according to the transmission rate and / or the delay amount. Can be generated as Accordingly, the clock recovery circuit according to another embodiment of the present invention can accurately detect the clock code even at high speed using the adaptively generated clock window signal CLKWIN. In addition, the sampling signal generator according to another embodiment of the invention is suitable for high speed operation.

도 19는 본 발명의 더욱 또 다른 실시예에 샘플링 신호 생성기에 포함된 윈도우 신호 선택부를 나타내는 도면이다.19 is a diagram illustrating a window signal selector included in a sampling signal generator according to still another embodiment of the present invention.

도 19를 참조하면, 윈도우 신호 선택부(470)는 지연 회로(471), 제1 플립-플롭(472), 제2 플립-플롭(473), XOR 게이트(474), 제3 플립-플롭(475), 카운터(476) 및 비교기(477)을 포함한다.Referring to FIG. 19, the window signal selector 470 may include a delay circuit 471, a first flip-flop 472, a second flip-flop 473, an XOR gate 474, and a third flip-flop ( 475, counter 476 and comparator 477.

지연 회로(471)는 제1 윈도우 신호(CLKWIN1)를 원하는 마진만큼 지연시킨다. 제1 플립-플롭(472)은 지연 회로(471)에 의해 지연된 제1 윈도우 신호(CLKWIN1)의 상승 에지에서의 전송 신호(RX)의 값을 출력한다. 제2 플립-플롭(473)은 지연 회로(471)에 의해 지연된 제1 윈도우 신호(CLKWIN1)의 하강 에지에서의 전송 신호(RX)의 값을 출력한다. XOR 게이트(474)는 제1 플립-플롭(472)의 출력 신호 및 제2 플립-플롭(473)의 출력 신호에 XOR 연산을 수행하여, 지연 회로(471)에 의해 지연된 제1 윈도우 신호(CLKWIN1)의 상승 에지와 하강 에지 사이에서 전송 신호(RX)에 포함된 클록 코드의 에지가 존재하는지를 나타내는 신호를 출력한다.The delay circuit 471 delays the first window signal CLKWIN1 by a desired margin. The first flip-flop 472 outputs a value of the transmission signal RX at the rising edge of the first window signal CLKWIN1 delayed by the delay circuit 471. The second flip-flop 473 outputs a value of the transmission signal RX at the falling edge of the first window signal CLKWIN1 delayed by the delay circuit 471. The XOR gate 474 performs an XOR operation on the output signal of the first flip-flop 472 and the output signal of the second flip-flop 473, so that the first window signal CLKWIN1 delayed by the delay circuit 471. Outputs a signal indicating whether an edge of the clock code included in the transmission signal RX exists between the rising edge and the falling edge.

제3 플립-플롭(475)은 클록 신호, 예를 들어 도 13의 클록 하강 신호(CFS)에 응답하여 XOR 게이트(474)의 출력 신호를 래치한다. 제3 플립-플롭(475)은 XOR 게이트(474)의 출력 신호가 인가되는 데이터 단자, 상기 클록 신호가 인가되는 클록 단자, 락 검출 신호(LDS)가 인가되는 반전 리셋 단자, 및 출력 단자를 가지는 상승 에지 트리거드 플립-플롭일 수 있다. 제3 플립-플롭(475)은 도 10의 락 검출기(420)가 로직 하이 레벨을 가지는 락 검출 신호(LDS)를 출력할 때부터 동작을 수행할 수 있다. 또한, 제3 플립-플롭(475)은 상기 클록 신호를 이용하여 카운터(476) 및 비교기(477)와 동기될 수 있다.The third flip-flop 475 latches the output signal of the XOR gate 474 in response to a clock signal, eg, the clock falling signal CFS of FIG. 13. The third flip-flop 475 has a data terminal to which the output signal of the XOR gate 474 is applied, a clock terminal to which the clock signal is applied, an inverting reset terminal to which the lock detection signal LDS is applied, and an output terminal. It may be a rising edge triggered flip-flop. The third flip-flop 475 may perform an operation when the lock detector 420 of FIG. 10 outputs the lock detection signal LDS having a logic high level. In addition, the third flip-flop 475 may be synchronized with the counter 476 and the comparator 477 using the clock signal.

카운터(476)는 제3 플립-플롭(475)의 출력 신호에 응답하여 카운팅 동작을 수행한다. 예를 들어, 카운터(476)는 직렬 연결된 복수의 플립-플롭들을 포함할 수 있다. 비교기(477)는 카운터(476)의 카운팅 결과를 소정의 기준 값과 비교한다. 이에 따라, 카운터(476) 및 비교기(477)는 제3 플립-플롭(475)의 출력 신호가 소정의 시간만큼 일정한 값을 유지하는 경우, 제3 플립-플롭(475)의 출력 신호에 상응하는 윈도우 선택 신호(WINSEL)를 생성할 수 있다. 예를 들어, 제3 플립-플롭(475)의 출력 신호가 로직 하이 레벨을 일정 시간만큼 유지하는 경우, 카운터(476) 및 비교기(477)는 제1 윈도우 신호(CLKWIN1)를 나타내는 윈도우 선택 신호(WINSEL)를 출력하고, 제3 플립-플롭(475)의 출력 신호가 로직 로우 레벨을 일정 시간만큼 유지하는 경우, 카운터(476) 및 비교기(477)는 제2 윈도우 신호(CLKWIN2)를 나타내는 윈도우 선택 신호(WINSEL)를 출력할 수 있다.The counter 476 performs a counting operation in response to the output signal of the third flip-flop 475. For example, the counter 476 can include a plurality of flip-flops in series. The comparator 477 compares the counting result of the counter 476 with a predetermined reference value. Accordingly, the counter 476 and the comparator 477 correspond to the output signal of the third flip-flop 475 when the output signal of the third flip-flop 475 maintains a constant value for a predetermined time. The window selection signal WINSEL may be generated. For example, when the output signal of the third flip-flop 475 maintains a logic high level for a predetermined time, the counter 476 and the comparator 477 may use the window selection signal representing the first window signal CLKWIN1. WINSEL) and the output signal of the third flip-flop 475 maintains a logic low level for a predetermined time, the counter 476 and the comparator 477 select a window representing the second window signal CLKWIN2. The signal WINSEL can be output.

일 실시예에서, 윈도우 신호 선택부(470)는, 클록 트레이닝 신호가 전송되는 트레이닝 구간 동안 클록 윈도우 신호(CLKWIN)를 적응적으로 선택하는 동작을 수행하고, 클록 코드를 포함하는 데이터가 전송되는 데이터 구간 동안 전송 오류를 검출하는 클록 오류 검출기로서 동작할 수 있다.In one embodiment, the window signal selector 470 adaptively selects the clock window signal CLKWIN during a training period in which the clock training signal is transmitted, and transmits data including a clock code. It can act as a clock error detector that detects transmission errors during the interval.

이와 같이, 본 발명의 더욱 또 다른 실시예에 따른 도 19의 클록 윈도우 생성기(450)는 전송율 및/또는 지연량에 따라 전송 신호(RX)에 대하여 소정의 마진을 가진 클록 윈도우 신호(CLKWIN)를 적응적으로 생성할 수 있다.As such, the clock window generator 450 of FIG. 19 according to still another exemplary embodiment of the present invention may generate the clock window signal CLKWIN having a predetermined margin with respect to the transmission signal RX according to the transmission rate and / or the delay amount. Can be generated adaptively.

도 20은 본 발명의 실시예들에 따른 샘플링 신호 생성기를 포함하는 인터페이스 시스템을 나타내는 블록도이다.20 is a block diagram illustrating an interface system including a sampling signal generator according to embodiments of the present invention.

도 20을 참조하면, 인터페이스 시스템(500)은 송신 장치(510), 전송선(520) 및 수신 장치(530)를 포함한다.Referring to FIG. 20, the interface system 500 includes a transmitter 510, a transmission line 520, and a receiver 530.

송신 장치(510)는 수신 장치(530)에 전송선(520)을 통하여 클록 임베디드 데이터를 전송한다. 송신 장치(510)는, 트레이닝 구간 동안 전송선(520)을 통하여 클록 트레이닝 신호를 전송하고, 데이터 구간 동안 전송선(520)을 통하여 클록 코드가 부가된 데이터를 전송한다.The transmitting device 510 transmits clock embedded data to the receiving device 530 through the transmission line 520. The transmitter 510 transmits a clock training signal through the transmission line 520 during the training period and transmits data to which a clock code is added through the transmission line 520 during the data period.

수신 장치(530)는 샘플링 신호 생성기(300) 및 샘플러(550)를 포함한다. 샘플링 신호 생성기(300)는 전송선(520)을 통하여 전송된 전송 신호(RX)로부터 클록 신호(CLK)를 복원하고, 클록 신호(CLK)의 복원 지연만큼 지연된 데이터(DATA)를 샘플러(550)에 제공한다. 샘플링 신호 생성기(300)는 클록 윈도우 신호(CLKWIN)에 기초하여 전송 신호(RX)로부터 클록 신호(CLK)를 복원하는 클록 복원 회로(100), 및 클록 복원을 위한 클록 윈도우 신호(CLKWIN) 및 데이터 샘플링을 위한 샘플링 신 호(SS)를 생성하는 지연 고정 루프 회로(400)를 포함할 수 있다. 샘플러(550)는 지연 고정 루프 회로(400)로부터 제공된 샘플링 신호(SS)에 응답하여 클록 복원 회로(100)로부터 제공된 데이터(DATA)를 샘플링 및/또는 병렬화할 수 있다. 샘플러(550)에 의해 샘플링된 병렬 데이터(PD) 및 샘플링 신호 생성기(300)에서 복원된 클록 신호(CLK)/지연 클록 신호(DCLK)는 수신 장치(530)의 내부 또는 외부의 다른 구성 요소에 데이터 및 클록 신호로서 제공될 수 있다.The receiving device 530 includes a sampling signal generator 300 and a sampler 550. The sampling signal generator 300 restores the clock signal CLK from the transmission signal RX transmitted through the transmission line 520, and transmits the data DATA delayed by the recovery delay of the clock signal CLK to the sampler 550. to provide. The sampling signal generator 300 includes a clock recovery circuit 100 for recovering the clock signal CLK from the transmission signal RX based on the clock window signal CLKWIN, and a clock window signal CLKWIN and data for clock recovery. It may include a delay locked loop circuit 400 for generating a sampling signal (SS) for sampling. The sampler 550 may sample and / or parallelize the data DATA provided from the clock recovery circuit 100 in response to the sampling signal SS provided from the delay locked loop circuit 400. The parallel data PD sampled by the sampler 550 and the clock signal CLK / delayed clock signal DCLK recovered by the sampling signal generator 300 are transferred to other components inside or outside the receiving device 530. It can be provided as a data and clock signal.

도 20에는 송신 장치(510)와 수신 장치(530)가 하나의 전송선(520)을 통하여 연결된 예가 도시되어 있으나, 송신 장치(510)와 수신 장치(530)는 두개 이상의 전송선들을 통하여 연결될 수 있다. 또한, 인터페이스 시스템(500)은 직렬 인터페이스를 이용한 시스템일 수 있다. 인터페이스 시스템(500)은 LVDS(Low Voltage Differential Signaling) 인터페이스, TMDS (Transition Minimized Differential Signaling) 인터페이스, RSDS(Reduced Swing Differential Signaling) 인터페이스, PPDS(Point-to-Point Differential Signaling) 인터페이스, SATA(serial advanced technology attachment) 인터페이스 등을 채용할 수 있다.20 illustrates an example in which the transmitting device 510 and the receiving device 530 are connected through one transmission line 520, but the transmitting device 510 and the receiving device 530 may be connected through two or more transmission lines. In addition, the interface system 500 may be a system using a serial interface. The interface system 500 includes a Low Voltage Differential Signaling (LVDS) interface, a Transition Minimized Differential Signaling (TMDS) interface, a Reduced Swing Differential Signaling (RSDS) interface, a Point-to-Point Differential Signaling (PPDS) interface, serial advanced technology attachment) interface and the like can be employed.

이와 같이, 본 발명의 실시예들에 따른 클록 복원 회로 및 샘플링 신호 생성기는 클록 임베디드 데이터로부터 클록 신호를 정확하게 복원할 수 있다. 또한, 본 발명의 실시예들에 따른 클록 복원 회로 및 샘플링 신호 생성기는, 적응적으로 생성된 클록 윈도우 신호를 이용함으로써, 신호 전송을 고속화할 수 있다.As such, the clock recovery circuit and the sampling signal generator according to embodiments of the present invention can accurately recover the clock signal from the clock embedded data. In addition, the clock recovery circuit and the sampling signal generator according to the embodiments of the present invention can speed up signal transmission by using an adaptively generated clock window signal.

본 발명은 임의의 인터페이스 장치 및 시스템에 유용하게 이용될 수 있다. 또한, 본 발명은 LVDS(Low Voltage Differential Signaling) 인터페이스 시스템, TMDS (Transition Minimized Differential Signaling) 인터페이스 시스템, RSDS(Reduced Swing Differential Signaling) 인터페이스 시스템, PPDS(Point-to-Point Differential Signaling) 인터페이스 시스템, SATA(serial advanced technology attachment) 인터페이스 시스템 등에 유용하게 이용될 수 있다.The present invention can be usefully used in any interface device and system. In addition, the present invention is a low voltage differential signaling (LVDS) interface system, a transition minimized differential signaling (TMDS) interface system, a reduced swing differential signaling (RSDS) interface system, a point-to-point differential signaling (PPDS) interface system, SATA (SATA) serial advanced technology attachment).

상기에서는 본 발명의 실시예들을 참조하여 설명하였지만, 해당 기술분야에서 통상의 지식을 가진 자는 하기의 특허청구범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 것이다.Although described above with reference to the embodiments of the present invention, those skilled in the art various modifications and changes to the present invention without departing from the spirit and scope of the invention described in the claims below I will understand.

도 1은 본 발명의 일 실시예에 따른 클록 복원 회로를 나타내는 블록도이다.1 is a block diagram illustrating a clock recovery circuit according to an exemplary embodiment of the present invention.

도 2는 도 1의 클록 복원 회로의 동작을 설명하기 위한 타이밍도이다.FIG. 2 is a timing diagram for describing an operation of the clock recovery circuit of FIG. 1.

도 3a는 도 1의 클록 복원 회로에 포함된 클록 코드 검출부 및 클록 신호 생성부의 동작의 일 예를 설명하기 위한 타이밍도이다.3A is a timing diagram illustrating an example of operations of a clock code detector and a clock signal generator included in the clock recovery circuit of FIG. 1.

도 3b는 도 1의 클록 복원 회로에 포함된 클록 코드 검출부 및 클록 신호 생성부의 동작의 다른 예를 설명하기 위한 타이밍도이다.3B is a timing diagram illustrating another example of operations of the clock code detector and the clock signal generator included in the clock recovery circuit of FIG. 1.

도 3c는 도 1의 클록 복원 회로에 포함된 클록 코드 검출부 및 클록 신호 생성부의 동작의 또 다른 예를 설명하기 위한 타이밍도이다.3C is a timing diagram illustrating another example of operations of a clock code detector and a clock signal generator included in the clock recovery circuit of FIG. 1.

도 3d는 도 1의 클록 복원 회로에 포함된 클록 코드 검출부 및 클록 신호 생성부의 동작의 또 다른 예를 설명하기 위한 타이밍도이다.FIG. 3D is a timing diagram illustrating another example of operations of the clock code detector and the clock signal generator included in the clock recovery circuit of FIG. 1.

도 4는 도 1의 클록 복원 회로에 포함된 클록 코드 검출부를 나타내는 블록도이다.4 is a block diagram illustrating a clock code detector included in the clock recovery circuit of FIG. 1.

도 5는 도 4의 클록 코드 검출부의 동작을 설명하기 위한 타이밍도이다.FIG. 5 is a timing diagram for describing an operation of the clock code detector of FIG. 4.

도 6은 도 1의 클록 복원 회로에 포함된 클록 신호 생성부를 나타내는 도면이다.FIG. 6 is a diagram illustrating a clock signal generator included in the clock recovery circuit of FIG. 1.

도 7은 도 6의 클록 신호 생성부의 동작을 설명하기 위한 타이밍도이다.FIG. 7 is a timing diagram for describing an operation of the clock signal generator of FIG. 6.

도 8은 도 1의 클록 복원 회로에 포함된 지연 회로를 나타내는 블록도이다.8 is a block diagram illustrating a delay circuit included in the clock recovery circuit of FIG. 1.

도 9는 도 1의 클록 복원 회로에 포함된 출력부를 나타내는 도면이다.9 is a diagram illustrating an output unit included in the clock recovery circuit of FIG. 1.

도 10은 도 1의 클록 복원 회로를 포함하는 샘플링 신호 생성기를 나타내는 블록도이다.FIG. 10 is a block diagram illustrating a sampling signal generator including the clock recovery circuit of FIG. 1.

도 11은 도 10의 샘플링 신호 생성기에 포함된 딜레이 라인을 나타내는 도면이다.FIG. 11 is a diagram illustrating a delay line included in the sampling signal generator of FIG. 10.

도 12는 도 10의 샘플링 신호 생성기에 포함된 클록 윈도우 생성기를 나타내는 도면이다.FIG. 12 is a diagram illustrating a clock window generator included in the sampling signal generator of FIG. 10.

도 13은 도 11의 딜레이 라인 및 도 12의 클록 윈도우 생성기의 동작을 설명하기 위한 타이밍도이다.FIG. 13 is a timing diagram for describing an operation of the delay line of FIG. 11 and the clock window generator of FIG. 12.

도 14는 본 발명의 다른 실시예에 따른 클록 복원 회로에 포함된 클록 신호 생성부를 나타내는 도면이다.14 is a diagram illustrating a clock signal generator included in a clock recovery circuit according to another exemplary embodiment of the present invention.

도 15는 본 발명의 또 다른 실시예에 따른 샘플링 신호 생성기에 포함된 클록 윈도우 생성기를 나타내는 도면이다.15 illustrates a clock window generator included in a sampling signal generator according to another embodiment of the present invention.

도 16은 도 15의 클록 윈도우 생성기에 포함된 윈도우 신호 생성부를 나타내는 도면이다.FIG. 16 is a diagram illustrating a window signal generator included in the clock window generator of FIG. 15.

도 17은 도 15의 클록 윈도우 생성기에 포함된 윈도우 신호 선택부를 나타내는 도면이다.17 is a diagram illustrating a window signal selector included in the clock window generator of FIG. 15.

도 18a는 도 17의 윈도우 신호 선택부의 동작의 일 예를 설명하기 위한 타이밍도이다.18A is a timing diagram illustrating an example of an operation of the window signal selector of FIG. 17.

도 18b는 도 17의 윈도우 신호 선택부의 동작의 다른 예를 설명하기 위한 타이밍도이다.18B is a timing diagram for describing another example of the operation of the window signal selector of FIG. 17.

도 19는 본 발명의 더욱 또 다른 실시예에 샘플링 신호 생성기에 포함된 윈 도우 신호 선택부를 나타내는 도면이다.19 is a diagram illustrating a window signal selection unit included in a sampling signal generator according to still another embodiment of the present invention.

도 20은 본 발명의 실시예들에 따른 샘플링 신호 생성기를 포함하는 인터페이스 시스템을 나타내는 블록도이다.20 is a block diagram illustrating an interface system including a sampling signal generator according to embodiments of the present invention.

<도면의 주요부분에 대한 부호의 설명><Description of the symbols for the main parts of the drawings>

100: 클록 복원 회로 110: 클록 코드 검출부100: clock recovery circuit 110: clock code detection unit

111: 상승 검출기 113: 하강 검출기111: rising detector 113: falling detector

115: 상승-하강 결정기 117: 선택기115: rising-falling determinant 117: selector

130: 클록 신호 생성부 150: 지연 회로130: clock signal generation unit 150: delay circuit

170: 출력부 171: 클록 출력부170: output unit 171: clock output unit

173: 데이터 출력부 300: 샘플링 신호 생성기173: data output unit 300: sampling signal generator

400: 지연 고정 루프 회로 410: 위상 주파수 검출기400: delay locked loop circuit 410: phase frequency detector

420: 락 검출기 430: 제어 신호 생성기420: lock detector 430: control signal generator

441, 442, 443, 444, 445, 446, 447, 448: 딜레이 셀441, 442, 443, 444, 445, 446, 447, 448: Delay cell

440: 딜레이 라인 450: 클록 윈도우 생성기440: delay line 450: clock window generator

460: 윈도우 신호 생성부 470: 윈도우 신호 선택부460: window signal generation unit 470: window signal selection unit

Claims (10)

클록 코드를 포함하는 전송 신호를 수신하고, 클록 윈도우 신호에 응답하여 상기 전송 신호에서 상기 클록 코드의 에지를 검출하며, 상기 클록 코드의 에지에 기초하여 클록 천이 신호를 생성하는 클록 코드 검출부; 및A clock code detector for receiving a transmission signal including a clock code, detecting an edge of the clock code in the transmission signal in response to a clock window signal, and generating a clock transition signal based on the edge of the clock code; And 상기 클록 천이 신호에 응답하여 복원 클록 신호를 생성하는 클록 신호 생성부를 포함하는 클록 복원 회로.And a clock signal generator configured to generate a restored clock signal in response to the clock transition signal. 제 1 항에 있어서, 상기 클록 코드 검출부는,The method of claim 1, wherein the clock code detector, 상기 전송 신호에서 상기 클록 코드의 상승 에지를 검출하여 상승 에지 검출 신호를 생성하는 상승 검출기;A rising detector for detecting a rising edge of the clock code in the transmission signal to generate a rising edge detection signal; 상기 전송 신호에서 상기 클록 코드의 하강 에지를 검출하여 하강 에지 검출 신호를 생성하는 하강 검출기;A falling detector for detecting a falling edge of the clock code in the transmission signal to generate a falling edge detection signal; 상기 클록 코드가 상승 에지를 가지는지 또는 하강 에지를 가지는지를 판단하여 상승-하강 결정 신호를 생성하는 상승-하강 결정기; 및A rise-fall determiner that determines whether the clock code has a rising edge or a falling edge to generate a rising-falling decision signal; And 상기 상승-하강 결정 신호에 응답하여 상기 클록 천이 신호로서 상기 상승 에지 검출 신호 또는 상기 하강 에지 검출 신호를 선택적으로 출력하는 선택기를 포함하는 것을 특징으로 하는 클록 복원 회로.And a selector for selectively outputting the rising edge detection signal or the falling edge detection signal as the clock transition signal in response to the rising-falling determination signal. 제 2 항에 있어서,The method of claim 2, 상기 상승 검출기는, 상기 클록 윈도우 신호가 로직 하이 레벨을 가지고, 상기 전송 신호가 로직 하이 레벨을 가질 때, 상기 클록 윈도우 신호를 상기 상승 에지 검출 신호로서 출력하는 제1 래치를 포함하고,The rising detector includes a first latch for outputting the clock window signal as the rising edge detection signal when the clock window signal has a logic high level and the transmission signal has a logic high level, 상기 하강 검출기는, 상기 클록 윈도우 신호가 로직 하이 레벨을 가지고, 상기 전송 신호가 로직 로우 레벨을 가질 때, 상기 클록 윈도우 신호를 상기 하강 에지 검출 신호로서 출력하는 제2 래치를 포함하며,The falling detector includes a second latch for outputting the clock window signal as the falling edge detection signal when the clock window signal has a logic high level and the transmission signal has a logic low level, 상기 상승-하강 결정기는 상기 클록 윈도우 신호의 상승 에지에 응답하여 상기 전송 신호를 상기 상승-하강 결정 신호로서 출력하는 플립-플롭을 포함하고,The rising-falling determiner includes a flip-flop that outputs the transmission signal as the rising-falling determination signal in response to the rising edge of the clock window signal, 상기 선택기는 상기 상승-하강 결정 신호를 선택 신호로서 수신하고, 상기 상승-하강 결정 신호에 응답하여 상기 클록 천이 신호로서 상기 상승 에지 검출 신호 또는 상기 하강 에지 검출 신호를 선택적으로 출력하는 멀티플렉서를 포함하는 것을 특징으로 하는 클록 복원 회로.The selector includes a multiplexer that receives the rising-falling determination signal as a selection signal and selectively outputs the rising edge detection signal or the falling edge detection signal as the clock transition signal in response to the rising-falling determination signal. Clock recovery circuit, characterized in that. 제 1 항에 있어서, 상기 클록 생성부는,The method of claim 1, wherein the clock generation unit, 상기 클록 천이 신호에 응답하여 상승 천이하고, 상기 클록 천이 신호를 지연시킨 지연 클록 천이 신호에 응답하여 하강 천이하는 상기 복원 클록 신호를 생성하는 것을 특징으로 하는 클록 복원 회로.And generating the reconstructed clock signal that rises in response to the clock transition signal and falls in response to the delayed clock transition signal that delayed the clock transition signal. 제 1 항에 있어서, 상기 클록 생성부는,The method of claim 1, wherein the clock generation unit, 상기 클록 천이 신호에 응답하여 상승 천이하고, 지연 고정 루프 회로로부터 수신된 클록 하강 신호에 응답하여 하강 천이하는 상기 복원 클록 신호를 생성하는 것을 특징으로 하는 클록 복원 회로.And generating a recovery clock signal that rises in response to the clock transition signal and falls in response to a clock falling signal received from a delay locked loop circuit. 제 1 항에 있어서,The method of claim 1, 상기 클록 코드 검출부 및 상기 클록 신호 생성부의 지연 시간만큼 상기 전송 신호를 지연시키는 지연부를 더 포함하는 것을 특징으로 하는 클록 복원 회로.And a delay unit configured to delay the transmission signal by a delay time of the clock code detector and the clock signal generator. 제 6 항에 있어서,The method of claim 6, 락 검출 신호에 응답하여 상기 클록 신호 생성부로부터 출력된 상기 복원 클록 신호 또는 상기 지연부로부터 출력된 상기 전송 신호를 선택적으로 출력하는 클록 출력부; 및A clock output unit for selectively outputting the recovery clock signal output from the clock signal generation unit or the transmission signal output from the delay unit in response to the lock detection signal; And 상기 락 검출 신호에 응답하여 상기 지연 회로로부터 출력된 상기 전송 신호를 선택적으로 출력하는 데이터 출력부를 더 포함하는 클록 복원 회로.And a data output unit for selectively outputting the transmission signal output from the delay circuit in response to the lock detection signal. 클록 코드를 포함하는 전송 신호를 수신하고, 클록 윈도우 신호에 응답하여 상기 전송 신호에서 상기 클록 코드의 에지를 검출하며, 상기 클록 코드의 에지에 기초하여 클록 신호를 생성하는 클록 복원 회로; 및A clock recovery circuit for receiving a transmission signal comprising a clock code, detecting an edge of the clock code in the transmission signal in response to a clock window signal, and generating a clock signal based on the edge of the clock code; And 상기 클록 신호에 기초하여 다중 위상 클록 신호를 생성하고, 상기 다중 위상 클록 신호에 기초하여 상기 클록 윈도우 신호를 생성하며, 상기 다중 위상 클록 신호를 샘플링 신호로서 출력하는 지연 고정 루프 회로를 포함하는 샘플링 신호 생 성기.A sampling signal comprising a delay locked loop circuit for generating a multi-phase clock signal based on the clock signal, generating the clock window signal based on the multi-phase clock signal, and outputting the multi-phase clock signal as a sampling signal. Genitals. 제 8 항에 있어서, 상기 지연 고정 루프 회로는,The method of claim 8, wherein the delay lock loop circuit, 상기 클록 신호를 순차적으로 지연시켜 상기 다중 위상 클록 신호를 생성하는 복수의 딜레이 셀들을 포함하고, 상기 클록 신호가 지연된 지연 클록 신호를 생성하는 딜레이 라인;A delay line including a plurality of delay cells for sequentially delaying the clock signal to generate the multi-phase clock signal, and generating a delayed clock signal delayed by the clock signal; 상기 클록 신호와 상기 지연 클록 신호의 위상 차에 기초하여 업 신호 및 다운 신호를 생성하는 위상 주파수 검출기;A phase frequency detector for generating an up signal and a down signal based on a phase difference between the clock signal and the delayed clock signal; 상기 업 신호 및 상기 다운 신호에 응답하여 상기 딜레이 라인의 지연 시간을 조절하는 지연 제어 신호를 생성하는 제어 신호 생성기;A control signal generator configured to generate a delay control signal for adjusting a delay time of the delay line in response to the up signal and the down signal; 상기 업 신호 및 상기 다운 신호에 응답하여 락 검출 신호를 생성하는 락 검출기; 및A lock detector for generating a lock detection signal in response to the up signal and the down signal; And 상기 다중 위상 클록 신호에 논리 연산을 수행하여 상기 클록 윈도우 신호를 생성하는 클록 윈도우 생성기를 포함하는 것을 특징으로 하는 샘플링 신호 생성기.And a clock window generator for performing a logic operation on the multi-phase clock signal to generate the clock window signal. 제 9 항에 있어서, 상기 클록 윈도우 생성기는,The method of claim 9, wherein the clock window generator, 상기 다중 위상 클록 신호 중 두개의 클록 신호들에 논리 연산을 수행하여 제1 윈도우 신호를 생성하고, 상기 두개의 클록 신호들에 각각 인접한 두개의 클록 신호들에 논리 연산을 수행하여 제2 윈도우 신호를 생성하며, 윈도우 선택 신호에 응답하여 상기 제1 윈도우 신호 또는 상기 제2 윈도우 신호를 선택적으로 출력하는 윈도우 신호 생성부; 및A first window signal is generated by performing a logic operation on two clock signals among the multi-phase clock signals, and a second window signal is generated by performing a logical operation on two clock signals adjacent to the two clock signals. A window signal generator configured to selectively generate the first window signal or the second window signal in response to a window selection signal; And 상기 제1 윈도우 신호와 상기 클록 코드의 에지 사이의 간격을 검출하고, 상기 검출된 간격에 기초하여 상기 윈도우 선택 신호를 생성하는 윈도우 신호 선택부를 포함하는 것을 특징으로 하는 샘플링 신호 생성기.And a window signal selector which detects an interval between the first window signal and an edge of the clock code and generates the window selection signal based on the detected interval.
KR1020090074856A 2009-08-13 2009-08-13 Clock recovery circuit and sampling signal generator including the same KR101615101B1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
KR1020090074856A KR101615101B1 (en) 2009-08-13 2009-08-13 Clock recovery circuit and sampling signal generator including the same
US12/832,319 US8878792B2 (en) 2009-08-13 2010-07-08 Clock and data recovery circuit of a source driver and a display device
TW99127182A TWI468000B (en) 2009-08-13 2010-08-13 Clock and data recovery circuit of a source driver and a display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090074856A KR101615101B1 (en) 2009-08-13 2009-08-13 Clock recovery circuit and sampling signal generator including the same

Publications (2)

Publication Number Publication Date
KR20110017275A true KR20110017275A (en) 2011-02-21
KR101615101B1 KR101615101B1 (en) 2016-05-12

Family

ID=43775377

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090074856A KR101615101B1 (en) 2009-08-13 2009-08-13 Clock recovery circuit and sampling signal generator including the same

Country Status (1)

Country Link
KR (1) KR101615101B1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101327221B1 (en) * 2012-07-06 2013-11-11 주식회사 실리콘웍스 Clock generator, data receiver and recovering method for master clock
KR20150089914A (en) * 2014-01-27 2015-08-05 삼성전자주식회사 Display driving circuit
KR20160043630A (en) * 2014-10-13 2016-04-22 매그나칩 반도체 유한회사 Apparatus and method for preventing of abnormal screen in image display device
KR20170008390A (en) * 2015-07-14 2017-01-24 주식회사 실리콘웍스 Delay locked loop based clock recovery device and receive device including the same
US9881579B2 (en) 2013-03-26 2018-01-30 Silicon Works Co., Ltd. Low noise sensitivity source driver for display apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101206503B1 (en) * 2006-06-30 2012-11-29 삼성전자주식회사 Circuit for removing skew and method for removing skew by the same

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101327221B1 (en) * 2012-07-06 2013-11-11 주식회사 실리콘웍스 Clock generator, data receiver and recovering method for master clock
US9203606B2 (en) 2012-07-06 2015-12-01 Silicon Works Co., Ltd. Clock recovery circuit, data receiving device, and data sending and receiving system
US9881579B2 (en) 2013-03-26 2018-01-30 Silicon Works Co., Ltd. Low noise sensitivity source driver for display apparatus
KR20150089914A (en) * 2014-01-27 2015-08-05 삼성전자주식회사 Display driving circuit
KR20160043630A (en) * 2014-10-13 2016-04-22 매그나칩 반도체 유한회사 Apparatus and method for preventing of abnormal screen in image display device
KR20170008390A (en) * 2015-07-14 2017-01-24 주식회사 실리콘웍스 Delay locked loop based clock recovery device and receive device including the same

Also Published As

Publication number Publication date
KR101615101B1 (en) 2016-05-12

Similar Documents

Publication Publication Date Title
JP5066121B2 (en) Apparatus and method for transmitting clock information and data
US7869544B2 (en) System for measuring an eyewidth of a data signal in an asynchronous system
CN113841334A (en) Measurement and correction of multiphase clock duty cycle and time offset
US9866413B2 (en) Transition enforcing coding receiver for sampling vector signals without using clock and data recovery
KR20100092562A (en) Receiver having clock recovery unit based on delay locked loop
CN105938712B (en) Apparatus and method for transmitting display signal
KR101615101B1 (en) Clock recovery circuit and sampling signal generator including the same
US9853647B2 (en) Transition enforcing coding receiver for sampling vector signals without using clock and data recovery
US7664215B2 (en) Signal alignment based on data signal
KR101438478B1 (en) Data receiving method of receiver having clock recovery unit based on delay locked loop
US10476630B2 (en) Digital bus noise suppression
KR100998773B1 (en) Pll for clock recovery with initialization sequence
EP3214554B1 (en) Transition enforcing coding receiver for sampling vector signals without using clock and data recovery
US10333571B1 (en) Signal receiving apparatus with deskew circuit
KR100899781B1 (en) Apparatus and method for transmitting data with clock information
US11411565B2 (en) Clock and data recovery circuit
US7321647B2 (en) Clock extracting circuit and clock extracting method
US7660364B2 (en) Method of transmitting serial bit-stream and electronic transmitter for transmitting a serial bit-stream
US6970527B2 (en) Transmitting circuit and method thereof, receiving circuit and method thereof, and data communication apparatus
KR100807407B1 (en) System and apparatus for encoding using different waveforms
KR20130111586A (en) Providing a feedback loop in a low latency serial interconnect architecture
US8437429B2 (en) Data processing apparatus and data processing system including the same
KR100728906B1 (en) Duty cycle correcting apparatus
CN114461473B (en) Method for detecting time sequence of serializer, detection circuit and electronic device
US8811501B2 (en) Receiving apparatus, transmission and reception system, and restoration method

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E90F Notification of reason for final refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20190329

Year of fee payment: 4