Read channel design and simulation tool having a codeword-classification moduleпатент