Return to previous page Advance to next page
Development System Reference Guide
Chapter 19: NGD2EDIF

NGD2EDIF Options

This section describes the NGD2EDIF command options.

-a (Write All Properties)

The -a option causes NGD2EDIF to write all properties into the output EDIF netlist. The default is to write only timing delay properties and certain other properties that define the behavior of the design logic (for example, RAM INIT properties). In most cases the -a option is not necessary. Check with your simulation vendor on whether this option is a requirement for their tools.

-b (Use Buffers to Model Delays)

The -b option causes NGD2EDIF to model certain delays using buffers. The proper setting for the -b and -i options is chosen automatically if you entered a -v option. If your SimPrims library vendor is not one of the supported values for the -v option, consult the vendor for the proper -b and -i option settings.

-c (Reference Design Name as Specified - Mentor)

The -c option applies to the Mentor Graphics design flow. The option ensures that the output of Mentor's ENRead (EDIF reader) program is an EDDM Single Object simulation model registered to the design component located in the current directory.

If the -c option is not specified, a library entry in the EDIF file instructs ENRead to place the simulation model in a subdirectory named design_lib. For example, if your design name is adder4, ENRead places the simulation model in the subdirectory adder4_lib/adder4.

If the -c option is specified, the library entry in the EDIF file instructs ENRead to place the simulation model directly in the design directory. For example, the simulation model for the design adder4 is placed in the current directory right under adder4 (as opposed to being placed in adder4_lib/adder4). In this directory, the Mentor simulator finds the simulation model.

If you specify the -c option, you must also specify both the -n (Generate Flattened Netlist) option and the -v (Vendor) option, with the -v option specifying -v mentor.

-f (Execute Commands File)

-f command_file

The -f option executes the command line arguments in the specified command_file. For more information on the -f option, see the “-f Option” section of the “Introduction” chapter.

-i (Annotate Timing Properties to Instances)

The -i option causes NGD2EDIF to annotate all timing properties to instances. The proper setting for the -i and -b options are chosen automatically if you entered a -v option. If your SimPrims library vendor is not one of the supported values for the -v option, consult the vendor for the proper -i and -b option settings.

-l (Local Scope)

The -l option gives dedicated signals (such as the global SET/RESET signal) local (non-global) scope. If your simulation vendor is Foundation, Mentor Graphics, or Viewlogic, the default NGD2EDIF action is to give dedicated signals global scope. If you are simulating a board-level schematic which references more than one Xilinx device, the global dedicated signals from each netlist are implicitly connected by the simulator. If this is not what you want, use the -l option to make the signals local to each device. You then need to reference each dedicated signal by the appropriate hierarchically-qualified signal name.

If your simulation vendor is not Foundation, Mentor Graphics, or Viewlogic, the -l option is enabled by default.

-n (Generate Flattened Netlist)

The -n option writes out a flattened netlist.

-v (Vendor)

-v vendor

The -v option specifies the CAE vendor toolset that uses the resulting EDIF file. Allowable entries are viewlog (for Viewlogic), mentor, and fndtn (for Foundation).

The -v option customizes the output EDIF file for the specified vendor's simulator. The option also determines whether an XMM (RAM initialization) file is produced and the format of the file (if one is produced). The XMM file is described in the next section.

-vpt (Mentor Viewpoint)

-vpt viewpoint_name

The -vpt option specifies the desired viewpoint for a Mentor EDIF output.

-w (Overwrite Output)

The -w option specifies to overwrite the output file.