KR101110114B1 - Method and circuit for synchronization, and data synchronization apparatus having the same - Google Patents
Method and circuit for synchronization, and data synchronization apparatus having the same Download PDFInfo
- Publication number
- KR101110114B1 KR101110114B1 KR1020090116908A KR20090116908A KR101110114B1 KR 101110114 B1 KR101110114 B1 KR 101110114B1 KR 1020090116908 A KR1020090116908 A KR 1020090116908A KR 20090116908 A KR20090116908 A KR 20090116908A KR 101110114 B1 KR101110114 B1 KR 101110114B1
- Authority
- KR
- South Korea
- Prior art keywords
- data
- clock signal
- response
- signal
- bit data
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/16—Handling requests for interconnection or transfer for access to memory bus
- G06F13/1668—Details of memory controller
- G06F13/1689—Synchronisation and timing concerns
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K19/00—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
- H03K19/20—Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits characterised by logic function, e.g. AND, OR, NOR, NOT circuits
Abstract
데이터 동기화 장치가 개시된다. 상기 장치는 순차적으로 입력되는 각각의 N-비트 데이터를 제1클락 신호의 M-클락 사이클동안 지연시켜 상기 M-클락 사이클마다 (N*M)-비트 데이터를 출력하기 위한 송신 회로; 및 제2클락 신호에 응답하여 상기 (N*M)-비트 데이터를 수신하고, 수신된 (N*M)-비트 데이터를 상기 제2클락 신호의 M-클락 사이클 동안 N-비트 단위로 순차적으로 출력하기 위한 수신 회로를 포함한다.A data synchronization device is disclosed. The apparatus comprises: a transmitting circuit for delaying each of the sequentially input N-bit data during an M-clock cycle of a first clock signal to output (N * M) -bit data every M-clock cycle; And receiving the (N * M) -bit data in response to a second clock signal, sequentially receiving the (N * M) -bit data in N-bit units during the M-clock cycle of the second clock signal. A receiving circuit for outputting.
동기화, 데이터 손실, 싱크로나이저 Synchronization, data loss, synchronizer
Description
본 발명의 개념에 따른 실시 예는 동기화 장치와 방법에 관한 것으로, 서로 다른 주파수를 사용하는 시스템들 사이에서 데이터 손실 없이 데이터를 전송할 수 있는 장치와 방법에 관한 것이다.An embodiment according to the concept of the present invention relates to a synchronization device and a method, and to an apparatus and a method capable of transmitting data without data loss between systems using different frequencies.
서로 다른 주파수들을 동작 주파수들로 사용하는 시스템들 사이에서 데이터를 전송할 때, 예컨대 수신단의 주파수가 송신단의 주파수보다 매우 높을 때 데이터 동기화 과정에서 상기 송신단으로부터 출력된 데이터가 상기 수신단에서 유실될 가능성은 매우 낮다. 그러나, 상기 송신단의 주파수와 상기 수신단의 주파수가 서로 비슷할 때, 상기 송신단으로부터 출력된 데이터는 상기 수신단에서 유실될 가능성이 높다.When transmitting data between systems using different frequencies as operating frequencies, for example, when the frequency of the receiver is much higher than the frequency of the transmitter, it is very unlikely that the data output from the transmitter will be lost at the receiver during data synchronization. low. However, when the frequency of the transmitting end and the frequency of the receiving end are similar to each other, the data output from the transmitting end is likely to be lost at the receiving end.
따라서 본 발명이 이루고자 하는 기술적 과제는 송신단의 주파수와 수신단의 주파수가 서로 다를 때 상기 송신단에서 출력된 데이터를 상기 수신단에서 정확하게 검출할 수 있도록 하는 데이터 동기화 장치, 데이터 동기화 방법, 및 상기 데이터 동기화 장치를 포함하는 데이터 동기화 시스템을 제공하는 것이다.Accordingly, an aspect of the present invention is to provide a data synchronization device, a data synchronization method, and the data synchronization device that enable the receiver to accurately detect data output from the transmitter when the frequency of the transmitter and the receiver are different from each other. It is to provide a data synchronization system that includes.
본 발명의 실시 예에 따른 데이터 동기화 장치는 순차적으로 입력되는 각각의 N-비트 데이터를 제1클락 신호의 M-클락 사이클동안 지연시켜 상기 M-클락 사이클마다 (N*M)-비트 데이터를 출력하기 위한 송신 회로와, 제2클락 신호에 응답하여 상기 (N*M)-비트 데이터를 수신하고, 수신된 (N*M)-비트 데이터를 상기 제2클락 신호의 M-클락 사이클 동안 N-비트 단위로 순차적으로 출력하기 위한 수신 회로를 포함한다.The data synchronization device according to an embodiment of the present invention outputs (N * M) -bit data for each M-clock cycle by delaying each N-bit data sequentially input during the M-clock cycle of the first clock signal. Receive the (N * M) -bit data in response to a second clock signal, and receive the received (N * M) -bit data during the M-clock cycle of the second clock signal. It includes a receiving circuit for sequentially outputting in bit units.
상기 송신 회로는 각각이 상기 제1클락 신호에 응답하여 상기 각각의 N-비트 데이터를 래치하기 위한 직렬로 접속된 복수의 래치 블록들을 포함하는 지연 블록과, 전송 제어 신호와 상기 제1클락 신호에 응답하여 상기 복수의 래치 블록들 중에서 첫 번째 래치 블록으로 입력되는 N-비트 데이터와 상기 복수의 래치 블록들 각각으로부터 출력되는 각각의 N-비트 데이터를 상기 제1클락 신호의 상기 M-클락 사이클마다 상기 (N*M)-비트 데이터로서 출력하기 위한 데이터 전송 블록을 포함한다.The transmission circuit includes a delay block including a plurality of serially connected latch blocks for latching the respective N-bit data in response to the first clock signal, a transmission control signal and a first clock signal. In response to each of the M-clock cycles of the first clock signal, N-bit data input to the first latch block and each N-bit data output from each of the plurality of latch blocks are output. And a data transport block for outputting as the (N * M) -bit data.
상기 수신 회로는 상기 제2클락 신호에 응답하여 상기 (N*M)-비트 데이터를 수신하기 위한 데이터 수신 블록과, 복수의 선택 신호들에 응답하여 상기 데이터 수신 블록에 저장된 상기 (N*M)-비트 데이터를 상기 제2클락 신호의 M-클락 사이클 동안 상기 N-비트 단위로 순차적으로 출력하기 위한 선택기를 포함한다.The receiving circuit includes a data receiving block for receiving the (N * M) -bit data in response to the second clock signal, and the (N * M) stored in the data receiving block in response to a plurality of selection signals. And a selector for sequentially outputting bit data in the N-bit unit during the M-clock cycle of the second clock signal.
본 발명의 실시 예에 따른 데이터 처리 시스템은 제1클락 신호에 응답하여 각각의 N-비트 데이터를 출력하기 위한 제1데이터 처리 장치; 상기 제1데이터 처리 장치로부터 출력된 상기 각각의 N-비트 데이터를 상기 제1클락 신호의 M-클락 사이클 동안 지연시켜 상기 제1클락 신호의 M-클락 사이클 마다 (N*M)-비트 데이터를 출력하기 위한 송신 회로; 제2클락 신호에 응답하여 상기 (N*M)-비트 데이터를 수신하고, 수신된 (N*M)-비트 데이터를 상기 제2클락 신호의 M-클락 사이클 동안 N-비트 단위로 순차적으로 출력하기 위한 수신 회로; 및 상기 제2클락 신호에 응답하여 상기 수신 회로로부터 상기 N-비트 단위로 순차적으로 출력되는 데이터를 처리하기 위한 제2데이터 처리 장치를 포함한다.A data processing system according to an embodiment of the present invention includes a first data processing device for outputting respective N-bit data in response to a first clock signal; Delaying the respective N-bit data output from the first data processing apparatus during the M-clock cycle of the first clock signal to generate (N * M) -bit data every M-clock cycle of the first clock signal. A transmission circuit for outputting; Receive the (N * M) -bit data in response to a second clock signal, and sequentially output the received (N * M) -bit data in N-bit units during the M-clock cycle of the second clock signal. Receiving circuitry; And a second data processing device for processing data sequentially output in the N-bit units from the receiving circuit in response to the second clock signal.
본 발명의 다른 실시 예에 따른 데이터 동기화 장치는 각각이 제1클락 신호에 응답하여 동작하는 직렬로 접속된 복수의 래치들; 전송 제어 신호와 상기 제1클락 신호에 응답하여 상기 복수의 래치들 중에서 첫 번째 래치의 입력 데이터와 상기 복수의 래치들 각각의 출력 데이터를 래치하기 위한 복수의 제1래치들; 각각이 제2클락 신호에 응답하여 상기 복수의 제1래치들 각각의 출력 신호를 래치하기 위한 복수의 제2래치들; 및 선택 신호들에 응답하여 상기 복수의 제2래치들 각각의 출력 신호를 순차적으로 출력하기 위한 선택기를 포함한다.According to another aspect of the present invention, a data synchronization device includes a plurality of serially connected latches, each of which is operated in response to a first clock signal; A plurality of first latches for latching input data of a first latch and output data of each of the plurality of latches among the plurality of latches in response to a transmission control signal and the first clock signal; A plurality of second latches, each latching an output signal of each of the plurality of first latches in response to a second clock signal; And a selector for sequentially outputting an output signal of each of the plurality of second latches in response to selection signals.
상기 데이터 동기화 회로는 상기 제1클락 신호와 데이터 인에이블 신호를 논리곱하기 위한 제1AND게이트; 상기 제1AND게이트의 출력 신호에 따라 카운트 값들을 출력하기 위한 카운터; 및 상기 카운트 값들을 논리곱 연산하여 상기 전송 제어 신호를 출력하기 위한 제2AND게이트를 포함한다.The data synchronization circuit may include a first AND gate for ANDing the first clock signal and the data enable signal; A counter for outputting count values according to the output signal of the first AND gate; And a second AND gate for outputting the transmission control signal by performing an AND operation on the count values.
본 발명의 실시 예에 따른 데이터 동기화 방법은 순차적으로 입력되는 각각의 N-비트 데이터를 제1클락 신호의 M-클락 사이클 동안 지연시켜 상기 M-클락 사이클마다 (N*M)-비트 데이터를 출력하는 단계; 및 제2클락 신호에 응답하여 상기 (N*M)-비트 데이터를 수신하고, 수신된 (N*M)-비트 데이터를 상기 제2클락 신호의 M-클락 사이클 동안 N-비트 단위로 순차적으로 출력하는 단계를 포함한다.The data synchronization method according to an embodiment of the present invention outputs (N * M) -bit data for each M-clock cycle by delaying each N-bit data sequentially input during an M-clock cycle of a first clock signal. Making; And receiving the (N * M) -bit data in response to a second clock signal, sequentially receiving the (N * M) -bit data in N-bit units during the M-clock cycle of the second clock signal. Outputting.
본 발명의 실시 예에 따른 데이터 동기화 방법과 데이터 동기화 회로는 송신단의 주파수와 수신단의 주파수에 무관하게 데이터 손실 없이 데이터를 전송할 수 있는 효과가 있다. The data synchronization method and the data synchronization circuit according to an embodiment of the present invention have the effect of transmitting data without data loss regardless of the frequency of the transmitter and the receiver.
본 명세서 또는 출원에 개시되어 있는 본 발명의 개념에 따른 실시 예들에 대해서 특정한 구조적 내지 기능적 설명들은 단지 본 발명의 개념에 따른 실시 예를 설명하기 위한 목적으로 예시된 것으로, 본 발명의 개념에 따른 실시 예들은 다양한 형태로 실시될 수 있으며 본 명세서 또는 출원에 설명된 실시 예들에 한정되는 것으로 해석되어서는 아니된다.Specific structural and functional descriptions of embodiments according to the concepts of the present invention disclosed in this specification or application are merely illustrative for the purpose of illustrating embodiments in accordance with the concepts of the present invention, The examples may be embodied in various forms and should not be construed as limited to the embodiments set forth herein or in the application.
본 발명의 개념에 따른 실시 예는 다양한 변경을 가할 수 있고 여러 가지 형태를 가질 수 있으므로 특정 실시 예들을 도면에 예시하고 본 명세서 또는 출원에 상세하게 설명하고자 한다. 그러나, 이는 본 발명의 개념에 따른 실시 예를 특정한 개시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되 는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.Embodiments in accordance with the concepts of the present invention can make various changes and have various forms, so that specific embodiments are illustrated in the drawings and described in detail in this specification or application. However, this is not intended to limit the embodiments in accordance with the concept of the present invention to a particular disclosed form, it should be understood to include all changes, equivalents, and substitutes included in the spirit and scope of the present invention.
제1 및/또는 제2 등의 용어는 다양한 구성 요소들을 설명하는데 사용될 수 있지만, 상기 구성 요소들은 상기 용어들에 의해 한정되어서는 안된다. 상기 용어들은 하나의 구성 요소를 다른 구성 요소로부터 구별하는 목적으로만, 예컨대 본 발명의 개념에 따른 권리 범위로부터 이탈되지 않은 채, 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소는 제1 구성요소로도 명명될 수 있다.Terms such as first and / or second may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another, for example, without departing from the scope of rights in accordance with the inventive concept, and the first component may be called a second component and similarly The second component may also be referred to as the first component.
어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. 구성요소들 간의 관계를 설명하는 다른 표현들, 즉 "~사이에"와 "바로 ~사이에" 또는 "~에 이웃하는"과 "~에 직접 이웃하는" 등도 마찬가지로 해석되어야 한다.When a component is said to be "connected" or "connected" to another component, it may be directly connected to or connected to that other component, but it may be understood that another component may exist in between. Should be. On the other hand, when a component is said to be "directly connected" or "directly connected" to another component, it should be understood that there is no other component in between. Other expressions describing the relationship between components, such as "between" and "immediately between," or "neighboring to," and "directly neighboring to" should be interpreted as well.
본 명세서에서 사용한 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서, "포함하다" 또는 "가지다" 등의 용어는 설시된 특징, 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이 나 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this specification, terms such as "comprise" or "have" are intended to indicate that there is a feature, number, step, action, component, part, or combination thereof that is described, and that one or more other features It should be understood that it does not exclude in advance the possibility of the presence or addition of numbers, steps, operations, components, parts or combinations thereof.
다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 명세서에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art. Terms such as those defined in the commonly used dictionaries should be construed as having meanings consistent with the meanings in the context of the related art, and are not construed in ideal or excessively formal meanings unless expressly defined herein. Do not.
이하, 첨부한 도면을 참조하여 본 발명의 바람직한 실시 예를 설명함으로써, 본 발명을 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명의 실시 예에 따른 데이터 처리 시스템의 블록 도를 나타낸다. 도 1을 참조하면, 데이터 처리 시스템(1)은 제1프로세서(3), 제2프로세서(5), 및 데이터 동기화 장치(10)를 포함한다. 1 is a block diagram of a data processing system according to an exemplary embodiment of the present invention. Referring to FIG. 1, a
제1프로세서(3)는 그 명칭에도 불구하고 제1클락 신호(SCK)에 응답하여 데이터를 처리할 수 있는 데이터 처리 장치를 의미하고, 제2프로세서(5)는 그 명칭에도 불구하고 제2클락 신호(DCK)에 응답하여 데이터를 처리할 수 있는 데이터 처리 장치를 의미한다. 제1클락 신호(SCK)의 주파수와 제2클락 신호(DCK)의 주파수는 서로 다르다. 실시 예에 따라, 제2클락 신호(DCK)의 주파수는 제1클락 신호(SCK)의 주파수보다 높다. 실시 예에 따라, 데이터 동기화 장치(10)는 싱크로나이저 (synchronozer)일 수 있다.The
실시 예에 따라, 제1프로세서(3)는 광학 신호를 전기 신호로 변환할 수 있는 이미지 센서일 수 있다. 제1프로세서(3)는 제1클락 신호(SCK)에 응답하여 전기 신호인 입력 데이터(SD)를 데이터 동기화 장치(10)로 전송할 수 있다. According to an embodiment, the
여기서, 입력 데이터 (SD)는 도 6에 도시된 바와 같이 제1클락 신호(SCK)의 상승 에지와 하강 에지 중에서 적어도 하나에 응답하여 순차적으로 전송되는 각 N-비트 데이터(a, b, c, d, e, f, g, 및 h)를 포함한다. 여기서, N은 자연수이다.Here, the input data SD may be sequentially transmitted in response to at least one of the rising edge and the falling edge of the first clock signal SCK, as shown in FIG. 6. d, e, f, g, and h). Where N is a natural number.
제2프로세서(5)는 데이터 동기화 장치(10)에 의하여 복원된 데이터(DD)를 수신하여 처리할 수 있는 이미지 신호 프로세서(image signal processor)일 수 있다. 예컨대, 제2프로세서(5)는 제1클락 신호(SCK)의 주파수와 서로 다른 주파수를 갖는 제2클락 신호(DCK)의 상승 에지와 하강 에지 중에서 적어도 하나에 응답하여 데이터 동기화 장치(10)로부터 출력된 데이터(DD)를 수신하여 처리할 수 있다.The
도 1과 도 2에 도시된 본 발명의 실시 예에 따른 데이터 동기화 장치(10)는 제1클락 신호(SCK)의 M-사이클마다 제1프로세서(3)로부터 출력된 (N*M)-비트 데이터(sd_r4)를 제2클락 신호(DCK)에 응답하여 래치할 수 있다.The
도 2는 도 1에 도시된 데이터 동기화 장치(10)의 블록 도를 나타낸다.FIG. 2 shows a block diagram of the
도 2를 참조하면, 데이터 동기화 장치(10)는 송신 회로(20), 수신 회로(70), 및 송신 회로(20)와 수신 회로(70) 사이에 접속된 데이터 버스를 포함한다.Referring to FIG. 2, the
송신 회로(20)는 제1클락 신호(SCK)에 응답하여 순차적으로 입력되는 각각의 N-비트 데이터(SD, 즉 도 6에 도시된 a, b, c, d, e, f, g, 및 h)를 제1클락 신호 (SCK)의 M-클락 사이클 동안 지연시켜 상기 M-클락 사이클마다 (N*M)-비트 데이터 (sd_r4)를 출력할 수 있다. 상기 N과 상기 M은 자연수이다.The transmitting
도 2와 도 6에서는 설명의 편의를 위하여 상기 M이 4인 경우를 설명하나 본 발명의 기술적 사상이 상기 M의 값에 한정되는 것은 아니다.2 and 6 illustrate the case where M is 4 for convenience of description, but the technical spirit of the present invention is not limited to the value of M. FIG.
송신 회로(20)는 지연 블록(30), 데이터 전송 블록(40), 전송 제어 신호 발생 회로(50), 및 제1로직 회로(60)를 포함한다. 실시 예에 따라, 송신 회로(20)는 전송 제어 신호(EN)에 응답하여 제1클락 신호(SCK)를 마스킹할 수 있는 마스킹 회로(42)를 더 포함할 수 있다. 마스킹 회로(42)는 AND 게이트로 구현될 수 있다.The
지연 블록(30)은 직렬로 접속된 복수의 래치 블록들(30-1, 30-2, 및 30-3)을 포함한다. 복수의 래치 블록들(30-1, 30-2, 및 30-3) 각각은 하나 또는 복수의 N-개의 래치들을 포함한다.Delay
각 래치 블록(30-1, 30-2, 및 30-3)은 제1클락 신호(SCK)의 상승 에지에 응답하여 각 래치 블록(30-1, 30-2, 및 30-3)으로 입력된 각 N-비트 데이터(SD, sd_r1, 및 sd_r2)를 래치한다.Each latch block 30-1, 30-2, and 30-3 is input to each latch block 30-1, 30-2, and 30-3 in response to the rising edge of the first clock signal SCK. Latches each of the N-bit data SD, sd_r1, and sd_r2.
예컨대, 도 2와 도 6을 참조하면, 첫 번째 래치 블록(30-1)은 제1클락 신호 (SCK)의 상승 에지에 응답하여 N-비트 입력 데이터(SD=a)를 제1 N-비트 데이터 (sd_r1)로서 래치하고, 두 번째 래치 블록(30-2)은 제1클락 신호(SCK)에 응답하여 첫 번째 래치 블록(30-1)으로부터 출력된 제1 N-비트 데이터(sd_r1)를 제2 N-비트 데이터(sd_r2)로서 래치하고, 세 번째 래치 블록(30-3)은 제1클락 신호(SCK)에 응답하여 두 번째 래치 블록(30-2)으로부터 출력된 제2 N-비트 데이터(sd_r2)를 제3 N-비트 데이터(sd_r3)로서 래치할 수 있다.For example, referring to FIGS. 2 and 6, the first latch block 30-1 receives the N-bit input data SD = a in response to the rising edge of the first clock signal SCK. Latched as data sd_r1, the second latch block 30-2 receives the first N-bit data sd_r1 output from the first latch block 30-1 in response to the first clock signal SCK. The second N-bit is latched as the second N-bit data sd_r2 and the third latch block 30-3 is output from the second latch block 30-2 in response to the first clock signal SCK. The data sd_r2 may be latched as the third N-bit data sd_r3.
데이터 전송 블록(40)은 제1클락 신호(SCK)와 전송 제어 신호(EN)의 논리 조합에 의하여 생성된 클락 신호에 응답하여 첫 번째 래치 블록(30-1)으로 입력되는 N-비트 데이터(SD=d)와 각 래치 블록(30-1, 30-2, 및 30-3)으로부터 출력되는 각 N-비트 데이터(sd_r1=c, sd_r2=b, 및 sd_r3=a)를 데이터 버스로 전송한다. 데이터 전송 블록(40)은 복수의 래치 블록들을 포함한다. 상기 복수의 래치 블록들 각각은 마스킹 회로(42)로부터 출력된 클락 신호에 응답하여 N-비트 데이터를 래치할 수 있다.The
즉, 데이터 전송 블록(40)은 제1클락 신호(SCK)의 4-클락 사이클마다 4N-비트 데이터(sd_r4=abcd)를 데이터 버스로 출력할 수 있다.That is, the
마스킹 회로(42)는 전송 제어 신호(EN)와 제1클락 신호(SCK)에 응답하여 데이터 전송 블록(40)에 포함된 복수의 래치 블록들 각각의 래치 동작을 제어하기 위한 클락 신호를 출력한다.The masking
전송 제어 신호 발생 회로(50)는 제1클락 신호(SCK)와 데이터 인에이블 신호 (SD_EN)에 응답하여 전송 제어 신호(EN)를 출력한다. 실시 예에 따라 마스킹 회로(42)는 전송 제어 신호 발생 회로(50)의 일부로서 구현될 수 있다.The transmission control
전송 제어 신호 발생 회로(50)는 제1AND게이트(51), 카운터(53), 및 제2AND게이트(55)를 포함한다.The transmission control
제1AND게이트(51)는 제1클락 신호(SCK)와 데이터 인에이블 신호(SD_EN)를 논리 곱한다. 카운터(53)는 제1AND게이트(51)의 출력 신호에 응답하여 카운트 값들을 출력한다. 예컨대, 카운터(53)는 2-비트 카운터로 구현될 수 있다.The first AND
제2AND게이트(53)는 상기 카운트 값들을 논리곱 연산하여 전송 제어 신호 (EN)를 출력한다. 예컨대, 상기 카운트 값들이 11일 때 제2AND게이트(53)는 하이 레벨을 갖는 전송 제어 신호(EN)를 출력하므로, 마스킹 회로(42)는 제1클락 신호 (SCK)를 데이터 전송 블록(40)으로 전송할 수 있다. 따라서, 데이터 전송 블록(40)은 마스킹 회로(42)의 출력 신호에 응답하여 각 N-비트 데이터(SD=d, sd_r1=c, sd_r2=b, 및 sd_r3=a)를 하나의 4N-비트 데이터로서 데이터 버스로 전송할 수 있다.The second AND
도 3은 도 2에 도시된 제1로직 회로의 회로도를 나타낸다. 도 2 및 도 3을 참조하여 제1로직 회로(60)의 동작을 설명하면 다음과 같다.FIG. 3 shows a circuit diagram of the first logic circuit shown in FIG. 2. An operation of the
제1로직 회로(60)는 제1클락 신호(SCK)와 전송 제어 신호(EN)에 응답하여 데이터 인에이블 신호(sd_r4_EN)를 출력한다. 데이터 인에이블 신호(sd_r4_EN)는 데이터 버스상의 4N-비트 데이터가 유효 데이터임을 수신 회로(70)에게 지시하기 위한 신호로서 액티브 하이이다.The
제1로직 회로(60)는 제1래치(61), 제2래치(63), 및 논리합 회로(65)를 포함한다. 제1래치(61)는 제1클락 신호(SCK)에 응답하여 전송 제어 신호(EN)를 래치한다. 제2래치(63)는 제1클락 신호(SCK)에 응답하여 제1래치(61)의 출력 신호를 래치한다. 논리합 회로(65)는 제1래치(61)의 출력 신호와 제2래치(63)의 출력 신호를 논리합 연산하여 데이터 인에이블 신호(sd_r4_EN)를 생성한다.The
다시 도 2를 참조하면, 제2클락 신호(DCK)의 상승 에지에 응답하여 수신 회로(70)는 4N-비트 데이터(sd_r4=abcd)를 수신하고 수신된 4N-비트 데이터 (sd_r4=abcd)를 제2클락 신호(DCK)의 4-클락 사이클 동안 N-비트 단위로 순차적으로 출력한다.Referring back to FIG. 2, in response to the rising edge of the second clock signal DCK, the receiving
수신 회로(70)는 수신 블록(80) 및 선택기(89)를 포함한다. 수신 회로(70)는 트리거 회로(90), 제2로직 회로(100), 및 출력 래치 블록(110)을 더 포함할 수 있다.Receive
수신 블록(80)은 제2클락 신호(DCK)에 응답하여 4N-비트 데이터(sd_r4=abcd)를 래치한다. 수신 블록(80)은 M-개, 예컨대 4개의 래치 블록들을 포함할 수 있다. 상기 4개의 래치 블록들 각각은 N-개의 래치들을 포함한다. 상기 4개의 래치 블록들 각각은 제2클락 신호(DCK)에 응답하여 4N-비트 데이터(sd_r4=abcd) 중에서 N-비트 데이터(dd0=a, dd1=b, dd2=c, 및 dd3=d)를 래치할 수 있다.The
예컨대, dd0는 sd_r3(예컨대, sd_r3=도 6의 a)에 대응되고, dd1는 sd_r2(예컨대, sd_r2=도 6의 b)에 대응되고, dd2는 sd_r1(예컨대, sd_r1=도 6의 c)에 대응되고, dd3는 SD(예컨대, SD=도 6의 d)에 대응될 수 있다.For example, dd0 corresponds to sd_r3 (eg sd_r3 = a in FIG. 6), dd1 corresponds to sd_r2 (eg sd_r2 = b in FIG. 6), and dd2 corresponds to sd_r1 (eg sd_r1 = c in FIG. 6). And dd3 may correspond to SD (eg, SD = d in FIG. 6).
선택기(89)는 순차적으로 가변하는 복수의 선택 신호들(SEL)에 응답하여 수신 블록(80)에 저장된 4N-비트 데이터(dd0, dd1, dd2, 및 dd3)를 제2클락 신호 (DCK)의 4-클락 사이클 동안 N-비트 단위로 순차적으로 출력할 수 있다. 선택기 (89)는 멀티플렉서로 구현될 수 있다.The
도 4는 도 2에 도시된 트리거 회로의 회로도를 나타낸다. 도 2와 도 4를 참조하여 트리거 회로(90)의 동작을 설명하면 다음과 같다.4 shows a circuit diagram of the trigger circuit shown in FIG. 2. The operation of the
트리거 회로(90)는 데이터 인에이블 신호(sd_r4_EN)와 제2클락 신호(DCK)에 응답하여 트리거 신호(sd_trig)를 생성한다. 트리거 신호(sd_trig)는 제2로직 회로 (100)의 동작을 제어하기 위한 신호이다.The
트리거 회로(90)는 제3래치(91), 제4래치(93), 인버터(95), 및 제3AND게이트 (97)를 포함한다. 제3래치(91)는 제2클락 신호(DCK)에 응답하여 제1로직 회로(60)로부터 출력된 데이터 인에이블 신호(sd_r4_EN)를 래치한다. 제4래치(93)는 제2클락 신호(DCK)에 응답하여 제3래치(91)의 출력 신호를 래치한다. 제1인버터(95)는 제4래치(93)의 출력 신호를 인버팅한다. 제3AND게이트(97)는 제1인버터(95)의 출력 신호와 제3래치(91)의 출력 신호를 논리곱 연상하여 트리거 신호(sd_trig)를 출력한다.The
도 5는 도 2에 도시된 제2로직 회로의 회로도이다. 도 2와 도 5를 참조하여 제2로직 회로(100)의 동작을 설명하면 다음과 같다.FIG. 5 is a circuit diagram of the second logic circuit shown in FIG. 2. The operation of the
제2로직 회로(100)는 트리거 신호(sd_trig)와 제2클락 신호(DCK)에 응답하여 복수의 선택 신호들(SEL)을 출력하며, 복수의 선택 신호들(SEL) 중에서 어느 하나를 반전하여 데이터 출력 인에이블 신호(DD_EN)를 출력한다.The
제2로직 회로(100)는 선택 신호 생성기(101), 제2인버터(103), 제5래치(105)를 포함한다. The
선택 신호 생성기(101)는 제2클락 신호(DCK)와 트리거 신호(sd_trig)에 응답하여 복수의 선택 신호들(SEL)을 출력한다. 선택 신호 생성기(101)는 3-비트 카운터로 구현될 수 있다. 복수의 선택 신호들(SEL)은 상기 3-비트 카운터로부터 출력되는 3개의 비트들 중에서 MSB를 제외한 비트들이다.The
제2인버터(103)는 3-비트 카운터로부터 출력되는 비트들 중에서 최상위 비트(MSB)를 인버팅한다. 제5래치(110)는 제2클락(DCK)에 응답하여 제2인버터(103)의 출력 신호를 출력 데이터 인에이블 신호(DD)로서 출력한다.The
출력 래치 블록(110)은 제2클락 신호(DCK)에 응답하여 선택기(89)로부터 순차적으로 출력되는 N-비트 데이터(DD)를 래치할 수 있다.The
도 6은 도 2에 도시된 데이터 동기화 장치의 동작을 제어하기 위한 제어신호들과 데이터의 타이밍 도이다.FIG. 6 is a timing diagram of control signals and data for controlling the operation of the data synchronization device shown in FIG. 2.
도 2부터 도 6을 참조하면, 데이터 인에이블 신호(SD_EN)는 유효한 데이터가 존재하는 구간을 지시하기 위한 신호이다. 각 N-비트 데이터(a, b, c, 및 d)는 제1클락 신호(SCK)의 상승 에지에 응답하여 첫 번째 래치 블록(30-1)의 입력단으로 전송된다.2 to 6, the data enable signal SD_EN is a signal for indicating a section in which valid data exists. Each N-bit data a, b, c, and d is transmitted to the input terminal of the first latch block 30-1 in response to the rising edge of the first clock signal SCK.
첫 번째 래치 블록(30-1)은 데이터 인에이블 신호(SD_EN)가 하이 레벨로 된 후 제1클락 신호(SCK)의 첫 번째 상승 에지에 응답하여 첫 번째 N-비트 데이터를 래치한다. 즉 sd_r1=a. 이때 2-비트 카운터(53)의 카운트 값은 1(=01)이다.The first latch block 30-1 latches the first N-bit data in response to the first rising edge of the first clock signal SCK after the data enable signal SD_EN becomes high. Sd_r1 = a. At this time, the count value of the 2-
두 번째 래치 블록(30-2)은 제1클락 신호(SCK)의 두 번째 상승 에지에 응답하여 첫 번째 래치 블록(30-1)으로부터 출력된 N-비트 데이터를 래치한다. 즉 sd_r2=a. 이와 동시에 첫 번째 래치 블록(30-1)은 상기 두 번째 상승 에지에 응답하여 두 번째 N-비트 데이터(b)를 래치한다. 즉, sd_r1=b이고 SD=c. 이때 2-비트 카운터(53)의 카운트 값은 2(=10)이다.The second latch block 30-2 latches N-bit data output from the first latch block 30-1 in response to the second rising edge of the first clock signal SCK. Sd_r2 = a. At the same time, the first latch block 30-1 latches the second N-bit data b in response to the second rising edge. Sd_r1 = b and SD = c. At this time, the count value of the 2-
각 래치 블록(30-1, 30-2, 및 30-3)은 제1클락 신호(SCK)의 세 번째 상승 에 지에 응답하여 c, b, 및 a를 래치한다. 즉, sd_r3=a이고, sd_r2=b이고, sd_r1은 c, 이고 첫 번째 래치 블록(30-1)의 입력단에는 d가 입력된다. 이때, 2-비트 카운터(53)의 카운트 값은 3(=11)이다.Each latch block 30-1, 30-2, and 30-3 latches c, b, and a in response to the third rising edge of the first clock signal SCK. That is, sd_r3 = a, sd_r2 = b, sd_r1 is c, and d is input to the input terminal of the first latch block 30-1. At this time, the count value of the 2-
데이터 전송 블록(40)의 래치 블록들은 제1클락 신호(SCK)의 네 번째 상승 에지에 응답하여 sd_r3(=a), sd_r2(=b), sd_r1(=c), 및 SD(=d)를 래치한다. 이때, 2-비트 카운터(53)의 카운트 값은 0(=00)이다. 따라서, 데이터 전송 블록(40)은 제1클락 신호(SCK)에 응답하여 4N-비트 데이터(sd_r4=abcd)를 데이터 버스를 통하여 수신 회로(70)로 전송한다.The latch blocks of the
각 N-비트 데이터(e, f, g, 및 h)는 제1클락 신호(SCK)에 응답하여 각 래치 블록(30-1, 30-2, 및 30-3)을 통하여 순차적으로 쉬프트된 후, 4N-비트 단위로 출력된다.Each N-bit data e, f, g, and h is sequentially shifted through each latch block 30-1, 30-2, and 30-3 in response to the first clock signal SCK. It is output in units of 4N bits.
데이터 버스를 통하여 수신된 4N-비트 데이터(sd_r4=abcd)는 제2클락 신호 (DCK)의 상승 에지에 응답하여 수신 블록(80)에 래치된다. 수신 블록(80)에 포함된 각 래치 블록은 N-비트 데이터(dd0(=a), dd1(=b), dd2(=c), 및 dd3(=d))를 래치한다.4N-bit data sd_r4 = abcd received via the data bus is latched in the receiving
선택기(89)는 복수의 선택 신호들(SEL)에 응답하여 각 래치 블록에 래치된 각 N-비트 데이터(dd0(=a), dd1(=b), dd2(=c), 및 dd3(=d))를 순차적으로 출력한다.The
예컨대, 제2로직 회로(100)로부터 출력된 선택 신호들(SEL)이 0(=00), 1(=01), 2(=10), 및 3(=11)으로 순차적으로 변할 때, 선택기(89)는 각 N-비트 데이 터(dd0(=a), dd1(=b), dd2(=c), 및 dd3(=d))를 순차적으로 출력한다. 이때, 출력 데이터 인에이블 신호(DD_EN)는 하이 레벨을 갖는다.For example, when the selection signals SEL output from the
따라서, 출력 래치 블록(110)은 제2클락 신호(DCK)에 응답하여 각 N-비트 데이터(dd0(=a), dd1(=b), dd2(=c), 및 dd3(=d))를 순차적으로 래치할 수 있다.Accordingly, the
도 7은 본 발명의 실시 예에 따른 데이터 동기화 방법을 설명하기 위한 플로우차트이다. 도 2부터 도 7을 참조하여 데이터 동기화 장치의 동작 방법을 설명하면 다음과 같다.7 is a flowchart illustrating a data synchronization method according to an embodiment of the present invention. The operation method of the data synchronization device will now be described with reference to FIGS. 2 to 7.
송신 회로(20)는 제1클락 신호(SCK)의 상승 에지에 응답하여 순차적으로 입력되는 각 N-비트 데이터(a, b, c, 및 d)를 제1클락 신호(SCK)의 M-클락 사이클 동안 지연시켜 상기 M-클락 사이클마다 (N*M)-비트 데이터(sd_r4)를 데이터 버스로 출력한다(S10).The
수신 회로(70)는 제2클락 신호(DCK)에 응답하여 (N*M)-비트 데이터 (sd_r4=abcd)를 수신하고, 수신된 (N*M)-비트 데이터(sd_r4=abcd)를 제2클락 신호 (DCK)의 M-클락 사이클 동안 N-비트 데이터(a, b, c, 및 d)로서 순차적으로 출력한다(S20).The receiving
본 발명은 도면에 도시된 일 실시 예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시 예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 등록청구범위의 기술적 사상에 의해 정해져야 할 것이다. Although the present invention has been described with reference to one embodiment shown in the drawings, this is merely exemplary, and those skilled in the art will understand that various modifications and equivalent other embodiments are possible therefrom. Therefore, the true technical protection scope of the present invention will be defined by the technical spirit of the appended claims.
본 발명의 상세한 설명에서 인용되는 도면을 보다 충분히 이해하기 위하여 각 도면의 상세한 설명이 제공된다.The detailed description of each drawing is provided in order to provide a thorough understanding of the drawings cited in the detailed description of the invention.
도 1은 본 발명의 실시 예에 따른 데이터 처리 시스템의 블록 도를 나타낸다.1 is a block diagram of a data processing system according to an exemplary embodiment of the present invention.
도 2는 도 1에 도시된 데이터 동기화 장치의 블록 도를 나타낸다.FIG. 2 is a block diagram of the data synchronization device shown in FIG. 1.
도 3은 도 2에 도시된 제1로직 회로의 회로도를 나타낸다.FIG. 3 shows a circuit diagram of the first logic circuit shown in FIG. 2.
도 4는 도 2에 도시된 트리거 회로의 회로도를 나타낸다.4 shows a circuit diagram of the trigger circuit shown in FIG. 2.
도 5는 도 2에 도시된 제2로직 회로의 회로도를 나타낸다.FIG. 5 shows a circuit diagram of the second logic circuit shown in FIG. 2.
도 6은 도 2에 도시된 데이터 동기화 장치의 동작을 제어하기 위한 제어신호들과 데이터의 타이밍 도이다.FIG. 6 is a timing diagram of control signals and data for controlling the operation of the data synchronization device shown in FIG. 2.
도 7은 본 발명의 실시 예에 따른 데이터 동기화 방법을 설명하기 위한 플로우차트이다.7 is a flowchart illustrating a data synchronization method according to an embodiment of the present invention.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090116908A KR101110114B1 (en) | 2009-11-30 | 2009-11-30 | Method and circuit for synchronization, and data synchronization apparatus having the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090116908A KR101110114B1 (en) | 2009-11-30 | 2009-11-30 | Method and circuit for synchronization, and data synchronization apparatus having the same |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20110060349A KR20110060349A (en) | 2011-06-08 |
KR101110114B1 true KR101110114B1 (en) | 2012-02-09 |
Family
ID=44395129
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020090116908A KR101110114B1 (en) | 2009-11-30 | 2009-11-30 | Method and circuit for synchronization, and data synchronization apparatus having the same |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101110114B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112100956B (en) * | 2020-09-11 | 2024-02-09 | 北京灵汐科技有限公司 | Signal transmission method and device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100667546B1 (en) * | 2005-08-26 | 2007-01-12 | 엘지전자 주식회사 | Test device and method of serial data link |
-
2009
- 2009-11-30 KR KR1020090116908A patent/KR101110114B1/en not_active IP Right Cessation
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100667546B1 (en) * | 2005-08-26 | 2007-01-12 | 엘지전자 주식회사 | Test device and method of serial data link |
Also Published As
Publication number | Publication date |
---|---|
KR20110060349A (en) | 2011-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8023602B2 (en) | Serial data communication apparatus and methods of using a single line | |
US9240804B2 (en) | Techniques for alignment of parallel signals | |
JP2007274122A (en) | Parallel conversion circuit | |
US9250859B2 (en) | Deterministic FIFO buffer | |
US8593313B2 (en) | Parallel-to-serial conversion circuit, information processing apparatus, information processing system, and parallel-to-serial conversion method | |
JP2004260677A (en) | Communication equipment | |
CN107533533B (en) | Communication between integrated circuits | |
KR101110114B1 (en) | Method and circuit for synchronization, and data synchronization apparatus having the same | |
JP2009021866A (en) | Method of designing serial-to-parallel conversion circuit, and serial-to-parallel conversion circuit | |
CN106933767B (en) | Comma detection and word alignment method and system suitable for JESD204B protocol | |
US20130121429A1 (en) | Data transfer system, data transfer method, receiving circuit, and receiving method | |
JP4061294B2 (en) | Self-synchronous pseudo-random bit sequence checker | |
US10050631B1 (en) | Systems and methods for synchronizing multiple oscilloscopes | |
US10892775B1 (en) | Transmitting system, apparatus and method for unifying parallel interfaces | |
JP2017531942A (en) | Clock-free dual data rate link with built-in flow control | |
JP2008191792A (en) | Data transmission device and data transfer device | |
US10536165B1 (en) | Programmable bit alignment at serial-to-parallel stage of SerDes | |
KR100833604B1 (en) | Parity error detecting circuit | |
US10566998B2 (en) | Data conversion apparatus | |
US8239745B2 (en) | Parity data encoder for serial communication | |
US10346331B2 (en) | Method and apparatus for data detection and event capture | |
JP2007115036A (en) | Asynchronous transfer device and asynchronous transfer method | |
US7424075B2 (en) | Pseudorandom data pattern verifier with automatic synchronization | |
JP7186741B2 (en) | data sending device | |
US8699550B2 (en) | Phase alignment between phase-skewed clock domains |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20151223 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20170116 Year of fee payment: 6 |
|
FPAY | Annual fee payment |
Payment date: 20180119 Year of fee payment: 7 |
|
LAPS | Lapse due to unpaid annual fee |