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.
- Open the Vivado IDE. You can open the IDE
from the open Tcl shell by typing
start_guior by launching Vivado with the commandvivado -mode gui. - Navigate to
\led_shift_count_7s
, if you
are not already there. The
pwdcommand can confirm this. - 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" - Create an in-memory design by issuing the following command in
the Tcl
Console:
create_project -in_memory -part $part - Load the static design by issuing the following command:
add_files ./Synth/Static/top_synth.dcp - 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.
- 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.
- Link the entire design together using the
link_designcommand:link_design -mode default -reconfig_partitions {inst_shift inst_count} -part $part -top topAt 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 . Make sure the Device window is visible. - Save the assembled design state for this initial
configuration:
write_checkpoint -force ./Checkpoint/top_link_right_up.dcp