Optimization of error correcting codes in FPGA fabric onboard cube satellites