FPGARelated.com
Forums

Xilinx ISE GUI vs tcl script problem

Started by nmat...@gmail.com July 18, 2013
Hello
I've used tcl scripts for quite a long time now and been very happy until yesterday when suddenly the script interpreter started picking the wrong top level unit.
So I have a perfectly compiling design in the GUI, I generate a tcl script and when I run it (xtclsh myscript.tcl) it stops with an error message, and when I look at the log I can see it has used "blkmem.xco" as top level unit.
Does anyone know what's going on in there ?

Thanks
Nicolas
Am Donnerstag, 18. Juli 2013 16:21:28 UTC+2 schrieb nmat...@gmail.com:
> Hello > > I've used tcl scripts for quite a long time now and been very happy until yesterday when suddenly the script interpreter started picking the wrong top level unit. > > So I have a perfectly compiling design in the GUI, I generate a tcl script and when I run it (xtclsh myscript.tcl) it stops with an error message, and when I look at the log I can see it has used "blkmem.xco" as top level unit. > > Does anyone know what's going on in there ? > >
Hi Nicolas, difficult to say. So you are using the TCL script generated by ISE-PN? Have you chosen the version withall properties in it? Have you called it with the correct option (e.g. rebuild_project). What was the top level unit at the time of script generation. Maybe you just look in the script for the line that sets the top level unit. If it is wrong, just edit it and put in the correct design unit. Have a nice synthesis Eilert
> > Thanks > > Nicolas
nmatringe@gmail.com wrote:
> Hello > I've used tcl scripts for quite a long time now and been very happy until yesterday when suddenly the script interpreter started picking the wrong top level unit. > So I have a perfectly compiling design in the GUI, I generate a tcl script and when I run it (xtclsh myscript.tcl) it stops with an error message, and when I look at the log I can see it has used "blkmem.xco" as top level unit. > Does anyone know what's going on in there ? > > Thanks > Nicolas
Is it possible that you had "blkmem.xco" selected in the hierarchy view at the time you generated the script? I know a lot of the commands are sensitive to the current selection. -- Gabor