Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"TypeError: list indices must be integers or slices, not str" in timing importer #29

Open
smunaut opened this issue Jun 24, 2020 · 3 comments

Comments

@smunaut
Copy link

smunaut commented Jun 24, 2020

Trying to build aa65abd

[  0%] Generating sdf/BIDIR_COM_BC_180V.sdf
Traceback (most recent call last):
  File "/usr/lib64/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib64/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/tnt/projects/fpga/toolchain/symbiflow-arch-defs/quicklogic/utils/quicklogic-timings-importer/quicklogic_timings_importer/__main__.py", line 4, in <module>
    quicklogic_timings_importer.main()
  File "/home/tnt/projects/fpga/toolchain/symbiflow-arch-defs/quicklogic/utils/quicklogic-timings-importer/quicklogic_timings_importer/quicklogic_timings_importer.py", line 528, in main
    args.timescale,
  File "/home/tnt/projects/fpga/toolchain/symbiflow-arch-defs/quicklogic/utils/quicklogic-timings-importer/quicklogic_timings_importer/quicklogic_timings_importer.py", line 360, in export_sdf_from_lib_dict
    direction = obj['direction']
TypeError: list indices must be integers or slices, not str
make[2]: *** [quicklogic/devices/ql-pp3e-virt/CMakeFiles/file_quicklogic_devices_ql-pp3e-virt_sdf_BIDIR_COM_BC_180V.sdf.dir/build.make:63: quicklogic/devices/ql-pp3e-virt/sdf/BIDIR_COM_BC_180V.sdf] Error 1
make[1]: *** [CMakeFiles/Makefile2:10295: quicklogic/devices/ql-pp3e-virt/CMakeFiles/file_quicklogic_devices_ql-pp3e-virt_sdf_BIDIR_COM_BC_180V.sdf.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
@smunaut
Copy link
Author

smunaut commented Jun 24, 2020

I had to update the ql-pp3e submodule to make it build.
Fix is 2e1174aea2f52717570ef7522ac5483fe06363bd of that module

@mkurc-ant
Copy link

Is this issue still relevant? In the recent effort for merging PP3 (EOS-S3) support into the SymbiFlow master branch care is taken to ensure that all submodules point to correct commits. Everything is verified by CI which hasn't reported an error similar to this so far.

@smunaut
Copy link
Author

smunaut commented Jul 12, 2021

Probably not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants