02.08.2013 Views

Xilinx Command Line Tools User Guide: (UG628)

Xilinx Command Line Tools User Guide: (UG628)

Xilinx Command Line Tools User Guide: (UG628)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 1: Introduction<br />

<strong>Command</strong> <strong>Line</strong> Syntax<br />

<strong>Command</strong> <strong>Line</strong> Options<br />

<strong>Command</strong> line syntax always begins with the command line program name. The<br />

program name is followed by any options and then by file names. Use the following<br />

rules when specifying command line options:<br />

• Enter options in any order, preceded them with a dash (minus sign on the keyboard)<br />

and separate them with spaces.<br />

• Be consistent with upper case and lower case.<br />

• When an option requires a parameter, separate the parameter from the option by<br />

spaces or tabs. For example, the following shows the command line syntax for<br />

running PAR with the effort level set to high:<br />

– Correct: par -ol high<br />

– Incorrect: par -olhigh<br />

• When using options that can be specified multiple times, precede each parameter<br />

with the option letter. In this example, the -l option shows the list of libraries to<br />

search:<br />

– Correct: -l xilinxun -l synopsys<br />

– Incorrect: -l xilinxun synopsys<br />

• Enter parameters that are bound to an option after the option.<br />

– Correct: -f command_file<br />

– Incorrect: command_file -f<br />

Use the following rules when specifying file names:<br />

• Enter file names in the order specified in the chapter that describes the command<br />

line program. In this example the correct order is program, input file, output file,<br />

and then physical constraints file.<br />

– Correct: par input.ncd output.ncd freq.pcf<br />

– Incorrect: par input.ncd freq.pcf output.ncd<br />

• Use lower case for all file extensions (for example, .ncd).<br />

The following options are common to many of the command line programs provided<br />

with the ISE® Design Suite.<br />

• -f (Execute <strong>Command</strong>s File)<br />

• -h (Help)<br />

• -intstyle (Integration Style)<br />

• -p (Part Number)<br />

-f (Execute <strong>Command</strong>s File)<br />

Syntax<br />

With any <strong>Xilinx</strong>® command line program for use with FPGA designs, you can store<br />

command line program options and file names in a command file. You can then execute<br />

the arguments by entering the program name with the -f option followed by the name<br />

of the command file. This is useful if you frequently execute the same arguments each<br />

time you execute a program or if the command line command becomes too long.<br />

-f command_file<br />

<strong>Command</strong> <strong>Line</strong> <strong>Tools</strong> <strong>User</strong> <strong>Guide</strong><br />

10 www.xilinx.com <strong>UG628</strong> (v 14.2) July 25, 2012

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!