/BCH_Code_Simulator

BCH Code BER Simulator using C++

Primary LanguageC++

BCH_Code_Simulator

You can simulate the BCH Code by using this C++ code. The procedure is very easy, just put:

  1. The number of t-error that can be corrected.
  2. "m" value from GF(2^m).
  3. Primitive polynomial equation.
  4. Generator polynomial from Primitive polynomial that you choose.

(recommended to use CodeBlocks for convenience)


Fig1. Input t-error capability; "m" value from GF(2^m); "p(x)" Primitive Polynomial; "g(x) Generator Polynomial";



Fig2. Galois Field Binary Polynomial Table and BER Result from GF(2^4); t=2; BCH Codes (15,7)


Fig3. BER Result For BCH (15,7,2)

Tag: Error Correcting Code; BCH Code C++;