Previous

Appendix C

Fitter Command and Option Summary

This appendix describes how to invoke the CPLD fitter, and the commands used to prepare functional and timing simulation models. All of the available fitter options are described. This chapter contains the following sections:

Design Manager

The Design Manager invokes the Flow Engine (fitter) and option templates to control the fitting of your design.

Invoking the Fitter

  1. From the Design Manager select the schematic file you want to process.

    File Open Project

    Select a file from the template's list or use the Browse key to search your directories for the file you want to process. If the file is listed on the template, highlight the file and click once on Open.

  2. Select the target device. If your schematic contains a PART attribute, the specified part will appear in the Implement dialog box. You can override any of the fields in the Part Selector dialog. Otherwise, select either XC9500 or XC9500XL as the family. By default, package and speed will be automatically selected by the fitter. You can select a specific device, package or speed in an;y of the fields.

  3. Open the Constraints Editor to enter timing and pad location constraints (optional). Select:

    Utilities Constraints Editor

  4. Select options for design implementation. Select:

    Design Implement

  5. The Design Implementation Option menu appears. Select either the Optimize Speed (default) or Optimize Density template.

  6. To adjust specific fitter options, select Edit Template. Then select from the tabs all the options you want to use and press OK. See Fitter Command Parameters later in this chapter.

  7. To run the fitter, click once on the run key found in the Flow Engine.

Fitter Options

This section describes fitter parameters that can be entered from the Design Manager or when using the command line on a workstation.

The Implementation Options menu contains five tabs of options for the fitter. The following summarizes fitter options:

CPLD Command

The cpld command invokes the CPLD design implementation software (the fitter). The command is run in a UNIX command window and is only supported on UNIX workstations. Your current working directory must be set to the project directory which contains your design source netlist files before invoking cpld.

Invoking the Fitter

The format of the cpld command is:

cpld [options] design_name

Invoking the cpld command with no parameters produces a listing of all available command-line options.

The design_name is the name of the top-level design netlist file, without path qualifiers, and either with or without extension.

Schematics must first be translated into either an EDIF-formatted netlist (design_name.edif). XNF formatted netlists are also acceptable from tools that do not have EDIF, but EDIF is preferred. We strongly recommend that you generate new EDIF netlists from existing schematics rather than trying to reuse existing XNF netlists. Also, your netlists must be created using schematic capture libraries provided by Xilinx or your CAE tool vendor for use with the current version of Xilinx software.

If design_name is specified without extension, the cpld command searches for source files in the following order:

  1. Synopsys Design Compiler or FPGA Compiler netlist (design_name.sxnf)

  2. Xilinx PLUSASM equation file (design_name.pld)

  3. XNF netlist (design_name.xnf)

  4. Synopsys Design/FPGA Compiler EDIF netlist (design_name.sedif)

  5. EDIF netlist (design_name.edn, design_name.edf or design_name.edif)

  6. Xilinx NGO (unexpanded) database file (design_name.ngo)

  7. Xilinx NGD (expanded) database file (design_name.ngd)

Fitter Options

The [options] field of the cpld command represents an optional list of one or more command-line parameters. Invoking the cpld command with just the design name and no option parameters runs the fitter with all default conditions, including automatic device selection.

The following are the cpld command-line parameters that apply to schematic design entry:

Next