KR19990070644A - Error correction device and method - Google Patents

Error correction device and method Download PDF

Info

Publication number
KR19990070644A
KR19990070644A KR1019980005609A KR19980005609A KR19990070644A KR 19990070644 A KR19990070644 A KR 19990070644A KR 1019980005609 A KR1019980005609 A KR 1019980005609A KR 19980005609 A KR19980005609 A KR 19980005609A KR 19990070644 A KR19990070644 A KR 19990070644A
Authority
KR
South Korea
Prior art keywords
error
data
syndrome
memory
error correction
Prior art date
Application number
KR1019980005609A
Other languages
Korean (ko)
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 KR1019980005609A priority Critical patent/KR19990070644A/en
Publication of KR19990070644A publication Critical patent/KR19990070644A/en

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

에러 정정 장치 및 방법이 개시된다. 이 장치는, 에러 데이타 및 에러 정정된 데이타를 저장하는 메모리와, 메모리에 저장된 에러 데이타의 상위 바이트로부터 제1 및 제2 신드롬들을 계산하여 출력하는 제1 신드롬 계산부와, 메모리에 저장된 에러 데이타의 하위 바이트로부터 제3 및 제4 신드롬들을 계산하여 출력하는 제2 신드롬 계산부와, 제1 신드롬 계산부의 출력과 제2 신드롬 계산부의 출력들중 하나를 제1 및 제2 선택 신호에 응답하여 선택적으로 출력하는 신드롬 선택 수단과, 신드롬 선택 수단에서 선택된 신드롬들로부터 에러 데이타의 에러를 정정하여 출력하는 에러 정정 처리부 및 제1 및 제2 선택 신호에 응답하여, 에러 정정 처리부의 출력과 메모리에 저장된 에러 데이타를 논리 연산하고, 논리 연산한 결과를 에러 정정된 데이타로서 메모리로 출력하는 논리 연산 수단을 구비하는 것을 특징으로 한다.An error correction apparatus and method are disclosed. The apparatus includes a memory for storing error data and error corrected data, a first syndrome calculation unit for calculating and outputting first and second syndromes from an upper byte of the error data stored in the memory, and an error data stored in the memory. A second syndrome calculation unit that calculates and outputs the third and fourth syndromes from the lower byte, and one of the outputs of the first syndrome calculation unit and the outputs of the second syndrome calculation unit in response to the first and second selection signals An output unit of the error correction processor and an error correction processor for correcting the error data of the error data from the syndromes selected by the syndrome selector, and outputting the error correction processor in response to the first and second selection signals; And logical operation means for outputting the result of the logical operation to the memory as error corrected data. Characterized in that.

Description

에러 정정 장치 및 방법Error correction device and method

본 발명은 컴팩트 디스크(CD:Compact Disk)-롬(ROM:Read Only Memory) 시스템에 관한 것으로서, 특히, CD-ROM 시스템으로부터의 데이타에 포함된 에러를 정정하는 에러 정정 장치 및 방법에 관한 것이다.The present invention relates to a Compact Disk (CD) -Read Only Memory (ROM) system, and more particularly, to an error correction apparatus and a method for correcting errors contained in data from a CD-ROM system.

저장 미디어(media)를 이용하는 CD-ROM 시스템에서, 저장된 데이타를 복원 및 전송시에 미디어 자체의 결함(defect)이나 전송중의 잡음에 의해 소스(source) 데이타의 유실이 발생할 수 있다. 이를 위해, CD-ROM 시스템에서는 적절한 에러 정정부를 채용하여 어느 정도의 에러를 자체적으로 보정할 수 있도록 한다.In a CD-ROM system using a storage media, loss of source data may occur due to a defect in the media itself or noise during transmission when restoring and transmitting the stored data. To this end, the CD-ROM system employs an appropriate error correction unit to correct a certain amount of errors by itself.

근래에 CD-ROM의 데이타 처리 속도가 점차 증가하고, 업체간 배속 경쟁이 날로 치열해지고 있음에 따라, ECC에 소요되는 시간이 배속 경쟁에 있어서 매우 중요한 사항으로 대두되고 있다.Recently, as data processing speed of CD-ROM is gradually increasing and speeding competition among companies is getting fiercer, the time required for ECC is becoming very important in speeding competition.

이하, 종래의 에러 정정 장치의 구성 및 동작을 첨부한 도면들을 참조하여 다음과 같이 설명한다.Hereinafter, a configuration and operation of a conventional error correction apparatus will be described as follows with reference to the accompanying drawings.

도 1은 종래의 에러 정정 장치의 블럭도로서, 8비트 메모리(10), 에러 코드 정정(ECC:Error Code Correction) 엔진(20)을 구성하는 신드롬 발생부(22), 버퍼 인터페이스(24) 및 ECC 처리부(26)로 구성된다.FIG. 1 is a block diagram of a conventional error correction apparatus, which includes an 8-bit memory 10, a syndrome generator 22, a buffer interface 24, and an error code correction (ECC) engine 20. It consists of the ECC processing part 26.

도 1에 도시된 에러 정정 장치의 8비트 메모리(10)는 CD-ROM 시스템의 디지탈 신호 처리부(미도시)로부터 출력되는 데이타를 입력하여 저장하고, ECC 엔진(20)은 8비트 메모리(10)에 저장된 데이타를 독출하여 ECC하고, 에러 정정된 데이타를 8 비트 메모리(10)로 다시 출력한다. 이와 같이, 도 1에 도시된 종래의 에러 정정 장치는 파이프 라인 형태로 데이타의 에러를 정정하였다.The 8-bit memory 10 of the error correction apparatus shown in FIG. 1 receives and stores data output from a digital signal processor (not shown) of the CD-ROM system, and the ECC engine 20 uses the 8-bit memory 10. The data stored in the data is read out, ECCed, and error corrected data is output back to the 8-bit memory 10. As described above, the conventional error correction apparatus shown in FIG. 1 corrects an error of data in a pipeline form.

도 2는 도 1에 도시된 장치에서 수행되는 에러 정정에 소요되는 시간을 설명하기 위한 도면이다.FIG. 2 is a diagram for describing a time required for error correction performed in the apparatus shown in FIG. 1.

그러나, 전술한 도 1에 도시된 종래의 에러 정정 장치는 도 2에 도시된 시간(T)동안 8비트의 데이타를 메모리(10)로부터 입력하고(Data In), 시간(t1 또는 t2)동안 입력한 데이타의 에러를 정정(corr)하므로, ECC 처리에 소요되는 시간보다 8비트 메모리(10)에서 데이타를 받고, 에러 정정된 데이타를 8비트 메모리(10)에 다시 기입하는 시간이 더 소요되는 문제점이 있다.However, the conventional error correction apparatus shown in FIG. 1 described above inputs 8 bits of data from the memory 10 during the time T shown in FIG. 2 (Data In), and inputs it for the time t1 or t2. Since it corrects an error of one data, it takes more time to receive data from the 8-bit memory 10 and write the error-corrected data back to the 8-bit memory 10 than the time required for ECC processing. There is this.

본 발명이 이루고자 하는 기술적 과제는, 고속으로 에러를 정정하여 데이타 처리 속도를 개선시킬 수 있는 에러 정정 장치를 제공하는 데 있다.An object of the present invention is to provide an error correction apparatus that can correct an error at high speed and improve a data processing speed.

본 발명이 이루고자 하는 다른 기술적 과제는, 고속으로 에러를 정정하여 데이타 처리 속도를 개선시킬 수 있는 에러 정정 방법을 제공하는 데 있다.Another object of the present invention is to provide an error correction method capable of improving data processing speed by correcting errors at high speed.

도 1은 종래의 에러 정정 장치의 블럭도이다.1 is a block diagram of a conventional error correction apparatus.

도 2는 도 1에 도시된 장치에서 수행되는 에러 정정에 소요되는 시간을 설명하기 위한 도면이다.FIG. 2 is a diagram for describing a time required for error correction performed in the apparatus shown in FIG. 1.

도 3은 본 발명에 의한 에러 정정 장치의 블럭도이다.3 is a block diagram of an error correction apparatus according to the present invention.

도 4a 및 4b들은 CD-ROM 시스템에서의 메모리 운영을 설명하기 위한 도면이다.4A and 4B are diagrams for describing memory operation in a CD-ROM system.

도 5는 도 3에 도시된 신드롬 선택부의 본 발명에 의한 바람직한 일실시예의 회로도이다.FIG. 5 is a circuit diagram of a preferred embodiment according to the present invention of the syndrome selecting unit shown in FIG. 3.

도 6은 도 3에 도시된 논리 연산부의 본 발명에 의한 바람직한 일실시에의 회로도이다.FIG. 6 is a circuit diagram of one preferred embodiment of the present invention according to the present invention.

도 7은 도 3에 도시된 에러 정정 장치에서 에러 정정을 수행하는 시간을 설명하기 위한 도면이다.FIG. 7 is a diagram for describing a time for performing error correction in the error correction apparatus shown in FIG. 3.

상기 과제를 이루기 위해, CD-ROM 시스템으로부터 재생되며 에러를 갖는 에러 데이타의 상기 에러를 정정하는 본 발명에 의한 에러 정정 장치는, 상기 에러 데이타 및 에러 정정된 데이타를 저장하는 메모리와, 상기 메모리에 저장된 상기 에러 데이타의 상위 바이트로부터 제1 및 제2 신드롬들을 계산하여 출력하는 제1 신드롬 계산부와, 상기 메모리에 저장된 상기 에러 데이타의 하위 바이트로부터 제3 및 제4 신드롬들을 계산하여 출력하는 제2 신드롬 계산부와, 상기 제1 신드롬 계산부의 출력과 제2 신드롬 계산부의 출력들중 하나를 제1 및 제2 선택 신호에 응답하여 선택적으로 출력하는 신드롬 선택 수단과, 상기 신드롬 선택 수단에서 선택된 신드롬들로부터 상기 에러 데이타의 에러를 정정하여 출력하는 에러 정정 처리부 및 상기 제1 및 상기 제2 선택 신호에 응답하여, 상기 에러 정정 처리부의 출력과 상기 메모리에 저장된 상기 에러 데이타를 논리 연산하고, 논리 연산한 결과를 상기 에러 정정된 데이타로서 상기 메모리로 출력하는 논리 연산 수단으로 구성되는 것이 바람직하다.In order to achieve the above object, an error correction apparatus according to the present invention for correcting the error of error data reproduced from a CD-ROM system and having an error includes: a memory for storing the error data and the error corrected data; A first syndrome calculator configured to calculate and output first and second syndromes from the upper byte of the stored error data, and a second to calculate and output third and fourth syndromes from the lower byte of the error data stored in the memory; Syndrome selection means for selectively outputting one of a syndrome calculation section, outputs of the first syndrome calculation section and outputs of the second syndrome calculation section in response to first and second selection signals, and syndromes selected by the syndrome selection means; An error correction processor for correcting and outputting the error of the error data from the first and second lines In response to the tack signal, it is preferable that the logic correction means is configured to output the error correction processor and the error data stored in the memory, and output the result of the logical operation as the error corrected data to the memory. .

상기 다른 과제를 이루기 위해, CD-ROM 시스템으로부터 재생되며 에러를 갖는 에러 데이타와 에러 정정된 데이타를 저장하는 메모리 및 상기 에러를 정정하여 상기 에러 정정된 데이타로서 출력하는 에러 정정 장치에서 수행되는 본 발명에 의한 에러 정정 방법은, 상기 메모리로부터의 상기 에러 데이타를 상위 바이트와 하위 바이트로 구분하여 상기 에러를 정정하는 단계 및 에러가 정정된 상기 상위 바이트 및 상기 하위 바이트와 상기 에러 데이타의 상위 바이트 및 하위 바이트를 각각 합성하여 상기 에러 정정된 데이타를 구하는 단계로 이루어지는 것이 바람직하다.In order to achieve the above another object, the present invention is performed in a memory for storing error data and error corrected data reproduced from a CD-ROM system and an error correction device for correcting the error and outputting the error corrected data. The error correction method may further include correcting the error by dividing the error data from the memory into an upper byte and a lower byte, and the upper byte and the lower byte and the upper byte and the lower byte of the error data corrected. It is preferable that each of the bytes is synthesized to obtain the error corrected data.

이하, 본 발명에 의한 에러 정정 장치의 구성 및 동작을 첨부한 도면들을 참조하여 다음과 같이 설명한다.Hereinafter, the configuration and operation of an error correction apparatus according to the present invention will be described with reference to the accompanying drawings.

도 3은 본 발명에 의한 에러 정정 장치의 블럭도로서, 메모리(40), ECC 엔진(52)을 구성하는 제1 및 제2 신드롬 계산부들(42 및 44), 논리 연산부(46), 신드롬 선택부(48) 및 에러 정정 처리부(50)로 구성된다.3 is a block diagram of an error correction apparatus according to the present invention, wherein the memory 40, the first and second syndrome calculation units 42 and 44, the logic operation unit 46, and the syndrome selection constituting the ECC engine 52 are selected. It consists of a unit 48 and an error correction processing unit 50.

도 4a 및 4b들은 CD-ROM 시스템에서의 메모리 운영을 설명하기 위한 도면으로서, 도 4a는 P 코드워드 데이타를 나타내고, 도 4b는 Q 코드워드 데이타를 각각 나타낸다.4A and 4B are diagrams for explaining memory operations in a CD-ROM system, in which FIG. 4A shows P codeword data and FIG. 4B shows Q codeword data, respectively.

도 3에 도시된 에러 정정 엔진(52)은 CD-ROM 시스템(미도시)과 호스트 컴퓨터(미도시) 사이에 마련되며, CD-ROM 시스템과 호스트 컴퓨터간의 데이타 전송을 인테페이싱하는 데이타 인터페이스(미도시)내에 마련될 수 있다. 이 때, 메모리(40)는 데이타 인터페이스(미도시) 외부에 마련된다.The error correction engine 52 shown in FIG. 3 is provided between a CD-ROM system (not shown) and a host computer (not shown), and a data interface (not shown) for interfacing data transfer between the CD-ROM system and the host computer. Can be provided within At this time, the memory 40 is provided outside the data interface (not shown).

도 3에 도시된 메모리(40)가 16비트 다이나믹 랜덤 엑세스 메모리(DRAM:Dynamic Random Access Memory)의 경우, 본 발명에 의한 에러 정정 장치는 2개의 코드 워드를 같은 시간 동안에 얻을 수 있다. 즉, 도 4a 및 도 4b에 각각 도시된 P 코드 워드 데이타와 Q 코드 워드 데이타는 메모리(40)에서 연속된 어드레스 위치에 존재하는 데이타로 구성되지 않고, 일정한 간격을 갖는 데이타로 구성된다. 그러므로, 16비트 버스를 갖는 메모리(40)에서 한번에 독출되는 16 비트 데이타는 상위 8비트와 하위 8비트가 다른 코드 워드에 속해 있는 별개의 데이타라는 의미가 된다. 따라서, 도 1에 도시된 8 비트 메모리(10)를 사용하여 하나의 코드 워드를 독출하기 위해 26번을 메모리 엑세스하는 반면, 도 3에 도시된 16비트 메모리(40)를 사용하면 2개의 코드 워드를 같은 시간 동안에 얻을 수 있다.In the case where the memory 40 shown in Fig. 3 is a 16-bit dynamic random access memory (DRAM), the error correction apparatus according to the present invention can obtain two code words at the same time. That is, the P code word data and the Q code word data shown in Figs. 4A and 4B, respectively, are not composed of data existing at consecutive address positions in the memory 40, but are composed of data having a constant interval. Therefore, the 16-bit data read out at one time from the memory 40 having the 16-bit bus means that the upper 8 and lower 8 bits are separate data belonging to different code words. Thus, while accessing memory 26 times to read one code word using the 8-bit memory 10 shown in FIG. 1, using the 16-bit memory 40 shown in FIG. 3 results in two code words. Can be obtained during the same time.

이를 위한, 도 3에 도시된 에러 정정 장치의 세부적인 동작을 살펴보면, 메모리(40)는 CD-ROM 시스템으로부터 재생되며 에러를 갖는 에러 데이타와 에러 정정 처리부(50)에서 에러 정정되어 논리 연산부(46)를 통해 출력되는 에러 정정된 데이타를 저장한다. 제1 신드롬 계산부(42)는 메모리(40)로부터 독출되는 16비트의 에러 데이타의 상위 8비트로부터 제1 및 제2 신드롬들(SOH 및 S1H)을 계산하고, 제2 신드롬 계산부(44)는 메모리(40)로부터 독출되는 16비트의 에러 데이타의 하위 8비트로부터 제3 및 제4 신드롬들(SOL 및 S1L)을 계산하여 신드롬 선택부(48)로 출력한다. 여기서, 제1 및 제2 신드롬들(42 및 44)은 일반적으로 널리 알려진 신드롬 계산 방법을 사용하므로 그 설명을 생략한다.For this purpose, the detailed operation of the error correction apparatus shown in FIG. 3 will be described. The memory 40 is reproduced from the CD-ROM system and has error-corrected error data in the error correction processing unit 50 and the logic operation unit 46. Save the error corrected data that is output through). The first syndrome calculator 42 calculates the first and second syndromes SOH and S1H from the upper 8 bits of the 16-bit error data read from the memory 40, and the second syndrome calculator 44. Calculates the third and fourth syndromes SOL and S1L from the lower 8 bits of the 16-bit error data read from the memory 40 and outputs the third and fourth syndromes SOL and S1L to the syndrome selector 48. Here, since the first and second syndromes 42 and 44 use a widely known syndrome calculation method, description thereof is omitted.

한편, 제1 신드롬 선택부(48)는 제1 및 제2 신드롬 계산부들(42 및 44)로부터 출력되는 제1, 제2, 제3 및 제4 신드롬들(SOH, S1H, SOL 및 S1L)을 외부로부터 입력되는 제1 및 제2 선택 신호들(SEH 및 SEL)에 응답하여 선택하고, 선택된 신드롬들(SO 및 S1)을 에러 정정 처리부(50)로 출력한다. 즉, 신드롬 선택부(48)는 제1 선택 신호(SEH)가 "고" 논리 레벨로 액티브되고 제2 선택 신호(SEL)가 디스에이블 되면, 제1 신드롬 계산부(42)에서 출력되는 제1 신드롬 및 제2 신드롬(SOH 또는 S1H)을 선택하여 에러 정정 처리부(50)로 출력한다. 그러나, 신드롬 선택부(48)는 제1 선택 신호(SEH)가 디스에이블되고 제2 선택 신호(SEL)가 "고" 논리 레벨로 액티브되면, 제2 신드롬 계산부들(44)에서 출력되는 제3 신드롬 및 제4 신드롬(SOL 또는 S1L)을 에러 정정 처리부(50)로 출력한다.Meanwhile, the first syndrome selecting unit 48 selects the first, second, third, and fourth syndromes SOH, S1H, SOL, and S1L output from the first and second syndrome calculation units 42 and 44. Selected in response to the first and second selection signals SEH and SEL input from the outside, and outputs the selected syndromes SO and S1 to the error correction processor 50. That is, the syndrome selecting unit 48 may output the first syndrome output unit 42 when the first selection signal SEH is activated at a "high" logic level and the second selection signal SEL is disabled. The syndrome and the second syndrome (SOH or S1H) are selected and output to the error correction processor 50. However, the syndrome selector 48 may output a third output from the second syndrome calculator 44 when the first select signal SEH is disabled and the second select signal SEL is activated at a high logic level. The syndrome and the fourth syndrome SOL or S1L are output to the error correction processor 50.

도 5는 도 3에 도시된 신드롬 선택부(48)의 본 발명에 의한 바람직한 일실시예의 회로도로서, 제1, 제2, 제3 및 제4 전송 게이트들(70, 72, 74 및 76)으로 구성된다.FIG. 5 is a circuit diagram of a preferred embodiment of the syndrome selector 48 shown in FIG. 3 according to the present invention, with first, second, third and fourth transfer gates 70, 72, 74 and 76. FIG. It is composed.

도 5에 도시된 신드롬 선택부의 제1 전송 게이트(70)는 제1 신드롬 계산부(42)로부터 입력한 제1 신드롬(SOH)을 제1 선택 신호(SEH)에 응답하여 에러 정정 처리부(50)로 전송하고, 제2 전송 게이트(72)는 제1 선택 신호(SEH)에 응답하여 제2 신드롬(S1H)을 에러 정정 처리부(50)로 전송한다. 마찬가지의 원리로, 제3 전송 게이트(74)는 제2 선택 신호(SEL)에 응답하여 제3 신드롬(SOL)을 에러 정정 처리부(50)로 전송하고, 제4 전송 게이트(76)는 제2 선택 신호(SEL)에 응답하여 제4 신드롬(S1L)을 에러 정정 처리부(50)로 전송한다.The first transfer gate 70 of the syndrome selector illustrated in FIG. 5 receives the first syndrome SOH input from the first syndrome calculator 42 in response to the first selection signal SEH to correct the error. The second transmission gate 72 transmits the second syndrome S1H to the error correction processor 50 in response to the first selection signal SEH. In the same principle, the third transmission gate 74 transmits the third syndrome SOL to the error correction processing unit 50 in response to the second selection signal SEL, and the fourth transmission gate 76 transmits the second transmission signal. The fourth syndrome S1L is transmitted to the error correction processor 50 in response to the selection signal SEL.

한편, 도 3에 도시된 에러 정정 처리부(50)는 신드롬 선택부(48)에서 선택된 신드롬들(SO 및 S1)로부터 에러 데이타의 에러를 정정하여 출력한다. 이 때, 에러 정정 처리부(50)는 일반적으로 ECC를 위해 사용되는 ECC 처리 코어(core)로서 그 설명을 생략한다.Meanwhile, the error correction processing unit 50 shown in FIG. 3 corrects and outputs an error of error data from the syndromes SO and S1 selected by the syndrome selecting unit 48. At this time, the error correction processing unit 50 is an ECC processing core generally used for ECC, and the description thereof is omitted.

한편, 논리 연산부(46)는 외부로부터 입력되는 제1 및 제2 선택 신호들(SEH 및 SEL)에 응답하여, 에러 정정 처리부(50)에서 출력되는 8비트의 데이타(OUT1)와 메모리(40)로부터 독출되는 16비트의 에러 데이타를 논리 연산하고, 논리 연산한 결과를 에러 정정된 16비트의 데이타로서 메모리(40)로 출력한다. 즉, 논리 연산부(46)는 현재 에러 정정되어 에러 정정 처리부(50)로부터 출력되는 8비트의 데이타가 상위 바이트로 이루어진 코드 워드에 대한 결과인가 아니면 하위 바이트로 이루어진 코드 워드에 대한 것인가를 판단하여, 상위 바이트에 대한 에러 검출값이면 16비트의 에러 데이타중 하위 바이트를 '0'으로 만들어주어 다음 수학식 1과 같은 결과값을 출력한다.On the other hand, the logic calculating section 46, in response to the first and second selection signals SEH and SEL input from the outside, the 8-bit data OUT1 and the memory 40 output from the error correction processing section 50. The 16-bit error data read out from the data is logically operated, and the result of the logical operation is output to the memory 40 as 16-bit data with error correction. That is, the logic operation unit 46 determines whether the 8-bit data currently being error corrected and output from the error correction processing unit 50 is a result of a code word consisting of an upper byte or a code word consisting of a lower byte. If it is an error detection value for the upper byte, the lower byte of the 16-bit error data is made as '0' and the result value shown in Equation 1 is output.

여기서, C는 메모리(40)로부터 논리 연산부(46)로 입력되는 16비트의 에러 데이타를 나타내고, A는 에러 정정 처리부(50)로부터 논리 연산부(46)로 입력되는 8비트의 데이타를 나타내고, B는 그 값이 0인 1 바이트를 나타내고, AC는 논리 연산부(46)로부터 출력되는 상위 바이트를 나타내고, BC는 논리 연산부(46)로부터 출력되는 하위 바이트를 각각 나타낸다.Here, C represents 16 bits of error data input from the memory 40 to the logic calculating section 46, A represents 8 bits of data input from the error correction processing section 50 to the logic calculating section 46, and B Denotes 1 byte whose value is 0, and A C represents an upper byte output from the logical operation unit 46, and B C represents the lower byte output from the logical operation unit 46, respectively.

도 6은 도 3에 도시된 논리 연산부(46)의 본 발명에 의한 바람직한 일실시예의 회로도로서, 제1 및 제2 AND 게이트들(80 및 82) 및 배타적 논리합부(84)로 구성된다.FIG. 6 is a circuit diagram of a preferred embodiment of the logic operation unit 46 shown in FIG. 3 according to the present invention, and includes first and second AND gates 80 and 82 and an exclusive logic sum 84.

도 6에 도시된 논리 연산부(46)의 제1 AND 게이트(80)는 제1 선택 신호(SEH)와 에러 정정 처리부(50)로부터 출력되는 8비트의 출력(OUT1)을 논리곱하고, 논리곱한 결과를 배타적 논리합부(84)로 출력한다. 제2 AND 게이트(82)는 제2 선택 신호(SEL)와 에러 정정 처리부(50)로부터 출력되는 8비트의 출력(OUT1)을 논리곱하고, 논리곱한 결과를 배타적 논리합부(84)로 출력한다. 배타적 논리합부(84)는 제1 AND 게이트(80)로부터 출력되는 8비트 데이타와 메모리(40)로부터 독출되어 입력단자 IN을 통해 입력되는 16비트의 에러 데이타의 상위 바이트를 배타적 논리합하고, 배타적 논리합한 결과를 에러 정정된 데이타의 상위 바이트로서 출력단자 OUT2를 통해 출력한다. 또한, 배타적 논리합부(84)는 제2 AND 게이트(82)로부터 출력되는 8비트의 데이타와 메모리(40)로부터 독출된 16비트의 에러 데이타의 하위 바이트를 배타적 논리합하고, 배타적 논리합한 결과를 에러 정정된 데이타의 하위 바이트로서 출력단자 OUT2를 통해 출력한다.The first AND gate 80 of the logic operation unit 46 shown in FIG. 6 logically multiplies the first selection signal SEH and the 8-bit output OUT1 output from the error correction processing unit 50, and logically multiplies the result. Is output to the exclusive logical sum unit 84. The second AND gate 82 ANDs the second selection signal SEL and the eight-bit output OUT1 output from the error correction processing unit 50, and outputs the result of the AND operation to the exclusive AND unit 84. The exclusive OR unit 84 exclusively ORs the 8-bit data output from the first AND gate 80 and the upper byte of the 16-bit error data read out from the memory 40 and input through the input terminal IN. One result is output through the output terminal OUT2 as the upper byte of the error corrected data. In addition, the exclusive OR unit 84 exclusively ORs the lower byte of the 8-bit data output from the second AND gate 82 and the 16-bit error data read out from the memory 40 and error-excludes the result of the exclusive OR. The lower byte of the corrected data is output through the output terminal OUT2.

도 7은 도 3에 도시된 에러 정정 장치에서 에러 정정을 수행하는 시간을 설명하기 위한 도면이다.FIG. 7 is a diagram for describing a time for performing error correction in the error correction apparatus shown in FIG. 3.

8비트 메모리(10)를 사용하였을 때와 16비트 메모리(40)를 사용하였을 때의 ECC 수행시간을 비교해보면, 도 2에 도시된 바와 같이 종래의 에러 정정 장치가 데이타를 시간(T)동안 한번 입력하고, 입력한 데이타의 에러를 시간(t1)동안 정정한 다음, 시간(T)동안 데이타를 메모리로부터 다시 입력하고, 입력한 데이타의 에러를 시간(t2)동안 정정하는 반면, 도 7에 도시된 바와 같이 본 발명에 의한 에러 정정 장치는 시간(T)동안 두개의 데이타를 입력하고, 입력한 데이타의 하위 바이트를 에러 정정한 후 상위 바이트의 에러를 정정하므로, 에러 정정을 위한 메모리와의 데이타 입출력 속도가 매우 빨라지게 된다.Comparing the ECC execution time when the 8-bit memory 10 is used and the 16-bit memory 40 is used, as shown in FIG. 2, the conventional error correction apparatus writes data once for a time T. While inputting, correcting an error of the input data for a time t1, then inputting data again from the memory for a time T, and correcting an error of the input data for a time t2, while shown in FIG. As described above, the error correction apparatus according to the present invention inputs two pieces of data for a time T, corrects the lower byte of the input data, and then corrects the error of the upper byte. I / O speed will be very fast.

또한, 본 발명에 의한 에러 정정 장치는 상위 바이트의 에러를 정정한 다음, 하위 바이트의 에러를 정정할 수도 있다. 이를 위해, 에러 데이타의 상위 바이트의 에러를 먼저 정정하고자 할 경우, 제1 선택 신호(SEH)가 "고" 논리 레벨로 엑티브되고, 상위 바이트 코드 워드에 대한 에러 정정이 완료되면, 제1 선택 신호(SEH)는 디스에이블되고 제2 선택 신호(SEL)는 "고" 논리 레벨로 액티브되고 하위 바이트 코드 워드에 대한 에러 정정이 수행된다. 다음, 하위 바이트 코드 워드에 대한 에러 정정이 완료되면 제2 선택 신호(SEL)는 디스에이블된다.In addition, the error correction apparatus according to the present invention may correct the error of the upper byte and then correct the error of the lower byte. To this end, when the error of the upper byte of the error data is to be corrected first, the first selection signal SEH is activated to a "high" logic level, and when the error correction for the upper byte code word is completed, the first selection signal SEH is disabled and the second select signal SEL is activated to a "high" logic level and error correction is performed for the lower byte code word. Next, when the error correction for the lower byte code word is completed, the second selection signal SEL is disabled.

이상에서 설명한 바와 같이, 본 발명에 의한 에러 정정 장치 및 방법은 에러 데이타를 상위 바이트와 하위 바이트로 구분하여 에러 정정을 수행하므로, 에러 정정 수행시간이 매우 빨라 데이타 처리 속도가 개선되는 효과가 있다.As described above, the error correction apparatus and method according to the present invention perform error correction by dividing the error data into the upper byte and the lower byte, so that the error correction execution time is very fast and the data processing speed is improved.

Claims (6)

컴팩트 디스크(CD)-롬(ROM) 시스템으로부터 재생되며 에러를 갖는 에러 데이타의 상기 에러를 정정하는 에러 정정 장치에 있어서,An error correction apparatus for correcting said error of error data reproduced from a compact disc (ROM) -ROM system and having an error, 상기 에러 데이타 및 에러 정정된 데이타를 저장하는 메모리;A memory for storing the error data and the error corrected data; 상기 메모리에 저장된 상기 에러 데이타의 상위 바이트로부터 제1 및 제2 신드롬들을 계산하여 출력하는 제1 신드롬 계산부;A first syndrome calculator configured to calculate and output first and second syndromes from an upper byte of the error data stored in the memory; 상기 메모리에 저장된 상기 에러 데이타의 하위 바이트로부터 제3 및 제4 신드롬들을 계산하여 출력하는 제2 신드롬 계산부;A second syndrome calculation unit configured to calculate and output third and fourth syndromes from the lower byte of the error data stored in the memory; 상기 제1 신드롬 계산부의 출력과 제2 신드롬 계산부의 출력들중 하나를 제1 및 제2 선택 신호에 응답하여 선택적으로 출력하는 신드롬 선택 수단;Syndrome selecting means for selectively outputting one of the outputs of the first syndrome calculating part and the outputs of the second syndrome calculating part in response to first and second selection signals; 상기 신드롬 선택 수단에서 선택된 신드롬들로부터 상기 에러 데이타의 에러를 정정하여 출력하는 에러 정정 처리부; 및An error correction processor for correcting and outputting an error of the error data from syndromes selected by the syndrome selecting means; And 상기 제1 및 상기 제2 선택 신호에 응답하여, 상기 에러 정정 처리부의 출력과 상기 메모리에 저장된 상기 에러 데이타를 논리 연산하고, 논리 연산한 결과를 상기 에러 정정된 데이타로서 상기 메모리로 출력하는 논리 연산 수단을 구비하는 것을 특징으로 하는 에러 정정 장치.In response to the first and second selection signals, a logical operation of outputting the error correction processing unit and the error data stored in the memory, and outputting the result of the logical operation as the error corrected data to the memory. And error correction means. 제1 항에 있어서, 상기 신드롬 선택 수단은The method of claim 1, wherein the syndrome selecting means 상기 제1 선택 신호에 응답하여 상기 제1 신드롬을 전송하는 제1 전송 게이트;A first transmission gate configured to transmit the first syndrome in response to the first selection signal; 상기 제1 선택 신호에 응답하여 상기 제2 신드롬을 전송하는 제2 전송 게이트;A second transmission gate configured to transmit the second syndrome in response to the first selection signal; 상기 제2 선택 신호에 응답하여 상기 제3 신드롬을 전송하는 제3 전송 게이트; 및A third transmission gate configured to transmit the third syndrome in response to the second selection signal; And 상기 제2 선택 신호에 응답하여 상기 제4 신드롬을 전송하는 제4 전송 게이트를 구비하고,A fourth transmission gate configured to transmit the fourth syndrome in response to the second selection signal, 상기 제1 전송 게이트의 출력 또는 상기 제3 전송 게이트의 출력과, 상기 제2 전송 게이트의 출력 또는 상기 제4 전송 게이트의 출력은 상기 선택된 신드롬들인 것을 특징으로 하는 에러 정정 장치.And the output of the first transfer gate or the third transfer gate and the output of the second transfer gate or the output of the fourth transfer gate are the selected syndromes. 제1 항 또는 제2 항에 있어서, 상기 논리 연산 수단은The method according to claim 1 or 2, wherein the logical computing means 상기 제1 선택 신호와 상기 에러 정정 처리부의 출력을 논리곱하여 출력하는 제1 논리곱 수단;First AND product for ANDing and outputting the first selection signal and the output of the error correction processor; 상기 제2 선택 신호와 상기 에러 정정 처리부의 출력을 논리곱하여 출력하는 제2 논리곱 수단; 및Second logical AND means for ANDing and outputting the second selection signal and the output of the error correction processor; And 상기 제1 논리곱 수단의 출력과 상기 메모리로부터 독출된 상기 에러 데이타의 상위 바이트를 배타적 논리합하여 상기 에러 정정된 데이타의 상위 바이트로서 출력하고, 상기 제2 논리곱 수단의 출력과 상기 메모리로부터 독출된 상기 에러 데이타의 하위 바이트를 배타적 논리합하여 상기 에러 정정된 데이타의 하위 바이트로서 출력하는 배타적 논리합 수단을 구비하는 것을 특징으로 하는 에러 정정 장치.An exclusive OR of the output of the first AND function and the upper byte of the error data read out from the memory is output as an upper byte of the error corrected data, and the output of the second AND product is read from the memory And an exclusive logical OR means for exclusive ORing the lower byte of the error data and outputting the lower byte of the error corrected data as the lower byte of the error corrected data. 제1 항에 있어서, 상기 CD-ROM 시스템과 호스트 컴퓨터간에 데이타 전송을 위해 마련되는 데이타 인터페이스부에 상기 제1 및 상기 제2 신드롬 계산부들, 상기 신드롬 선택 수단, 상기 에러 정정 처리부 및 상기 논리 연산 수단들은 포함되는 것을 특징으로 하는 에러 정정 장치.2. The apparatus of claim 1, wherein the first and second syndrome calculation units, the syndrome selection means, the error correction processing unit, and the logical operation unit are provided in a data interface unit provided for data transfer between the CD-ROM system and a host computer. Error correction apparatus, characterized in that it is included. 제1 항에 있어서, 상기 메모리는 16비트 다이나믹 램(DRAM)인 것을 특징으로 하는 에러 정정 장치.The apparatus of claim 1, wherein the memory is 16-bit dynamic RAM. 컴팩트 디스크(CD)-롬(ROM) 시스템으로부터 재생되며 에러를 갖는 에러 데이타와 에러 정정된 데이타를 저장하는 메모리 및 상기 에러를 정정하여 상기 에러 정정된 데이타로서 출력하는 에러 정정 장치에서 수행되는 에러 정정 방법에 있어서,Error correction performed in a compact disc (CD) -ROM system, a memory for storing error data and error corrected data having errors, and an error correction device for correcting the error and outputting the error corrected data. In the method, 상기 메모리로부터의 상기 에러 데이타를 상위 바이트와 하위 바이트로 구분하여 상기 에러를 정정하는 단계; 및Correcting the error by dividing the error data from the memory into an upper byte and a lower byte; And 에러가 정정된 상기 상위 바이트 및 상기 하위 바이트와 상기 에러 데이타의 상위 바이트 및 하위 바이트를 각각 합성하여 상기 에러 정정된 데이타를 구하는 단계를 구비하는 것을 특징으로 하는 에러 정정 방법.And synthesizing the upper byte and the lower byte of the error corrected and the upper byte and the lower byte of the error data, respectively, to obtain the error corrected data.
KR1019980005609A 1998-02-23 1998-02-23 Error correction device and method KR19990070644A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980005609A KR19990070644A (en) 1998-02-23 1998-02-23 Error correction device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980005609A KR19990070644A (en) 1998-02-23 1998-02-23 Error correction device and method

Publications (1)

Publication Number Publication Date
KR19990070644A true KR19990070644A (en) 1999-09-15

Family

ID=65894304

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980005609A KR19990070644A (en) 1998-02-23 1998-02-23 Error correction device and method

Country Status (1)

Country Link
KR (1) KR19990070644A (en)

Similar Documents

Publication Publication Date Title
JPH0681058B2 (en) Data transmission / reception method
KR870001307B1 (en) System for treatment of single bit error in buffer storage unit
US6687860B1 (en) Data transfer device and data transfer method
US8181075B2 (en) Error correction device and recording and reproducing device
JPH0612791A (en) Device for reproducing cd-rom
KR19980050496A (en) Command Waiting Device and Method for Optical Disc Data Reproduction System
KR19990070644A (en) Error correction device and method
US5835511A (en) Method and mechanism for checking integrity of byte enable signals
TW202147325A (en) Data access system, and method for operating a data access system
JPH11259238A (en) Signal processor
JPH1083356A (en) Method and device for hiding error in stored digital data
JPH03501659A (en) Pipeline address check bit stack controller
JP2644112B2 (en) FIFO test diagnostic circuit
JPS604497B2 (en) Storage device
JPH0517740U (en) Memory control device with error correction function
JPH08129510A (en) Memory data correcting device
KR970002655A (en) Apparatus and method for controlling data transmission using single buffer
JPS59129995A (en) Storage device
JPH0352694B2 (en)
JPS5844417Y2 (en) Change detector input module
JP3259688B2 (en) Data processing circuit
JPS63216150A (en) Storage device
JPH0636164B2 (en) FFT operation device
JPS61110247A (en) Storage device
JPH0520215A (en) Information processor

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination