KR940008663B1 - Cyclic permutable cordward data detection circuit - Google Patents

Cyclic permutable cordward data detection circuit Download PDF

Info

Publication number
KR940008663B1
KR940008663B1 KR1019920019187A KR920019187A KR940008663B1 KR 940008663 B1 KR940008663 B1 KR 940008663B1 KR 1019920019187 A KR1019920019187 A KR 1019920019187A KR 920019187 A KR920019187 A KR 920019187A KR 940008663 B1 KR940008663 B1 KR 940008663B1
Authority
KR
South Korea
Prior art keywords
signal
latch
data
clock
clock signal
Prior art date
Application number
KR1019920019187A
Other languages
Korean (ko)
Other versions
KR940010525A (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 KR1019920019187A priority Critical patent/KR940008663B1/en
Publication of KR940010525A publication Critical patent/KR940010525A/en
Application granted granted Critical
Publication of KR940008663B1 publication Critical patent/KR940008663B1/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

The cyclic permutable cordward data detecting circuit in a cable communication system, for preventing a repeated cyclic permutable cordward data detection and for reducing load of a processor includes a divider, a latch clock generator, a clock supply controller, a first serial and parallel converter, a first latch, a buffer, a comparator, a second latch, a valid bit signal generator, a tri-state buffer and a clock holder.

Description

순환반복 코드워드 데이타 검출회로Cyclic repeat codeword data detection circuit

제1도는 종래의 CPC데이타 검출회로도.1 is a conventional CPC data detection circuit diagram.

제2도는 제1도의 각부 동작 파형도.2 is a waveform diagram of operating parts of FIG.

제3도는 본 발명에 따른 CPC데이타 검출회로도.3 is a CPC data detection circuit diagram according to the present invention.

제4도는 제3도의 각부 동작 파형도.4 is an operation waveform diagram of each part of FIG.

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

10 : 분주기 20 : 제1쉬프트레지스터10: frequency divider 20: first shift register

30 : 제1래치 40 : 버퍼30: first latch 40: buffer

50 : 비교기 60, 80, 90 : 플립플롭50: comparator 60, 80, 90: flip-flop

70 : 제2쉬프트레지스터 100 : 래치클럭생성수단70: second shift register 100: latch clock generating means

110 : 클럭공급제어부 120 : 클럭홀드수단110: clock supply control unit 120: clock holding means

본 발명은 유선통신 시스템에서 순환반복 코드워드(Cyclic Permutable Cordward; 이하 CPC라함)데이타 검출회로에 관한 것으로, 특히 CPC데이타를 검출한 후 동일한 데이타가 중복되어 입력될때 중복 CPC데이타 검출을 방지하는 CPC데이타 검출회로에 관한 것이다.The present invention relates to a Cyclic Permutable Cordward (CPC) data detection circuit in a wired communication system. In particular, the present invention relates to a CPC data which prevents detection of duplicate CPC data when the same data is duplicated and input after detecting CPC data. It relates to a detection circuit.

종래에는 제1도에서 보는 바와 같이 전원이 온 되면 플립플롭(6)이 클리어되므로 상기 플립플롭(6)은 출력단자(Q)로 로우신호를 출력하게 된다. 상기 플립플롭(6)의 출력단자(Q)로 출력된 로우신호가 앤드게이트(AN4)를 통해 제2쉬프트레지스터(7)의 리세트단자(R)로 인가되면 상기 제2쉬프트레지스터(7)는 리세트되어 출력단자(Q4)로 로우신호를 출력하게 된다. 상기 제2쉬프트레지스터(7)에서 출력된 로우 신호는 인버터(I4)를 통해 반전되어 앤드게이트(AN1,AN3)와 낸드게이트(NA1)의 한단자로 각각 인가된다. 이때 도시하지 않은 클럭발생부로부터 발생된 제2도(a)와 같은 32KHZ의 클럭신호는 분주기(1)에서 분주되어 서로 다른 제2도(b)와 같은 제1클럭신호(16KHZ)와 제2도(2c)와 같은 제2클럭신호(TC)를 출력 하게된다. 상기 분주기(1)에서 출력된 제1클럭신호(16KHZ)는 앤드게이트(AN1)를 통해 제1쉬프트레지스터(2)의 클럭단자(cp)로 인가되고 상기 제2클럭신호(TC)는 낸드게이트(NA1)를 통해 래치(3)의 클럭단자(cp)로 인가된다. 또한 상기 클럭발생부로부터 발생된 32KHZ의 클럭신호는 인비터(I1)를 통해 반전되어 쉬프트레지스터(AN2)의 한단자로 인가된다. 이로인해 상기 쉬프트레지스터(AN2)는 상기 분주기(1)에서 출력된 제2클럭신호(TC)와 논리 합하여 출력한다. 상기 쉬프트레지스터(AN2)에서 논리합 출력된 신호는 쉬프트레지스터(AN3)를 통해 플립플롭(6)의 클럭단자(cp)로 인가된다. 이때 상기 프로세서로부터 제2도(d)와 같은 CPC데이타를 입력하는 제1쉬프트레지스터(2)는 상기 제1클럭신호(16KHZ)에 의해 쉬프트시켜 출력단자(Q0-Q7)로 8비트의 병렬데이타를 출력하게 된다.Conventionally, as shown in FIG. 1, when the power is turned on, the flip-flop 6 is cleared so that the flip-flop 6 outputs a low signal to the output terminal Q. When the low signal output to the output terminal Q of the flip-flop 6 is applied to the reset terminal R of the second shift register 7 through the AND gate AN4, the second shift register 7 is applied. Is reset to output the low signal to the output terminal Q4. The low signal output from the second shift register 7 is inverted through the inverter I4 and applied to one terminal of the AND gates AN1 and AN3 and the NAND gate NA1, respectively. At this time, the clock signal of 32KHZ as shown in FIG. 2 (a) generated from a clock generator (not shown) is divided by the divider 1, and the first clock signal 16KHZ as shown in FIG. The second clock signal TC as shown in FIG. 2C is output. The first clock signal 16KHZ output from the divider 1 is applied to the clock terminal cp of the first shift register 2 through an AND gate AN1, and the second clock signal TC is NAND. It is applied to the clock terminal cp of the latch 3 through the gate NA1. In addition, the 32KHZ clock signal generated from the clock generator is inverted through the inverter I1 and applied to one terminal of the shift register AN2. As a result, the shift register AN2 is logically summed with the second clock signal TC output from the divider 1 and is output. The OR-signal output from the shift register AN2 is applied to the clock terminal cp of the flip-flop 6 through the shift register AN3. At this time, the first shift register 2 which inputs CPC data as shown in FIG. 2 (d) from the processor is shifted by the first clock signal 16KHZ and outputs 8 bits of the output terminals Q 0 -Q 7 . Output parallel data.

상기 제1쉬프트레지스터(2)에서 출력된 병렬데이타를 입력하는 래치(3)는 상기 낸드게이트(NA1)를 통해 입력된 제2클럭신호(TC)에 의해 래치시키게 되는데 상기 낸드게이트(NA1)출력이 라이징 에지에서 래치시키게 된다. 상기 래치(3)의 출력단자(Q0-Q7)로 래치출력된 데이타는 버퍼(4)에 저장된다. 이때 상기 분주기(1)에서 제2클럭신호(TC)가 인버터(I2)를 통해 반전되어 제2도(2e)와 같은신호가 비교기(5)의 인에이블단자(EN)로 인가되면 상기 비교기(5)는 인에이블되어 입력단자(A)로 입력된 상기 제1쉬프트레지스터(2)에서 쉬프트된 현재의 CPC데이타와 입력단자(B)로 입력된 상기 래치(3)에서 래치출력된 이전상태의 CPC데이타를 비교한다. 이때 상기 두 데이타가 동일하면 상기 비교기(50)는 제2도(2g)와 같은 "로우"신호를 출력하고, 상기 두 데이타가 다르면 제2도(2g)와 같은 "하이"신호를 출력하게 된다. 상기 두 데이타가 동일하여 상기 비교기(5)에서 출력된 로우신호는 인버터(I3)를 통해 반전되어 플립플롭(6)의 데이타단(D)으로 인가된다. 상기 인버터(I3)를 통해 반전된 하이신호를 입력하는 플립플롭(6)은 상기 앤드게이트(AN3)를 통해 출력된 제2도(2f)와 같은 클럭신호에 동기시켜 래치시키게 된다. 상기 플립플롭(7)에서 래치된 하이신호는 제2쉬프트레지스터(7)로 입력되어 병렬데이타로 변환출력되는데 상기 비교기(5)에서 입력되는 CPC데이타를 5회 반복비교하여 계속해서 동일한 데이타일 경우에는 상기 비교기(5)의 출력이 로우상태이므로 상기 제2쉬프트레지스터(7)의 출력단(Q4)이 하이상태가 된다. 상기 제2쉬프트레지스터(7)의 출력단(Q4)로 출력된 하이신호는 인버터(I4)를 통해 반전되어 앤드게이트(AN1,AN#)로 인가되므로 상기 제1쉬프트레지스터(2), 래치(3), 플립플롭(6)의 클럭공급을 차단하게 된다.The latch 3 for inputting the parallel data output from the first shift register 2 is latched by the second clock signal TC input through the NAND gate NA1, and outputs the NAND gate NA1. It will latch on this rising edge. Data latched to the output terminals Q 0 -Q 7 of the latch 3 is stored in the buffer 4. In this case, when the second clock signal TC is inverted through the inverter I2 in the frequency divider 1 and a signal such as the second diagram 2e is applied to the enable terminal EN of the comparator 5, the comparator (5) is enabled and the previous state latched from the latch (3) input to the current CPC data and the input terminal (B) shifted in the first shift register (2) input to the input terminal (A) Compare the CPC data. At this time, if the two data are the same, the comparator 50 outputs a "low" signal as shown in FIG. 2 (2g), and if the two data are different, it outputs a "high" signal as shown in FIG. . Since the two data are the same, the low signal output from the comparator 5 is inverted through the inverter I3 and applied to the data terminal D of the flip-flop 6. The flip-flop 6 which inputs the inverted high signal through the inverter I3 is latched in synchronization with a clock signal such as the second diagram 2f output through the AND gate AN3. The high signal latched by the flip-flop 7 is input to the second shift register 7 and converted into parallel data, and the same data is continuously repeated five times compared to the CPC data input from the comparator 5. Since the output of the comparator 5 is in the low state, the output terminal Q4 of the second shift register 7 is in the high state. Since the high signal output to the output terminal Q4 of the second shift register 7 is inverted through the inverter I4 and applied to the AND gates AN1 and AN #, the first shift register 2 and the latch 3 are applied. ), The clock supply of the flip-flop 6 is cut off.

이때 프로세서는 일정주기로 제2제어신호를 발생하여 3상태버퍼(B1)를 인에이블시켜 상기 인버터(I4)에서 반전출력된 벨리트 비트(Valid bit)를 체크하게 된다. 따라서 상기 프로세서는 상기 벨리드 비트가 로우상태일시 유효한 데이타로 판단하여 상기 버퍼(4)에 저장된 CPC데이타를 읽어 들이게 된다. 그리고 상기프로세서는 상기 버퍼(4)로부터 CPC데이타를 읽어들인 후 제1제어신호를 발생하여 상기 제2쉬프트레지스터(7)를 리세트시킨다. 그러나 상기 비교기(5)에서 입력되는 CPC데이타를 5회 반복비교하는 동안에 서로 다른 데이타일경우 상기 비교기(5)는 하이신호를 출력하게 된다. 상기 비교기(5)의출력이 하이신호가 되면 플립플롭(6)의 출력이 로우상태가 되어 상기 제2쉬프트레지스터(7)를 리세트시키게 된다. 상기 쉬프트레지스터(6)가 리세트되면 출력단(Q4)의 출력이 로우상태가 되어 상기 인버터(I4)를 통해 반전되어 하이신호가 되므로 프로세서는 유효한 데이타가 아님을 감지하여 버퍼(4)의 CPC데이타를 읽어들이지 않게 된다.At this time, the processor generates a second control signal at a predetermined period to enable the three-state buffer B1 and checks the inverted output of the bit bit in the inverter I4. Therefore, the processor reads the CPC data stored in the buffer 4 by determining that the Belize bit is valid data when the Belize bit is low. The processor resets the second shift register 7 by reading the CPC data from the buffer 4 and generating a first control signal. However, the comparator 5 outputs a high signal when the data is different while repeatedly comparing the CPC data input from the comparator 5 five times. When the output of the comparator 5 becomes a high signal, the output of the flip-flop 6 goes low to reset the second shift register 7. When the shift register 6 is reset, the output of the output terminal Q4 goes low and is inverted through the inverter I4 to become a high signal. Therefore, the processor senses that the shift register 6 is not valid data, thereby detecting the CPC data of the buffer 4. Will not be read.

상기와 같은 종래의 CPC데이타 검출회로는 CPC데이타가 일정횟수이상 검출되면 유효한 데아타로 판단하여 상기 CPC데이타를 읽어들인 후 다시 동일한 CPC데이타가 일정횟수만큼 검출될때마다 상기 CPC데이타를 읽어 들이게 되어 프로세서의 로드가 증가되는 문제점이 있었다.In the conventional CPC data detection circuit, if the CPC data is detected more than a certain number of times, the CPC data is determined to be a valid data. There was a problem that the load of the increased.

따라서 본 발명의 목적은 프로세서의 로드를 감소시키는 CPC데이타 검출회로를 제공함에 있다.It is therefore an object of the present invention to provide a CPC data detection circuit which reduces the load on the processor.

본 발명의 다른 목적은 동일한 CPC데이타의 중복검출을 방지하는 CPC데이타 검출회로를 제공함에 있다.Another object of the present invention is to provide a CPC data detection circuit for preventing duplicate detection of the same CPC data.

상기 목적을 달성하기 위한 본 발명은 시스템클럭신호를 분주하여 제1클럭신호와 제2클럭신호(TC)를 출력하는 분주수단과, 상기 시스템클럭신호를 반전시켜 상기 분주기(10)에서 출력된 제1클럭신호와 논리조합 하여 래치클럭신호를 출력하는 래치클럭생성수단과, 상기 분주수단의 출력인 제1클럭신호 및 제2클럭신호(TC)와 상기 래치클럭생성수단에서 출력된 래치 클럭신호를 벨리드비트신호에 의해 공급을 제어하는 클럭공급제어수단과, 직렬 CPC데이타를 입력하여 상기 클럭공급제어수단에서 공급된 제1클럭신호에 의해 출력단자(Q0-Q7)로 8비트의 병렬데이타로 변환출력하는 제1직/병렬변환수단, 상기 제1직/병렬변환수단에서 출력된 병렬데이타를 입력하여 상기 클럭공급제어수단에서 반전된 제2클럭신호(TC)에 동기시켜 래치시키는 제1래치수단과, 상기 제1래치수단에서 래치 출력된 신호를 저장하는 버퍼수단, 상기 제1직/병렬변환수단에서 변환된 병렬 CPC데이타와 상기 래치수단에서 래치된 데이타를 비교하여 데이타의 동일여부상태를 검출하는 비교수단과, 상기 비교수단에서 출력된 데이타 비교검출신호를 반전시킨 후 상기 래치클럭 생성수단에서 출력된 래치 클럭신호에 의해 래치시키는 제2래치수단과, 상기 제2래치수단에서 래치된 신호를 입력하여 상기 분주수단에서 출력된 제2클럭신호(TC)에 의해 8비트의 병렬데이타로 변환하여 벨리드 비트신호를 출력하는 벨리드 비트신호생성수단과, 상기 벨리드비트신호생성수단에서 출력된 벨리드 비트신호를 입력하여 프로세서로부터 출력된 제2콘트롤신호에 의해 버퍼링 출력하는 3상태버퍼와, 상기 비교수단에서 출력된 데이타 비교검출신호를 받아 상기 래치클럭생선수단에서 출력된 래치클럭신호에 의해 CPC데이타의 중복검출을 방지하기 위해 상기 제2직/병렬수단으로 공급되는 상기 제2클럭신호(TC)를 홀드시키는 클럭홀드수단으로 구성함을 특징으로 한다.The present invention for achieving the above object divides the system clock signal and outputs the first clock signal and the second clock signal (TC), and the inverted system clock signal outputted from the divider 10 Latch clock generating means for outputting a latch clock signal in logical combination with a first clock signal, a first clock signal and a second clock signal TC which are outputs of the division means, and a latch clock signal output from the latch clock generating means. Clock supply control means for controlling the supply by means of a beaded bit signal, and inputting serial CPC data to the output terminals Q 0 -Q 7 by the first clock signal supplied from the clock supply control means. A first serial / parallel conversion means for converting and outputting parallel data, and parallel data output from the first serial / parallel conversion means to be latched in synchronization with the second clock signal TC inverted by the clock supply control means; The first latch means, A buffer means for storing a signal output from the first latch means, a parallel CPC data converted by the first serial / parallel conversion means, and data latched by the latch means to detect whether the data is equal or not; Means, a second latch means for inverting the data comparison detection signal output from the comparison means and latching the latch by the latch clock signal output from the latch clock generation means, and a signal latched by the second latch means Belize bit signal generating means for converting into 8-bit parallel data by the second clock signal TC output from the dividing means and outputting a bead bit signal, and a bead output from the bead bit signal generating means. A tri-state buffer that inputs a bit signal and buffers the output by a second control signal output from the processor, and a data comparison detection signal output from the comparison means And a clock hold means for holding the second clock signal TC supplied to the second serial / parallel means to prevent duplicate detection of CPC data by the latch clock signal outputted from the latch clock fish means. It is characterized by.

이하 본 발명을 첨부한 도면을 참조하여 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

제3도는 본 발명에 따른 CPC데이타 검출회로도로서, 도시하지 않은 클럭발생부로부터 발생된 32KHZ의 클럭신호를 분주하여 제1클럭신호(16KHZ)와 제2클럭신호(TC)를 출력하는 분주기(10)와, 인비터(I1), 앤드게이트(AN2)로 구성되어 상기 32KHZ의 클럭신호를 반전시켜 상기 분주기(10)에서 출력된 제1클럭신호(16KHZ)와 논리조합하여 래치클럭신호를 출력하는 래치클럭생선수단(100)과, 앤드게이트(AN1,AN3), 낸드게이트(NA1)로 구성되어 상기 분주기(10)의 출력인 제1클럭신호(16KHZ) 및 제2클럭신호(TC)와 상기 래치클럭생성부(100)에서 출력된 래치클럭신호를 벨리드비트신호에 의해 공급을 제어하는 클럭공급제어수단(110)과, 상기 직렬 CPC데이타를 입력하여 상기 클럭공급제어수단(110)에서 공급된 제1클럭신호(16KHZ)에 의해 출력단자(Q0-Q7)로 8비트의 병렬데이타로 변환출력하는 제1쉬프트레지스터(20)로 이루어진 제1직/병렬변환수단과, 상기 제1직병렬수단에서 출력된 병렬데이타를 입력하여 상기 클럭공급제어부(110)에서 반전된 제2클럭신호(TC)에 동기시켜 래치시키는 제1래치(30)와, 상기 제1래치(30)에서 래치 출력된 신호를 저장하는 버퍼(40)와, 상기 분주기(10)에서 출력된 제2클럭신호(TC)를 반전시켜 비교기(5)의 인에이블신호로 인가하는 인버터(I2)와, 상기 인버터(I2)에서 출력된 인에이블신호가 공급될시 상기 제1직/병렬변환수단에서 변환된 병렬 CPC데이타와 상기 제1래치(30)에서 래치된 데이타 비교하여 데이타의 동일여부 상태를 검출하는 비교기(50)와, 상기 비교기(50)에서 출력된 비교출력신호를 반전출력하는 인버터(I3)와, 상기 인버터(I3)에서 반전 출력된 비교출력신호를 상기 래치클럭생성부(100)에서 출력된 래치클럭신호에 의해 래치시키는 플립플롭(60)으로 이루어진 제2래치수단과, 상기 플립플롭(60)에서 래치된 신호를 입력하여 상기 분주기(10)에서 출력된 제2클럭신호(TC)에 의해 8비트의 병렬데이타로 변환하여 출력단자(Q4)로 유효데이타 검출신호를 출력하는 제2쉬프트레지스터(70)로 이루어진 제2직/병렬변환수단과, 상기 제2쉬프트레지스터(70)에서 출력된 유효데이타 검출신호를 반전시켜 벨리드 비트신호를 출력하는 인버터(I4)와, 상기 인버터(I4)에서 출력된 벨리드 비트신호를 입력하여 프로세서로부터 출력된 제2콘트롤신호에 의해 버퍼링 출력하는 3상태버퍼(B1)와, 플립플롭(80,90), 앤드게이트(AN5-AN6)로 구성되어 상기 인버터(I3)에서 반전 출력된 비교출력신호를 받아 상기 래치클럭생성부(100)에서 출력된 래치클럭신호에 의해 CPC데이타가 검출된 후 새로운 CPC데이타가 입력될때까지 상기 제2쉬프트레지스터(70)로 공급되는 상기 제2클럭신호(TC)를 홀드시키는 클럭홀드수단(120)와, 상기 제1래치(30)에서 래치된 신호를 입력받아 CPC데이타가 입력되지 않음을 검출하여 상기 제2쉬프트레지스터(70)의 리세트신호를 출력하는 익스크루시브 오아게이트(EX1)로 구성된다.3 is a CPC data detection circuit diagram according to the present invention, which divides a 32KHZ clock signal generated from a clock generator (not shown) and outputs a first clock signal 16KHZ and a second clock signal TC ( 10) and the inverter (I1) and the AND gate (AN2) invert the clock signal of 32KHZ and logically combines the first clock signal (16KHZ) output from the divider (10) to provide a latch clock signal. The first clock signal (16KHZ) and the second clock signal (TC), which are outputs of the divider 10, are composed of an output latch clock means 100, an AND gates AN1 and AN3, and a NAND gate NA1. And the clock supply control means 110 for controlling the supply of the latch clock signal output from the latch clock generation unit 100 by a beaded bit signal, and the serial CPC data to be input to the clock supply control means 110. ) converted into parallel data of 8 bits to the output terminals (Q 0 -Q 7) by a first clock signal (16KHZ) supplied by the output A second clock signal TC inverted by the clock supply control unit 110 by inputting the first serial / parallel conversion means comprising the first shift register 20 and the parallel data output from the first serial parallel means; Latches latched in synchronism with the first latch 30, a buffer 40 for storing signals latched by the first latch 30, and a second clock signal TC output from the divider 10. Inverter I2 for inverting and applying the enable signal of the comparator 5 and parallel CPC data converted by the first serial / parallel conversion means when the enable signal output from the inverter I2 is supplied. A comparator 50 for detecting whether the data is identical by comparing the data latched by the first latch 30, an inverter I3 for inverting and outputting a comparison output signal output from the comparator 50, and the inverter The latch output from the latch clock generation unit 100 outputs the comparison output signal inverted and output from (I3). A second latch means comprising a flip-flop 60 latched by a clock signal, and a second clock signal TC output from the divider 10 by inputting a signal latched by the flip-flop 60. A second serial / parallel conversion means comprising a second shift register 70 for converting 8-bit parallel data and outputting a valid data detection signal to an output terminal Q4, and outputted from the second shift register 70; Inverter I4 which inverts the valid data detection signal and outputs the bead bit signal, and tri-state which buffers and outputs the bead bit signal output from the inverter I4 by buffering the second control signal output from the processor. A latch composed of a buffer B1, flip-flops 80 and 90, and an AND gate AN5-AN6 and receiving a comparison output signal inverted from the inverter I3 and output from the latch clock generation unit 100. After CPC data is detected by the clock signal, The clock holding means 120 for holding the second clock signal TC supplied to the second shift register 70 until the CPC data is input, and the signal latched by the first latch 30 are received. Exclusive orifice EX1 for detecting that the CPC data is not input and outputting the reset signal of the second shift register 70.

제4도는 제3도의 각부 동작 파형도이다.4 is an operation waveform diagram of each part of FIG.

이하 본 발명의 일실시예의 동작을 첨부한 제1-제4도를 참조하여 상세히 설명한다.Hereinafter, an operation of an embodiment of the present invention will be described in detail with reference to FIGS. 1 to 4.

전원이 온되면 플립플롭(60)이 클리어되므로 상기 플립플롭(60)은 출력단자(Q)로 로우신호를 출력하게 되고 또한 전원은 신호는 앤드게이트(AN6)를 통해 플립플롭(90)의 세트단자(PRE)로 인가되어 상기 플립플롭(90)을 프리세트시켜 출력단(Q)으로 하이신호를 출력하게 한다. 상기 플립플롭(60)의 출력단자(Q)로 출력된 로우신호가 앤드게이트(AN4)를 통해 제2쉬프트레지스터(70)의 리세트단자(R)로 인가되면 상기 제2쉬프트레지스터(70)는 리세트되어 출력단자(Q4)로 로우신호를 출력하게 된다. 상기 제2쉬프트레지스터(70)에서 출력된 로우 신호는 인버터(I4)를 통해 반전되어 플립플롭(90)의 클리어단자(CL)와 앤드게이트(AN1,AN3) 및 낸드게이트(NA1)의 한단자로 각각 인가된다. 이때 도시하지 않은 클럭발생부로부터 발생된 제4도(4a)와 같은 32KHZ의 클럭신호는 분주기(10)에서 분주되어 서로 다른 제4도(4b)와 같은 제1클럭신호(16KHZ)와 제4도(4c)와 같은 제2클럭신호(TC)를 출력하게 된다. 상기 분주기(1)에서 출력된 제1클럭신호(16KHZ)는 앤드게이트(AN1)를 통해 제1쉬프트레지스터(20)의 클럭단자(CP)로 인가되고 상기 제2클럭신호(TC)는 낸드게이트(NA1)를 통해 제1래치(30)의 클럭단자(CP)로 인가된다. 또한 상기클럭발생부로부터 발생된 32KHZ의 클럭신호는 인버터(I1)를 통해 반전되어 앤드게이트(AN2)의 한단자로 인가된다. 이로인해 상기 앤드게이트(AN2)는 상기 분주기(10)에서 출력된 제2클럭신호(TC)와 논리합하여 출력한다. 상기 앤드게이트(AN2)에서 논리합 출력된 신호는 앤드게이트(AN3)를 통해 플립플롭(60)의 클럭단자(CP)로 인가된다. 이때 상기 프로세서로부터 제4도(4d)와 같은 CPC 데이타를 입력하는 제1쉬프트레지스터(20)는 상기 제1클럭신호(16KHZ)에 의해 쉬프트시켜 출력단자(Q0-Q7)로 8비트의 병렬데이타를 출력하게 된다. 상기 제1쉬프트레지스터(20)에서 출력된 병렬데이타를 입력하는 제1래치(30)는 상기 낸드게이트(NA1)를 통해 입력된 제2클럭신호(TC)에 의해 래치시키게 되는데 상기 낸드게이트(NA1)출력이 라이징 에지에서 래치된다. 상기 제1래치(30)의 출력단자(Q0-Q7)로 래치출력된 데이타는 버퍼(40)에 저장된다. 이때 상기 분주기(10)에서 출력된 제2클럭신호(TC)가 인버터(I2)를 통해 반전되어 제4도(4e)와 같은 신호가 비교기(50)의 인에이블단자(EN)로 인가되면 상기 비교기(50)는 인에이블되어 입력단자(A)로 입력된 상기 제1쉬프트레지스터(20)에서 쉬프트된 현재의 CPC 데이타와 입력단자(B)로 입력된 상기 제1래치(30)에서 래치출력된 이전상태의 CPC 데이타를 비교한다. 이때 상기 두 데이타가 동일하면 상기 비교기(50)는 제4도(4g)와 같은 "로우"신호를 출력하고, 상기 두 데이타가 다르면 제4도(4g)와 같은 "하이"신호를 출력하게 된다. 상기 두 데이타가 동일하여 상기 비교기(50)에서 출력된 로우신호는 인버터(I3)를 통해 반전되어 플립플롭(60)의 데이타단(D)으로 인가된다.Since the flip-flop 60 is cleared when the power is turned on, the flip-flop 60 outputs a low signal to the output terminal Q, and the power supply signal is set through the AND gate AN6. Is applied to the terminal PRE to preset the flip-flop 90 to output a high signal to the output terminal (Q). When the low signal output to the output terminal Q of the flip-flop 60 is applied to the reset terminal R of the second shift register 70 through an AND gate AN4, the second shift register 70 is applied. Is reset to output the low signal to the output terminal Q4. The low signal output from the second shift register 70 is inverted through the inverter I4 to be a terminal of the clear terminal CL, the AND gates AN1, AN3, and the NAND gate NA1 of the flip-flop 90. Each is applied. At this time, the 32KHZ clock signal generated from the clock generator not shown in FIG. 4A is divided by the divider 10 so that the first clock signal 16KHZ and the first clock signal shown in FIG. The second clock signal TC as shown in FIG. 4C is output. The first clock signal 16KHZ output from the divider 1 is applied to the clock terminal CP of the first shift register 20 through an AND gate AN1 and the second clock signal TC is NAND. It is applied to the clock terminal CP of the first latch 30 through the gate NA1. In addition, the clock signal of 32KHZ generated from the clock generator is inverted through the inverter I1 and applied to one terminal of the AND gate AN2. As a result, the AND gate AN2 is output in combination with the second clock signal TC output from the divider 10. The AND-output signal from the AND gate AN2 is applied to the clock terminal CP of the flip-flop 60 through the AND gate AN3. At this time, the first shift register 20 for inputting CPC data as shown in FIG. 4D from the processor is shifted by the first clock signal 16KHZ and outputs 8 bits of output terminals Q 0 -Q 7 . Output parallel data. The first latch 30 for inputting the parallel data output from the first shift register 20 is latched by the second clock signal TC input through the NAND gate NA1. The output is latched at the rising edge. Data latched to the output terminals Q 0 -Q 7 of the first latch 30 are stored in the buffer 40. In this case, when the second clock signal TC output from the divider 10 is inverted through the inverter I2 and a signal such as FIG. 4E is applied to the enable terminal EN of the comparator 50. The comparator 50 is enabled and latched at the first latch 30 inputted to the current CPC data inputted to the input terminal B and the current CPC data shifted from the first shift register 20 inputted to the input terminal A. Compare the output CPC data of the previous state. At this time, if the two data are the same, the comparator 50 outputs a "low" signal as shown in FIG. 4 (4g), and if the two data are different, it outputs a "high" signal as shown in FIG. 4 (4g). . Since the two data are the same, the low signal output from the comparator 50 is inverted through the inverter I3 and applied to the data terminal D of the flip-flop 60.

상기 인버터(I3)를 통해 반전된 하이신호를 입력하는 플립플롭(60)은 상기 앤드게이트(AN3)를 통해 출력된 제4도(4f)와 같은 클럭신호에 동기시켜 래치시키게 된다. 상기 플립플롭(60)에서 래치된 하이신호는 제2쉬프트레지스터(70)로 입력되어 상기 분주기(10)에서 출력된 제2클럭신호에 의해 병렬데이타로 변환출력되는데 상기 비교기(50)에서 입력되는 CPC 데이타를 5회 반복비교하여 계속해서 동일한 데이타일 경우에는 상기 비교기(50)의 출력이 로우상태이므로 상기 제2쉬프트레지스터(70)의 출력단(Q4)이 하이상태가 된다. 상기 제2쉬프트레지스터(70)의 출력단(Q4)으로 출력된 하이신호는 인버터(I4)를 통해 반전되어 앤드게이트(AN1, AN3)로 로우신호가 인가되므로 상기 제1쉬프트레지스터(20), 제1래치(30), 플립플롭(60)의 클럭공급을 차단하게 된다. 또한 상기 인버터(I4)를 통해 반전된 로우신호는 플립플롭(90)의 클리어단자(CL)로 인가되어 상기 플립플롭(90)을 클리어시키게 된다. 상기 플립플롭(90)이 클리어되면 출력단자(Q)로 로우신호를 출력하게되어 상기 제2쉬프트레지스터(70)로 공급되는 제2클럭신호를 차단하게 된다. 이때 프로세서는 일정주기로 제2제어신호를 발생하여 3상태버퍼(B1)를 인에이블시켜 상기 인버터(I4)에서 반전 출력된 벨리드비트(Valid bit)를 체크하게 된다. 따라서 상기 프로세서는 상기 벨리드비트가 로우상태일시 유효한 데이타로 판단하여 상기 버퍼(40)에 저장된 CPC 데이타를 읽어들이게 된다. 그리고 상기 프로세서는 상기 버퍼(40)로부터 CPC 데이타를 읽어들인 후 제1제어신호를 발생하여 상기 제2쉬프트레지스터(70)를 리세트시킨다. 상기와 같은 동작을 수행한 후 상기 비교기(50)로 입력되는 현재의 데이타와 이전상태의 데이타가 동일하게되면 상기 비교기(50)는 로우신호를 출력하게 된다. 상기 비교기(50)에서 출력된 로우신호는 인버터(I3)를 통해 반전되어 플립플롭(80)의 데이타단(D)으로 인가되므로 상기 플립플롭(80)은 상기 앤드게이트(AN3)를 통해 출력된 제4도(4f)와 같은 클럭신호에 의해 래치되어 출력단(Q)으로 하이신호를 출력하게된다. 상기 플립플롭(80)에서 출력된 하이신호는 앤드게이트(AN6)를 통해 플립플롭(90)의 세트단자(PRE)단자로 인가되므로 상기 플립플롭(90)은 출력단자(Q)로 로우신호를 출력하게되어 상기 제2쉬프트레지스터(70)의 클럭단(CP)으로 공급되는 제2클럭신호를 차단하게 된다. 상기 플립플롭(90)의 클럭단(CP)으로 공급되는 클럭신호가 차단되면 상기 제2쉬프트레지스터(70)의 동작이 중지된다. 상기 제2쉬프트레지스터(70)의 동작이 중지되면 상기 제2쉬프트레지스터(70)의 출력단(Q4)의 신호는 로우상태가 된다. 이로인해 상기 인버터(I4)를 통해 반전된 벨리드 비트신호는 하이상태가 되므로 프로세서는 상기 버퍼(40)에 저장된 CPC 데이타를 읽어들이지 않게된다. 그러나 상기 비교기(50)로 입력되는 CPC 데이타를 반복비교하는 동안에 새로운 데이타가 입력될 경우 상기 비교기(50)는 하이신호를 출력하게 된다. 상기 비교기(5)에서 출력된 하이신호는 인버터(I3)를 통해 반전되므로 로우신호가 되어 상기 플립플롭(80)의 데이타단(D)으로 인가된다. 이로인해 상기 플립플롭(80)은 출력단자(Q)로 로우신호를 출력하여 상기 플립플롭(90)을 프리세트시키게 되므로 상기 플립플롭(90)은 하이신호를 출력하게 된다. 상기 플립플롭(90)이 하이신호를 출력하게 되면 상기 분주기(10)에서 출력된 제2클럭신호가 상기 제2쉬프트레지스터(70)의 클럭단(CP)으로 공급된다. 이와 같은 상태에서 상기 비교기(50)에서 입력된 현재의 데이타와 이전상태의 데이타를 5회 반복비교하여 동일한 데이타가 검출되면 전술한 동작과 같이 벨리드비트가 로우상태가 되므로 프로세서는 제2콘트롤신호를 발생하여 3상태버퍼(B1)를 인에이블시켜 상기 버퍼(40)에 저장된 새로운 CPC 데이타를 검출하게 된다.The flip-flop 60 inputting the inverted high signal through the inverter I3 is latched in synchronization with a clock signal such as the fourth diagram 4f output through the AND gate AN3. The high signal latched by the flip-flop 60 is input to the second shift register 70 and converted into parallel data by the second clock signal output from the divider 10. When the CPC data is repeatedly compared five times and the same data continues, the output of the comparator 50 is in a low state, so the output terminal Q4 of the second shift register 70 is in a high state. Since the high signal outputted to the output terminal Q4 of the second shift register 70 is inverted through the inverter I4 and a low signal is applied to the AND gates AN1 and AN3, the first shift register 20 and the first signal are output. The clock supply of the first latch 30 and the flip-flop 60 is cut off. In addition, the low signal inverted through the inverter I4 is applied to the clear terminal CL of the flip-flop 90 to clear the flip-flop 90. When the flip-flop 90 is cleared, the low signal is output to the output terminal Q to block the second clock signal supplied to the second shift register 70. At this time, the processor generates a second control signal at a predetermined period to enable the three-state buffer B1 and checks the bead bit inverted and output from the inverter I4. Accordingly, the processor reads the CPC data stored in the buffer 40 by determining that the bead bit is valid data when the bead bit is low. The processor resets the second shift register 70 by reading the CPC data from the buffer 40 and generating a first control signal. After performing the above operation, if the current data inputted to the comparator 50 and the data of the previous state are the same, the comparator 50 outputs a low signal. Since the low signal output from the comparator 50 is inverted through the inverter I3 and applied to the data terminal D of the flip-flop 80, the flip-flop 80 is output through the AND gate AN3. The high signal is output to the output terminal Q by being latched by the clock signal as shown in FIG. Since the high signal output from the flip-flop 80 is applied to the set terminal PRE of the flip-flop 90 through the AND gate AN6, the flip-flop 90 receives the low signal to the output terminal Q. The output block cuts the second clock signal supplied to the clock terminal CP of the second shift register 70. When the clock signal supplied to the clock terminal CP of the flip-flop 90 is blocked, the operation of the second shift register 70 is stopped. When the operation of the second shift register 70 is stopped, the signal of the output terminal Q4 of the second shift register 70 goes low. As a result, the bead bit signal inverted through the inverter I4 becomes high, so that the processor does not read CPC data stored in the buffer 40. However, when new data is input while iteratively comparing the CPC data input to the comparator 50, the comparator 50 outputs a high signal. The high signal output from the comparator 5 is inverted through the inverter I3 and thus becomes a low signal and applied to the data terminal D of the flip-flop 80. As a result, the flip-flop 80 outputs a low signal to the output terminal Q to preset the flip-flop 90, so that the flip-flop 90 outputs a high signal. When the flip-flop 90 outputs a high signal, the second clock signal output from the divider 10 is supplied to the clock terminal CP of the second shift register 70. In this state, if the same data is detected by repeatedly comparing the current data input from the comparator 50 with the data of the previous state five times, since the bead bit goes low as described above, the processor generates a second control signal. Is generated to enable the tri-state buffer B1 to detect new CPC data stored in the buffer 40.

그리고 CPC 데이타 검출시 사용하지 않는 00 또는 FF가 입력되면 익스크루시브 오아게이트(EX1)의 출력이 로우신호가 된다. 상기 익스크루시브 오아게이트(EX1)의 로우신호는 앤드게이트(AN4)를 통해 상기 제2쉬프트레지스터(70)의 리세트단자(R)로 인가되어 상기 제2쉬프트레지스터(70)를 리세트시켜 CPC 데이타 검출을 방지한다.When 00 or FF, which is not used for CPC data detection, is input, the output of the exclusive oracle EX1 becomes a low signal. The low signal of the exclusive oragate EX1 is applied to the reset terminal R of the second shift register 70 through an AND gate AN4 to reset the second shift register 70. Prevent CPC data detection.

상술한 바와 같이 유선통신 시스템에서 CPC 데이타가 일정횟수이상 검출되면 유효한 데이타로 판단하여 상기 CPC 데이타를 읽어들인 후 다시 동일한 CPC 데이타가 검출되면 상기 CPC 데이타를 읽어들이지 않도록 하며 CPC 데이타의 중복검출을 방지하므로 프로세서의 로드를 줄일 수 있는 이점이 있다.As described above, if the CPC data is detected more than a certain number of times in the wired communication system, it is determined that the data is valid. This has the advantage of reducing the load on the processor.

Claims (2)

유선통신 시스템의 CPC 데이타 검출회로에 있어서, 시스템클럭신호를 분주하여 제1클럭신호와 제2클럭신호(TC)를 출력하는 분주수단과와, 상기 시스템클럭신호를 반전시켜 상기 분주기(10)에서 출력된 제1클럭신호와 논리조합하여 래치클럭신호를 출력하는 래치클럭생성수단과, 상기 분주수단의 출력인 제1클럭신호 및 제2클럭신호(TC)와 상기 래치클럭생성수단에서 출력된 래치클럭신호를 벨리드비트신호에 의해 공급을 제어하는 클럭공급제어수단과, 직렬 CPC 데이타를 입력하여 상기 클럭공급제어수단에서 공급된 제1클럭신호에 의해 출력단자(Q0-Q7)로 8비트의 병렬데이타로 변환출력하는 제1직/병렬변환수단, 상기 제1직/병렬변환수단에서 출력된 병렬데이타를 입력하여 상기 클럭공급제어수단에서 반전된 제2클럭신호(TC)에 동기시켜 래치시키는 제1래치수단과, 상기 제1래치수단에서 래치출력된 신호를 저장하는 버퍼수단, 상기 제1직/병렬변환수단에서 변환된 병렬 CPC 데이타와 상기 래치수단에서 래치된 데이타를 비교하여 데이타의 동일여부 상태를 검출하는 비교수단과, 상기 비교수단에서 출력된 데이타 비교검출신호를 반전시킨 후 상기 래치클럭생성수단에서 출력된 래치클럭신호에 의해 래치시키는 제2래치수단과, 상기 제2래치수단에서 래치된 신호를 입력하여 상기 분주수단에서 출력된 제2클럭신호(TC)에 의해 8비트의 병렬데이타로 변환하여 벨리드비트신호를 출력하는 벨리드비트신호생성수단과, 상기 벨리드비트신호생성수단에서 출력된 벨리드비트신호를 입력하여 프로세서로부터 출력된 제2콘트롤신호에 의해 버퍼링 출력하는 3상태버퍼와, 상기 비교수단에서 출력된 데이타 비교검출신호를 받아 상기 래치클럭생성수단에서 출력된 래치클럭신호에 의해 CPC 데이타의 중복검출을 방지하기 위해 상기 제2직/병렬수단으로 공급되는 상기 제2클럭신호(TC)를 홀드시키는 클럭홀드수단으로 구성함을 특징으로 하는 회로.In the CPC data detection circuit of a wired communication system, a divider means for dividing a system clock signal to output a first clock signal and a second clock signal TC, and inverting the system clock signal to divide the system clock signal. A latch clock generating means for logically combining the first clock signal outputted from the first clock signal and outputting the latch clock signal, the first clock signal and the second clock signal TC which are outputs of the division means, and the latch clock generating means outputted from the latch clock generating means. Clock supply control means for controlling the supply of the latch clock signal by the beaded bit signal, and inputting serial CPC data to the output terminals Q 0 -Q 7 by the first clock signal supplied from the clock supply control means. A first serial / parallel conversion means for converting and outputting 8-bit parallel data and parallel data output from the first serial / parallel conversion means to synchronize with the second clock signal TC inverted by the clock supply control means; Latching 1 latch means, buffer means for storing the signal output from the first latch means, parallel CPC data converted by the first serial / parallel conversion means and data latched by the latch means are compared or not. Comparison means for detecting a state, second latch means for inverting the data comparison detection signal output from the comparison means, and latching it by the latch clock signal output from the latch clock generation means, and latching in the second latch means. A beaded bit signal generating means for converting an 8-bit parallel data into a parallel bit data by the second clock signal TC outputted from the dividing means and outputting a beaded bit signal, and the beaded bit signal generating means A three-state buffer for inputting the beaded bit signal outputted from the buffered output by the second control signal outputted from the processor, and the data ratio A clock holding means for receiving the detection signal and holding the second clock signal TC supplied to the second serial / parallel means in order to prevent duplicate detection of CPC data by the latch clock signal output from the latch clock generating means; Circuit characterized in that the configuration. 제1항에 있어서, 상기 제1래치수단에서 래치된 신호를 입력받아 CPC 데이타 검출시 사용하지 않는 CPC코드를 검출하여 상기 제2직/병렬수단의 리세트신호를 발생하는 익스크루시브 오아게이트(EX1)를 더 구비함을 특징으로 하는 회로.2. The exclusive oragate of claim 1, further comprising: receiving an latched signal from the first latching means, detecting an unused CPC code to generate a reset signal of the second serial / parallel means; And EX1).
KR1019920019187A 1992-10-19 1992-10-19 Cyclic permutable cordward data detection circuit KR940008663B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019920019187A KR940008663B1 (en) 1992-10-19 1992-10-19 Cyclic permutable cordward data detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019920019187A KR940008663B1 (en) 1992-10-19 1992-10-19 Cyclic permutable cordward data detection circuit

Publications (2)

Publication Number Publication Date
KR940010525A KR940010525A (en) 1994-05-26
KR940008663B1 true KR940008663B1 (en) 1994-09-24

Family

ID=19341374

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019920019187A KR940008663B1 (en) 1992-10-19 1992-10-19 Cyclic permutable cordward data detection circuit

Country Status (1)

Country Link
KR (1) KR940008663B1 (en)

Also Published As

Publication number Publication date
KR940010525A (en) 1994-05-26

Similar Documents

Publication Publication Date Title
US6107841A (en) Synchronous clock switching circuit for multiple asynchronous clock source
KR100230120B1 (en) Synchronous semiconductor memory
JP2000013195A (en) Low power consumption circuit and integrated circuit containing the same
US4999807A (en) Data input circuit having latch circuit
KR940008663B1 (en) Cyclic permutable cordward data detection circuit
JPH05216558A (en) Timer circuit
US6526094B1 (en) PWM Circuit
US6205192B1 (en) Clock input control circuit
JPH10163820A (en) Semiconductor device
KR100305027B1 (en) Retarder
KR910010229B1 (en) Picture data circuit for fax
KR930005187B1 (en) Field detecting circuit
KR0141711B1 (en) Raising / lowing edge detection device
KR950002296B1 (en) Pwm signal apparatus of motor controll system
KR910006325Y1 (en) Clock - cycle selection circuits for dynamic processor
KR910005825B1 (en) Picture data magnification circuit for fax
KR20030001844A (en) Self refresh control circuit for immune from noise
JP3248698B2 (en) PWM signal generator
KR200185719Y1 (en) Peak value detection circuit for digital oscilloscope
KR0183798B1 (en) Carrier generator of remocon
JP2002300035A (en) Analog/digital interface circuit
KR100223749B1 (en) Register with enable siganl
KR930007593Y1 (en) Control signal oscillating circuit for data input & output between apparatus
KR920000412B1 (en) Frequency discrimination circuit
KR890003481B1 (en) Programable clock conversion circuits

Legal Events

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

Payment date: 20050905

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee