Generate a deBruijn Sequence that facilitates an efficient decoding algorithm due to J. Tuliani (pdf link).
Input Sequence Parameters
Decoder Static Data
The decoder needs the following data that is computed once when the sequence is generated:
Total number of data bits (length(T)·log2(c2) + length(K)·log2(cn) + length(L)·log2(c)):
Decoder Source Code
This the source code of the decoder run below.
Click here to view the entire source code including the support functions.