Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trying to automate the fpga build process in Xilinx using python scripts

Tags:

python

xilinx

I want to automate the entire process of creating ngs,bit and mcs files in xilinx and have these files be automatically be associated with certain folders in the svn repository. What I need to know is that is there a log file that gets created in the back end of the Xilinx gui which records all the commands I run e.g open project,load file,synthesize etc.

Also the other part that I have not been able to find is a log file that records the entire process of synthesis, map,place and route and generate programming file. Specially record any errors that the tool encountered during these processes.

If any of you can point me to such files if they exist it would be great. I haven't gotten much out of my search but maybe I didn't look enough.

Thanks!

like image 817
serendipity Avatar asked Nov 03 '22 21:11

serendipity


1 Answers

Well, it is definitely a nice project idea but a good amount of work. There's always a reason why an IDE was built – a simple search yields the "Command Line Tools User Guide" for various versions of Xilinx ISE, like for 14.3, 380 pages about

  • Overview and list of features
  • Input and output files
  • Command line syntax and options
  • Report and message information

ISE is a GUI for various command line executables, most of them are located in the subfolder 14.5/ISE_DS/ISE/bin/lin/ (in this case: Linux executables for version 14.5) of your ISE installation root. You can review your current parameters for each action by right clicking the item in the process tree and selecting "Process properties".

On the Python side, consider using the subprocess module:

The subprocess module allows you to spawn new processes, connect to their input/output/error pipes, and obtain their return codes.

Is this the entry point you were looking for?

like image 198
f4lco Avatar answered Nov 15 '22 04:11

f4lco