A structured interleaving/de-interleaving scheme enables efficient
implementation of encoding/decoding based on two-dimensional product
codes (2D PC). In one embodiment, an encoder has an integrated
architecture that performs structured interleaving and PC coding in an
integrated manner in which locations in the interleaved data stream are
related to row and column indices for the 2D PC coding based on
closed-form expressions. A corresponding decoder implements two-stage
low-density parity-check (LDPC) decoding based on the same relationships
between locations in the interleaved data stream and row and column
indices for the LDPC decoding.