16.11.2015 Views

UltraScale Architecture Memory Resources

ug573-ultrascale-memory-resources

ug573-ultrascale-memory-resources

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 3: Built-in Error Correction<br />

ECC Encode-Only Read<br />

ECC encode-only read is identical to normal block RAM read. The 64-bit data appears at<br />

DOUT[63:0] and 8-bit parity appears at DOUTP[7:0]. Single-bit error correction does not<br />

occur, and the error flags SBITERR and DBITERR are never asserted.<br />

ECC Decode Only<br />

Set by Attributes<br />

EN_ECC_READ = TRUE<br />

EN_ECC_WRITE = FALSE<br />

In ECC decode-only mode, only the ECC decoder is enabled. The ECC encoder is disabled.<br />

Decode-only mode is used to inject single-bit or double-bit errors to test the functionality<br />

of the ECC decoder. The ECC parity bits must be externally supplied using the DINP[7:0]<br />

pins.<br />

Creating 8 Parity Bits for a 64-bit Word<br />

Using logic external to the block RAM (a large number of XOR circuits), 8 parity bits can be<br />

created for a 64-bit word. However, using ECC encoder-only mode, the 8 parity bits can be<br />

automatically created without additional logic by writing any 64-bit word into a separate<br />

block RAM. The encoded 8-bit ECC parity data is immediately available, or the complete<br />

72-bit word can be read out.<br />

Block RAM ECC VHDL and Verilog Templates<br />

VHDL and Verilog templates are available in the Vivado Design Suite.<br />

<strong>UltraScale</strong> <strong>Architecture</strong> <strong>Memory</strong> <strong>Resources</strong> www.xilinx.com<br />

Send Feedback<br />

88<br />

UG573 (v1.2) February 24, 2015

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!