We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 33358

Spartan-6 FPGA MCB - Data Mask cannot be disabled and the UDM and LDM pins cannot be used as General Purpose I/O (GPIO)


The MIG 3.2 GUI allows users to enable or disable usage of Data Mask.

The following is stated in the MIG tool for the Data Mask option:

"Uncheck this box if you would like to not use data masks and save FPGA I/Os that are used for DM signals."

This option should not be available as the Data Mask signals MUST be used in Spartan-6 FPGA MCB designs.

Data Mask cannot be disabled, and the udm and ldm pins cannot be used as GPIO.


Version Fixed: 11.4 (MIG v3.3)

Data Mask must be enabled and the udm (x16 only) and ldm I/O (mcbx_dram_ldm and mcbx_dram_udm) must be connected to the DM pin(s) on the memory component even if the user does not intend to mask any data.

Data Mask must be enabled as the MCB will need to use the Data Mask pins in certain cases, even when the user has not requested data masking at the User Interface.

For example:

User Interface: Configured as 32-bit wide

Memory width: x8

Memory Burst Length: 8

In this case, the normal memory transaction would be 64 bits.

However, if the user only requests a single User Word (32 bits) to be written at the user interface (User Burst Length = 1), then the MCB will need to mask off half of the data beats.

The Spartan-6 Memory Controller User Guide (UG388) includes the following in the "MCB Functional Description" section:

Note: Predefined pins revert to general-purpose I/Os when an MCB is unused.

In addition, all unused pins from an active MCB (for example, extra DQ pins when only a x4 interface is implemented) also revert to general-purpose I/Os.

There are two exceptions to this general rule:

a. Data mask pins are paired such that if only LDM is used, UDM is lost as a general I/O.

b. Data strobe pins are paired such that if only DQS is used (single-ended strobe), DQS_n is

lost as a general I/O. The same is true for UDQS and UDQS_n.

In addition to these guidelines, Data Mask must be used, and therefore, LDM and UDM can never be used as GPIO.

AR# 33358
Date 03/25/2016
Status Active
Type General Article
  • Spartan-6 LX
  • Spartan-6 LXT
  • Spartan-6Q