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# 25085

Spartan-6 and Spartan-3 FPGA Generation block RAM - Do the setup/hold times for the address inputs need to be met, even if the output is unused and WE is deasserted?


My design ignores the output of the block RAM at certain times. Do the setup and hold times of the ADDRESS inputs still need to be met, even if Write Enable (WE) is deasserted?


When a port is enabled, the setup and hold specifications of the ADDRESS inputs should never be violated, even if WE is deasserted.

For the Spartan-6 Generation (Spartan-6 LX, Spartan-6 LXT) and Spartan-3 Generation devices (Spartan-3, Spartan-3E, Spartan-3A, Spartan-3AN, and Spartan-3A DSP), when a block RAM port is enabled, all address transitions must meet the setup/hold time of the ADDR inputs with respect to the port clock.

The setup and hold requirements for the block RAM inputs are listed in the device data sheet. The requirements must be met even when the read data output is ignored by the user and WE is deasserted. Otherwise, the block RAM contents might be unreliable.

There are some instances in which you might not be able to meet these requirements; for example, if there is a multi-cycle path on the address input signals. 

Work around this by disabling the port via ENA/ENB during the time that the address inputs do not meet set up and hold requirements. De-asserting ENA/ENB disables the port so that violating the address input setup and hold requirements does not affect block RAM contents. 

Assert ENA/ENB again when resuming normal read/write functionality.

The Spartan-6 FPGA data sheet is located at:


AR# 25085
Date 08/10/2017
Status Active
Type General Article
  • Spartan-6
Page Bookmarked