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!
12-24-2018 04:57 PM
In vivado, we can create a project by passing the parameters of <board> and <part> to the led_project.tcl script by typing vivado -mode batch -source led_project.tcl -tclargs <board> <part> in the Tcl Console bar.I want to use the same method to build the project under ise. I try to input source led_project.tcl -tclargs <board> <part> in the Tcl Console of ise but I can't achieve what I want. I found the corresponding document of theise did not find a detailed description. Is there any way to pass the parameters of <board> and <part> to the led_project.tcl script to create the project under ISE?
I refer to Chapter 27 of ug628, but I have not found a way to pass parameters to tcl scripts. I am very grateful to anyone who can help me.
01-07-2019 10:05 PM
Hi, owave_hy@163.com ,
Example for using tcl argv in ISE:
Ex: xtclsh ttt.tcl rebuild_project ("rebuild_project" is the tclargv )
01-07-2019 10:05 PM
Hi, owave_hy@163.com ,
Example for using tcl argv in ISE:
Ex: xtclsh ttt.tcl rebuild_project ("rebuild_project" is the tclargv )
01-17-2019 06:29 PM
01-17-2019 10:49 PM
Hi, owave_hy@163.com ,
You can use the lindex command in your tcl script.
For the usage info, you can refer to the website for tcl:
https://www.tcl.tk/man/tcl/TclCmd/lindex.htm
01-21-2019 05:04 PM
01-21-2019 06:07 PM
Hi, owave_hy@163.com ,
With an option for bitgen command.
Example:
bitgen -g Binary:Yes
01-21-2019 06:12 PM
01-21-2019 06:13 PM
01-21-2019 06:14 PM
bitgen -g Binary:Yes tt.ncd
01-21-2019 06:19 PM
Please specify your input routed NCD file:
bitgen -g Binary:Yes tt.ncd