01-12-2004 02:01 PM
01-13-2004 01:48 PM
01-13-2004 02:03 PM
01-16-2004 03:13 PM
01-19-2004 11:32 AM
01-21-2004 02:35 PM
06-21-2010 09:19 AM
I hate to bump a topic that is over 6 years old, but I am in need of a simple BCH encoding algorithm and do not have the toolbox which provides this. I only need the encoding algorithm so I am hoping to implement this .VI posted here.
I have slightly altered the cleaned up version that was posted to have the inputs/outputs in a format that I expect, but I am worried that it is not correctly calculating the BCH code. This is my first time working with BCH codes, but I need to implement the CCSDS version using n = 63, k = 56 7-bit BCH code with generator polynomial G(x) = x^7 + x^6 + x^2 + 1.
I think when using 0xC5C5C5C5C5C5C5 as my input message the 7 bit BCH is supposed to be 0x43, but I am getting 0x00. Could someone with more experience than me see if I did something obviously wrong? Or know of a way to validate a BCH encoding algorithm, so I know if what I did was correct. I attached my modeified .vi. Thanks!