UPGRADE YOUR BROWSER

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

MIG 7 Series DDR3, Vivado Implementation - Improper high utilization of the MIG core due to signal replication from MAX_FANOUT attributes, and timing violations may also occur on signals with MAX_FANOUT attributes

Description

Version Found: MIG 7 Series v1.9
Version Resolved: See (Xilinx Answer 54025)

The MIG 7 Series DDR3 design when implemented in Vivado design tools may show an abnormally high device utilization (and higher than an ISE implementation) and fail timing with errors similar to the following:

OUT_FIFO_X0Y9        OUT_FIFO (Prop_out_fifo_WRCLK_FULL)
                                     0.391     3.548 r  u_mig_7series_v1_9_a_0/u_memc_ui_top_std/mem_intfc0/ddr_phy_top0/u_ddr_mc_phy_wrapper/u_ddr_mc_phy/ddr_phy_4lanes_1.u_ddr_phy_4lanes/ddr_byte_lane_B.ddr_byte_lane_B/out_fifo/FULL
        net (fo=1817, routed)        5.267     8.815    u_mig_7series_v1_9_a_0/u_memc_ui_top_std/mem_intfc0/ddr_phy_top0/u_ddr_mc_phy_wrapper/u_ddr_mc_phy/ddr_phy_4lanes_1.u_ddr_phy_4lanes/ddr_byte_lane_B.ddr_byte_lane_B/of_pre_fifo_gen.u_ddr_of_pre_fifo/I1

The high utilization and potential timing violations are due to max_fanout constraints within the generated MIG rtl. The max_fanout constraints are required for ISE implementation, but have been seen to cause both timing violations and an increase in flip-flop utilization with Vivado Synthesis.

Solution

When implementing a MIG 7 series design in the Vivado tool, the max_fanout constraints within the rtl can be removed. There are a number of max_fanout constraints within a number of MIG generated rtl modules.

This answer record includes a Tcl script that finds all max_fanout constraints within the rtl design and creates xdc constraints to override the rtl max_fanouts. This eliminates the need to manually update the rtl.

Download the Tcl script located at the bottom this answer record and follow the steps below to execute the script and properly update the design:

  1. Save the attached mig_gen_max_fanout_xdc.tcl file to the Vivado project directory (i.e., the directory with the project .xpr).
  2. Run the following commands (comments are included in parentheses):
    1. vivado project_name.xpr (opens the Vivado project).
    2. open_run synth_1 name netlist_1 (opens the synthesized design).
    3. source ./mig_gen_max_fanout_xdc.tcl (loads the TCL procedure).
    4. mig_gen_max_fanout_xdc (executes the TCL procedure with the default settings).


After completing these steps, a max_fanout.xdc file will be created. These constraints must now be added to the constraint set and the design re-synthesized by executing the following:

  1. add_files fileset constrs_1 norecurse ./max_fanout.xdc (adds the new constraint file to the project constraints).
  2. close_design (closes the out-of-date synthesized design).
  3. reset_run synth_1 (reset the synthesis run to the beginning).
  4. launch_runs synth_1 jobs 4 (runs synthesis with new max_fanout constraints in XDC overriding max_fanout settings in RTL).
  5. launch_runs impl_1 jobs 4 (runs implementation).


It is possible after completing these steps that critical warnings are issued on nets that were eliminated in the second pass through synthesis. If these warnings occur, they can be safely ignored as they are issued due to max_fanout assignments to non-existent nets. Otherwise, the nets with the critical warnings can be eliminated from the xdc file.

Note: The tcl script looks for MIG replicated cells based on the MIGcellFilter argument. If the default of mig is not part of the MIG path, run the following command to execute the script (instead of step 2.4):
mig_gen_max_fanout_xdc 30 XlnxMemoryController max_fanout.xdc

Attachments

Associated Attachments

Name File Size File Type
55165.zip 953 Bytes ZIP

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
54025 MIG 7 Series - IP Release Notes and Known Issues for Vivado 2013.1 and newer tool versions N/A N/A
AR# 55165
Date Created 03/26/2013
Last Updated 10/28/2013
Status Active
Type Known Issues
Devices
  • Artix-7
  • Kintex-7
  • Virtex-7
IP
  • MIG 7 Series