CPC G06F 11/10 (2013.01) [G06F 3/0619 (2013.01); G06F 3/0659 (2013.01); G06F 3/0673 (2013.01)] | 16 Claims |
1. A method, comprising:
swizzling a first plurality of data units to generate a first plurality of swizzled data units, wherein the swizzling of the first plurality of data units includes exchanging bits between different data units at a same bit position;
performing error correction coding on the first plurality of swizzled data units to create a first plurality of error correction bits;
swapping the bits among the first plurality of error correction bits to generate a first plurality of swizzled error correction bits;
storing the first plurality of data units and the first plurality of swizzled error correction bits in a dynamic random-access memory (DRAM);
retrieving a second plurality of data units and a second plurality of swizzled error correction bits from the DRAM;
deswizzling the second plurality of swizzled error correction bits to generate a second plurality of error correction bits;
swizzling the second plurality of data units to generate a second plurality of data units; and
performing error correction and/or error detection based on the second plurality of swizzled data units and the second plurality of error correction bits.
|