We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 6782

NGDBUILD netlist priority: What's the searching order NGDBUILD uses to merge hierarchical modules into a .ngd file


Keywords: ngdbuild, priority, netlist, search, order, ngd

Urgency: Standard

Problem Description:

If a design contains multiple macros(netlists) with different netlist formats, which netlist has higher
priority for NGDBUILD to merge them together to produce a .ngd file.

The available netlist extensions are:

edn, edf, edif, sedif, xnf, xtf, xff, xg, sxnf, pld, xco, ngc, nmc



It's a good design practice to always have macro components with different netlist names. If somehow
one component has the same name but different extensions, it might produce incorrect result because
NGDBUILD may take in the incorrect netlist.


The following is the order NGDBUILD searches for macro netlists:

1. If the macro has a FILE property, NGDBUILD will search for a .nmc(hard macor) file first.
2. NGDBUILD will look for a previously-read .ngc or ngo file.
3. NGDBUILD will look for an .ngc file matching the name given in the FILE property regardless
of what extension is given in the FILE property). Once the .ngc file is found, NGDBUILD will
not search for any other netlists. If no FILE property on the netlist, NGDBUILD will search for
.ngc file first.
4. If the FILE attribute specifies an extension, NGDBUILD will give preference to that extension.
If no FILE attribute is specified, NGDBUILD will search the netlists in the order below
.xtf .xg .xff .sxnf .xnf .sedif .edn .edf. .edif .pld .xco.
5. If NGDBUILD finds a netlist file above, it will look for a matching .ngo file, either in the directory
given by the -dd option or in the current working directory. If no .ngo file exists or if the .ngo file
is older than the netlist file, NGDBUILD runs EDIF2NGD or XNF2NGD to create .ngo file.
6. If an appropriate .ngc or .ngo file was found, NGDBUILD will incorporate it into the design, and
attempt to use bus-aware netlist binding(matching bus pins) to incorporate the file.
7. If no netlist is found, NGDBUILD will proceed to the next macro, and issue an UNEXPANDED error

So in general, the searching order is:

.nmc .ngc .xtf .xg .xff .sxnf .xnf .sedif .edn .edf .edif .pld .xco

AR# 6782
日付 06/13/2002
ステータス アーカイブ
タイプ ??????