To enter Tcl commands, click in the command line entry box at the bottom of the Tcl Console, and type the commands.
Important: To get input from Tcl using
the gets
stdin
command, you must launch the Vivado
IDE from a command prompt, xterm, or Tcl shell. This ensures that the Vivado IDE does not hang while waiting for input. Alternatively, you can
use the Vivado <version> Tcl Shell
shortcut, and enter the start_gui
command to open the
Vivado IDE. When you use the gets stdin
command
from the Vivado IDE, the Vivado IDE reads the
data entered in the command prompt, xterm, or Tcl shell.