Unified turbo/LDPC code decoder architecture for deep-space communications