KR101615101B1 - 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
KR101615101B1
KR101615101B1 KR1020090074856A KR20090074856A KR101615101B1 KR 101615101 B1 KR101615101 B1 KR 101615101B1 KR 1020090074856 A KR1020090074856 A KR 1020090074856A KR 20090074856 A KR20090074856 A KR 20090074856A KR 101615101 B1 KR101615101 B1 KR 101615101B1
Authority
KR
South Korea
Prior art keywords
signal
clock
window
code
falling
Prior art date
Application number
KR1020090074856A
Other languages
Korean (ko)
Other versions
KR20110017275A (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

클록 복원 회로는 클록 코드 검출부 및 클록 신호 생성부를 포함한다. 클록 코드 검출부는 클록 코드를 포함하는 전송 신호를 수신하고, 클록 윈도우 신호에 응답하여 전송 신호에서 클록 코드의 에지를 검출하며, 클록 코드의 에지에 기초하여 클록 천이 신호를 생성한다. 클록 신호 생성부는 클록 천이 신호에 응답하여 복원 클록 신호를 생성한다. 클록 복원 회로는 클록 임베디드 데이터로부터 클록 신호를 정확하게 복원할 수 있다.The clock recovery circuit includes a clock code detection unit and a clock signal generation unit. The clock code detection unit receives the transmission signal including the clock code, detects the edge of the clock code in the transmission signal in response to the clock window signal, and generates a clock transition signal based on the edge of the clock code. The clock signal generator generates a restored clock signal in response to the clock transition signal. The clock recovery circuit can accurately recover the clock signal from the clock embedded data.

Description

클록 복원 회로 및 이를 포함하는 샘플링 신호 생성기{CLOCK RECOVERY CIRCUIT AND SAMPLING SIGNAL GENERATOR INCLUDING THE SAME}BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a clock recovery circuit and a sampling signal generator including the clock recovery circuit.

본 발명은 클록 복원 회로에 관한 것으로서, 더욱 상세하게는 클록 임베디드 데이터로부터 클록 신호를 복원하는 클록 복원 회로 및 이를 포함하는 샘플링 신호 생성기에 관한 것이다.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, between integrated circuits (ICs), between modules, or between systems. The serial interface can reduce the number of signal lines and can eliminate skew between signals as compared with a conventional interface for transmitting data in parallel through a plurality of signal lines.

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

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

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

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

상기 클록 코드 검출부는 클록 코드를 포함하는 전송 신호를 수신하고, 클록 윈도우 신호에 응답하여 상기 전송 신호에서 상기 클록 코드의 에지를 검출하며, 상기 클록 코드의 에지에 기초하여 클록 천이 신호를 생성한다. 상기 클록 신호 생성부는 상기 클록 천이 신호에 응답하여 복원 클록 신호를 생성한다.The clock code detection section 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 an edge of the clock code. The clock signal generator generates a restored clock signal in response to the clock transition signal.

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

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

일 실시예에서, 상기 클록 생성부는, 상기 클록 천이 신호에 응답하여 상승 천이하고, 상기 클록 천이 신호를 지연시킨 지연 클록 천이 신호에 응답하여 하강 천이하는 상기 복원 클록 신호를 생성할 수 있다.In one embodiment, the clock generation unit may generate the restored 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.

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

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

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

상기 다른 목적을 달성하기 위해, 본 발명의 실시예들에 따른 샘플링 신호 생성기는 클록 복원 회로 및 지연 고정 루프 회로를 포함한다.According to another aspect of the present invention, a sampling signal generator 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 an 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 locked loop circuit includes a delay line that includes a plurality of delay cells for sequentially delaying the clock signal to generate the multi-phase clock signal, the delay line generating the delayed clock signal, A phase frequency detector for generating an up signal and a down signal based on the phase difference between the clock signal and the delayed clock signal, a delay control signal for adjusting the 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 a clock window generator for performing a logic operation on the multi-phase clock signal to generate the clock window 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 generates two clock signals each adjacent to the two clock signals A window signal generator for generating a second window signal by selectively performing a logic operation on the first window signal and the second window signal and selectively outputting the first window signal or the second window signal in response to a window selection signal, And a window signal selector for detecting the interval between edges of the code and generating the window selection signal based on the detected interval.

본 발명의 실시예들에 따른 클록 복원 회로 및 샘플링 신호 생성기는 클록 임베디드 데이터로부터 클록 신호를 정확하게 복원할 수 있다.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.

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

본 발명은 다양한 변경을 가할 수 있고 여러 가지 형태를 가질 수 있는바, 특정 실시예들을 도면에 예시하고 본문에 상세하게 설명하고자 한다. 그러나 이는 본 발명을 특정한 개시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.The present invention is capable of various modifications and various forms, and specific embodiments are illustrated in the drawings and described in detail in the text. It is to be understood, however, that the invention is not intended to be limited to the particular forms disclosed, but on the contrary, is intended to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

제1, 제2 등의 용어는 다양한 구성 요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성 요소로부터 구별하는 목적으로 사용될 수 있다. 예를 들어, 본 발명의 권리 범위로부터 이탈되지 않은 채 제1 구성 요소는 제2 구성 요소로 명명될 수 있고, 유사하게 제 2 구성 요소도 제1 구성 요소로 명명될 수 있다.The terms first, second, etc. 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. For example, without departing from the scope of the present invention, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component.

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

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 설시된 특징, 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used in this application is used only to describe a specific embodiment and is not intended to limit the invention. The singular expressions include plural expressions unless the context clearly dictates otherwise. In the present application, the terms "comprise", "having", and the like are intended to specify the presence of stated features, integers, steps, operations, elements, components, or combinations thereof, , Steps, operations, components, parts, or combinations thereof, as a matter of principle.

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

이하, 첨부한 도면들을 참조하여, 본 발명의 실시예들을 보다 상세하게 설명하고자 한다. 도면상의 동일한 구성 요소에 대해서는 동일하거나 유사한 참조 부호를 사용한다.Hereinafter, 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 embodiment of the present invention.

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

클록 코드 검출부(110)는 클록 코드를 포함하는 전송 신호(RX)를 수신한다. 전송 신호(RX)는 직렬화된 데이터 비트들 및 상기 클록 코드를 포함할 수 있다. 상기 클록 코드는 전송 신호(RX)에 주기적으로 포함될 수 있고, N 개(N은 2 이상의 자연수)의 데이터 비트들마다 1 비트 또는 2 비트의 길이로 부가될 수 있다. 또한, 상기 클록 코드는 인접한 데이터 비트의 값에 반대되는 값을 가질 수 있다. 예를 들어, 인접한 데이터 비트가 로직 하이 레벨을 가지면, 상기 클록 코드는 로직 로우 레벨을 가질 수 있고, 인접한 데이터 비트가 로직 로우 레벨을 가지면, 상기 클록 코드는 로직 하이 레벨을 가질 수 있다. 일 실시예에서, 상기 클록 코드는 직전 데이터 비트의 값에 반대되는 값을 가질 수 있다. 다른 실시예에서, 상기 클록 코드는 다음 데이터 비트의 값에 반대되는 값을 가질 수 있다. 인접한 데이터 비트의 값에 반대되는 값을 가지는 상기 클록 코드는 상기 클록 코드와 상기 인접한 데이터 비트 사이에서 상승 또는 하강하는 에지를 가질 수 있다.The clock code detection unit 110 receives the transmission signal RX including the 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 with a length of 1 bit or 2 bits for N (N is a natural number of 2 or more) data bits. Also, the clock code may have a value that is opposite to the value of the adjacent data bits. For example, if an adjacent data bit has a logic high level, the clock code may have a logic low level, and if the adjacent data bit has a logic low level, the clock code may have a logic high level. In one embodiment, the clock code may have a value that is inverse 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 the adjacent data bit may have an edge rising or falling 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 detection unit 110 can detect the edge of the clock code in the transmission signal RX in response to the clock window signal CLKWIN. For example, the clock code detector 110 may receive a 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 transitions upward or downward. The clock code detection section 110 can detect the edge of the clock code in the transmission signal RX by detecting the 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 transitions upward 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 restored clock signal RCLK in response to a clock transition signal CTS. The clock signal generator 130 may generate a restored clock signal RCLK that periodically transitions in response to the clock transition signal CTS. Accordingly, the clock signal generator 130 can generate the restored clock signal RCLK having a period substantially equal to 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 restored clock signal RCLK such that the restored clock signal RCLK rises and rises when the clock transition signal CTS rises. The clock signal generator 130 also controls the restored clock signal RCLK so that the restored clock signal RCLK falls in response to the delayed clock transition signal delayed by the clock transition signal CTS, It is possible to control the restored clock signal RCLK so that the restored clock signal RCLK falls in response to the clock falling signal received from the circuit.

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

지연 회로(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 detection unit 110 and the clock signal generation unit 130. [ The delay circuit 150 may delay the recovery clock signal RCLK generated by the clock code detection unit 110 and the clock signal generation unit 130 during the data interval, The data bits can be delayed. In addition, the delay circuit 150 may delay the clock training signal during the training interval by the delay time of the restored clock signal RCLK.

출력부(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 restored clock signal RCLK received from the clock signal generation unit 130 or the delayed transmission signal DRX received from the delay circuit 150 as the clock signal CLK, And outputs 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 interval, as the clock signal CLK. The output unit 170 outputs the restored clock signal RCLK received from the clock signal generation unit 130 during the data period as the clock signal CLK and outputs the delayed data bit And outputs the delayed transmission signal DRX as data DATA.

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

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

도 1 및 도 2를 참조하면, 트레이닝 구간 동안, 지연 회로(150)는 클록 트레이닝 신호인 전송 신호(RX)를 클록 코드 검출부(110) 및 클록 신호 생성부(130)의 지연 시간(TD)만큼 지연시켜 지연 전송 신호(DRX)를 출력하고, 출력부(170)는 지연 회로(150)로부터 수신된 지연 전송 신호(DRX)를 클록 신호(CLK)로서 출력한다. 예를 들어, 지연 전송 신호(DRX)의 펄스(202)는 클록 트레이닝 신호의 펄스(201)로부터 지연 시간(TD)만큼 지연되고, 클록 신호(CLK)의 펄스(203)로서 출력된다.1 and 2, during a training interval, the delay circuit 150 receives the transmission signal RX, which is a clock training signal, by the delay time TD of the clock code detection unit 110 and the clock signal generation unit 130 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 is 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)로서 출력할 수 있다.The clock code detection unit 110 and the clock signal generation unit 130 detect the edge of the transmission signal RX to generate the restored clock signal RCLK. The predetermined time may be the time from when the delay locked loop circuit receiving the clock signal CLK as an input to when it receives the clock training signal until it is locked. That is, the clock code detection unit 110 and the clock signal generation unit 130 can generate the restored clock signal RCLK after the delay locked loop circuit is locked. For example, the clock code detection section 110 and the clock signal generation section 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. Output 170 may output pulse 205 of delayed transmission signal DRX as pulse 207 of clock signal CLK or pulse 206 of restored clock signal RCLK as clock It can be outputted 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 interval, the transmit signal RX includes data bits 209 and a clock code 208 appended to the data bits 209. The delay circuit 150 delays the transmission signal RX by a delay time TD and outputs a delay transmission signal DRX. 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 can 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)로서 출력할 수 있다.The clock code detection unit 110 and the clock signal generation unit 130 detect the edge of the clock code 208 to generate the restored clock signal RCLK and the output unit 170 outputs the restored clock signal RCLK as the clock signal CLK. For example, the clock code detection unit 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 generation unit 130 generates a clock transition signal And generates a pulse 214 of the restored clock signal RCLK in response to the reset signal CTS and the output 170 outputs a pulse 214 of the restored clock signal RCLK as a pulse 215 of the clock signal CLK Can be output.

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

도 1 및 도 3a를 참조하면, 전송 신호(RX)에 포함된 클록 코드(214, 219)는 1 비트 길이를 가지고, 다음 데이터 비트(215, 221)의 값에 반대되는 값을 가진다. 예를 들어, 클록 코드(214)는 로직 하이 레벨을 가지는 다음 데이터 비트(215)에 반대되는 로직 로우 레벨을 가지고, 클록 코드(219)는 로직 로우 레벨을 가지는 다음 데이터 비트(220)에 반대되는 로직 하이 레벨을 가질 수 있다. 이에 따라, 클록 코드(214, 219)는 클록 코드(214, 219)와 다음 데이터 비트(215, 220)와의 사이의 에지(216, 221)를 가질 수 있다. 예를 들어, 클록 코드(214)는 상승 에지(216)를 가지고, 클록 코드(219)는 하강 에지(221)를 가질 수 있다.Referring to FIGS. 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, the clock code 214 has a logic low level opposite to the next data bit 215 having a logic high level, and the clock code 219 has a logic low level as opposed to the next data bit 220 having a logic low level. It can have a logic high level. Accordingly, the clock codes 214 and 219 may have edges 216 and 221 between the clock codes 214 and 219 and the next data bits 215 and 220. [ For example, the clock code 214 may have a rising edge 216 and the clock code 219 may have a 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 detection unit 110 can detect the 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 point in the clock code 214, 215 to one point in the next data bit 219, 220. Accordingly, the clock code detecting unit 110 can detect edges of the clock codes 214 and 219. [ For example, the clock code detection unit 110 detects the rising edge 216 of the clock code 214 in response to the pulse 217 of the clock window signal CLKWIN and detects the rising edge 216 of the clock window signal CLKWIN, The falling edge 221 of the clock code 219 can be detected. The clock code detection unit 110 outputs a clock transition signal CTS which is ascending and transient 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 restored clock signal RCLK in response to a clock transition signal CTS. The clock signal generator 130 may generate a restored clock signal RCLK periodically rising and falling in response to each of the pulses 218 and 223 of the clock transition signal CTS.

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

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

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

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

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

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

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

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

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

상승 검출기(111)는 클록 윈도우 신호(CLKWIN)에 기초하여 전송 신호(RX)에 포함된 클록 코드의 상승 에지를 검출하여 상승 에지 검출 신호(REDS)를 생성한다. 하강 검출기(113)는 클록 윈도우 신호(CLKWIN)에 기초하여 전송 신호(RX)에 포함된 클록 코드의 하강 에지를 검출하여 하강 에지 검출 신호(FEDS)를 생성한다. 클록 코드가 상승 에지를 가진 경우 상승 에지 검출 신호(REDS)가 상기 클록 코드의 상승 에지에 응답하여 활성화되고, 상기 클록 코드가 하강 에지를 가진 경우 하강 에지 검출 신호(FEDS)가 상기 클록 코드의 하강 에지에 응답하여 활성화될 수 있다.The rise 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 and generates the falling edge detection signal FEDS. When the clock code has a rising edge, the rising edge detection signal (REDS) is activated in response to the rising edge of the clock code, and when the clock code has a falling edge, the falling edge detection signal (FEDS) May be activated in response to an 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 inverted reset terminal to which the clock window signal CLKWIN is applied, And a first gated latch having an output terminal to which an edge detection signal REDS is output. The rising detector 111 can 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 You can keep the previous output when you have 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 inverted enable terminal to which the transmission signal RX is applied, an inverted reset terminal to which the clock window signal CLKWIN is applied, And a second gated latch having an output terminal to which the FEDS is output. The falling detector 113 can 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 You can keep the previous output when you have 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 a rising edge or a falling edge based on the clock window signal CLKWIN and outputs a rising-falling determination signal RFDS . For example, the rising-falling determiner 115 generates a rising-falling decision signal RFDS having a logic low level when the clock code has a rising edge, and generates a rising-falling decision signal RFDS when the clock code has a falling edge, Down decision signal RFDS having a rising edge and a falling edge.

일 실시예에서, 상승-하강 결정기(115)는 전송 신호(RX)가 인가되는 데이터 단자, 클록 윈도우 신호(CLKWIN)가 인가되는 클록 단자, 및 상승-하강 결정 신호(RFDS)가 출력되는 출력 단자를 가지는 상승 에지 트리거드 플립-플롭을 포함할 수 있다. 상승-하강 결정기(115)는 클록 윈도우 신호(CLKWIN)의 상승 에지에 응답하여 전송 신호(RX)를 상승-하강 결정 신호(RFDS)로서 출력할 수 있다.In one embodiment, the rising-and-falling determiner 115 includes 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 rising- And a rising edge triggered flip-flop. The rising-falling determiner 115 can output the transmission signal RX as the 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 selects either the rising edge detection signal REDS received from the rising detector 111 as the clock transition signal CTS or the falling edge detection signal RDSR received from the rising detector 111 in response to the rising-falling decision signal RFDS received from the rising- And selectively outputs the falling edge detection signal (FEDS) received from the detector (113).

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

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

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

도 4 및 도 5를 참조하면, 상승 검출기(111)는, 로직 로우 레벨을 가지는 클록 코드(239)가 인에이블 단자에 인가될 때, 이전 출력을 유지하여 로직 로우 레벨을 가지는 상승 에지 검출 신호(REDS)를 출력한다. 상승 검출기(111)의 인에이블 단자에 로직 하이 레벨을 가지는 데이터 비트(240)가 인가되면, 상승 검출기(111)는 로직 하이 레벨을 가지는 클록 윈도우 신호(CLKWIN)를 그대로 출력하여 로직 하이 레벨을 가지는 상승 에지 검출 신호(REDS)를 출력할 수 있다. 클록 윈도우 신호(CLKWIN)가 로직 로우 레벨로 천이하면, 상승 검출기(111)는 리셋되어 로직 로우 레벨을 가지는 상승 에지 검출 신호(REDS)를 다시 출력한다. 이에 따라, 상승 검출기(111)는 클록 코드(239)의 상승 에지에 응답하여 상승 천이하는 펄스(243)를 가지는 상승 에지 검출 신호(REDS)를 생성할 수 있다. 이와 유사하게, 하강 검출 기(113)는 클록 코드의 하강 에지에 응답하여 상승 천이하는 펄스(247)를 가지는 하강 에지 검출 신호(FEDS)를 생성할 수 있다.Referring to Figures 4 and 5, the rising detector 111 maintains the previous output and outputs a rising edge detection signal (" 1 ") having a logic low level when the clock code 239 having a logic low level is applied to the enable terminal REDS). When the data bit 240 having the logic high level is applied to the enable terminal of the rising detector 111, the rising detector 111 outputs the clock window signal CLKWIN having the logic high level as it is, It is possible to output the rising edge detection signal REDS. When the clock window signal CLKWIN transitions to a logic low level, the rising detector 111 resets and outputs a rising edge detection signal REDS having a logic low level again. As such, the rising detector 111 may generate a rising edge detection signal REDS having a pulse 243 that transitions upward in response to the rising edge of the clock code 239. [ Similarly, the falling detector 113 may generate a falling edge detection signal (FEDS) having a pulse 247 that transitions upward 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 can output the transmission signal RX as the rising-falling determination signal RFDS in response to the rising edge of the clock window signal CLKWIN. For example, the rise-and-fall determiner 115 may be configured to have 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 It is possible to output the rising-falling decision signal RFDS.

선택기(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 when the rising-and-fall determination signal RFDS has the logic low level 245, When the determination signal RFDS has the logic high level 248, the falling edge detection signal FEDS can be output as the clock transition signal CTS. Accordingly, the clock transition signal CTS may have pulses 246, 249 that rise and fall at the edge of the clock code.

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

도 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 delays the clock transition signal CTS and outputs a delay clock transition signal DCTS. 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 a clock transition signal CTS is applied, a reset terminal to which a delay clock transition signal DCTS is applied, and an output terminal to which a restored clock signal RCLK is output. The SR latch 131 outputs a restored 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 delayed clock transition signal DCTS is at a logic high level And retains the previous output when both the clock transition signal CTS and the delayed clock transition signal DCTS have a logic low level. Accordingly, the SR latch 131 can make a rising transition when the clock transition signal CTS makes a rising transition and a restoring clock signal RCLK that makes a falling transition when the delay clock transition signal DCTS makes an up transition .

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

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

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

도 8을 참조하면, 지연 회로(150)는 검출기 복제 지연기(151), 선택기 복제 지연기(153) 및 래치 복제 지연기(155)를 포함한다.8, the delay circuit 150 includes a detector replica delay 151, a selector replica delay 153, and a latch replica delay 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 replica retarder 151 delays the transmission signal RX by the delay time of the rising detector 111 or the falling detector 111 of Figure 4 and the selector replica retarder 153 is delayed by the selector 117 of Figure 4, The latch replica delayer 155 can further delay the transmission signal RX by the delay time of the SR latch 131 of FIG. The delay circuit 150 may delay the transmission signal RX by the time delayed by the recovery clock signal RCLK generated by the clock code detection unit 110 and the clock signal generation unit 130 of FIG. Accordingly, the clock recovery circuit 100 of FIG. 1 can output the clock signal CLK and the data DATA delayed by substantially the same delay time.

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

도 9를 참조하면, 출력부(170)는 클록 출력부(171) 및 데이터 출력부(173)를 포함한다.Referring to FIG. 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 section 171 can selectively output the restored 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 interval and output the restored clock signal RCLK as the clock signal CLK during the data interval 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 one embodiment, the clock output section 171 includes a first input terminal to which the restored clock signal RCLK is applied, a second input terminal to which the delay transmission signal DRX is applied, and a second input terminal to which the inversion lock detection signal LDSB is applied A selection terminal, and a multiplexer having an output terminal to which the clock signal CLK is output. The inversion lock detection signal LDSB may be output from the delay locked loop circuit which receives the clock signal CLK as an inverted signal of the lock detection signal LDS. The delay locked loop circuit can output a lock detection signal LDS having a logic high level when it is locked by the clock signal CLK. Accordingly, the clock output section 171 outputs the delayed transmission signal DRX as the clock signal CLK before the delay locked loop circuit is locked, and after the delay locked loop circuit is locked, the restored clock signal RCLK ) As the clock signal CLK. The data output unit 173 can 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 data (DATA) during the data interval without outputting the data (DATA) during the training interval.

일 실시예에서, 데이터 출력부(173)는 락 검출 신호(LDS) 및 반전 락 검출 신호(LDSB)에 의해 제어되는 전송 게이트(transmission gate)를 포함할 수 있다. 데이터 출력부(173)는, 락 검출 신호(LDS)가 로직 하이 레벨을 가지고, 반전 락 검출 신호(LDSB)가 로직 로우 레벨을 가질 때, 지연 전송 신호(DRX)를 출력할 수 있다. 이에 따라, 데이터 출력부(173)는 데이터 구간 동안 데이터(DATA)를 출력할 수 있다.In one embodiment, the data output 173 may include a transmission gate controlled by a lock detect signal LDS and an inverse lock detect signal LDSB. The data output section 173 can 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 can output the data DATA during the data interval.

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

도 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 the 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 data DATA during the data interval.

위상 주파수 검출기(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 the 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 generates a clock signal CLK and a delay And generates the up signal UP and the down signal DN 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 includes a charge pump that generates a charge current in response to the up signal UP and generates a discharge current in response to the down signal DN, And a delay filter for generating a delay control signal CTRL corresponding to the phase difference between the clock signal 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 delayed 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 an up signal UP (CTRL) that reduces the delay time of the delay line 440 in response to the refresh signal UP. When the delayed clock signal DCLK is ahead of the clock signal CLK, the phase frequency detector 410 generates a down signal DN having a logic high level, and the control signal generator 430 generates a down signal DN The delay control signal CTRL may be generated to increase the delay time of the delay line 440 in response to the delay control signal CTRL.

락 검출기(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 logic high levels when the up signal UP and the down signal DN have logic high levels or when the 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 a delayed clock signal DCLK. The delay line 440 also includes a plurality of delay cells that sequentially delay the clock signal CLK and generates a multi-phase clock signal MPCS including clock signals output from the plurality of delay cells, respectively . The delay line 440 may also provide a multi-phase clock signal MPCS to the clock window generator 450 and 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 produce 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. 10, clock window generator 450 is shown included in delay locked loop circuit 400, but some or all of clock window generator 450 may be external to delay locked loop circuit 400 , And may be included in the clock recovery circuit 100.

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

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

도 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 + 3 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 through N + 3 delay cells 441, 442, 443, 444, 445, 446, 447 and 448 sequentially delay the clock signal CLK to sequentially output the first through third clock signals CLK_1, CLK_2, CLK_A, CLK_B, CLK_N, CLK_N + 1, CLK_N + 2, and CLK_N + 3, respectively. The first through N + 3 delay cells 441, 442, 443, 444, 445, 446, 447, and 448 may delay the clock signal input by substantially the same delay time. The first to N + 3 delay cells 441, 442, 443, 444, 445, 446, 447 and 448 can 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 through N + 3 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 includes first through third clock signals CLK_1, CLK_2, CLK_A , CLK_B, CLK_N, CLK_N + 1, CLK_N + 2, CLK_N + 3). 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, at 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, the delay line 440 includes N + 3 delay cells 441, 442, and 444 when the transmission signal includes N data bits and a 2-bit length clock code added for every N data bits. 443, 444, 445, 446, 447, 448). The delay line 440 may output a delayed clock signal DCLK at the output node of the (N + 2) th delay cell 447, that is, at the input node of the (N + 3) th delay cell 448. Accordingly, since the transmission signal includes N + 2 bits each and the delay line 440 delays the clock signal CLK by the delay time of N + 2 delay cells and outputs the delay clock signal DCLK , And the delay time of each delay cell may correspond to one bit length of the transmission signal.

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

도 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 + 3) -th clock signal CLK_N + 3. The AND gate 451 performs an AND operation on the inversion signals of the (N + 1) -th clock signal (CLK_N + 1) and the (N + 3) -th clock signal (CLK_N + 3). The AND gate 451 outputs a clock signal having a logic high level when the (N + 1) th clock signal CLK_N + 1 has a logic high level and the (N + 3) It is possible to generate the window signal CLKWIN. Accordingly, the clock window generator 450 generates 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) Can be generated.

도 13은 도 11의 딜레이 라인 및 도 12의 클록 윈도우 생성기의 동작을 설명하기 위한 타이밍도이다.FIG. 13 is a timing chart for explaining the 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-13, the clock signal CLK rises at edge 256 of the clock code, and the delayed clock signal DCLK may have substantially the same phase as the clock signal CLK. The first clock signal CLK_1 output from the middle of the sub-delay cells included in the first delay cell 441 may transition up in the middle of the first data bit D1. Further, the second to Nth clock signals CLK_2, CLK_A, CLK_B and CLK_N may each be shifted up in the middle of the second to Nth data bits D2, DA, DB and DN. 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, 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) can rise up in the middle of the first bit of the clock code (CC) It is possible to make a rising transition in the middle of the bit. Further, the (N + 3) -th clock signal CLK_N + 3 may be transited to the first data bit D1 of the next cycle in the middle. That is, the (N + 3) th delay cell 448 can output the (N + 3) -th clock signal CLK_N + 3 delayed by one cycle 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 logical 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 outputs the (N + 1) th clock signal CLK_N + An AND operation can be performed on the inverted signal to generate the clock window signal CLKWIN. Accordingly, the clock window signal CLKWIN is set so that the (N + 1) th clock signal CLK_N + 1 has a logic high level 258 and the (N + 3) (260), as shown in FIG. The clock recovery circuit 100 of Figure 1 detects the edge 256 of the transmission signal RX based on the clock window signal CLKWIN with a logic high level 260 and detects the edge 256 of the transmission signal RX The clock signal CLK having the rising edge 257 can be generated.

이와 같이, 본 발명의 일 실시예에 따른 클록 복원 회로 및 샘플링 신호 생성기는 클록 윈도우 신호를 이용하여 클록 코드의 에지를 검출함으로써 클록 임베디드 데이터로부터 클록 신호를 정확하게 복원할 수 있다.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 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 a clock transition signal CTS is applied, a reset terminal to which a clock falling signal CFS is applied, and an output terminal to which a recovered clock signal RCLK is output. The SR latch 131 outputs a restored 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 (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 can generate the restored clock signal RCLK that is caused to rise when the clock transition signal CTS makes an up transition and fall down when the clock falling signal CFS makes an up transition.

클록 신호 생성부(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 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 similar configuration to the clock window generator 450 of FIG.

다시 도 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 again to FIG. 13, the clock falling signal CFS can be generated by performing an AND operation on the inverted signals of the A clock signal CLK_A and the B clock signal CLK_B. The clock falling signal CFS is set to a logic high level 262 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 respectively output from two delay cells located in the middle of the delay line 440 in Fig. For example, the A th clock signal CLK_A is a signal output from the N / 2 + 1 th delay cell among N + 3 delay cells included in the delay line 440, and the B th clock signal CLK_B is N / 2 + 2 < th > delay cell. The clock recovery circuit including the clock signal generator 130 according to another embodiment of the present invention includes a clock signal CLK having a falling edge 261 in response to a clock falling signal CFS having a logic high level 264, Can be generated.

본 발명의 다른 실시예에 따른 도 14의 클록 신호 생성부(130)는 도 6의 클록 신호 생성부(130)에 비하여 지연 회로(132) 없이 도 10의 지연 고정 루프 회로(400)로부터 수신된 클록 하강 신호(CFS)에 기초하여 복원 클록 신호(RCLK)를 생성할 수 있다.The clock signal generator 130 of FIG. 14 according to another embodiment of the present invention is different from the clock signal generator 130 of FIG. 6 in that the clock signal generator 130 of FIG. And can generate the restored clock signal RCLK based on the clock falling signal CFS.

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

도 10 및 도 15를 참조하면, 클록 윈도우 생성기(450)는 윈도우 신호 생성부(460) 및 윈도우 신호 선택부(470)를 포함한다.Referring to FIGS. 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 part of the multi-phase clock signal from the delay line 440. For example, the window signal generator 460 generates the window signal CLK_N, the (N + 1) -th clock signal CLK_N + 1, the (N + 2) -th clock signal CLK_N + 2, And can receive the (N + 3) -th clock signal (CLK_N + 3).

윈도우 신호 생성부(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 generates an Nth delayed clock signal DCLK by delaying the Nth delayed clock signal DCLK by about 0.5 bits with respect to the delayed clock signal DCLK, 3 clock signal CLK_N + 3 to generate a logic low level between the rising edge of the (N + 1) -th clock signal CLK_N + 1 and the rising edge of the (N + 3) The first window signal CLKWIN1 may be generated. The window signal generator 460 generates the window signal CLK_N and the delayed clock signal DCLK by about 2.5 bits long with respect to the delayed clock signal DCLK, A second window signal having a logic high level between the rising edge of the Nth clock signal CLK_N and the rising edge of the (N + 2) th clock signal CLK_N + 2 by performing a logic operation on the clock signal CLK_N + CLKWIN2 < / RTI >

윈도우 신호 선택부(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 can detect the interval between the edges of the clock code included in the first window signal CLKWIN1 and / or the second window signal CLKWIN2 and the transmission signal RX. The window signal selector 470 may generate a window selection signal WINSEL indicating the first window signal CLKWIN1 or the second window signal CLKWIN2 by determining whether the detected interval is equal to or greater than a predetermined value.

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

윈도우 신호 생성부(460)는 윈도우 신호 선택부(470)로부터 수신된 윈도우 선택 신호(WINSEL)에 응답하여 클록 윈도우 신호(CLKWIN)로서 제1 윈도우 신호(CLKWIN1) 또는 제2 윈도우 신호(CLKWIN2)를 선택적으로 출력할 수 있다.The window signal generator 460 generates a first window signal CLKWIN1 or a second window signal CLKWIN2 as a clock window signal CLKWIN in response to the window selection signal WINSEL received from the window signal selector 470 And can selectively 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 delay clock signal DCLK corresponding to the clock signal CLK or the clock signal CLK by the clock recovery circuit 100 is significant, The clock window signal CLKWIN generated based on the clock signal CLKWIN 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 generates the clock window signal CLKWIN adaptively according to the rate and / or delay amount, The edge of the code can be detected to generate the clock signal CLK and the sampling signal SS.

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

도 16을 참조하면, 포함된 윈도우 신호 생성부(460)는 제1 인버터(461), 제1 AND 게이트(462), 제2 인버터(463), 제2 AND 게이트(464) 및 멀티플렉서(465)를 포함한다.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, .

제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 the inversion signals of the (N + 1) -th clock signal (CLK_N + 1) and the (N + 3) -th clock signal (CLK_N + 3). 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 AND gate 462 has a logic high level The first window signal CLKWIN1 can 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 + 2) -th clock signal CLK_N + 2. The second AND gate 464 performs an AND operation on the inversion signals of the N-th clock signal CLK_N and the (N + 2) -th clock signal CLK_N + 2. The second AND gate 464 outputs a second window signal having a logic high level when the Nth clock signal CLK_N has a logic high level and the (N + 2) th clock signal CLK_N + 2 has a logic low level. (CLKWIN2). Thus, the second window signal CLKWIN2 may have a logic high level from the rising edge of the Nth 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 receives a first input terminal to which the first window signal CLKWIN1 is applied, a second input terminal to which the second window signal CLKWIN2 is applied, a window selection signal 470 from the window signal selector 470 And an output terminal to which a 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 a clock window signal CLKWIN when the window selection signal WINSEL has a logic high level, and outputs the first window signal CLKWIN2 as a clock signal CLKWIN when the window selection signal WINSEL is logic low Level, the second window signal CLKWIN2 can be output as the clock window signal CLKWIN.

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

도 17을 참조하면, 윈도우 신호 선택부(470)는 지연 회로(471), 제1 플립-플롭(472), 제2 플립-플롭(473) 및 XOR 게이트(474)를 포함한다.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 in Fig. The delay circuit 471 may delay the first window signal CLKWIN1 by about half the length of the delay signal of the delay cell included in the delay line. The delay time of the delay circuit 471 can 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 includes 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 a rising edge trigger Flip-flop. Thus, the first flip-flop 472 can 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 has 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 a falling edge trigger Flip-flop. Thus, the second flip-flop 473 can 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 signal of the clock signal included in the transmission signal RX Not suitable for edge detection. Accordingly, the XOR gate 474 generates a window selection signal WINSEL having a logic low level, and the multiplexer 465 of FIG. 18 can output the second window signal CLKWIN2 as a 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 signal of the clock signal included in the transmission signal RX 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 a window selection signal WINSEL having a logic high level, and the multiplexer 465 of FIG. 16 can output the first window signal CLKWIN1 as a clock window signal CLKWIN have.

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

일 실시예에서, 윈도우 신호 선택부(470)는, 클록 트레이닝 신호가 전송되는 트레이닝 구간 동안 클록 윈도우 신호(CLKWIN)를 적응적으로 선택하는 동작을 수행하고, 클록 코드를 포함하는 데이터가 전송되는 데이터 구간 동안 전송 오류를 검출하는 클록 오류 검출기로서 동작할 수 있다. 상기 데이터 구간 동안, 윈도우 신호 선택부(470)는 전송 신호(RX) 및 트레이닝 구간 동안 선택된 제1 윈도우 신호(CLKWIN1) 또는 제2 윈도우 신호(CLKWIN2)를 수신하고, 전송 오류, 예를 들어 전송 신호(RX)에 클록 코드가 포함되지 않은 오류를 검출할 수 있다. 전송 신호(RX)에 클록 코드가 포함되지 않은 경우, 도 17의 윈도우 신호 선택부(470)를 포함하는 수신 장치는 송신 장치에 전송 오류를 알리고, 상기 송신 장치는 상기 수신 장치에 클록 트레이닝 신호 및/또는 데이터를 재전송할 수 있다.In one embodiment, the window signal selector 470 performs an operation of adaptively selecting a clock window signal (CLKWIN) during a training interval in which a clock training signal is transmitted, and when the data including the clock code And may operate as a clock error detector to detect transmission errors during the interval. During the data interval, 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 interval and transmits a transmission error, An error in which the clock code is not included in the clock RX can be detected. When the transmission signal RX does not include a clock code, 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 transmits the clock training signal and the clock signal to the reception apparatus RX. And / or retransmit the data.

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

도 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)를 이용하여 정확하게 검출될 수 있다.17 and 18A, after the delay locked loop circuit 400 of FIG. 10 is locked during the training interval, that is, when the lock detection signal LDS has a logic high level 268 An adaptive window selection operation is performed. The clock signal CLK generated by the clock recovery circuit 100 of FIG. 10 is delayed by the recovery delay time TRD from the transmission signal RX. The pulse 267 of the first window signal CLKWIN1 with the leading rising edge by about 1.5 bits long and the falling edge by about 0.5 bits longer than the rising edge of the clock signal CLK is about 1.5 And has a margin (M1) that limits the recovery delay time (TRD) in the bit length. In this case, 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 length, the window signal selector 470 outputs the first window signal CLKWIN as the 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 can be accurately detected using the pulse 269 of the clock window signal CLKWIN with the predetermined margin M1.

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

도 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 for 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 length, the first window signal CLKWIN1 is not suitable for clock code detection. Accordingly, the second window signal CLKWIN2, which is about one bit long with respect to the first window signal CLKWIN1, can be selected as the clock window signal CLKWIN. The pulse 275 of the second window signal CLKWIN2 may precede the predetermined margin M2, for example, about 0.5 bit length, for the transmission signal RX. Thus, during the data period, the edge of the clock code contained in the transmission signal RX can be accurately detected using the pulse 276 of the clock window signal CLKWIN with a predetermined margin M2.

이와 같이, 본 발명의 또 다른 실시예에 따른 도 15의 클록 윈도우 생성기(450)는 전송율 및/또는 지연량에 따라 전송 신호(RX)에 대하여 소정의 마진을 가진 클록 윈도우 신호(CLKWIN)를 적응적으로 생성할 수 있다. 이에 따라, 본 발명의 또 다른 실시예에 따른 클록 복원 회로는 적응적으로 생성된 클록 윈도우 신호(CLKWIN)를 이용하여 고속 전송 시에도 클록 코드를 정확하게 검출할 수 있다. 또한, 발명의 또 다른 실시예에 따른 샘플링 신호 생성기는 고속 동작에 적합하다.As described above, 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 to the transmission signal RX according to the transmission rate and / It can be created as an object. Accordingly, the clock recovery circuit according to another embodiment of the present invention can accurately detect the clock code even during high-speed transmission using the adaptively generated clock window signal CLKWIN. In addition, the sampling signal generator according to another embodiment of the present 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)을 포함한다.19, the window signal selector 470 includes a delay circuit 471, a first flip-flop 472, a second flip-flop 473, an XOR gate 474, a third flip-flop 475, a counter 476, and a 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 the 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 the 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 to generate a first window signal CLKWIN1 delayed by the delay circuit 471 The edge of the clock code included in the transmission signal RX is present between the rising edge and the falling edge of the clock signal RX.

제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, e.g., the clock falling signal CFS of FIG. 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 inverted reset terminal to which the lock detection signal LDS is applied, A rising edge triggered flip-flop. The third flip-flop 475 can operate when the lock detector 420 of FIG. 10 outputs a 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 the counting operation in response to the output signal of the third flip-flop 475. [ For example, the counter 476 may comprise a plurality of serially connected flip-flops. The comparator 477 compares the counting result of the counter 476 with a predetermined reference value. Accordingly, the counter 476 and the comparator 477 compare the output signal of the third flip-flop 475 with the output signal of the third flip-flop 475 when the output signal of the third flip- A window selection signal WINSEL can be generated. For example, when the output signal of the third flip-flop 475 holds a logic high level for a predetermined time, the counter 476 and the comparator 477 compare the window selection signal (CLKWIN1) indicating the first window signal CLKWIN1 The counter 476 and the comparator 477 output a window signal indicating the second window signal CLKWIN2 when the output signal of the third flip-flop 475 holds a logic low level for a predetermined time, Signal (WINSEL).

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

이와 같이, 본 발명의 더욱 또 다른 실시예에 따른 도 19의 클록 윈도우 생성기(450)는 전송율 및/또는 지연량에 따라 전송 신호(RX)에 대하여 소정의 마진을 가진 클록 윈도우 신호(CLKWIN)를 적응적으로 생성할 수 있다.As described above, the clock window generator 450 shown in FIG. 19 according to still another embodiment of the present invention generates a 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 It can be generated adaptively.

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

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

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

수신 장치(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 apparatus 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 outputs 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 that restores the clock signal CLK from the transmission signal RX based on the clock window signal CLKWIN and a clock window signal CLKWIN for clock recovery, And 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 supplied to other components inside or outside the receiving apparatus 530 Data and clock signals.

도 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 shows an example in which the transmission apparatus 510 and the reception apparatus 530 are connected through a single transmission line 520. The transmission apparatus 510 and the reception apparatus 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) attachment interface may be employed.

이와 같이, 본 발명의 실시예들에 따른 클록 복원 회로 및 샘플링 신호 생성기는 클록 임베디드 데이터로부터 클록 신호를 정확하게 복원할 수 있다. 또한, 본 발명의 실시예들에 따른 클록 복원 회로 및 샘플링 신호 생성기는, 적응적으로 생성된 클록 윈도우 신호를 이용함으로써, 신호 전송을 고속화할 수 있다.As described above, 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.

본 발명은 임의의 인터페이스 장치 및 시스템에 유용하게 이용될 수 있다. 또한, 본 발명은 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 can be applied to 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- serial advanced technology attachment) interface systems.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

도 13은 도 11의 딜레이 라인 및 도 12의 클록 윈도우 생성기의 동작을 설명하기 위한 타이밍도이다.FIG. 13 is a timing chart for explaining the 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 embodiment of the present invention.

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

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

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

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

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

도 19는 본 발명의 더욱 또 다른 실시예에 샘플링 신호 생성기에 포함된 윈 도우 신호 선택부를 나타내는 도면이다.19 is a view showing a window signal selector included in the 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 in accordance with embodiments of the present invention.

<도면의 주요부분에 대한 부호의 설명>Description of the Related Art

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

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

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

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

170: 출력부 171: 클록 출력부170: Output section 171: Clock output section

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:

440: 딜레이 라인 450: 클록 윈도우 생성기440: Delay Line 450: Clock Window Generator

460: 윈도우 신호 생성부 470: 윈도우 신호 선택부460: Window signal generator 470: Window signal selector

Claims (17)

삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 클록 코드를 포함하는 전송 신호를 수신하고, 클록 윈도우 신호에 응답하여 상기 전송 신호에서 상기 클록 코드의 에지를 검출하며, 상기 클록 코드의 에지에 기초하여 클록 신호를 생성하는 클록 복원 회로; 및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 an edge of the clock code; And 상기 클록 신호에 기초하여 다중 위상 클록 신호를 생성하고, 상기 다중 위상 클록 신호에 기초하여 상기 클록 윈도우 신호를 생성하며, 상기 다중 위상 클록 신호를 샘플링 신호로서 출력하는 지연 고정 루프 회로를 포함하고,And 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, 상기 지연 고정 루프 회로는,The delay locked loop circuit comprising: 상기 클록 신호를 순차적으로 지연시켜 상기 다중 위상 클록 신호를 생성하는 복수의 딜레이 셀들을 포함하고, 상기 클록 신호가 지연된 지연 클록 신호를 생성하는 딜레이 라인;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 in which the clock signal is delayed; 상기 클록 신호와 상기 지연 클록 신호의 위상 차에 기초하여 업 신호 및 다운 신호를 생성하는 위상 주파수 검출기;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 for 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 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. 삭제delete 제 8 항에 있어서, 상기 클록 윈도우 생성기는,9. The apparatus of claim 8, wherein the clock window generator comprises: 상기 다중 위상 클록 신호 중 두개의 클록 신호들에 논리 연산을 수행하여 제1 윈도우 신호를 생성하고, 상기 두개의 클록 신호들에 각각 인접한 두개의 클록 신호들에 논리 연산을 수행하여 제2 윈도우 신호를 생성하며, 윈도우 선택 신호에 응답하여 상기 제1 윈도우 신호 또는 상기 제2 윈도우 신호를 선택적으로 출력하는 윈도우 신호 생성부; 및A first window signal is generated by performing a logic operation on two clock signals of the multiphase clock signal and a logical operation is performed on two clock signals adjacent to the two clock signals to generate a second window signal A window signal generator for selectively outputting the first window signal or the second window signal in response to a window selection signal; And 상기 제1 윈도우 신호와 상기 클록 코드의 에지 사이의 간격을 검출하고, 상기 검출된 간격에 기초하여 상기 윈도우 선택 신호를 생성하는 윈도우 신호 선택부를 포함하는 것을 특징으로 하는 샘플링 신호 생성기.And a window signal selector for detecting an interval between the edge of the first window signal and the clock code and generating the window selection signal based on the detected interval. 제 8 항에 있어서, 상기 클록 복원 회로는,9. The clock recovery circuit according to claim 8, 상기 클록 코드를 포함하는 상기 전송 신호를 수신하고, 상기 클록 윈도우 신호에 응답하여 상기 전송 신호에서 상기 클록 코드의 에지를 검출하며, 상기 클록 코드의 에지에 기초하여 클록 천이 신호를 생성하는 클록 코드 검출부; 및A clock code detector for receiving the transmission signal including the clock code, detecting an edge of the clock code in the transmission signal in response to the clock window signal, and generating a clock transition signal based on an edge of the clock code, ; And 상기 클록 천이 신호에 응답하여 상기 클록 신호를 생성하는 클록 신호 생성부를 포함하는 샘플링 신호 생성기.And a clock signal generator for generating the clock signal in response to the clock transition signal. 제 11 항에 있어서, 상기 클록 코드 검출부는,The apparatus of claim 11, wherein the clock code detector comprises: 상기 전송 신호에서 상기 클록 코드의 상승 에지를 검출하여 상승 에지 검출 신호를 생성하는 상승 검출기;A rising detector for detecting a rising edge of the clock code in the transmission signal and generating a rising edge detection signal; 상기 전송 신호에서 상기 클록 코드의 하강 에지를 검출하여 하강 에지 검출 신호를 생성하는 하강 검출기;A falling detector for detecting a falling edge of the clock code in the transmission signal and generating a falling edge detection signal; 상기 클록 코드가 상승 에지를 가지는지 또는 하강 에지를 가지는지를 판단하여 상승-하강 결정 신호를 생성하는 상승-하강 결정기; 및A rising-falling determiner for determining whether the clock code has a rising edge or a falling edge and generating a rising-falling determining 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. 제 12 항에 있어서,13. The method of claim 12, 상기 상승 검출기는, 상기 클록 윈도우 신호가 로직 하이 레벨을 가지고, 상기 전송 신호가 로직 하이 레벨을 가질 때, 상기 클록 윈도우 신호를 상기 상승 에지 검출 신호로서 출력하는 제1 래치를 포함하고,Wherein the rising detector includes a first latch that outputs 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 래치를 포함하며,Wherein the falling detector comprises 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 comprises a flip-flop for outputting the transmission signal as the rising-falling decision signal in response to a rising edge of the clock window signal, 상기 선택기는 상기 상승-하강 결정 신호를 선택 신호로서 수신하고, 상기 상승-하강 결정 신호에 응답하여 상기 클록 천이 신호로서 상기 상승 에지 검출 신호 또는 상기 하강 에지 검출 신호를 선택적으로 출력하는 멀티플렉서를 포함하는 것을 특징으로 하는 샘플링 신호 생성기.Wherein the selector includes a multiplexer for receiving the rising-falling determination signal as a selection signal and 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 Wherein the sampling signal generator comprises: 제 11 항에 있어서, 상기 클록 신호 생성부는,The apparatus of claim 11, wherein the clock signal generator comprises: 상기 클록 천이 신호에 응답하여 상승 천이하고, 상기 클록 천이 신호를 지연시킨 지연 클록 천이 신호에 응답하여 하강 천이하는 상기 클록 신호를 생성하는 것을 특징으로 하는 샘플링 신호 생성기.And generates the clock signal that makes a rising transition in response to the clock transition signal and a falling transition in response to a delayed clock transition signal in which the clock transition signal is delayed. 제 11 항에 있어서, 상기 클록 신호 생성부는,The apparatus of claim 11, wherein the clock signal generator comprises: 상기 클록 천이 신호에 응답하여 상승 천이하고, 상기 지연 고정 루프 회로로부터 수신된 클록 하강 신호에 응답하여 하강 천이하는 상기 클록 신호를 생성하는 것을 특징으로 하는 샘플링 신호 생성기.And generates the rising edge of the clock signal in response to the clock falling signal and the falling signal in response to the falling clock signal received from the delay locked loop circuit. 제 11 항에 있어서, 상기 클록 복원 회로는,12. The clock recovery circuit according to claim 11, 상기 클록 코드 검출부 및 상기 클록 신호 생성부의 지연 시간만큼 상기 전송 신호를 지연시키는 지연 회로를 더 포함하는 것을 특징으로 하는 샘플링 신호 생성기.And a delay circuit for delaying the transmission signal by a delay time of the clock code detection unit and the clock signal generation unit. 제 16 항에 있어서, 상기 클록 복원 회로는,17. The clock recovery circuit according to claim 16, 상기 락 검출 신호에 응답하여 상기 클록 신호 생성부로부터 출력된 상기 클록 신호 또는 상기 지연 회로로부터 출력된 상기 전송 신호를 선택적으로 출력하는 클록 출력부; 및A clock output unit for selectively outputting the clock signal output from the clock signal generation unit or the transmission signal output from the delay circuit in response to the lock detection signal; And 상기 락 검출 신호에 응답하여 상기 지연 회로로부터 출력된 상기 전송 신호를 선택적으로 출력하는 데이터 출력부를 더 포함하는 샘플링 신호 생성기.And a data output section for selectively outputting the transmission signal output from the delay circuit in response to the lock detection signal.
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 KR20110017275A (en) 2011-02-21
KR101615101B1 true 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)

Families Citing this family (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
US9881579B2 (en) 2013-03-26 2018-01-30 Silicon Works Co., Ltd. Low noise sensitivity source driver for display apparatus
KR102217944B1 (en) * 2014-01-27 2021-02-19 삼성전자주식회사 Display driving circuit
KR102117130B1 (en) * 2014-10-13 2020-06-01 매그나칩 반도체 유한회사 Apparatus and method for preventing of abnormal screen in image display device
KR102366952B1 (en) * 2015-07-14 2022-02-23 주식회사 엘엑스세미콘 Delay locked loop based clock recovery device and receive device including the same

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080130811A1 (en) * 2006-06-30 2008-06-05 Samsung Electronics Co., Ltd. Circuit and method for removing skew in data transmitting/receiving system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080130811A1 (en) * 2006-06-30 2008-06-05 Samsung Electronics Co., Ltd. Circuit and method for removing skew in data transmitting/receiving system

Also Published As

Publication number Publication date
KR20110017275A (en) 2011-02-21

Similar Documents

Publication Publication Date Title
KR102522742B1 (en) Multiphase clock data recovery for 3-phase interface
CN113841334A (en) Measurement and correction of multiphase clock duty cycle and time offset
US7869544B2 (en) System for measuring an eyewidth of a data signal in an asynchronous system
KR101615101B1 (en) Clock recovery circuit and sampling signal generator including the same
US9866413B2 (en) Transition enforcing coding receiver for sampling vector signals without using clock and data recovery
EP3114792B1 (en) Clock recovery circuit for multiple wire data signals
CA2338320C (en) Integrated data clock extractor
US9853647B2 (en) Transition enforcing coding receiver for sampling vector signals without using clock and data recovery
US7936855B2 (en) Oversampling data recovery circuit and method for a receiver
KR20220087445A (en) Small Loop Delay Clock and Data Recovery Blocks for High-Speed Next-Generation C-PHYs
KR100884589B1 (en) Multi phase clock generator and generating method
EP3846380A1 (en) Clock and data recovery circuit
US7664215B2 (en) Signal alignment based on data signal
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
KR101515360B1 (en) Providing a feedback loop in a low latency serial interconnect architecture
KR100899781B1 (en) Apparatus and method for transmitting data with clock information
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
KR100807407B1 (en) System and apparatus for encoding using different waveforms
US6604203B1 (en) Arrangement and method for self-synchronization data to a local clock
US6970527B2 (en) Transmitting circuit and method thereof, receiving circuit and method thereof, and data communication apparatus
KR100728906B1 (en) Duty cycle correcting apparatus
US9602272B2 (en) Clock and data recovery circuit and system using the same
CN114461473B (en) Method for detecting time sequence of serializer, detection circuit and electronic device

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