Answers Database


Design Manager M1.5i: Using a User Rules File to add command line switch to netlist reader.


Record #2568

Product Family: Software

Product Line: M1 Graphical/General

Product Part: dsgnmgr

Product Version: 1.5i

Problem Title:
Design Manager M1.5i: Using a User Rules File to add command line switch to netlist reader.


Problem Description:
Urgency: Standard

General Description:

There are some netlist reader options available on the command
line that do not have corresponding options available in
the Design Manager. For example, EDIF2NGD supports the use
of the switch "-a" which will add pads to top level port
signals. This option is not available in the Design
Manager (it is available in the 2.1i release)

The Template Manager also does not directly support the
addition of switches to netlist reader commands because
the flow engine does not run the netlist readers directly,
instead they are run by ngdbuild using the Netlist Launcher.


Solution 1:

It is possible to define a User Rules File (.urf) that defines
the command line options to be used by default for the
various netlist readers. The .urf file is then specified in
the Interface section of the Implementation Edit Template:
(Design->Implement->Options->Implementation(Edit Template)

The following .urf example will add the "-a" switch to
edif2ngd for every edif file with extension ".edn":

   RuleName = bdw_edif_rule;
   TargetExtension = .ngo;
   NetlistFile = .edn;
   Netlister = edif2ngd;
   NetlisterTopOptions = "-a $INFILE $OUTFILE";
   NetlisterSuccessStatus = 0;
   NetlisterWarningStatus = NONE;
   NetlisterFatalStatus = NONE;

The .urf file can also be accessed from the command line by
using the switch "-ur file_name.urf" on the ngdbuild command
line.

For more information on User Rules Files, see the
Development System Reference Guide, Appendix B, section
12.4.1 or search for "rules".

For more information on the Template Manager, see the
Design Manager/Flow Engine Reference/User Guide.




End of Record #2568 - Last Modified: 06/09/99 14:14

For the latest news, design tips, and patch information on the Xilinx design environment, check out the Technical Tips!