CPC H04L 1/0057 (2013.01) [H03M 5/145 (2013.01); H03M 13/1515 (2013.01); H04L 1/0045 (2013.01); H04L 25/49 (2013.01)] | 19 Claims |
1. An encoding device comprising:
a memory storing program code, and
a processor configured to execute the program code to perform operations comprising:
dividing input data into data strings of N bits, the data strings including a first data string;
calculating a running disparity for the data strings;
determining whether the first data string is to be inverted based upon the calculated running disparity;
setting a flag for the first data string to a first value when it is determined that the first data string is not to be inverted, and setting the flag for the first data string to a second value and inverting the first data string when it is determined that the first data string is to be inverted; and
outputting the first data string.
|