beautypg.com

Tcl_eval= –103 tcl –103, Tcl_eval= –103 – Altera Quartus II Scripting User Manual

Page 129: Tcl –103

background image

Chapter 2: Command-line Executables

2–103

Tcl Options

© July 2013

Altera Corporation

Quartus II Scripting Reference Manual

--tcl_eval=

Option to evaluate the remaining command-line arguments as a Tcl command, posting the results to
stdout.

Any remaining arguments are not interpreted as an argument to the application, but treated as part of the
Tcl command itself.

This option does not allow other arguments to be specified before it.

In Linux, use a backslash '\' plus a semi-colon ';' to separate Tcl commands instead of using only a
semi-colon ';'. Example:

% quartus_sh --tcl_eval puts "Hello"\; puts "World"

% Hello
% World

In Windows platforms, using a semi-colon will suffice. Example:

% quartus_sh --tcl_eval puts "Hello"; puts "World"

% Hello
% World

Tcl

The Quartus II software offers three Tcl modes of operation: script, shell, and quick-eval.

Script Mode: The "-t