Patent ID: 6754790
Filing Date: 2004-06-22
Classification: H03M

Abstract:
A method for accessing a memory of a de-interleaving unit to write a sequence of frames into the memory of the de-interleaving unit at an address specified by a Write Memory Address WMA based on a Write Frame Index WFIDX and a Code Word Count CWCNT;the method comprises the steps of: setting the WFIDX, WMA, and CWCNT; checking whether WFIDX is less than a first preset value; in the case of WFIDX being less than the first preset value, checking whether CWCNT is less than a second preset value; in the case of CWCNT being less than the second preset value, adding 116 to WMA; in the case of CWCNT being equal to the second preset value, adding 56 to WMA; in the case of CWCNT being greater than the second preset value, subtracting 120 from WMA; in the case of WFIDX being equal to or greater than the first preset value, checking whether CWCNT is less than the second preset value; in the case of CWCNT being less than the second preset value, adding 116 to WMA; in the case of CWCNT being equal to the second preset value, subtracting 60 from WMA; in the case of CWCNT being greater than the second preset value, checking whether the result of dividing WFIDX by 4 is equal to CWCNT; in the case of the result of dividing WFIDX by 4 being equal to CWCNT, subtract 4 from the current WMA value; in the case of the result of dividing WFIDX by 4 being unequal to CWCNT, subtracting 120 from WMA; writing the currently-received data from the decoding unit into the WMA address in the memory of the de-interleaving unit; adding 1 to CWCNT; checking whether CWCNT is equal to or greater than 28; in the case of CWCNT being equal to or greater than 28, add 1 to WFIDX; checking whether WFIDX is equal to or greater than 116; if YES, ending the procedure; or, returning to the setting step; and in the case of CWCNT being less than 28; returning to the step of checking whether WFIDX is less than 60.