cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
7,083 Views
Registered: ‎03-30-2011

ISE 13.1 via command line

Jump to solution

Hello,

I've been trying to write a batch file to run everything through command line.

I got ISE working but I am getting errors dealing with EDK and SDK.

 

Here is lines that used for EDK

 

%EDK%\make.exe -f %DEEPSAS%\lanFPGA\synthesis\lanFPGA.make clean
%EDK%\make.exe -f %DEEPSAS%\lanFPGA\synthesis\lanFPGA.make netlist
%EDK%\make.exe -f %DEEPSAS%\lanFPGA\synthesis\lanFPGA.make exporttosdk
It seems like clean and exporttosdk work just fine but I am getting following error while building netlist:
process_begin: CreateProcess(NULL, platgen -p xc5vsx50tff665-1 -lang verilog -to plevel no -ti lanFPGA_i -msg _xps/ise/xmsgrops.lst lanFPGA.mhs, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [implementation/mb_plb_wrapper.ngc] Error 2
Not quite sure what kind of file it is looking for, its pretty cleat that it is not lanFPGA.make file.
I was wondering if someone might know solution to this problem or at least a hint. 
Thank you very much
I also get problems with SDK but I am going to post it to a different thread.

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Visitor
Visitor
8,873 Views
Registered: ‎03-30-2011

Re: ISE 13.1 via command line

Jump to solution

Alright, its fixed for sure!!!!

Here is what I have done:

A. Set the environment variable XILINX

Windows XP Professional 

 

  Globally: 
  1. Right-click My Computer, and select Properties.  
  (NOTE: "My Computer" will be located under the "Start" menu if it is not on the desktop.) 
  2. Click the Advanced tab. 
  3. Click Environment Variables, and add the desired variable. 

 


Variable: XILINX Value: C:\Xilinx\13.1\ISE_DS\ISE


B. Included bunch of different pathes tsearch path for executable files (I think %LIB% one is crucial)

   if "%SYNTH%" == "" set SYNTH=C:\path\to\your\synthesis\

if "%ISE%" == "" set ISE=C:\Xilinx\13.1\ISE_DS\ISE\bin\nt if "%EDK%" == "" set EDK=C:\Xilinx\13.1\ISE_DS\EDK\gnuwin\bin if "%XPS%" == "" set XPS=C:\Xilinx\13.1\ISE_DS\EDK\bin\nt

if "%LIB%" == "" set LIB=C:\Xilinx\13.1\ISE_DS\ISE\lib\nt

 

path=%ISE%;%XPS%;%EDK%;%LIB%;%SYNTH%

 

Took only couple days to figure out, I wish make.exe error handler would give more info than just "the system cannot find the file specified"

 

View solution in original post

5 Replies
Highlighted
Xilinx Employee
Xilinx Employee
7,077 Views
Registered: ‎01-03-2008

Re: ISE 13.1 via command line

Jump to solution

Does the variable "%DEEPSAS%" point to a directory with spaces in it?  If so, then you need to put quotes around the entire string so it will be passed as one item.

------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
Visitor
7,072 Views
Registered: ‎03-30-2011

Re: ISE 13.1 via command line

Jump to solution

I dont think I have any spaces in the definition of DEEPSAS. I think my path variable is defined properly, otherwise clean and exporttosdk calls would not work either.

0 Kudos
Highlighted
Visitor
Visitor
7,032 Views
Registered: ‎03-30-2011

Re: ISE 13.1 via command line

Jump to solution

I think I fixed it!

You have to run batch file as administrator to make it work

0 Kudos
Highlighted
Visitor
Visitor
8,874 Views
Registered: ‎03-30-2011

Re: ISE 13.1 via command line

Jump to solution

Alright, its fixed for sure!!!!

Here is what I have done:

A. Set the environment variable XILINX

Windows XP Professional 

 

  Globally: 
  1. Right-click My Computer, and select Properties.  
  (NOTE: "My Computer" will be located under the "Start" menu if it is not on the desktop.) 
  2. Click the Advanced tab. 
  3. Click Environment Variables, and add the desired variable. 

 


Variable: XILINX Value: C:\Xilinx\13.1\ISE_DS\ISE


B. Included bunch of different pathes tsearch path for executable files (I think %LIB% one is crucial)

   if "%SYNTH%" == "" set SYNTH=C:\path\to\your\synthesis\

if "%ISE%" == "" set ISE=C:\Xilinx\13.1\ISE_DS\ISE\bin\nt if "%EDK%" == "" set EDK=C:\Xilinx\13.1\ISE_DS\EDK\gnuwin\bin if "%XPS%" == "" set XPS=C:\Xilinx\13.1\ISE_DS\EDK\bin\nt

if "%LIB%" == "" set LIB=C:\Xilinx\13.1\ISE_DS\ISE\lib\nt

 

path=%ISE%;%XPS%;%EDK%;%LIB%;%SYNTH%

 

Took only couple days to figure out, I wish make.exe error handler would give more info than just "the system cannot find the file specified"

 

View solution in original post

Highlighted
Xilinx Employee
Xilinx Employee
6,977 Views
Registered: ‎11-28-2007

Re: ISE 13.1 via command line

Jump to solution

If you open a DOS command window using Start -> Xilinx Design Suite 13.1-> Accessories->ISE Design Suite Command Prompt, it will automatically set up all the environment variables for all IDS tools.

 

 


@barmaley wrote:

Alright, its fixed for sure!!!!

Here is what I have done:

A. Set the environment variable XILINX

Windows XP Professional 

 

  Globally: 
  1. Right-click My Computer, and select Properties.  
  (NOTE: "My Computer" will be located under the "Start" menu if it is not on the desktop.) 
  2. Click the Advanced tab. 
  3. Click Environment Variables, and add the desired variable. 

 


Variable: XILINX Value: C:\Xilinx\13.1\ISE_DS\ISE


B. Included bunch of different pathes tsearch path for executable files (I think %LIB% one is crucial)

   if "%SYNTH%" == "" set SYNTH=C:\path\to\your\synthesis\

if "%ISE%" == "" set ISE=C:\Xilinx\13.1\ISE_DS\ISE\bin\nt if "%EDK%" == "" set EDK=C:\Xilinx\13.1\ISE_DS\EDK\gnuwin\bin if "%XPS%" == "" set XPS=C:\Xilinx\13.1\ISE_DS\EDK\bin\nt

if "%LIB%" == "" set LIB=C:\Xilinx\13.1\ISE_DS\ISE\lib\nt

 

path=%ISE%;%XPS%;%EDK%;%LIB%;%SYNTH%

 

Took only couple days to figure out, I wish make.exe error handler would give more info than just "the system cannot find the file specified"

 


 

Cheers,
Jim
0 Kudos