Certain terms are used throughout the description and following claims to refer to particular components. As one skilled in the art will appreciate, electronic equipment manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms “include” and “comprise” are used in an open-ended fashion, and thus should be interpreted to mean “include, but not limited to . . . ”. Also, the term “couple” is intended to mean either an indirect or direct electrical connection. Accordingly, if one device is coupled to another device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.
The demodulator 603 is used for receiving and demodulating data from the optical disc 601 to generate input data. The on the fly ECC decoder 605 performs an on the fly Pi ECC operation to the input data, that is, performs a PI ECC operation before the input data is stored on the data buffer 619. The ECC decoder 607 is used for performing an error correction on the input data in the data buffer 619 to generate an error correction information and correcting the data in the data buffer 619 to transform the input data to corrected data. The data buffer 619, which is coupled to the demodulator 603, is used for storing the input data from the demodulator 603. The non-linear EDC check device 611 is used for performing an error detection on the input data to generate a first EDC result. The EDC memory 613, which is coupled to the non-linear EDC check device 611, is used for storing the first EDC result. The EDC corrector 609, which is coupled to the ECC decoder 607 and the EDC memory 613, is used for adjusting the first EDC result according to the error correction information in order to generate a final EDC result. It should be noted that the ECC decoder 607 performs a PO error correction on the input data first. The decision circuit 615 is used for determining the next step of the system 600 according to the final EDC result stored in the EDC memory.
Also, the EDC memory 613 of this embodiment can further comprise a first memory device 621, a second memory device 623, and a computing unit 625. In this case, the EDC corrector 609 detects the error parts of the corrected data from ECC decoder 607 to generate an error corrected EDC result, and the non-linear EDC check device 611 detects the input data to generate a first EDC result. The computing unit 625 performs a “XOR” operation on the first EDC result and the error corrected EDC result to generate a final EDC result. The decision circuit 615 is used for determining the next step of the system 600 according to the final EDC result stored in the EDC memory 613.
Comparing with the prior art shown in
The non-linear EDC check device 611 shown in
Besides, the row EDC and the column EDC can be reversed, as shown in
In short, the non-linear operation of the non-linear EDC check device 611 means the EDC operation is performed following the arrow direction shown in
Step 901:
Start error correction and detection
Step 903:
Check if the error correction performed by the ECC decoder 607 is a first PO error correction or not. If yes, concurrently perform step 905, step 907 and then the steps following the step 907.
Step 905:
Use the non-linear EDC check device 611 to perform a non-linear error detection for all parts of the input data to generate a first EDC result.
Step 907:
Use the ECC decoder 607 to perform a PO error correction or a PI error correction according to the result from step 917 in order to generate corrected data.
Step 909:
The EDC corrector 609 performs error detection on corrected parts of the corrected data to generate an error corrected EDC result.
Step 910:
Check if the processed column or row is the last one or not. If yes, go to the step 911. If no, go back to the step 909.
Step 911:
Check if the PO error correction is the first PO error correction. If yes, go to step 913. If no, go to step 915.
Step 913:
Merge the first EDC result from step 905 and the error corrected EDC result from step 909.
Step 915:
Load the final EDC result.
Step 917:
Determine if the loop should be restarted or not according to the final EDC result. If the final EDC result is OK, the error connection and detection loop is ended. Otherwise, the error connection and detection loop will be restarted again.
If the optical disc shown in
For example, the sectors can be classified into even sectors, which are composed of even rows of a sector and odd sectors which are composed of odd rows of a sector, where each ECC block is composed of even sectors and odd sectors alternately. Also, the EDC memory size of the first EDC result and error corrected EDC result are increased. Since persons skilled in the art know the detailed operation of error detection operation for HD-DVD, the description is omitted for brevity.
Step 1001:
Receive and demodulate data from the optical disc to generate input data.
Step 1002:
Perform an on the fly PI error correction to the input data and correct the data in the data buffer to transform the input data to corrected data. That is, performing a PI error correction before the input data is stored.
Step 1003:
Store the input data from step 1001.
Step 1005:
Perform an error correction on the input data in the data buffer to generate an error correction information, correct the data in the data buffer to transform the input data to corrected data
Step 1007:
Perform non-linear error detection on the input data to generate a first EDC result.
Step 1009:
Store the EDC result.
Step 1011:
Merge or adjust the EDC result according to the error correction information.
The step 1005 performs a PO error correction on the input data first while the input data is processed.
According to above-mentioned description, since the PO direction EDC is used, the system and the method according to the present invention not only provides operation as quick as the related art described in
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.