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 gaurav_pc
Visitor
6,720 Views
Registered: ‎08-29-2012

Error while running implementation through unix command line

Hello,

 

I am new to Xilinx and bash scripting. I am using Xilinx 13.4. I am trying to run implementation(ngdbuild, map, par etc) to create the bit file through a bash script, but I am getting an error. Following is the snippet of my error :-

 

Running synthesis...

bash -c "cd synthesis; ./synthesis.sh"
xst -ifn system_xst.scr -intstyle silent
Running XST synthesis ...
PMSPEC -- Overriding Xilinx file
</tools/Xilinx/13.4/ISE_DS/EDK/virtex5/data/virtex5.acd> with local file
</tools/Xilinx/13.4/ISE_DS/ISE/virtex5/data/virtex5.acd>
XST completed
error status of previous command:0
=> Starting xst: Xst log file is: no_file.syr
Using xst file - no_file.xst

 

ERROR:Xst:427 - Entry File no_file.xst not found

 

 Can I get some help on this?

 

Thanks,

Gaurav.

0 Kudos
9 Replies
Xilinx Employee
Xilinx Employee
6,704 Views
Registered: ‎01-03-2008

Re: Error while running implementation through unix command line

Does "no_file.xst" exist and in the directory where XST is running?

------Have you tried typing your question into Google? If not you should before posting.
Too many results? Try adding site:www.xilinx.com
0 Kudos
Visitor gaurav_pc
Visitor
6,693 Views
Registered: ‎08-29-2012

Re: Error while running implementation through unix command line

The file no_file.xst and no_file.syr does not exist in the directory. When I run the process through gui these files get generated but I don't know which command generates those files. Yes, I tried to search the web for the error but I have not found a solution.

0 Kudos
Xilinx Employee
Xilinx Employee
6,687 Views
Registered: ‎07-01-2008

Re: Error while running implementation through unix command line

Since this is an XST issue, you might want to take this to the Synthesis forum.

0 Kudos
Xilinx Employee
Xilinx Employee
6,681 Views
Registered: ‎01-03-2008

Re: Error while running implementation through unix command line

Please post the contents of synthesis.sh and system_xst.scr

------Have you tried typing your question into Google? If not you should before posting.
Too many results? Try adding site:www.xilinx.com
0 Kudos
Visitor gaurav_pc
Visitor
6,674 Views
Registered: ‎08-29-2012

Re: Error while running implementation through unix command line

Contents of synthesis.sh

 

#!/bin/bash
rm -rf xst
echo "xst -ifn "system_xst.scr" -intstyle silent"
echo "Running XST synthesis ..."
xst -ifn "system_xst.scr" -intstyle silent
if [ $? -ne 0 ]; then
  exit 1
fi
echo "XST completed"
rm -rf xst

 

Contents of system_xst.scr

 

run
-opt_mode speed
-netlist_hierarchy as_optimized
-opt_level 1
-p xc5vfx200tff1738-1
-top system
-ifmt MIXED
-ifn system_xst.prj
-ofn ../implementation/system.ngc
-hierarchy_separator /
-iobuf NO
-max_fanout 10000
-sd {../implementation}
-vlgincdir {"/path/" "/tools/Xilinx/13.4/ISE_DS/EDK/hw/XilinxBFMinterfa

ce/pcores/" "/tools/Xilinx/13.4/ISE_DS/EDK/hw/XilinxProcessorIPLib/pcores/" "/tools/Xilinx/13.4/ISE_DS/EDK/hw/XilinxProcessorIPLib/pcores/block_plus_v1_13_a/hdl/verilog/" "/tools/Xilinx/13.4/ISE_DS/EDK/hw/XilinxProcessorIPLib/pcores/plbv46_pcie_v4_07_a/hdl/verilog/" }

0 Kudos
Xilinx Employee
Xilinx Employee
6,666 Views
Registered: ‎01-03-2008

Re: Error while running implementation through unix command line

and the contents of system_xst.prj

------Have you tried typing your question into Google? If not you should before posting.
Too many results? Try adding site:www.xilinx.com
0 Kudos
Visitor gaurav_pc
Visitor
6,661 Views
Registered: ‎08-29-2012

Re: Error while running implementation through unix command line

Contents of system_xst.prj

 

verilog work ../hdl/systm.v

0 Kudos
Xilinx Employee
Xilinx Employee
6,654 Views
Registered: ‎01-03-2008

Re: Error while running implementation through unix command line

There is nothing wrong with the material that you posted that I can see, but after looking at your first post it looks like you may have another script calling the synthesis.sh script is that right?  If so then the error is most likely in there.

------Have you tried typing your question into Google? If not you should before posting.
Too many results? Try adding site:www.xilinx.com
0 Kudos
Visitor gaurav_pc
Visitor
6,650 Views
Registered: ‎08-29-2012

Re: Error while running implementation through unix command line

I have just one command calling synthesis.sh in the script also after XST it does not generate other files(.ngc files) which are required for ngdbuild. When I run through the gui I am not having this problem though.

0 Kudos