Hi,
I know this project from Rust China Conf 2024, that is a great open-source project and I am very interested in. Here I want to recommend my Liberty data structure & parser project which I have maintained for nearly 2 years. https://github.com/zao111222333/liberty-db
This project implements the Liberty syntax (simple/complex/group) and almost all Liberty data structures. Its parser can recognize weird syntax in foundry-provided library (e.g. TSMC), meanwhile the output formatted .lib file is compatible with library compiler.
The parser utilizes Rust’s procedural macros to enhance performance as much as possible through static methods. Additionally, the complete parser & formatter binary implemented with this library is only ~2MB in size.
Here is a benchmark result, the strength of liberty-db are not fully realized, since it also post-processes the data and stores it in specific data structures, in addition to parsing the syntax.
This project will greatly benefit from feedback and suggestions for improvement. Hope we can collaborate, thanks!
Hi,
I know this project from Rust China Conf 2024, that is a great open-source project and I am very interested in. Here I want to recommend my Liberty data structure & parser project which I have maintained for nearly 2 years. https://github.com/zao111222333/liberty-db
This project implements the Liberty syntax (
simple/complex/group) and almost all Liberty data structures. Its parser can recognize weird syntax in foundry-provided library (e.g. TSMC), meanwhile the output formatted.libfile is compatible with library compiler.The parser utilizes Rust’s procedural macros to enhance performance as much as possible through static methods. Additionally, the complete parser & formatter binary implemented with this library is only ~2MB in size.
Here is a benchmark result, the strength of liberty-db are not fully realized, since it also post-processes the data and stores it in specific data structures, in addition to parsing the syntax.
tests/tech/SAED32_EDK/ccs/saed32hvt_pg_ff0p95v125c.libtests/tech/SAED32_EDK/ccs/saed32hvt_dlvl_ff0p85v25c_i0p85v.libtests/tech/SAED32_EDK/nldm/saed32hvt_dlvl_ff0p85v25c_i0p85v.libtests/tech/SAED32_EDK/nldm/saed32hvt_ff0p85v25c.libtests/tech/freepdk45/gscl45nm.libtests/tech/cases/no_semicolon.libtests/tech/cases/formula.libtests/tech/cases/ocv.libtests/tech/sky130/sky130_fd_sc_hs__bufinv_8__tt_1p80V_25C_ccsnoise.cell.libtests/tech/nangate/NangateOpenCellLibrary_typical.libThis project will greatly benefit from feedback and suggestions for improvement. Hope we can collaborate, thanks!