QuickLogic-Corp / symbiflow-arch-defs

FOSS architecture definitions of FPGA hardware useful for doing PnR device generation.
https://symbiflow.github.io/
ISC License
4 stars 6 forks source link

"UnboundLocalError: local variable 'block_name' referenced before assignment" during place VPR pass. #30

Closed smunaut closed 4 years ago

smunaut commented 4 years ago
Traceback (most recent call last):
  File "/opt/openfpga/vtr/bin/python/create_ioplace.py", line 151, in <module>
    main()
  File "/opt/openfpga/vtr/bin/python/create_ioplace.py", line 115, in main
    pcf_constraint.net
  File "/opt/openfpga/vtr/bin/python/vpr_io_place.py", line 100, in get_top_level_block_instance_for_net
    return self.block_to_inst[list(block_name)[0]]
UnboundLocalError: local variable 'block_name' referenced before assignment
smunaut commented 4 years ago

block_name should be block_names on that line.

mkurc-ant commented 4 years ago

@smunaut Should be already fixed from cb1c8b3cf on

smunaut commented 4 years ago

Yup