This tutorial demonstrates the usage of the command line tools.
For more information, please consult to the Command Line Arguments documentation for each tool in the doc/parser directory.
Overview
The use of the command line tools allows many combinations of different input descriptions for library cells and their graphical representations. This tutorial shows the following examples:
Uses edif2zdb to generate a ZDB Binfile from an EDIF design. |
|
Uses liberty2zdb to create library cells from Synopsys Liberty file format and verilog2zdb to parse a Verilog design. |
|
Shows the usage of sym2zdb and zdb2sym. |
Edif2zdb Example
In this example we create a ZDB Binfile from an EDIF design, using edif2zdb.
The generated ZDB Binfile design.zdb is then used for display in GateVision PRO.
edif2zdb -o design.zdb -symlib demo/edif/generic.sym demo/edif/gl85.edf gatevisionpro -binfile design.zdb
Synopsys Liberty File Example
In this example we create a library lib.zdb from the Synopsys .lib file example.lib with the help of liberty2zdb.
It is referenced in a Verilog design example.v parsed with verilog2zdb.
The generated design output file design.zdb is then used for display in GateVision PRO.
liberty2zdb demo/api/cust4/example.lib -o lib.zdb verilog2zdb -binlib lib.zdb demo/api/cust4/example.v -o design.zdb gatevisionpro -binfile design.zdb
Sym2zdb and Zdb2sym Example
In this example we create a library with cells (and symbol graphics) by using sym2zdb.
The generated binary library file lib.zdb can then be used either with GateVision PRO or a batch parser to add a symbol shape to a primitive or module defined in the input file.
sym2zdb -o lib.zdb symutils/symlib/generic.sym
The next example shows the extraction of symbol graphics from an existing binary database file.
Here the lib.zdb, which was created in the code above, is used to create the symlib file lib.sym.
zdb2sym -o lib.sym lib.zdb