#73 sky130_fd_sc_lp: .lib files are not generated ...
# general
g
#73 sky130_fd_sc_lp: .lib files are not generated Issue opened by msaligane Actual Behavior When running the
make timing
command, the following errors is reported: lp lib: only one lib is generated(unsuccessfully)
Copy code
Error: Line 1, The 'default_operating_conditions' attribute is needed in the specification.
       No default can be applied to this attribute. (LBDB-266)
Information: Line 1, There are more than 1 operating_conditions defined in the library. (LBDB-672)
Error: /afs/eecs.umich.edu/vlsida/projects/restricted/google/skywater-random/skywater-pdk/libraries/sky130_fd_sc_lp/v0.0.1/timing/sky130_fd_sc_lp__ff_100C_1v95.lib: syntax error on line 529042 at or near '<EOF>'. (PARSE-1)
Error: A syntax error is found before the library or phys_library group.
        The compilation is terminated. (LBDB-153)
Expected Behavior After looking at the code in the liberty.py, This is where the issue seems to happen: The liberty_composite(k, v, i=tuple()) function has these lines of code:
Copy code
for l in v:
        if isinstance(l, (float, int)):
            o.append(liberty_float(l))
        elif isinstance(l, str):
            assert '"' not in l, (k, v)
            o.append('"%s"' % l)
        else:
            raise ValueError("%s - %r (%r)" % (k, l, v))
This assertion check reports an error during generation:
Copy code
File "/afs/eecs.umich.edu/vlsida/projects/restricted/google/skywater-random/scripts/python-skywater-pdk/skywater_pdk/liberty.py", line 658, in liberty_composite
    assert '"' not in l, (k, v)
AssertionError: ('power_gating_pin', ['power_pin_1", "1'])
The quotation is another problem here. google/skywater-pdk