132
Virtex-5 FPGA User Guide
UG190 (v5.0) June 19, 2009
Chapter 4:
Block RAM
•
When using these attributes, if both write ports or both read ports are set to 0, the
Xilinx ISE tools will not implement the design. In simple dual-port mode, the port
width is fixed and the read port width is equal to the write port width. The RAMB18
has a data port width of 36, while the RAMB36 has a data port width of 72.
RAMB18 and RAMB36 Port Mapping Design Rules
The Virtex-5 FPGA block RAM are configurable to various port widths and sizes.
Depending on the configuration, some data pins and address pins are not used.
shows the pins used in various configurations. In addition to the information in
, the following rules are useful to determine port connections for the RAMB36:
1.
When using RAMB36, if the DI[A|B] pins are less than 32 bits wide, concatenate
(32 – DI_BIT_WIDTH) logic zeros to the front of DI[A|B].
2.
If the DIP[A|B] pins are less than 4-bits wide, concatenate (4 – DIP_BIT_WIDTH) logic
zeros to the front of DIP[A|B]. DIP[A|B] can be left unconnected when not in use.
3.
DO[A|B] pins must be 32 bits wide. However, valid data is only found on pins
DO_BIT_WIDTH – 1 down to 0.
4.
DOP[A|B] pins must be 4 bits wide. However, valid data is only found on pins
DOP_BIT_WIDTH – 1 down to 0. DOP[A|B] can be left unconnected when not in use.
5.
ADDR[A|B] pins must be 16 bits wide. However, valid addresses for non-cascadable
block RAM are only found on pin 14 to (15 – address width). The remaining pins,
including pin 15, should be tied High. Address width is defined in
.
Cascadable Block RAM
To use the cascadable block RAM feature:
1.
Two RAMB36 primitives must be instantiated.
2.
Set the RAM_EXTENSION_A and RAM_EXTENSION_B attribute for one RAMB36 to
UPPER, and another to LOWER.
3.
Connect the upper RAMB36’s CASCADEINA and CASCADEINB ports to the
CASCADEOUTA and CASCADEOUTB ports of the lower RAMB36. The
CASCADEOUT ports for the upper RAMB36 do not require a connection. Connect the
CASCADEIN ports for the lower RAMB36 to either logic High or Low.
4.
The data output ports of the lower RAMB36 are not used. These pins are unconnected.
5.
If placing location constraints on the two RAMB36s, they must be adjacent. If no
location constraint is specified, the Xilinx ISE software will automatically manage the
RAMB36 locations.
6.
The address pins ADDR[A|B] must be 16 bits wide. Both read and write ports must be
one bit wide.
shows the cascadable block RAM.
Byte-wide Write Enable
The following rules should be considered when using the byte-wide write enable feature:
•
In x36 mode, WE[3:0] is connected to the four user WE inputs.
•
In x18 mode, WE[0] and WE[2] are connected and driven by the user WE[0], while
WE[1], and WE[3] are driven by the user WE[1].
•
In x9, x4, x2, x1, WE[3:0] are all connected to a single user WE.
Содержание Virtex-5 FPGA ML561
Страница 1: ...Virtex 5 FPGA User Guide UG190 v5 0 June 19 2009 ...
Страница 8: ...Virtex 5 FPGA User Guide www xilinx com UG190 v5 0 June 19 2009 ...
Страница 20: ...20 www xilinx com Virtex 5 FPGA User Guide UG190 v5 0 June 19 2009 ...
Страница 24: ...24 www xilinx com Virtex 5 FPGA User Guide UG190 v5 0 June 19 2009 Preface About This Guide ...
Страница 172: ...172 www xilinx com Virtex 5 FPGA User Guide UG190 v5 0 June 19 2009 Chapter 4 Block RAM ...
Страница 316: ...316 www xilinx com Virtex 5 FPGA User Guide UG190 v5 0 June 19 2009 Chapter 6 SelectIO Resources ...
Страница 352: ...352 www xilinx com Virtex 5 FPGA User Guide UG190 v5 0 June 19 2009 Chapter 7 SelectIO Logic Resources ...