Embedded e-maintenance for an FPGA-based reconfigurable system