ARandomOWL / liberty-to-genlib

Convert Synopsys Liberty fomat to SIS Genlib
5 stars 0 forks source link

TypeError: unhashable type: 'EscapedString' in timingGetTimingSense #7

Closed ARandomOWL closed 3 years ago

ARandomOWL commented 3 years ago
Traceback (most recent call last):
  File "/home/adrian/src/liberty-to-genlib/liberty-to-genlib.py", line 144, in <module>
    if not cellIsUnate(cell):
  File "/home/adrian/src/liberty-to-genlib/liberty-to-genlib.py", line 54, in cellIsUnate
    cell_sense = cellTimingSense(cell)
  File "/home/adrian/src/liberty-to-genlib/liberty-to-genlib.py", line 116, in cellTimingSense
    return outputpinTimingSense(output_pin)
  File "/home/adrian/src/liberty-to-genlib/liberty-to-genlib.py", line 102, in outputpinTimingSense
    timing_sense = timingGetTimingSense(timing)
  File "/home/adrian/src/liberty-to-genlib/liberty-to-genlib.py", line 93, in timingGetTimingSense
    return switcher.get(sense, TimingSense.NONE)
TypeError: unhashable type: 'EscapedString'
ARandomOWL commented 3 years ago

Fixed by 3ba23bf25d08cf88e58bf9839102f46c57c15251