FPGA implementation of the encoding and decoding of an LDPC code for deep space applications