
7 Series FPGAs Memory Resources www.xilinx.com 37
UG473 (v1.11) November 12, 2014
Block RAM Applications
Byte-Wide Write Enable
These rules should be considered when using the byte-wide write enable feature:
•For RAMB36E1
• In x72 SDP mode, WEBWE<7:0> is used to connect the eight WE inputs for the
write port. WEA<3:0> is unused.
• In x36 mode, WEA[3:0] is used to connect the four WE inputs for port A and
WEBWE<3:0> is used to connect the four WE inputs for port B. WEBWE<7:4> is
unused.
• In x18 mode, WEA[1:0] is used to connect the two user WE inputs for port A and
WEBWE<1:0> is used to connect the two WE inputs for port B. WEA<3:2> and
WEBWE<7:2> are unused.
• In x9 or smaller port width mode, WEA[0] is used to connect the single user WE
input for port A and WEBWE<0> is used to connect the single WE input for port
B. WEA<3:1> and WEBWE<7:1> are unused.
•For RAMB18E1
• In x36 SDP mode, WEBWE<3:0> is used to connect the four WE inputs for the
write port. WEA<1:0> is unused.
• In x18 mode, WEA[1:0] is used to connect the two WE inputs for port A and
WEBWE<1:0> is used to connect the two WE inputs for port B. WEBWE<3:2> is
unused.
• In x9 or smaller port width mode, WEA[0] is used to connect the single user WE
input for port A and WEBWE<0> is used to connect the single WE input for port
B. WEA<1> and WEBWE<3:1> are unused.
Block RAM Applications
Creating Larger RAM Structures
Block RAM columns have special routing (in addition to the 64K x 1 cascade) to create
wider/deeper blocks using 36 Kb block RAMs with minimal routing delays. Wider or
deeper RAM structures are achieved with a smaller timing penalty than is encountered
when using normal routing resources.
Synthesis inference or the Xilinx CORE Generator tool program offers you an easy way to
generate wider and deeper memory structures using multiple block RAM instances. This
program outputs VHDL or Verilog instantiation templates and simulation models, along
with an EDIF file for inclusion in a design.
Block RAM RSTREG in Register Mode
A block RAM RSTREG in register mode can be used to control the output register as a true
pipeline register independent of the block RAM. As shown in Figure 1-11, block RAM can
be read and written independent of register enable or set/reset. In register mode RSTREG
sets DO to the SRVAL and data can be read from the block RAM to DBRAM. Data at
DBRAM can be clocked out (DO) on the next cycle. The timing diagrams in Figure 1-12
through Figure 1-14 show different cases of the RSTREG operation.
Comentarios a estos manuales