AN 539: Test Methodology of Error Detection and Recovery using CRC in Altera FPGA Devices