Open antonblanchard opened 1 year ago
sdff* liberty files should be parseable by yosys.
ERROR: Syntax error in liberty file on line 4303.
yosys -p "read_liberty cells/sdffsnq/gf180mcu_fd_sc_mcu7t5v0__sdffsnq_4__tt_025C_1v80.lib"
The issue is in the test_cell() stanzas, the clear and preset statements are not quoted, eg:
test_cell()
preset : !SETN ;
Adding quotes fixes it, and the liberty spec suggests they are required:
preset : "!SETN" ;
I can submit a patch, but I wasn't sure if the liberty files are auto created from the json or not.
Expected Behavior
sdff* liberty files should be parseable by yosys.
Actual Behavior
Steps to Reproduce the Problem
The issue is in the
test_cell()
stanzas, the clear and preset statements are not quoted, eg:Adding quotes fixes it, and the liberty spec suggests they are required: