In this lab, you write a Project Mode Tcl script, creating a new project and adding
source RTL and customized AMD IP.
When working in Project Mode, the AMD Vivado™
IDE creates a directory structure on the disk to manage the design source files, run
results, and track project status. A runs infrastructure manages the automated synthesis
and implementation process and tracks the run status.
In Scripting the Non-Project Mode, you explore creating a Tcl
script to run the Vivado tools in Non-Project Mode. This mode does not rely on project
files and managed source files. For more information on Project Mode and Non-Project
Mode, refer to the
Vivado Design Suite User Guide: Design
Flows Overview (UG892).
The best way to become familiar with scripting the Project Mode design flow is
by first running the design flow interactively in the
Vivado IDE, and referencing the journal file,
vivado.jou, that the
AMD Vivado™ Design Suite creates. By editing the journal file, you can create
a Tcl script that encompasses the entire Project Mode design flow. In this lab, you can
build the script by hand. For more information on writing and using Tcl scripts, refer
to the
Vivado
Design Suite User Guide: Using Tcl Scripting (UG894).
CAUTION:
When copying
Tcl commands and script examples from this Tutorial document and pasting them into
the Vivado Design Suite Tcl shell, or Tcl Console,
the dash “-“ character can sometimes be converted to an em-dash “–“ which results in
errors when the commands are run.