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:

Synopsys Liberty example

Uses liberty2zdb to create library cells from Synopsys Liberty file format and verilog2zdb to parse a Verilog design.

sym2zdb and zdb2sym example

Shows the usage of sym2zdb and zdb2sym.

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 SpiceVision PRO.

liberty2zdb demo/api/cust4/example.lib -o lib.zdb
verilog2zdb -binlib lib.zdb demo/api/cust4/example.v -o design.zdb
spicevisionpro -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 SpiceVision 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