Hello everyone,
I need to implement 8b10b encoding and decoding functions in a serial UVC I am developing. However, I am unsure of the best method to use to apply the 8b10b coding algorithm. My first thought was to create a set of 8b10b encoding/decoding tables using a struct, pass the generated bytes/characters into the tables, and continue using the resulting value in the transactions. However, this doesn’t seem to be the most efficient method to use.
Has anyone ever done this before, and if so, can you give me a few pointers to get me started in the right direction? Thanks!
Tony