Configurable Hamming Generator