Expand description

Encoding and decoding of the (15, 11, 3) code.

Functions

Try to decode the given 15-bit word to the nearest codeword, correcting up to 1 error.

Encode the given 11 bits of data into a 15-bit codeword.