Liberty parser for Python.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Thomas Kramer 0f502943de Add test.sh script. 20 hours ago
liberty Manually merge master. 7 days ago
test_data Add test liberty from FreePDK45. 2 years ago
.gitignore Ignore dist folder. 2 years ago
LICENSE 📜 Add GPLv3 license. 2 years ago
README.md More README. 7 days ago
setup.py Manually merge master. 7 days ago
test.sh Add test.sh script. 20 hours ago

README.md

Liberty Parser

This library provides functions to parse, manipulate and format 'Liberty' files. The liberty format is a common standard to describe certain aspects of standard-cell libraries such as timing, power, cell pin types, etc.

Example

from liberty.parser import parse_liberty

# Read and parse a library.
library = parse_liberty(open(liberty_file).read())

# Format the library.
print(str(library))