Return to Support Page
 homesearchagentssupportask xilinxmap

Answers Database


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


Record #2568

Product Family:  Software

Product Line:  Merged Core

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



Problem 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.

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 Template Manager.
(Utilities -> Template Manager -> Edit -> Interface)

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/Floe Engine Reference/User Guide, section
28.14.7 or search for "template manager".



End of Record #2568

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

© 1998 Xilinx, Inc. All rights reserved
Trademarks and Patents