The SD-FEC is a highly flexible soft-decision FEC decoder and LDPC encoder with the following features.