In some cases, N-bit signal X={xN-1, xN-2, . . . ,x0} is implemented as an encoded M-bit signal Y={yM-1,YM-2, . . . ,y0} whose encoding is given by the encoding function ???X???Y that maps a pattern of the signal X to a pattern of the signal Y. The encoding can have properties such as redundancy and/or completeness.