Connecting Fifos In Parallel To Increase Width; Built-In Error Correction - Xilinx Virtex-5 FPGA User Manual

Hide thumbs Also See for Virtex-5 FPGA:
Table of Contents

Advertisement

Chapter 4: Block RAM

Connecting FIFOs in Parallel to Increase Width

As shown in
design. CLB logic is used to implement the AND/OR gates. All the FIFO AFULL signals
must be ORed together to created the output AFULL signal and all the FIFO EMPTY
signals must be ORed together to created the output EMPTY signal. The maximum
frequency is limited by the logic gate feedback path.
X-Ref Target - Figure 4-27
DIN<143:72>

Built-in Error Correction

Each simple dual-port block RAM can be configured as a single 512 x 64 RAM with built in
Hamming code error correction, using the extra eight bits in the 72-bit wide RAM. The
operation is transparent to the user.
Eight protection bits (ECCPARITY) are generated during each write operation and stored
with the 64-bit data into the memory. These ECCPARITY bits are used during each read
operation to correct any single-bit error, or to detect (but not correct) any double-bit error.
The ECCPARITY bits are written into the memory and output to the FPGA fabric at each
rising edge of the WRCLK. There are no optional output registers available on the
ECCPARITY output bits.
During each read operation, 72 bits of data (64 bits of data and an 8-bit parity) are read
from the memory and fed into the ECC decoder. The ECC decoder generates two status
outputs (SBITERR and DBITERR) that are used to indicate the three possible read results:
No error, single-bit error corrected, double-bit error detected. In the standard ECC mode,
the read operation does not correct the error in the memory array, it only presents corrected
data on DO. To improve F
available for data output (DO), SBITERR, and DBITERR.
This ECC configuration option is available with a 36K block RAM simple dual-port
primitive (RAMB36SDP) or a 36K FIFO primitive (FIFO36_72). A Virtex-4 FPGA ECC 18K
block RAM mapped for a Virtex-5 FPGA design will occupy the entire RAMB36 site.
FIFO36_72 supports standard ECC mode only.
158
Figure
4-27, the Virtex-5 FPGA FIFO36 can be connected to add width to the
512 x 144 FIFO
DIN<71:0>
RDEN
WRCLK
RDCLK
WREN
Figure 4-27: Example: Connecting FIFOs in Parallel to Increase Width
MAX
www.xilinx.com
DOUT<71:0>
DIN<71:0>
WREN
RDEN
EMPTY
WRCLK
RDCLK
AFULL
FIFO #1
DOUT<71:0>
DIN<71:0>
WREN
RDEN
EMPTY
WRCLK
RDCLK
AFULL
FIFO #2
, optional registers controlled by the DO_REG attribute are
DOUT<71:0>
EMPTY
DOUT<143:72>
AFULL
ug190_4_24_012706
Virtex-5 FPGA User Guide
UG190 (v5.0) June 19, 2009

Advertisement

Table of Contents
loading

Table of Contents