UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer @ida
Observer
938 Views
Registered: ‎03-02-2017

Give Vivado a tcl command line instead of a tcl script

Jump to solution

Hi,

 

I would like to call Vivado from the OS shell and instead of a tcl script give it a command line to execute:

 

vivado -mode tcl exec [ puts "a"]

 

Can this work, or is it always necessary to source a tcl script with the command in it?

 

Thanks!

0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
921 Views
Registered: ‎03-16-2017

Re: Give Vivado a tcl command line instead of a tcl script

Jump to solution

Hi @ida,

 

If you prefer to work directly with Tcl commands, you can interact with your design using Tcl commands with one of the following methods:

• Enter individual Tcl commands in the Vivado Design Suite Tcl shell outside of the Vivado IDE.

• Enter individual Tcl commands in the Tcl Console at the bo‚om of the Vivado IDE.

• Run Tcl scripts from the Vivado Design Suite Tcl shell.

• Run Tcl scripts from the Vivado IDE.

 

Use the following command to invoke the Vivado Design Suite Tcl shell either at the Linux command prompt or within a Windows Command Prompt window:

vivado -mode tcl

 

Regards,

hemangd

Regards,
hemangd

Don't forget to give kudos and mark it as accepted solution if your issue gets resolved.
0 Kudos
2 Replies
Moderator
Moderator
926 Views
Registered: ‎01-16-2013

Re: Give Vivado a tcl command line instead of a tcl script

Jump to solution

@ida

 

You need to be in VIvado TCL shell and execute the command. Check this link:

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2018_2/ug894-vivado-tcl-scripting.pdf#page=66

 

--Syed

---------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.

Did you check our new quick reference timing closure guide (UG1292)?
---------------------------------------------------------------------------------------------
0 Kudos
Moderator
Moderator
922 Views
Registered: ‎03-16-2017

Re: Give Vivado a tcl command line instead of a tcl script

Jump to solution

Hi @ida,

 

If you prefer to work directly with Tcl commands, you can interact with your design using Tcl commands with one of the following methods:

• Enter individual Tcl commands in the Vivado Design Suite Tcl shell outside of the Vivado IDE.

• Enter individual Tcl commands in the Tcl Console at the bo‚om of the Vivado IDE.

• Run Tcl scripts from the Vivado Design Suite Tcl shell.

• Run Tcl scripts from the Vivado IDE.

 

Use the following command to invoke the Vivado Design Suite Tcl shell either at the Linux command prompt or within a Windows Command Prompt window:

vivado -mode tcl

 

Regards,

hemangd

Regards,
hemangd

Don't forget to give kudos and mark it as accepted solution if your issue gets resolved.
0 Kudos