The Liberty Parser
This document describes the function of the software unit that reads Liberty files and stores all library elements as primitive cells in ZDB for later use.
Overview
Introduction
In addition of using the GateVision PRO GUI to read Liberty files either the stand alone binary liberty2zdb
or the Tcl command zliberty
can be used.
The liberty2zdb
binary reads the given Liberty file and creates a binfile containing the libraries of the input file:
liberty2zdb -o binfile.zdb <OPTIONS> <FILE.LIB>
The zliberty
Tcl command reads the given Liberty file and returns the created in-memory database:
set db [zliberty <OPTIONS> <FILE.LIB>]
The Tcl command is available in the Console window of the GateVision PRO GUI .
This document describes the usage of this flow.
Options
Option | Parameters | Description |
---|---|---|
|
Read cmdline arguments from file. |
|
|
Store BOOL symbol instead of the analyzed shape. |
|
|
Stop on errors during parsing. |
|
|
Create a netlist for the equation representing the function. |
|
|
Enable a specific debug flag. |
|
Don’t cut long filenames in messages. |
||
Print a help text with a short description of each option. |
||
|
Level of verbosity for issued messages. |
|
|
Compile the given files into an already existing database. |
|
If not specified then all information not required to create a library cell are skipped. The purpose of this option is to get syntax error reports in irrelevant sections of the read Liberty file or to do semantic checks. |
||
Append to logfile. |
||
|
Generate log file. |
|
Print no greeting message. |
||
|
Name of the zdb output binfile. |
|
|
Name of symlib output file. |
|
|
Toggle pedantic language checking mode (in relaxed mode some errors are just warnings and some warnings are suppressed). |
|
Print progress information. |
||
|
Suffix for renaming duplicate cells. |
|
|
Render symbols representing the equation netlist. |
|
|
Resolve duplicate cells. If "off" all duplicate cells are renamed. |
|
Enable semantic checks. Semantic issues will produce warnings or, if -pedantic is enabled, error messages. |
||
|
Additionally to the @symbol attribute also set the primitive function at the created cell. |
|
|
Skip detection of MUX cells and do not assign a symbol shape. |
|
|
Skip power/ground supply ports. |
|
|
Create source code references. |
|
|
Name of a Liberty group to store as a database attribute. |
|
|
Suppress messages which match pattern. |
|
Print CPU time consumption (requires enabled progress updates). |
||
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. |