EDIF Input File (.edf) Definition

An EDIF version 2 0 0 netlist file (with the extension (.edf), generated by any standard EDIF netlist writer. The Quartus® Prime Standard Edition software also supports EDIF Input files with the extensions (.edif) or (.edn).

When you compile an EDIF Input File, the Compiler uses one or more Library Mapping Files (.lmf) to map cells in an EDIF Input File to corresponding Quartus® Prime Standard Edition logic functions, including Library of Parameterized Modules (LPM) functions, as well as to user-defined functions.

All logic functions in an EDIF Input File must be mapped to the Quartus® Prime Standard Edition software logic functions in a Library Mapping File (.lmf). If you wish to use a function that is not mapped in a Altera-provided LMF, you must create a customized LMF. You can map EDIF cells to Altera-provided functions or to any design file created with the Quartus® Prime Standard Edition software.

The Compiler processes EDIF Input Files automatically, generating a Compiler Netlist Extractor (. cnf) file for every cell in an EDIF Input File. You can also specify EDIF Input settings to help the Compiler interpret EDIF Input Files by specifying optional LMFs and non-default VCC and GND signal names.

A single EDIF Input File can be used to define all logic in a project, or can be incorporated at any hierarchy level in a hierarchical project.

The Quartus® Prime Standard Edition software automatically creates a Block Symbol File (.bsf) that represents an EDIF Input File when you open the file in the Text Editor and create the default symbol for the current file. This symbol and the logic it represents can be incorporated into a Block Design File (.bdf).

You can also use EDIF Input File logic in an AHDL Text Design File (.tdf) by including a Function Prototype and inserting an instance of the function into the TDF.

You can import some resource assignments into the Quartus® Prime Standard Edition software with the following EDIF property constructs:

Construct:

Type of Assignment:

chip_pin_lc

Chip, pin, logic cell

clique

clique

logic_option

Logic option

As an alternative, you can use the Assignment Editor in the Quartus® Prime Standard Edition software to make all types of assignments--including location and device assignments--for the logic in the EDIF Input File.

To properly convert an EDIF Input File, EDIF constructs must have the following values:

Construct:

Value:

edifLevel

0

keywordLevel

0

viewType

NETLIST

cellType

GENERIC

The file name may be truncated to 8 characters. If you truncate the file name, you must then either rename the file with its previous longer file name from within the Quartus® Prime Standard Edition software, or edit the file to change any instances of the file name to the new, truncated name. To rename the file from within the Quartus® Prime Standard Edition software, open the file with the truncated name in the Text Editor and save it to its previous longer file name. However, if your file transfer software inserts characters into the truncated name that are not legal Quartus® Prime Standard Edition software name characters, you may need to first rename the file from the DOS command line before you can open it in the Text Editor.