22 releases
new 0.4.6 | Apr 19, 2024 |
---|---|
0.4.5 | Apr 19, 2024 |
0.4.0 | Mar 31, 2024 |
0.3.1 | Aug 3, 2023 |
0.1.1 | Dec 16, 2022 |
#411 in Database interfaces
342 downloads per month
445KB
8K
SLoC
liberty-db
Work in progress, unstable
Usage
[dependencies]
liberty_db = "0.4"
See more in doc
Test
cargo test --package liberty-tests --test tests
Testbench
cargo test --package liberty-tests --lib -- parser_bench::test_all_lib_files --exact --nocapture
liberty-db | liberty-io | libertyparse | Test Liberty File |
---|---|---|---|
402.79ms | 115.81ms | 342.70ms | tests/tech/SAED32_EDK/ccs/saed32hvt_pg_ff0p95v125c.lib |
599.51ms | 284.08ms | 839.44ms | tests/tech/SAED32_EDK/ccs/saed32hvt_dlvl_ff0p85v25c_i0p85v.lib |
83.12ms | 40.12ms | 122.26ms | tests/tech/SAED32_EDK/nldm/saed32hvt_dlvl_ff0p85v25c_i0p85v.lib |
4.50s | 1.48s | PANIC | tests/tech/SAED32_EDK/nldm/saed32hvt_ff0p85v25c.lib |
3.00ms | 20.58ms | 5.08ms | tests/tech/freepdk45/gscl45nm.lib |
125.41µs | FAIL | FAIL | tests/tech/cases/no_semicolon.lib |
66.77µs | FAIL | 131.15µs | tests/tech/cases/formula.lib |
16.04ms | 8.67ms | 25.57ms | tests/tech/cases/ocv.lib |
13.69ms | 6.76ms | FAIL | tests/tech/sky130/sky130_fd_sc_hs__bufinv_8__tt_1p80V_25C_ccsnoise.cell.lib |
2.13s | 870.17ms | 2.85s | tests/tech/nangate/NangateOpenCellLibrary_typical.lib |
ToDo List
- use PDFJS
- stream input
- fix missing newline at endding
- Linked Group
recursive parse boolean expressionmacrosformat toliberty
support multi-line\
support commentUseMutSet
to store GroupMap
Dependencies
~6–16MB
~178K SLoC