Personal tools
You are here: Home Docs Downloads gen_ise_sh
Document Actions

gen_ise_sh

Information about Python script to run Xilinx ISE implementations from a shell.

Download

Documentation

The script gen_ise_sh.py will generate necessary files and folders to run a Xilinx ISE implementation from the command line. The advantage of this script is that all necessary configurations are done in this one file at one place. Running the script will then generate a Makefile which in turn calls all command line tools of ISE to run the implementation.

There are two requirements to use this script:

All necessary configurations are done in the first section of the script, until a note further below marks the end of the parameter section.  Then just run the script with the command:

./gen_ise_sh.py

or

python gen_ise_sh.py

One result of the run will be a generated Makefile which will run all steps from synthesis to bitgen and create a .mcs file as well.


Generated files and folders are partly dependent on the specified variable 'topmodule'. In detail the generated files and folders are:

./Makefile
./<topmodule>.xst
./<topmodule>.prj
./<topmodule>.lso
./tmp/
./xst/
./xst/work


The script supports mixed language designs. Based on the file ending .v or .vhd it creates the respective entry in the .prj file for synthesis.

The script has been tested with ISE 6.3, 7.1, 8.1, and 9.1.

Usage:

- expect environment variable XILINX to be set
- adjust parameters and specify logic files to be included
- >python gen_ise_sh.py
- >make all

That's it.


Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: