Return to previous page Advance to next page
Development System Reference Guide
Chapter 12: PAR - Place and Route

PAR Syntax

The following syntax places and routes your design.

par [options] infile[.ncd] outfile pcf_file[.pcf]

Options can be any number of the PAR options listed in the “PAR Options” section. They do not need to be listed in any particular order. Separate multiple options with spaces.

Infile is the design file you wish to place and/or route. The file must have an .ncd extension, but you do not have to specify the .ncd extension on the command line.

Outfile is the target design file which is written after PAR is finished. If the command options you specify yield a single output design file, outfile has an extension of .ncd or .dir. An .ncd extension generates an output file in NCD format; the .dir extension directs PAR to create a directory in which to place the output file (in NCD format). If the command options you specify yield more than one output design file (that is, you enter the -n option described in the “PAR Options” section), outfile must have an extension of .dir. The multiple output files (in NCD format) are placed in the directory with the .dir extension.

If the file or directory you specify already exists, you get an error message and the operation does not run. You can override this protection and automatically overwrite existing files by using the -w option (described in the “PAR Options” section).

Pcf_file is a physical constraints file. The file contains the constraints you entered during design entry, constraints you added using the UCF (User Constraints File), and constraints you added directly in the PCF file. If you do not enter the name of a physical constraints file on the command line and the current directory contains an existing physical constraints file with the infile name and a .pcf extension, PAR uses the PCF file.