Step 4: Assembling and Implementing the Design - Step 4: Assembling and Implementing the Design - 2021.2 English - UG947

Vivado Design Suite Tutorial: Dynamic Function eXchange (UG947)

Document_ID
UG947
Release_Date
2022-04-18
Version
2021.2 English
Now that the synthesized checkpoints for each module, plus top, are available, you can assemble the design.

You will run all flow steps from the Tcl Console, but you can use features within the IDE (such as the floorplanning tool) for interactive events.

Tip: Copy and paste commands directly from the tutorial to avoid redundant effort and typos in the Vivado® IDE. Copy and paste only one full command at a time. Note that some commands are long and span multiple lines.
  1. Open the Vivado IDE. You can open the IDE from the open Tcl shell by typing start_gui or by launching Vivado with the command vivado -mode gui.
  2. Navigate to \led_shift_count_7s , if you are not already there. The pwd command can confirm this.
  3. Set variables that help with copying commands from this document into the Tcl Console. Select the part and board you are targeting for this lab, and apply them in Vivado:
    set part "xcku040-ffva1156-2-e"
    set board "kcu105"
    
    set part "xcvu095-ffva2104-2-e"
    set board "vcu108"
    
    set part "xcku5p-ffvb676-2-e"
    set board "kcu116"
    
    set part "xcvu9p-flga2104-2l-e"
    set board "vcu118"
    
  4. Create an in-memory design by issuing the following command in the Tcl Console:
    create_project -in_memory -part $part
  5. Load the static design by issuing the following command:
    add_files ./Synth/Static/top_synth.dcp
  6. Load the top-level design constraints by issuing these commands:
    add_files ./Sources/xdc/top_io_$board.xdc
    set_property USED_IN {implementation} [get_files ./Sources/xdc/top_io_$board.xdc]

    Selecting the top_io_$board version of the available xdc file loads the pin location and clocking constraints, but does not include floorplan information. The top_$board version includes pin location, clocking and floorplanning constraints.

  7. Load the first two synthesis checkpoints for the shift and count functions by issuing these commands:
    add_files ./Synth/shift_right/shift_synth.dcp
    set_property SCOPED_TO_CELLS {inst_shift} [get_files ./Synth/shift_right/shift_synth.dcp]
    add_files ./Synth/count_up/count_synth.dcp
    set_property SCOPED_TO_CELLS {inst_count} [get_files ./Synth/count_up/count_synth.dcp]

    The SCOPED_TO_CELLS property ensures that the proper assignment is made to the target cell. See this link in Vivado Design Suite User Guide: Using Constraints (UG903) for more information.

  8. Link the entire design together using the link_design command:
    link_design -mode default -reconfig_partitions {inst_shift inst_count} -part $part -top top

    At this point a full configuration is loaded, including static and reconfigurable logic. Note that the Flow Navigator pane is not present while you are working in non-project mode.

    Tip: Place the IDE in floorplanning mode by selecting Layout > Floorplanning. Make sure the Device window is visible.
  9. Save the assembled design state for this initial configuration:
    write_checkpoint -force ./Checkpoint/top_link_right_up.dcp