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: 
Adventurer
Adventurer
838 Views
Registered: ‎10-16-2018

About ise14.7 using tcl script to build project

Jump to solution

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.

0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
743 Views
Registered: ‎11-04-2010

Re: About ise14.7 using tcl script to build project

Jump to solution

Hi, owave_hy@163.com ,

Example for using tcl argv in ISE: 

Ex: xtclsh ttt.tcl rebuild_project   ("rebuild_project" is the tclargv )

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
9 Replies
Moderator
Moderator
744 Views
Registered: ‎11-04-2010

Re: About ise14.7 using tcl script to build project

Jump to solution

Hi, owave_hy@163.com ,

Example for using tcl argv in ISE: 

Ex: xtclsh ttt.tcl rebuild_project   ("rebuild_project" is the tclargv )

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Adventurer
Adventurer
645 Views
Registered: ‎10-16-2018

Re: About ise14.7 using tcl script to build project

Jump to solution
Hi,Does ISE support the "lindex" command, how to use it?
0 Kudos
Moderator
Moderator
633 Views
Registered: ‎11-04-2010

Re: About ise14.7 using tcl script to build project

Jump to solution

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

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Adventurer
Adventurer
589 Views
Registered: ‎10-16-2018

Re: About ise14.7 using tcl script to build project

Jump to solution
Hi,I still have a question.
How to generate a .bin file with the tcl command under ise?
0 Kudos
Moderator
Moderator
583 Views
Registered: ‎11-04-2010

Re: About ise14.7 using tcl script to build project

Jump to solution

Hi, owave_hy@163.com ,

With an option for bitgen command.

Example: 

bitgen -g Binary:Yes

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Adventurer
Adventurer
579 Views
Registered: ‎10-16-2018

Re: About ise14.7 using tcl script to build project

Jump to solution
I executed the "bitgen -g Binary:Yes" command under ISE, which is not possible.
The following is a screenshot of the test.
0 Kudos
Adventurer
Adventurer
578 Views
Registered: ‎10-16-2018

Re: About ise14.7 using tcl script to build project

Jump to solution
 
Y74T[THHPOG3{RMPXXVT3%R.png
0 Kudos
Moderator
Moderator
577 Views
Registered: ‎11-04-2010

Re: About ise14.7 using tcl script to build project

Jump to solution

bitgen -g Binary:Yes tt.ncd

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Moderator
Moderator
574 Views
Registered: ‎11-04-2010

Re: About ise14.7 using tcl script to build project

Jump to solution

Please specify your input routed NCD file:

bitgen -g Binary:Yes tt.ncd

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------