You can run the non_project_run.tcl script in
Vivado® Design Suite batch mode or Tcl mode.
- Batch mode runs the sourced script, and then automatically exit the tool after the script has finished processing.
- Tcl mode runs the sourced script, and return to the Tcl command prompt when finished.
- Change to the directory where the lab materials are stored:
- On Linux:
cd <Extract_Dir>/lab_4
- On Linux:
- Launch the
Vivado® Design Suite Tcl shell, and source a Tcl script to
create the tutorial design:
- On Linux:
vivado -mode tcl -source non_project_run.tcl
- On Windows, click Vivado Design Suite Tcl shell. to launch the
- On Linux:
- In the Tcl shell:
- Change to the directory where the lab materials are
stored:
Vivado% cd <Extract_Dir>/lab_4
- Source the Tcl script to create the
design:
Vivado% source non_project_run.tcl
After the sourced script has completed, the Tcl shell displays the
Vivado%
prompt.Important: If your Tcl script has an error in it, the script will halt execution at the point of the error. You will need to fix the error, and re-source the Tcl script as needed. If you are running in Tcl mode, you may need to close the current project withclose_project
, or exit the Vivado tool with exit to source the Tcl script again.
Running the script results in the creation of a directory called IP. Output products for the various IPs used in the design are written to this directory. Reports, design checkpoints, and a bitstream for the design are also written to disk.
- Change to the directory where the lab materials are
stored:
- You can open the design in the Vivado IDE to perform further
analysis. To open the Vivado IDE from the Tcl prompt type:
start_gui
.