Claims
- 1. A method for utilizing a memory of a de-interleaving unit comprising:
determining a size of said memory according to a maximal symbol number of a data frame, a delay value, an adjustable parameter, and a half of a total symbol number of said data frame; accessing said memory according to a write memory address determined by a first algorithm during data buffering; and accessing said memory according to a read memory address determined by a second algorithm during data retrieving.
- 2. The method as recited to claim 1, further comprising:
multiplying said maximal symbol number of a data frame by said delay value for obtaining a first temporary result; adding said first temporary result and a two times of said adjustable parameter up for obtaining a second temporary result, wherein said adjustable parameter is less than or equal to half of said first temporary result; and multiplying said second temporary result by said half of said total symbol number of said data frame for obtaining said size of said memory.
- 3. The method as recited to claim 2, wherein said first algorithm further comprising:
providing and setting an initial value for said write memory address, a write frame index, and a code word count for writing data to said memory; and performing a write memory address calculating procedure for determining a value of said memory write address of each symbol during said write frame index is less than said total symbol number of said data frame and said code word count is less than said second temporary result.
- 4. The method as recited to claim 3, wherein said write memory address calculating procedure further comprising:
setting said write memory address to a sum of a previous write memory address and said second temporary result when said write frame index is less than a sum of a product of said half of said total symbol number of said data frame and said delay value and said adjustable parameter, and said code word count is less than said half of said total symbol number of said data frame, wherein said previous write memory address indicates the write memory address of previous symbol be processed; setting said write memory address to a sum of said previous write memory address and a sum of a product of a half of said maximal symbol number of said data frame and said delay value and said adjustable parameter when said write frame index is less than said sum of said product of said half of said symbol amount of said data frame and said delay value and said adjustable parameter, and said code word count is equal to said half of said total symbol number of said data frame; setting said write memory address to a difference of said previous write memory address and a sum of a product of said total symbol number of said data frame and said delay value and two times of said adjustable parameter when said write frame index is less than said sum of said product of said half of said total symbol number of said data frame and said delay value and said adjustable parameter, and said code word count is greater than said half of said total symbol number of said data frame; setting said write memory address to a sum of said previous write memory address and said second temporary result when said write frame index is greater than or equal to said sum of said product of said half of said total symbol number of said data frame and said delay value and said adjustable parameter, and said code word count is less than half of said total symbol number of said data frame; setting said write memory address to a difference of said previous write memory address and said sum of said product of said half of said total symbol number of said data frame and said delay value and said adjustable parameter when said write frame index is greater than or equal to said sum of said product of said half of said total symbol number of said data frame and said delay value and said adjustable parameter, and said code word count is equal to said half of said total symbol number of said data frame; setting said write memory address to a difference of said previous write memory address and said delay value when said write frame index is greater than or equal to said sum of said product of said half of said total symbol number of said data frame and said delay value and said adjustable parameter, and said code word count is equal to a quotient of said write frame index and said delay value; and setting said write memory address to a difference of said previous write memory address and said sum of a product of said two times of said half of said symbol amount of said data frame and said delay value and two times of said adjustable parameter when said write frame index is greater than or equal to said sum of said product of said half of said total symbol number of said data frame and said delay value and said adjustable parameter, and said code word count is not equal to a quotient of said write frame index and said delay.
- 5. The method as recited to claim 3, wherein said write memory address calculating procedure further comprising:
adjusting said code word count when said value of said write memory address of each symbol is determined and if said code word count is less than said total symbol number of said data frame; and adjusting said write frame index when said code word count is greater than said total symbol number of said data frame and if said write frame index is less than said second temporary result.
- 6. The method as recited to claim 3, wherein said write memory address calculating procedure further comprising:
resetting said code word count according said initial value; and resetting said write memory address according to said write frame index when said write frame index is less than said second temporary result.
- 7. The method as recited to claim 2, wherein said second algorithm further comprising:
providing and setting an initial value for a read memory address, a read frame index, and a code word count for reading data to said memory of said de-interleaving unit; and performing a read memory address calculating procedure for determining a value of said read memory address of each symbol when said read frame index is less than said total symbol number of said data frame and said code word count is less than said second temporary result.
- 8. The method as recited to claim 7, wherein said read memory address calculating procedure further comprising:
setting said read memory address to a sum of a previous read memory address and said sum of said product of said total symbol number of said data frame and said delay value and two times of said adjustable parameter when said read frame index is less than said adjustable parameter and said code word count is less than said half of said total symbol number of said data frame, wherein said previous read memory address indicates the read memory address of previous symbol be processed; setting said read memory address to a sum of said previous read memory address and said sum of said product of said half of said total symbol number of said data frame and said delay value and said adjustable parameter when said read frame index is less than said adjustable parameter and said code word count is equal to said half of said total symbol number of said data frame; setting said read memory address to a difference of said previous read memory address and said second temporary result when said read frame index is less than said adjustable parameter and said code word count is greater than said half of said total symbol number of said data frame; setting said read memory address to a sum of said previous read memory address and said sum of said product of said total symbol number of said data frame and said delay value and two times of said adjustable parameter when said read frame index is between said adjustable parameter and a sum of a product of said half of said total symbol number of said data frame and said delay value and two times of said adjustable parameter, and said code word count is less than said half of said total symbol number of said data frame; setting said read memory access index to a difference of said previous read memory access index and a difference of a sum of a product of half of said maximal symbol number of said data frame and said delay value and said adjustable parameter when said read frame index is between said adjustable parameter and said sum of said product of said half of said total symbol number of said data frame and said delay value and two times of said adjustable parameter, and said code word count is equal to said half of said total symbol number of said data frame; setting said read memory access index to a difference of said previous read memory access index and said second temporary result when said read frame index is between said adjustable parameter and said sum of said product of said half of said total symbol number of said data frame and said delay value and two times of said adjustable parameter, and said code word count is greater than said half of said total symbol number of said data frame; setting said read memory access index to a sum of said previous read memory access index and said delay value when said read frame index is greater than said adjustable parameter and said code word count is less than said half of said total symbol number of said data frame and equal to a difference of a sum of said total symbol number of said data frame and one and a quotient of a difference of a sum of said read frame index and two times of said delay value and two times of said adjustable parameter and said delay value; setting said read memory access index to a sum of said previous read memory access index and said sum of said product of said total symbol number of said data frame and said delay value and two times of said adjustable parameter when said read frame index is greater than said adjustable parameter and said code word count is less than said half of said total symbol number of said data frame and not equal to said difference of a sum of said total symbol number of said data frame and one and a quotient of a difference of a sum of said read frame index and two times of said delay value and two times of said adjustable parameter and said delay value; setting said read memory access index to a sum of said previous read memory access index and said sum of said product of said half of said total symbol number of said data frame and said delay value and said adjustable parameter when said read frame index is greater than said adjustable parameter and said code word count is equal to said half of said total symbol number of said data frame; and setting said read memory access index to a difference of said previous read memory access index and said second temporary result when said read frame index is greater than said adjustable parameter and said code word count is greater than said half of said total symbol number of said data frame.
- 9. The method as recited to claim 7, wherein said read memory address calculating procedure further comprising:
adjusting said code word count when said read memory address of each symbol is determined and if said code word count is less than said total symbol number of said data frame; and adjusting said read frame index when said code word count is greater than said total symbol number of said data frame and if said read frame index is less than said second temporary result.
- 10. The method as recited to claim 7, wherein said read memory address calculating procedure further comprising:
resetting said code word count according said initial value; and resetting said read memory address according to said read frame index when said read frame index is less than said second temporary result.
- 11. The method as recited to claim 2, further comprising:
setting said adjustable parameter to 1 so that said size of said memory is a minimum.
- 12. A method for determining a size of a memory of a de-interleaving unit comprising:
multiplying a maximal symbol number of a data frame by a delay value for obtaining a first temporary result; adding said first temporary result and a two times of an adjustable parameter up for obtaining a second temporary result, wherein said adjustable parameter is less than or equal to half of said first temporary result; and multiplying said second temporary result by a half of a total symbol number of said data frame for obtaining said size of said memory of said de-interleaving unit.
- 13. The Method As Recited To claim 12, Wherein Said Adjustable Parameter N Ranges From 1 To 54 For A Cd-Rom Drive.
Priority Claims (1)
Number |
Date |
Country |
Kind |
90120811 |
Aug 2001 |
TW |
|
CROSS-REFERENCE TO RELATED APPLICATION
[0001] This application is a continuation-in-part (CIP) application of the application “METHOD OF ACCESSING MEMORY OF DE-INTERLEAVING UNIT” with the application Ser. No. 10/173,234 filed Jun. 14, 2002, and this application claims the priority benefit of Taiwan application serial no. 90120811, filed Aug. 24, 2001.
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
10173234 |
Jun 2002 |
US |
Child |
10843706 |
May 2004 |
US |