An FPGA implementation of RM-BTC Codec using Log-MAP algorithm