AN 307: Intel® FPGA Design Flow for AMD* Xilinx* Users

ID 683562
Date 4/01/2024
Public
Document Table of Contents

3.4.1.3. Running Tcl Commands Directly from the Command Line

You can use the --tcl_eval option to directly evaluate the rest of the command line arguments as one or more Tcl commands. If there are two or more Tcl commands, separate them with semicolons.
For example, typing:
quartus_sh --tcl_eval puts Hello\; puts World

Results in the following output:

Hello
World

The Tcl evaluate option allows external scripting programs (such as make, perl, and sh) to access information from the Quartus® Prime Pro Edition software. You can use these programs to obtain device family information for a targeted part.

The --tcl_eval option also provides Tcl help information directly from the command-line prompt.