10-26-2011 01:28 PM
I have Ubuntu 10.10 and ISE 13.2 on my computer. Everything works fine except the Chipscope analyzer. When I double click on "Analyze Design Using Chipscope" on my ISE, I see the message that "Process "Analyze Design Using Chipscope" launched successfully", But nothing shows up. When I type "analyzer" in my terminal, I see the error message "analyzer.sh: command not found". I searched for this file in my Xilinx installation folder but it was not found!! I have also installed ISE 12.4 on my system but same problem happended. How can I solve this problem??
Thanks for your help,
10-26-2011 01:34 PM
I thought this may also be helpful to figure out the problem.
I tried to add a "Chipscope Definition and Connection File" to my project and I got the following error message:
Started : "Creating ChipScope Definition File".
Command Line: inserter -intstyle ise -mode initial -proj /home/hessam/Leon3/grlib-gpl-1.1.0-b4108/designs/leon3-xilinx-ml605/chipscope.cdc -p xc6vlx240t -output_dir _ngo -ise_project_dir /home/hessam/Leon3/grlib-gpl-1.1.0-b4108/designs/leon3-xilinx-ml605
/opt/Xilinx/13.2/ISE_DS/ISE/bin/lin/unwrapped/cs_common.sh: 76: XIL_DIRS=/opt/Xilinx/13.2/ISE_DS/ISE/: not found
/opt/Xilinx/13.2/ISE_DS/ISE/bin/lin/unwrapped/cs_common.sh: 76: count++: not found
/opt/Xilinx/13.2/ISE_DS/ISE/bin/lin/unwrapped/cs_common.sh: 152: Syntax error: Bad for loop variable
ERROR: Unable to create CDC source
Process "Creating ChipScope Definition File" failed
11-03-2011 11:36 AM
I solved the problem after I chat with Xilinx support. In case anyone else has the same problem, I have done couple of steps to solve the problem and I don't exactly know which one did the main job:
1- I had this line in my .bashrc which I commented it out "alias analyzer='AWT_TOOLKIT=MToolkit analyzer.sh'"
2- I set the XIL_CS_JRE equal to /usr
3- I ran this command "source /opt/Xilinx/13.3/ISE_DS/settings32.sh" which I think I was running it in my .bashrc file for some reason it was not effective
01-04-2012 05:37 AM
I am having exactly the same problem:
Command Line: inserter -intstyle ise -mode initial -proj /home/schreuder/elektronica/Panda/E11_011_G910_Compute_Node_ATCA/cn/ise/cn_0/chipscope.cdc -p xc4vfx60 -output_dir _ngo -ise_project_dir /home/schreuder/elektronica/Panda/E11_011_G910_Compute_Node_ATCA/cn/ise/cn_0
/opt/Xilinx/13.3/ISE_DS/ISE/bin/lin64/unwrapped/cs_common.sh: 76: XIL_DIRS=/opt/Xilinx/13.3/ISE_DS/ISE/: not found
/opt/Xilinx/13.3/ISE_DS/ISE/bin/lin64/unwrapped/cs_common.sh: 76: count++: not found
/opt/Xilinx/13.3/ISE_DS/ISE/bin/lin64/unwrapped/cs_common.sh: 152: Syntax error: Bad for loop variable
ERROR: Unable to create CDC source
however the steps you described above don't solve my problem. any more steps?
01-04-2012 07:17 AM
01-04-2012 06:45 PM
I'm also having the same problem inserting chipscope core in ISE. i'm using ISE12.2 in Ubuntu 10.04. I followed the steps mentioned above, but it doesn't solve the problem. Can anyone suggest here?
02-27-2012 07:39 AM
I have solved this problem on Debian 6.0.4 with ISE 13.2 by running the analyzer script by this command:
The analyzer script uses bash syntax and features but has an incorrect line at start: #!/bin/sh instead of #!/bin/bash. To permanently solve this issue change the first line of the script to #!/bin/bash.
02-28-2012 03:10 AM
Once again this DAMNED error?
Why do people keep on doing this? :robotmad:
If you use bash features make sure your script calls bash!
I love bash but bash is not the only shell around!!!
Sorry for the rant, but I have been bitten by this bug many times....
And the error is usually on one script out of dozens...
Or hidden inside a Makefile that calls sh...
03-09-2012 02:02 PM
Just so it's clear for others finding this thread, the script that needs to be corrected to use bash is /opt/Xilinx/13.1/ISE_DS/ISE/bin/lin/unwrapped/analyzer not /opt/Xilinx/13.1/ISE_DS/ISE/bin/lin/unwrapped/cs_common.sh
10-26-2012 03:59 AM
Hi all. I have the same problem when adding a "ChipScope definition and connection file". I have tried the solutions proposed here, but none of them worked for me, I still get the same error. Any ideas on what to do? Many thanks.
I'm using Ubuntu Server 11.10 and ISE 13.4 (lin64).
04-09-2013 05:59 AM
It seems that I got it solved through changing all scripts in $XILINX/14.4/ISE_DS/ISE/bin/lin64/unwrapped from /bin/sh to /bin/bash
Quite anoying error though.
04-11-2013 04:09 AM
Why has not this has been corrected?
It is a very simple thing for Xilinx to do.
Please change #!/bin/sg to #!/bin/bash when the script uses bash features!
Please! It is so easy!
My best regards
11-13-2013 02:39 AM
Just to emphasize , ( as mentioned before )
So the beginning line of the script:
should change from #!/bin/sh to #!/bin/bash