ISE Design Suite command line
Windows
To use the Xilinx ISE Design Suite command line we need to open the CMD and run the settings64.bat or settings32.bat from the ISE directory in Windows, the default is C:\gXilinx\14.7\ISE_DS\.
This is automatically done by the ISE Design Suite 64 Bit Command Prompt installed when installing Xilinx ISE.
Using the TCL shell
ISE Design Suite for Windows can be used via de TCL shell, this environment is entered by the xtclsh from the command line.
help {command}Gets help for the commandhelp {command} {subcommand}Example:help project new
set {name} {value}Sets a variable${name}Access variable
{command} {argument}Invoke a command with arguments.
Managing projects
projectManage ISE projectsnewCreate a new projectopenOpens an existing project (each time we open a project, we have to close it before leavingxtclsh)closeCloses the projectcleanRemoves de projects temporary and automatically-generated files (restart implementation from scratch)
Creating a project
% project new keypad
% ls
keypad.xise keypad.gise
Configuring a project
We are now ready to configure the project. We begin by setting the device properties for our new project:
% project set family spartan3e
Spartan3E
Before setting the device, letβs check out the old value to see what to expect as a return value when assigning a new device:
% project get device
xc3s100e
Shows that the current device is an xc3s100e. Now, set the device:
% project set device xc3s500e
xc3s500e
and ignore the (expected) return value. Next, set the package:
% project set package fg320
fg320
Finally we set the project preferred language:
% project set preferred-language VHDL
VHDL
You can examine the project properties with the project properties subcommand.
Managing a project
To manage files in a project, we need to use the xfile tool.
To add files to a project:
% xfile add Decoder.vhd
INFO:HDLCompiler:1061 - Parsing VHDL file
"C:/Users/Cori/Documents/Tareas/6to_semestre/DLPs/Practica2_keypad/keypad/Dec
oder.vhd" into library work
INFO:ProjectMgmt - Parsing design hierarchy completed successfully.
true
To remove files from a project:
% xfile remove Decoder.vhd
true
Implementing a design
Design implementations can be runned with the command `process run β{Process name}β. Next there is a list of the most used processes:
Check SyntaxCheck for sytaxSynthesize - XSTView Locked Pin ConstraintsGenereates.lpcfile which is the actuall implementation of the pins done when implementing the designImplement DesignImplement design, without generating the bitstream/programming fileGenerate Programming FileGenerate the programming fileOptions
-forceRemove automatically generated design files from working directoryrerun_allRerun processCreating an IP Core
We need to use de
coregenutility, for using it with the command line run:coregen -b <commnad_file_name> -p <project_path>References
- http://strumpen.net/xilinx/tut82i/ise.html#refs
- https://www.xilinx.com/support/answers/22124.html