How can I use the FRAME_ECCE2 in 7 Series devices?
The 7 series FPGA Frame ECC logic detects single or double bit errors in configuration frame data. It uses a 13-bit Hamming code parity value that is calculated based on the frame data generated by BitGen.
During readback, the Frame ECC logic calculates a syndrome value using all the bits in the frame including the ECC bits. If the bits have not changed from the original programmed values, SYNDROME[12:0] are all zeros. If a single bit has changed, including any of the ECC bits, the location of the bit is indicated by SYNDROME[11:0]. If two bits have changed, SYNDROME[12] is 0 and the remaining bits are non-zero. If more than two bits have changed, SYNDROME[12:0] are indeterminate.
The error output of the block is asserted if one or two bits have changed. To use the Frame ECC logic, the FRAME_ECC _VIRTEX6 primitive must be instantiated in the users design, and readback must be performed using SelectMAP, JTAG, or ICAP interfaces.
At the end of each frame of readback, the syndrome_valid signal is asserted for one cycle of the readback clock (CCLK, TCK, or ICAP_CLK). The number of cycles required to read back a frame varies with the interface used. Repairing bits that have changed requires a user design. The FRAME_ECCE2 logic does not repair changed bits. The design must be able to store at least one frame of data or be able to fetch original frames of data for reload.
The simplest operation is as follows:
Pin Name | Type | Description |
---|---|---|
SYNDROMEVALID | Output | Frame ECC syndrome valid pulse. Active one cycle for each frame. Used to sample ERROR and SYNDROME[12:0]. |
ECCERROR | Output | When SYNDROMEVALID is active, this output indicates if a frame error was detected or not:
|
SYNDROME[12:0] | Output | When SYNDROMEVALID is active, this output reflects the frame error condition:
|
CRCERROR | Output | RBCRC error. See (UG470), Chapter 8 Readback CRC |
FAR[25:0] | Output | Frame Address Register Value.
|
SYNWORD[6:0] | Output | Out Word address of error.
|
SYNBIT[4:0] | Output | Bit address of error.
|
ECCERRORSINGLE | Output | Indicates a single-bit Frame ECC error detected |
For SSIT devices the FRAME_ECCE2 is available on all SLRs. The user should place and use the components to detect ECC on each SLR.
If only a single FRAME_ECC is included in the design and not placed, it will be placed in the Master SLR.
AR# 54350 | |
---|---|
Date | 12/02/2016 |
Status | Active |
Type | General Article |
Devices |