Patent ID: 8418047

Claim:
A computer-readable storage device embodying computer code for causing a computing device to perform a method for data bus encoding, comprising: generating encoded data and invert-indication information by performing bus-invert encoding on data to be encoded according to a predetermined bus-invert encoding scheme; converting the invert-indication information into a virtual bit-group according to a predetermined code mapping; and generating an error-checking-and-correction code for a virtual word according to a predetermined error-checking-and-correction encoding scheme, the virtual word including the encoded data and the virtual bit-group corresponding to the encoded data, wherein any unoccupied bit of the virtual word takes a respective fixed value, wherein the predetermined error-checking-and-correction encoding scheme includes error-check bits and error-correction bits, the error-check bits having a number of bits at least one more than a number of bits of the error-correction bits.