The Main Script - The Main Script - 2025.2 English - UG947

Vivado Design Suite Tutorial: Dynamic Function eXchange (UG947)

Document ID
UG947
Release Date
2026-02-11
Version
2025.2 English

In \led_shift_count_us, open run_dfx.tcl in a text editor. This is the master script where you define the design parameters, design sources, and design structure. This is the only file you have to modify to compile a complete Dynamic Function eXchange design. Find more details regarding run_dfx.tcl, advanced_settings.tcl, and the underlying scripts in the README.txt located in the Tcl_HD subdirectory.

Note the following details in this run_dfx.tcl:

  • Under Define target demo board, you can select one of many demonstration boards supported for this design.
  • Under flow control, you can control what phases of synthesis and implementation are run. In the tutorial, only synthesis is run by the script; implementation, verification, and bitstream generation are run interactively. To run these additional steps via the script, set the flow variables to 1 (for example, run.prImpl).
  • The output and input directories set the file structure expected for design sources and results files. You must reflect any changes to your file structure here.
  • The Top Definition and RP Module Definitions sections let you reference all source files for each part of your design. Top Definition covers all sources needed for the static design, including constraints and IP. The RP Module Definitions section does the same for reconfigurable partitions (RP). Identify each RP and list all Reconfigurable Module (RM) variants for each RP.
    • This design has two RPs (inst_shift and inst_count), and each RP has two module variants.
  • The Configuration Definition sections define the sets of static and reconfigurable modules that make up a configuration.
    • This design has two configurations defined within the master script: config_shift_right_count_up_implement and config_shift_left_count_down_import.
    • You can create more configurations by adding RMs or by combining existing RMs.