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: 
Visitor wtl121
Visitor
172 Views
Registered: ‎06-07-2018

tcl script arguments

Jump to solution

I want to passing arguments to tcl script, when use vivado non-project mode, exmple

 vivado -mode batch -source fpga_script.tcl prj_top,

passing arguments "prj_top" to fpga_script.tcl

what should I do?

 

thx!

 

 

0 Kudos
1 Solution

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

Re: tcl script arguments

Jump to solution

@wtl121 

Did you try with the switch -tclargs ?  (vivado -mode batch -source fpga_script -tclargs prj_top)

Also, have a look into this AR. https://www.xilinx.com/support/answers/56501.html

 

Regards,
hemangd

Don't forget to give kudos and mark it as accepted solution if your issue gets resolved.
2 Replies
Moderator
Moderator
169 Views
Registered: ‎03-16-2017

Re: tcl script arguments

Jump to solution

@wtl121 

Did you try with the switch -tclargs ?  (vivado -mode batch -source fpga_script -tclargs prj_top)

Also, have a look into this AR. https://www.xilinx.com/support/answers/56501.html

 

Regards,
hemangd

Don't forget to give kudos and mark it as accepted solution if your issue gets resolved.
Visitor wtl121
Visitor
163 Views
Registered: ‎06-07-2018

Re: tcl script arguments

Jump to solution

Thx!  i get it, -tclargs...

0 Kudos