The EDIF Parser
This document describes the function of the software unit that reads EDIF files and stores the connectivity (with parameters) to the hierarchical database ZDB for later processing.
Overview
Introduction
In addition of using the RTLvision PRO GUI to read EDIF files either the stand alone binary edif2zdb
or the Tcl command zedif
can be used.
The edif2zdb
binary reads the given EDIF file and creates a binfile containing the connectivity of the input file:
edif2zdb -o binfile.zdb <OPTIONS> <FILE.EDF>
The zedif
Tcl command reads the given EDIF file and returns the created in-memory database:
set db [zedif <OPTIONS> <FILE.EDF>]
The Tcl command is available in the Console window of the RTLvision PRO GUI .
This document describes the usage of this flow.
Options
Option | Parameters | Description |
---|---|---|
|
Read cmdline arguments from file. |
|
|
Open this binfile as a precompiled library. |
|
|
Stop on errors during parsing. |
|
|
Connect matching net by name, i.e. don’t route it. |
|
|
Create buses for ports with Verilog conform, consecutive numbering. |
|
|
Create hierarchy from flat instance names. Split the instance names at the given hierarchy separator. If the given hierarchy separator character is an empty string then the hierarchy separator character is guessed. |
|
|
Enable a specific debug flag. |
|
Don’t cut long filenames in messages. |
||
Overwrite existing symbols with the symbols from the given symbol library files (option -symlib). |
||
|
Guess buses based on net and port names with a bit subscript enclosed in the given 'open' and 'close' characters. |
|
|
Guess instance arrays based on instance names with a bit subscript enclosed in the given 'open' and 'close' characters. |
|
Print a help text with a short description of each option. |
||
|
Set the desired hierarchy separator 'hiersepchar' of your choice. Any character can be used. To be able to identify the hierarchy separator, a character that is not already used in an identifier should be used. |
|
|
Case-insensitive parser. |
|
|
Level of verbosity for issued messages. |
|
|
Compile the given files into an already existing database. |
|
Append to logfile. |
||
|
Generate log file. |
|
Don’t search for a hierarchy separator. |
||
Print no greeting message. |
||
|
Name of the zdb output binfile. |
|
Print progress information. |
||
|
Replace odd number of INVs in a chain by one INV and remove an even number of INVs in a chain. |
|
|
Remove all BUF and WIDE_BUF instances and merge the connected nets. |
|
|
Suffix for renaming duplicate cells. |
|
|
Resolve duplicate cells. If "off" all duplicate cells are renamed. |
|
|
Create source code references. |
|
|
Suppress messages which match pattern. |
|
Preload symbol library file(s) given with the -symlib option. |
||
|
Specify a symbol library file. |
|
Print CPU time consumption (requires enabled progress updates). |
||
|
Define this module as the top module. If * is set, then all unreferenced cells are used as top. |
|
|
View name for the -top option (-edif only). |
|
Validate DB before creating the zdb output file. |
||
|
Wait 'sec' seconds for a license. If the value is -1 then the started tool will not wait for the next free license. Use a value of 0 to wait forever. |