KR0153914B1 - Phase detector using reference clock - Google Patents

Phase detector using reference clock

Info

Publication number
KR0153914B1
KR0153914B1 KR1019950053959A KR19950053959A KR0153914B1 KR 0153914 B1 KR0153914 B1 KR 0153914B1 KR 1019950053959 A KR1019950053959 A KR 1019950053959A KR 19950053959 A KR19950053959 A KR 19950053959A KR 0153914 B1 KR0153914 B1 KR 0153914B1
Authority
KR
South Korea
Prior art keywords
clock
phase
input
reference clock
output
Prior art date
Application number
KR1019950053959A
Other languages
Korean (ko)
Other versions
KR970049267A (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 KR1019950053959A priority Critical patent/KR0153914B1/en
Publication of KR970049267A publication Critical patent/KR970049267A/en
Application granted granted Critical
Publication of KR0153914B1 publication Critical patent/KR0153914B1/en

Links

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

Abstract

본 발명은 기준 클럭을 이용한 위상 정렬기의 위상 변화 상태 감지기에 관한 것으로, 출력 시스템 클럭과 출력 기준 클럭에 위상이 정렬하여 출력되기 위해서 동일한 위상의 읽기 클럭을 제공하는 읽기 클럭 발생수단; 시스템 클럭과 기준 클럭을 이용하여 데이타 버퍼 인에이블 클럭을 생성하는 쓰기 클럭 발생수단; 상기 쓰기 클럭발생수단으로부터의 입력 시스템 클럭과 입력 기준 클럭에 의해 입력 데이타를 래치하였다가 출력 데이타를 출력하는 데이타 버퍼수단; 상기 쓰기 클럭 발생수단으로부터 쓰기 클럭 어드레스와 상기 읽기 클럭 발생수단으로부터의 읽기 클럭어드레스를 입력받고, 입력 시스템 클럭과 기준 클럭, 출력 시스템 클럭과 출력기준 클럭을 입력으로 하여 위상 상태 감지신호를 출력하는 위상 상태 감지수단을 구비하는 것을 특징으로 한다.The present invention relates to a phase change state detector of a phase aligner using a reference clock, comprising: read clock generation means for providing a read clock having the same phase so that the phases are output to the output system clock and the output reference clock; Write clock generation means for generating a data buffer enable clock using a system clock and a reference clock; Data buffer means for latching input data and outputting output data by an input system clock and an input reference clock from the write clock generation means; A phase for receiving a write clock address from the write clock generating means and a read clock address from the read clock generating means, and inputting an input system clock, a reference clock, an output system clock, and an output reference clock to output a phase state detection signal; Characterized in that it comprises a state sensing means.

Description

기준 클럭을 이용한 위상 정렬기의 위상 변화 상태 감지기Phase Change Status Detector of Phase Aligner Using Reference Clock

제1도는 버스의 구성도.1 is a block diagram of a bus.

제2도는 본 발명에 따른 위상 정렬기의 구성도.2 is a block diagram of a phase aligner according to the present invention.

제3도는 본 발명의 구성도.3 is a block diagram of the present invention.

제4도는 제3도의 타이밍도.4 is a timing diagram of FIG.

제5도는 데이타 버퍼부의 구성도.5 is a configuration diagram of a data buffer unit.

제6도는 제5도의 타이밍도.6 is a timing diagram of FIG.

제7도는 읽기클럭 발생기의 구성도.7 is a block diagram of a read clock generator.

제8도는 제7도의 타이밍도.8 is a timing diagram of FIG.

제9도는 위상 상태 감지기의 구성도.9 is a schematic diagram of a phase state detector.

제10도는 제9도의 타이밍도.10 is a timing diagram of FIG.

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

1 : 쓰기 클럭 발생부 2 : 읽기 클럭 발생부1: write clock generator 2: read clock generator

3 : 데이타 버퍼부 4 : 위상 상태 감지기3: data buffer section 4: phase state detector

91 : 클럭 발생기 92 : 위상 상태 검출기91: clock generator 92: phase state detector

본 발명은 기준 클럭을 이용한 위상 정렬기에 있어서 읽기 클럭과 쓰기 클럭의 위상차가 위상 정렬기의 위상 차 흡수용의 버퍼 크기를 초과할 시, 이의 상태를 감시하기 위한 기준 클럭을 이용한 위상 정렬기의 위상 변화 상태 감지기에 관한 것이다.According to the present invention, when the phase difference between the read clock and the write clock exceeds the buffer size for absorbing the phase difference of the phase aligner, the phase aligner using the reference clock for monitoring the state thereof is used. A change state detector.

기준 클럭을 이용한 위상 정렬기는 위상 정렬기의 버퍼 크기에 따라 쓰기 클럭과 읽기 클럭의 차가 한정되므로, 양 클럭의 위상차가 이 버퍼의 크기를 초과할 시에는 이의 상태를 감시할 수 있는 클럭과 쓰기 클럭과의 위상차가 데이타 버퍼의 한정된 범위를 벗어났을 시 이를 감시하기 위한 것이다.The phase sorter using the reference clock has a difference between the write clock and the read clock depending on the buffer size of the phase sorter. Therefore, when the phase difference between the two clocks exceeds the size of the buffer, the clock and the write clock can monitor their status. This is to monitor when the phase difference between and is out of the limited range of the data buffer.

기준 클럭을 이용한 위상 정렬기는 광대역 전송망에서 전송 장치가 처리해야 할 대용량의 송/수신 데이타를 처리할 시 보드내에서 처리되는 기능이 증가함에 따라 보드간에 송/수신되는 데이타의 량도 많아지게 된다. 따라서 이의 처리를 위해서는 보드간 접속 신호의 증가와 고속 신호 전송이 필수불가결하다. 하지만 이의 고속신호 접속이 증가함으로서 한보드에 입력되는 신호는 여러 보드로부터 전송되므로, 이들 입력신호들이 입력되는 보드에서는 각 입력 신호들이 장치의 시스템 클럭에 동기되어 있을지라도(이들 신호들이 제1도와 같은 형태의 버스형태로 전달될시)모듈 간 임피던스 부정합(impedance mismatching) 및 전파 지연(propagation delay)등의 위상지연으로 인하여 한 보드 내로 입력되는 신호들간에 위상차가 발생하게 된다.The phase aligner using the reference clock increases the amount of data transmitted / received between boards as a function of processing on the board increases when processing a large amount of transmit / receive data to be processed by a transmission device in a broadband transmission network. Therefore, the increase of board-to-board connection signal and high-speed signal transmission are indispensable for this process. However, as its high-speed signal connections increase, signals input to one board are transmitted from multiple boards, so on boards where these input signals are input, even though each input signal is synchronized with the system clock of the device (these signals When transferred in the form of a bus, a phase difference between signals input into a board occurs due to phase delays such as impedance mismatching and propagation delay between modules.

제1도의 구성은 시스템 기준 클럭과 시스템 클럭 병렬데이타로 구성된다. 시스템 기준 클럭은 병렬데이타의 기준을 나타내기 위한 클럭으로 주로 8KHz 또는 2KHz로 되어 있으며 시스템 클럭의 한 주기에 해당한다. 시스템 기준 클럭과 병렬 데이타는 시스템 클럭의 폴링에 위치한다. 따라서 시스템 기준 클럭에 의해 병렬 데이타의 첫번째 위치를 나타내므로, 여러버스가 서로 상이한 위상으로 한 모듈로 입력될 시에는 각 병렬 데이타의 위치가 서로 상이한 곳에 위치해 있다. 따라서 기준 클럭을 이용한 위상정렬기를 이용하여 이들 버스 간의 위상을 입력 모듈의 기준 클럭에 위상을 정렬시킨다.1 is composed of a system reference clock and system clock parallel data. The system reference clock is a clock that indicates the reference of parallel data. It is mainly 8KHz or 2KHz and corresponds to one period of the system clock. The system reference clock and parallel data are located in the poll of the system clock. Therefore, since the first position of the parallel data is indicated by the system reference clock, when multiple buses are inputted to one module in different phases, the positions of the parallel data are located at different positions. Therefore, a phase aligner using the reference clock is used to align the phase between these buses with the reference clock of the input module.

입력되는 신호간의 위상차는 저속 신호일 경우에는 신호의 펄스 주기가 커서 무시할 수 있지만, 50MHz 이상일 경우에는 펄스 주기가 너무 작아지게되어 입력되는 보드 상에서는, 이들 신호간의 위상차가 이 펄스 주기를 벗어남으로서 입력 보드의 기준 클럭으로 각 버스의 첫번째 데이타를 동시에 래치하기에는 어려운점이 있다. 따라서 위상 정렬기는 각 버스들을 입력하는 모듈의 기준 클럭이 입력 버스들의 기준 클럭보다 시간적으로 뒤에 있게 되면 FIFO와 같은 형태로 각 버스의 위상차를 흡수하여 동일한 위상으로 각 버스의 위상을 정렬하는 기능을 수행한다.The phase difference between the input signals can be ignored when the pulse period of the signal is low in case of a low speed signal, but when the signal is 50 MHz or more, the pulse period becomes too small, and on the input board, the phase difference between these signals is out of this pulse period. It is difficult to simultaneously latch the first data on each bus with the reference clock. Therefore, the phase aligner absorbs the phase difference of each bus in the form of FIFO and aligns the phase of each bus with the same phase when the reference clock of the module inputting each bus is later than the reference clock of the input buses. do.

본 발명의 목적은 기준 클럭을 이용한 위상 정렬을 행함으로써 고속 신호를 접속할 시 전기적인 특성으로 발생되는 여러 버스간의 전파지연의 차를 흡수하는 기준 클럭을 이용한 위상 정렬기의 위상 변화 상태 감지기를 제공하는 데 있다.SUMMARY OF THE INVENTION An object of the present invention is to provide a phase change state detector of a phase aligner using a reference clock that absorbs the difference in propagation delay between various buses generated by electrical characteristics when high-speed signals are connected by performing phase alignment using a reference clock. There is.

상기 목적을 달성하기 위하여 본 발명은, 출력 시스템 클럭과 출력 기준 클럭에 위상이 정렬하여 출력되기 위해서 동일한 위상의 읽기 클럭을 제공하는 읽기 클럭 발생수단; 시스템 클럭과 기준 클럭을 이용하여 데이타 버퍼 인에이블 클럭을 생성하는 쓰기 클럭 발생수단; 상기 쓰기 클럭발생수단으로부터의 입력 시스템 클럭과 입력 기준 클럭에 의해 입력 데이타를 래치하였다가 출력데이타를 출력하는 데이타 버퍼수단; 상기 쓰기 클럭 발생수단으로부터 쓰기 클럭 어드레스와 상기 읽기 클럭 발생수단으로부터의 읽기 클럭어드레스를 입력받고, 입력 시스템 클럭과 기준 클럭, 출력 시스템 클럭과 출력기준 클럭을 입력으로 하여 위상 상태 감지신호를 출력하는 위상 상태 감지수단을 구비하는 것을 특징으로 한다.In order to achieve the above object, the present invention includes a read clock generating means for providing a read clock of the same phase in order to output the phases of the output system clock and the output reference clock; Write clock generation means for generating a data buffer enable clock using a system clock and a reference clock; Data buffer means for latching input data by the input system clock and the input reference clock from the write clock generation means and outputting output data; A phase for receiving a write clock address from the write clock generating means and a read clock address from the read clock generating means, and inputting an input system clock, a reference clock, an output system clock, and an output reference clock to output a phase state detection signal; Characterized in that it comprises a state sensing means.

이하, 첨부된 도면을 참조하여 본 발명의 일실시예를 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described an embodiment of the present invention;

제2도는 본 발명에 따른 위상 상태 감지기를 갖는 위상 정렬기의 구조도로서, 도면에서 1은 쓰기클럭 발생부, 2는 읽기 클럭 발생부, 3은 데이타버퍼부, 4는 위상 상태를 감지하기 위한 위상상태 감지기를 각각 나타낸다.2 is a structural diagram of a phase aligner having a phase state detector according to the present invention, in which 1 is a write clock generator, 2 is a read clock generator, 3 is a data buffer unit, and 4 is a phase for detecting a phase state. Each state detector is shown.

입력 시스템 클럭과 입력 기준 클럭의 위상과 출력 시스템 클럭의 출력 기준 클럭의 위상차를 검출하기 위한 위상 상태 감지기를 갖는 위상 정렬기내의, 쓰기 클럭 발생부(1)는 제1도와 같이 입력 데이타가 병렬로 데이타 버퍼부에 입력될 시 시스템 기준 클럭인 입력 기준 클럭과 입력 시스템 클럭을 이용하여 데이타 버퍼부(3)에 병렬데이타를 래치하기 위한 쓰기 클럭 어드레스를 발생한다.In a phase aligner having a phase state detector for detecting the phase difference between the input system clock and the input reference clock and the output reference clock of the output system clock, the write clock generator 1 has the input data in parallel as shown in FIG. When input to the data buffer unit, a write clock address for latching parallel data in the data buffer unit 3 is generated using the input reference clock and the input system clock which are system reference clocks.

제3도에 나타냈으며, N분주 카운터(31)와 x:N디먹스(32), 리타이밍부(33), 쓰기 위상동기부(34)로 구성된다.As shown in FIG. 3, it consists of an N-division counter 31, the x: N demux 32, the retiming part 33, and the write phase synchronizer 34. As shown in FIG.

상기 N분주 카운터(31)는 상기 데이타 버퍼부(3)의 단수에 따라 N개의 카운트신호가 발생되는 카운트회로이며, 이는 예로 나타낸 8분주 카운터의 출력신호를 제3도의 a로 나타내었다.The N division counter 31 is a count circuit in which N count signals are generated according to the number of stages of the data buffer unit 3, which is shown as an output signal of the eight division counter shown in FIG.

상기 x:N디먹스부(32)에서는 상기 N분주 카운터(31)의 출력신호를 디코딩 회로를 통해 데이타 버퍼부의 각 단수를 인에이블할 수 있는 입력 시스템 클럭의 한 클럭의 크기만큼을 출력하며, 이의 타이밍도는 제3도의 b와 같다. 리타이밍부에서는 디코딩 회로에서 출력된 신호파형에 클리치가 있을 수 있으므로 이를 제거하기 위해 리타이밍하여 제3도의 c와 같이 입력 시스템 클럭의 한 클럭에 동기되어 출력하는 기능을 수행한다.The x: N demux unit 32 outputs the output signal of the N division counter 31 by one clock size of an input system clock capable of enabling each stage of the data buffer unit through a decoding circuit, Its timing diagram is the same as b in FIG. Since the retiming unit may have a cleat in the signal waveform output from the decoding circuit, the retiming unit performs a function of retiming to remove the signal waveform in synchronization with one clock of the input system clock as shown in FIG.

상기 쓰기 위상 동기부(34)에서는 입력 기준 클럭과 입력 클럭이 항상 동일한 위상으로 입력될시 상기 N분주 카운터(31)의 초기 싯점 즉, 카운터가 0이 되는 싯점을 입력 기준 클럭이 위치하는 곳에서 발생할 수 있도록 하기 위해 입력 기준 클럭을 카운터의 리셋신호로 입력되어 동작한다. 이에 따른 제3도의 위상 타이밍은 제4도에 나타내었다.In the write phase synchronizer 34, when the input reference clock and the input clock are always input in the same phase, the initial reference point of the N division counter 31, that is, the point where the counter becomes zero, is located at the input reference clock. In order to be generated, the input reference clock is operated as a counter reset signal. The phase timing of FIG. 3 is shown in FIG.

상기 데이타버퍼부(3)는 상기 쓰기 클럭 발생부(1)로 발생된 버퍼 인에이블 신호와 이에 따른 클럭을 이용하여 스캔 형태의 D 플립플롭으로 구성된다. 상기 D 플립플롭은 N 분주에 맞추어 데이타 1비트에 따라 N개의 D 플립플롭으로 구성된다. 이 N개의 D 플립플롭의 수가 데이타 버퍼의 단 수가 되며 이는 시스템에 알맞게 조정되어 구성되어져야 한다.The data buffer unit 3 is configured of a D flip-flop in a scan form by using a buffer enable signal generated by the write clock generator 1 and a clock corresponding thereto. The D flip-flop is composed of N D flip-flops according to one bit of data in accordance with N divisions. The number of N D flip-flops is the number of stages in the data buffer, which must be configured to suit the system.

상기 데이타 버퍼부(3)는 입력되는 버스의 데이타 비트의 수가 몇 비트인지에 따라 데이타 버퍼의 수가 달라진다. 이에 따른 구성도는 제5도와 같다.The number of data buffers varies depending on how many bits the number of data bits of the input bus is. This configuration is the same as FIG.

제6도에서는 입력 데이타 버스가 쓰기 클럭 신호에 의해 데이타버퍼부(3)에 쓰여진 후, 읽기 클럭에 의해 읽기 기준 클럭에 정렬된 출력데이타 신호의 타이밍도이다. 이 타이밍도에서는 12단 데이타버퍼부(3)를 중심으로 입력 병렬 데이타가 출력되는 신호의 타이밍도이다. 입력 병렬데이타는 입력 시스템 클럭과 입력 기준 클럭으로 스캔 형태의 D 플립플롭에 버퍼 인에이블 신호에 의해 래치된다. 제6도의 a 타이밍에 입력 데이타가 A가 쓰여지면 데이타 버퍼부의 D 플립플롭#1의 출력 신호는 a-1이 되어 12개의 데이타 버퍼부(3)에 순차적으로 데이타가 래치된다. b에서는 다음 12번째 데이타중 첫번째 데이타를 래치한 표시이다. 이 래치된 데이타는 읽기 클럭에 의해서 생성된 읽기 클럭 어드레스에 의해 12개의 데이타 버퍼부의 출력이 디먹스되어 한 개의 출력데이타 신호를 형성한다. 이의 싯점을 c에 나타내었다. 따라서 병렬로 입력되는 신호는 입력 기준 클럭에 대해서 출력 기준 클럭에 의해 데이타 버퍼부에서 대기하고 있다가 읽혀지므로 여러 위상의 입력 신호에 대해서 출력 기준 클럭에 위상이 정렬되어 출력된다.6 is a timing diagram of an output data signal in which the input data bus is written to the data buffer section 3 by the write clock signal and then aligned with the read reference clock by the read clock. In this timing diagram, a timing diagram of a signal to which input parallel data is output centering on the 12-stage data buffer section 3 is shown. The input parallel data is latched by the buffer enable signal to a scan flipped D flip-flop into the input system clock and the input reference clock. When input data A is written at timing a in FIG. 6, the output signal of the D flip-flop # 1 of the data buffer section becomes a-1, and data is latched sequentially in the twelve data buffer sections 3. In b, the first data of the next 12th data is latched. This latched data is demuxed by the read clock address generated by the read clock to form one output data signal. Its setting point is shown in c. Therefore, the signals input in parallel are waited in the data buffer section by the output reference clock for the input reference clock. Therefore, the phases are aligned and output to the output reference clock for the input signals of various phases.

읽기 클럭 발생부(2)는 해당 보드의 출력시스템 클럭과 출력 기준 클럭을 이용하여 데이타 버퍼부에 래치된 데이타를 먹스(MUX:encoding)하여, 읽기 시스템 클럭과 기준 클럭에 위상이 정렬하여 출력되도록 한다. 이 부에서는 쓰기 클럭 발생부와 비슷한 구조로 구성되어 있으며, 각 입력 버스의 데이타를 동일한 위상으로 정렬하여 출력하기 위해 입력 버스 마다 구성된 데이타 버퍼에서 출력된 신호를 동일한 읽기 클럭으로 먹스(MUX:encoding)한다.The read clock generation unit 2 muxes the data latched in the data buffer unit by using the output system clock and the output reference clock of the corresponding board, and outputs the phase aligned with the read system clock and the reference clock. do. In this part, the structure is similar to that of the write clock generator. In order to output the data of each input bus in the same phase, the signal output from the data buffer configured for each input bus is read as the same read clock (MUX: encoding). do.

읽기 클럭은 N 분주 카운터(71)와 이에 발생된 분주 클럭(제8도의 a신호)을 출력 시스템 클럭으로 리타이밍하여 약간의 위상차가 발생된 신호를 정렬한다. 이 신호는 제8도의 읽기 클럭#1∼3과 같다. 또한 항상 기준 클럭과 동일한 위상으로 읽기 클럭을 발생시키기 위해 상기 N분주 카운터(71)의 리셋 단자에 기준 클럭을 입력한다. 따라서 이에 대한 구성도는 제7도와 같으며, 이의 타이밍 관계는 제8도와 같다.The read clock re-times the N division counter 71 and the division clock (a signal in FIG. 8) generated therefrom to the output system clock to align the signal having a slight phase difference. This signal is the same as the read clocks # 1 to 3 in FIG. In addition, the reference clock is input to the reset terminal of the N division counter 71 so as to always generate a read clock in the same phase as the reference clock. Therefore, the configuration thereof is shown in FIG. 7, and the timing relationship thereof is shown in FIG. 8.

상기 쓰기 클럭 발생부(1)와 읽기 클럭 발생부(2)는 데이타 버퍼부(3)의 쓰기 어드레스 신호와 읽기 어드레스 신호를 발생하며, 이는 데이타 버퍼부의 버퍼 단수에 맞는 N분주 카운터(71)를 구성하여 발생된 신호를 디코딩 회로를 통해 데이타 버퍼부의 버퍼 인에이블 클럭을 생성하며, 데이타버퍼부(3)에서는 이 신호를 이용하여 입력 데이타를 D 플립플롭에 래치한다. 이와 같이 래치된 데이타는 읽기 클럭 발생부(2)로 생성된 읽기 클럭 어드레스 신호를 이용 출력 시스템 클럭과 출력 기준 클럭에 위상 변화나 읽기 클럭의 위상 변화로 인해서 데이타 버퍼부(3)의 오동작이 발생할 수 있으므로, 이를 위해, 위상 상태 감지기(4)에서는 출력 기준 클럭을 이용 입력 기준 클럭의 위치를 판단하여, 이의 상태롤 표시한다.The write clock generator 1 and the read clock generator 2 generate a write address signal and a read address signal of the data buffer unit 3, which generates an N division counter 71 suitable for the number of buffers of the data buffer unit. The generated signal is generated through a decoding circuit to generate a buffer enable clock of the data buffer section. The data buffer section 3 uses this signal to latch the input data onto the D flip-flop. The latched data uses the read clock address signal generated by the read clock generator 2 to cause a malfunction of the data buffer unit 3 due to a phase change or a phase change of the read clock in the output system clock and the output reference clock. To this end, the phase state detector 4 uses the output reference clock to determine the position of the input reference clock and display its status.

제9도에서는 위상상태 감지기의 구성은 나타내었다. 이의 구성은 클럭 발생기(91)와 위상 상태 검출기(92)로 구성된다.In Fig. 9, the configuration of the phase state detector is shown. Its configuration consists of a clock generator 91 and a phase state detector 92.

상기 클럭 발생기(91)는 출력 기준 클럭을 이용하여 제10도에서와 같이 출력 기준 클럭에 앞서서 4/7개의 클럭 주기를 갖는 안정영역 1,2를 나타낼 수 있는 클럭을 발생하며, 또한 래치클럭 1/2의 신호는 이의 회로는 카운터와 쉬프트 레지스터를 이용 구현한다.The clock generator 91 generates a clock that can represent the stable regions 1 and 2 having 4/7 clock cycles prior to the output reference clock as shown in FIG. The signal of / 2 is implemented by its circuit using a counter and shift register.

따라서 위상 상태 감지기에서는 입력 기준 클럭이 안정영역 1/2에 위치하게 되면 H 상태를 나타낼 수 있는 로직을 구성하고 그 외의 입력 신호가 존재하면 L 상태를 표시할 수 있는 로직을 구성(D-F/F)한다. 이 회로의 동작은 안정영역에 입력 기준 클럭이 존재하면 안정영역 신호와 입력 기준 클럭을 AND하여 나온 출력 신호를 D 플립플롭의 셋으로 동작하게하여 이의 출력이 H가 되게하고, 안정영역 이외에 존재하면 래치 클럭에 의해 입력 기준 클럭이 래치되므로 이를 이용 L신호가 위상상태 검출 신호가 되게 한다. 이 위상상태 검출 신호는 매 기준 클럭 주기로 동작하게되므로 이를 카운팅하여 프로세서에서 인지할 수 있도록하며, 이 신호를 이용하여 인터럽트를 발생시킬 수도 있다.Therefore, in the phase state detector, if the input reference clock is located in the stable region 1/2, the logic to indicate the H state is configured, and if other input signals exist, the logic to display the L state is configured (DF / F). do. When the input reference clock is present in the stable region, this circuit operates the output signal obtained by ANDing the stable region signal and the input reference clock as a set of D flip-flops so that its output becomes H. The latch reference clock latches the input reference clock so that the L signal becomes a phase detection signal. This phase state detection signal operates every reference clock period so that it can be counted and recognized by the processor. This signal can also be used to generate an interrupt.

출력 기준 클럭과 출력 시스템 클럭을 이용하여 12단의 버퍼 크기를 갖는 데이타버퍼부에 맞는 안정영역과 래치 클럭을 발생하여 입력 기준 클럭의 위치를 파악하여 이의 상태를 나타낸다. 위상상태 감지기의 클럭 발생기(91)는 출력 기준 클럭을 이용 이를 출력 시스템 클럭으로 쉬프트하여 안정영역의 클럭과 래치 클럭을 공지 기술로 쉽게 구현하여 설계할 수 있다. 이와 같이 발생된 클럭들은 프로세서등의 제어를 받아 2가지 상태를 출력한다. 이의 위상관계는 제10도에 표시하였다.The output reference clock and the output system clock are used to generate a stable region and a latch clock suitable for a data buffer section having a buffer size of 12 stages. The clock generator 91 of the phase state detector may use the output reference clock to shift the output system clock to an output system clock to easily design a stable region clock and a latch clock using a known technique. The clocks generated as described above output two states under the control of a processor. Its phase relationship is shown in FIG.

제10도에서는 모드선택 신호가 0일 때 위상 정렬기에 입력되는 신호의 위상이 안정영역 1에 위치하면 안정된 위상차를 갖고 있는 것이며, 래치클럭 1에서 w1∼w8에 해당하는 래치 클럭에 입력 기준 클럭이 래치되면 불안정 영역에 위치하였다는 것을 판별신호를 이용 래치함으로서 이를 위상 상태 검출 신호로 나타낸다. 모드 선택 신호가 1일 때 데이타 버퍼의 버퍼 크기가 12단으로 이를 충분히 이용할 때 사용하는 것으로 이는 안정영역 1보다는 좀 더 큰 범위에 입력 클럭이 위치하더라도 이를 데이타 버퍼에서 충분히 흡수할 수 있다. 이의 동작은 모드 선택 0일 때와 동일하다.In FIG. 10, when the mode selection signal is 0, the phase of the signal input to the phase aligner is in the stable region 1, and thus, the phase difference has a stable phase difference. In the latch clock 1, the latch clock corresponding to w1 to w8 has an input reference clock. When latched, it is indicated as a phase state detection signal by latching using a discrimination signal to indicate that it is in an unstable region. When the mode select signal is 1, the buffer size of the data buffer is 12, and it is sufficiently used. Even if the input clock is located in a larger range than the stable region 1, it can be sufficiently absorbed by the data buffer. Its operation is the same as with mode selection 0.

본 발명의 특징은 첫째, 서로 상이한 위상으로 입력되는 버스들을 한 시스템 클럭의 기준 클럭에 위상을 정렬시키는 회로에 있어서 이의 안정된 위상 범위를 벗어난 상태를 감지하기 위한 기능을 갖는다. 둘째, 위상 정렬기의 데이타 버퍼 크기 내에서 위상 범위 제어 기능을 갖는다. 셋째, 각 버스 별로 안정된 위상 범위를 벗어난 상태를 감지하기 위한 기능을 갖는다.A feature of the present invention is firstly a function for detecting a condition outside of its stable phase range in a circuit for aligning phases of buses input in different phases to a reference clock of one system clock. Second, it has phase range control within the data buffer size of the phase aligner. Third, each bus has a function for detecting a condition out of a stable phase range.

그리고, 본 발명의 회로는 흔히 FIFO에서 사용하는 FIFO 언더런/오버런(underrun/overrun)을 검출하는 회로와 비슷하지만, 고속신호를 여러 모듈과 인터페이스 할 시 발생되는 전파지연등으로 인하여 모듈과 모듈과의 전파지연이 고속신호 전송 속도의 한주기 이상을 벗어 남으로 인해서 여러 모듈로부터 한 모듈로 입력되는 신호들간에 위상 지연이 틀려지므로 이들 위상정렬을 흡수하는 위상 정렬기에서 데이타 버퍼부의 크기에 따른 위상 변화가 데이타 버퍼의 크기에 따라 한정된 범위의 위상차를 벗어난 상태를 감지하지 위한 회로이며 이의 감지 상태를 이용하여 버퍼를 초기화하는 기능을 수행한다.In addition, the circuit of the present invention is similar to the circuit for detecting the FIFO underrun / overrun, which is often used in the FIFO, but due to the propagation delay generated when interfacing high speed signals with multiple modules, Phase propagation due to the size of the data buffer in the phase aligner absorbing these phase alignments because the phase delay between the signals input from one module to the other module is different because the propagation delay is more than one cycle of the high speed signal transmission speed. Is a circuit for detecting a condition out of a limited range of phase difference according to the size of the data buffer and performs a function of initializing the buffer by using the detected state.

이상과 같이 동작되는 위상상태 감지기는 대용량의 신호를 한 보드에서 처리하며 이들 보드간의 접속되는 신호가 고속으로 동작할 시 이용되는 기준 클럭을 이용한 위상 정렬기의 위상 상태를 감지하기에 유용하게 이용될 수 있으며, 이 위상 상태 감지신호를 이용하여 마이크로 프로세서에 표시하여 줌으로서 이와 같은 장비를 운용하는 운용자에게 보드간 접속시 발생되는 위상의 이상상태를 알려 줄 수 있는 효과가 있다.The phase state detector operated as above processes a large amount of signals in one board and is useful for detecting the phase state of the phase aligner using the reference clock used when the signals connected between these boards operate at high speed. By using the phase state detection signal to display on the microprocessor, it is possible to inform the operator operating such equipment to inform the abnormal state of the phase generated when the board-to-board connection.

Claims (5)

출력 시스템 클럭과 출력 기준 클럭에 위상이 정렬하여 출력되기 위해서 동일한 위상의 읽기 클럭을 제공하는 읽기 클럭 발생수단(2); 시스템 클럭과 기준 클럭을 이용하여 데이타 버퍼 인에이블 클럭을 생성하는 쓰기 클럭 발생수단(1); 상기 쓰기 클럭 발생수단(1)으로부터의 입력 시스템 클럭과 입력 기준 클럭에 의해 입력 데이타를 래치하였다가 출력데이타를 출력하는 데이타 버퍼수단(3); 상기 쓰기 클럭 발생수단(1)으로부터 쓰기 클럭 어드레스와 상기 읽기 클럭 발생수단(2)으로부터의 읽기 클럭어드레스를 입력받고, 입력 시스템 클럭과 기준 클럭, 출력 시스템 클럭과 출력기준 클럭을 입력으로 하여 위상 상태 감지신호를 출력하는 위상 상태 감지수단(4)을 구비하는 것을 특징으로 하는 기준 클럭을 이용한 위상 정렬기의 위상 변화 상태 감지기.Read clock generation means (2) for providing read clocks of the same phase so that the phases are outputted in alignment with the output system clock and the output reference clock; Write clock generating means (1) for generating a data buffer enable clock using a system clock and a reference clock; Data buffer means (3) for latching input data by the input system clock and input reference clock from the write clock generation means (1) and outputting output data; The write clock address from the write clock generation means 1 and the read clock address from the read clock generation means 2 are input, and the input system clock and reference clock, the output system clock and the output reference clock are input as phase states. Phase change state detector of a phase aligner using a reference clock, characterized in that it comprises a phase state detection means (4) for outputting a detection signal. 제1항에 있어서, 상기 쓰기 클럭 발생수단(1)은, 입력 시스템 클럭을 입력하여 N개의 카운트신호를 발생하는 N분주 카운터(31); 상기 N분주 카운터(31)의 N 분주에 의해서 생성된 클럭들을 역다중화하여 상기 데이타버퍼수단(3)의 클럭 인에이블 신호를 발생하는 역다중화기(DMUX:decoding)(32); 상기 역다중화기(32)로부터의 클럭 인에이블 신호를 입력받아 출력된 신호파형의 오류를 제거하여 버퍼 인에이블 신호를 출력하는 리타이밍부(33); 입력 기준 클럭과 입력 클럭이 항상 동일한 위상으로 입력될 시 상기 N분주 카운터(31)의 초기 싯점(카운터가 0이 되는 싯점)을 입력 기준 클럭이 위치하는 곳에서 발생할 수 있도록하기 위해 입력 기준 클럭을 카운터의 리셋신호로 입력하여 상기 N분주 카운터(31)로 출력하는 쓰기 위상동기부(34)를 구비하고 있는 것을 특징으로 하는 기준 클럭을 이용한 위상 정렬기의 위상 변화 상태 감지기.2. The write clock generating means (1) according to claim 1, further comprising: an N division counter (31) for inputting an input system clock to generate N count signals; A demultiplexer (DMUX) 32 for demultiplexing the clocks generated by the N division of the N division counter 31 to generate a clock enable signal of the data buffer means 3; A retiming unit (33) for receiving a clock enable signal from the demultiplexer (32) to remove an error of the output signal waveform and to output a buffer enable signal; When the input reference clock and the input clock are always input in the same phase, the input reference clock is set so that the initial position of the N division counter 31 (the point at which the counter becomes zero) occurs at the position where the input reference clock is located. And a write phase synchronizer (34) for inputting the counter reset signal and outputting the counter to the N division counter (31). 제1항에 있어서, 상기 데이타 버퍼수단(3)은, 상기 쓰기 클럭 발생수단(1)으로 발생된 버퍼 인에이블 신호와 이에 따른 클럭을 이용하며 스캔 형태로 구성되되, N분주에 맞추어 데이타 1비트에 따라 N개로 구성되는 N개의 D 플립플롭(51 내지 5N); 상기 N개의 D 플립플롭(51 내지 5N)으로부터의 스캔 형태의 버퍼 인에이블 신호에 의해 래치된 신호와 상기 읽기 클럭발생수단(2)으로부터 읽기 클럭 및 시스템 클럭을 입력받아 다중화하여 출력하는 다중화기(52)를 구비하고 있는 것을 특징으로 하는 기준 클럭을 이용한 위상 정렬기의 위상 변화 상태 감지기.The data buffer means (3) according to claim 1, wherein the data buffer means (3) uses a buffer enable signal generated by the write clock generation means (1) and a clock corresponding thereto, and is configured in a scan form, and has one data bit in accordance with N division. N D flip-flops 51 to 5N, each of which is configured to be N; A multiplexer which receives a signal latched by the scan enable buffer enable signals from the N D flip-flops 51 to 5N and a read clock and a system clock from the read clock generation means 2, and multiplexes and outputs the read clock and the system clock; 52. A phase change state detector of a phase aligner using a reference clock, comprising: a reference clock; 제1항에 있어서, 상기 읽기 클럭 발생수단(2)은, 출력 시스템 클럭을 입력하여 N분주하여 출력하는 N분주 카운터(71); 상기 N분주 카운터(71)로부터 N분주된 신호를 입력받아 리타이밍하여 위상차가 발생된 신호를 정렬하는 리타이밍부(72); 상기 출력 시스템 클럭과 출력 기준 클럭을 입력받아 항상 동일한 위상으로 읽기 클럭을 발생시키기 위해 상기 N분주 카운터(71)의 리셋 단자에 기준 클럭을 입력하는 읽기 위상동기부(73)를 구비하고 있는 것을 특징으로 하는 기준 클럭을 이용한 위상 정렬기위 위상 변화 상태 감지기.2. The apparatus of claim 1, wherein the read clock generation means (2) comprises: an N division counter (71) for inputting N outputs and outputting an N system clock; A retiming unit 72 for receiving an N-divided signal from the N-dividing counter 71 to retime to align a signal having a phase difference; And a read phase synchronizer 73 for inputting a reference clock to the reset terminal of the N division counter 71 so as to receive the output system clock and the output reference clock and always generate a read clock in the same phase. Phase change state detector on a phase aligner using a reference clock. 제1항에 있어서, 상기 위상 상태 감지수단(4)은, 모드 선택 신호를 입력으로 하고 출력 기준 클럭을 이용하여 출력 기준 클럭에 앞서서 안정영역 클럭을 나타낼 수 있는 클럭을 발생하는 클럭 발생기(91); 상기 클럭 발생기(91)로부터의 안정영역 클럭과, 입력 기준 클럭과 판별신호를 입력받아 위상 상태 검출신호를 출력하는 위상 상태 검출기(92)를 구비하고 있는 것을 특징으로 하는 기준 클럭을 이용한 위상 정렬기의 위상 변화 상태 감지기.The clock generator (91) according to claim 1, wherein said phase state detecting means (4) generates a clock capable of representing a stable region clock in advance of an output reference clock using a mode selection signal as an input and using an output reference clock. ; And a phase state detector (92) for receiving a stable region clock from the clock generator (91), an input reference clock and a discrimination signal, and outputting a phase state detection signal. Phase change state sensor.
KR1019950053959A 1995-12-22 1995-12-22 Phase detector using reference clock KR0153914B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950053959A KR0153914B1 (en) 1995-12-22 1995-12-22 Phase detector using reference clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950053959A KR0153914B1 (en) 1995-12-22 1995-12-22 Phase detector using reference clock

Publications (2)

Publication Number Publication Date
KR970049267A KR970049267A (en) 1997-07-29
KR0153914B1 true KR0153914B1 (en) 1998-11-16

Family

ID=19442792

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950053959A KR0153914B1 (en) 1995-12-22 1995-12-22 Phase detector using reference clock

Country Status (1)

Country Link
KR (1) KR0153914B1 (en)

Also Published As

Publication number Publication date
KR970049267A (en) 1997-07-29

Similar Documents

Publication Publication Date Title
EP1624635B1 (en) Device and method for synchronous parallel data transmission using reference signal
KR100292896B1 (en) Pll jitter measuring method and integrated circuit therewith
US7975082B2 (en) System and method to facilitate deterministic testing of data transfers between independent clock domains on a chip
JPH0329438A (en) Digital data transfer circuit
US6928528B1 (en) Guaranteed data synchronization
US5235602A (en) Synchronous/asynchronous i/o channel check and parity check detector
US7650523B2 (en) Interface apparatus and method for synchronization of data
KR0153914B1 (en) Phase detector using reference clock
KR100513275B1 (en) A data recovery algorithm using data position detecting and a serial data receiver adopting the algorithm
US6172538B1 (en) Universal pulse synchronizer
US6959398B2 (en) Universal asynchronous boundary module
Cordell A 45-Mbit/s CMOS VLSI digital phase aligner
US6016521A (en) Communication control device
US6651127B2 (en) Method of detecting termination of a bus transfer operation
KR0153913B1 (en) Clock signal gnerator
US20020112111A1 (en) Parallel and point-to-point data bus architecture
JP2001060977A (en) Transmission system
US7039144B2 (en) Large-input-delay variation tolerant (LIDVT) receiver adopting FIFO mechanism
US20080240320A1 (en) Transmit clock generator
EP1150451A2 (en) Method and apparatus for initializing a synchronizer
JP3562416B2 (en) Inter-LSI data transfer system and source synchronous data transfer method used therefor
JP2000307561A (en) Bus system unit
KR100241765B1 (en) Apparatus for generating id in atm communication system
KR0146326B1 (en) Interface circuit for matching full electronic switch process matching board and personal computer
US7158599B2 (en) Elastic store circuit

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20070702

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee