Interactive Content

BCH Encoder/Decoder

The applet below will encode 5 information bits into a 15 bit code word using BCH(15,5) in GF(2^4) over p(a) = 1+a+a^4. This 15-bit code word is then transmitted over a distance or a noisy channel; in other words, error is introduced into the code word. The error string in the applet below is given by the user, 0 for no error and 1 for error in that bit location. Then, using BCH(15,5), the codeword is tested for errors, calculates the position of those errors, and corrects the errors. BCH(15,5) can only correct T=3 errors before the codewords become too distorted to decode.
Known Issue: If GUI is drawn incorrectly, refresh the browser page to fix it.