When trying to convert a much larger design, I encountered this error:
Traceback (most recent call last):
File "IFsupport/IF2bookshelf.py", line 586, in <module>
if_parser = IF2bookshelf(bookshelf_dir, args.netlist)
File "IFsupport/IF2bookshelf.py", line 38, in __init__
self.netlist_obj = LogicalNetlist(schema_dir, netlist_file)
File "IFsupport/IF2bookshelf.py", line 500, in __init__
port_idx = port_bus2idx[port_name].index(port_inst.busIdx.idx)
ValueError: 0 is not in list
I have attached a trivial design example that triggers the bug.
example.zip
To reproduce:
wget https://github.com/rachelselinar/DREAMPlaceFPGA/files/11761406/example.zip
unzip example.zip
python IFsupport/IF2bookshelf.py --netlist example.netlist
Here is what the example looks like in Vivado:

CC: @zhilix