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 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 More README. 7 days ago Manually merge master. 7 days ago Add script. 20 hours ago

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.


from liberty.parser import parse_liberty

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

# Format the library.