The USER_RAM_AVERAGE_ACTIVITY constraint specifies a value that represents the average frequency of all UltraRAM and Block RAM on the device that can be switched (enabled/disabled). The value is used by the Vivado tools to model power supply noise induced by RAM switching and calculate jitter for global clocks in static timing analysis. The jitter is reported as a component of clock uncertainty in static timing analysis. If the USER_RAM_AVERAGE_ACTIVITY is not specified, the RAM_AVERAGE_ACTIVITY value computed by the Vivado tools is used for the jitter calculation and can increase the difficulty of timing closure.
The Vivado tool performs an estimate of RAM
activity for flat designs based on the RAM device resources used, the RAM enable pins
being connected to active signals, and the operating frequency of the RAMs. The Vivado tool assumes a pessimistic default value of 320
MHz for DFX designs. The RAM activity value computed by the Vivado tools is applied to the read-only RAM_AVERAGE_ACTIVITY property on
[current_design] object. To reduce the
pessimism in DFX designs, you can budget RAM Activity for your reconfigurable partitions
and calculate the USER_RAM_AVERAGE_ACTIVITY for your design by using this link in the
ACAP Clocking Resources Architecture Manual (AM003).
To specify the USER_RAM_AVERAGE_ACTIVITY constraint, apply the constraint
to the top-level
[current_design] object in your XDC
set_property USER_RAM_AVERAGE_ACTIVITY 160 [current_design]
The following table shows how additional clock uncertainty caused by RAM switching can impact timing closure. In this example, a design has global clocks operating at 300 MHz, 400 MHz, and 500 MHz. The RAM_AVERAGE_ACTIVITY is 320, and the USER_RAM_AVERAGE_ACTIVITY constraint is calculated to be 160. Applying the constraint decreases the clock uncertainty for all paths in each clock domain, which makes achieving design timing closure less difficult.
|RAM_AVERAGE_ACTIVITY 320 Clock Uncertainty
|USER_RAM_AVERAGE_ACTIVITY 160 Clock Uncertainty
|Clock Uncertainty Decrease