Skip to content

Assertion error on Symbiflow-produced .fasm file #76

Open
@gergoerdi

Description

@gergoerdi

The attached Top.fasm file was created from https://github.com/gergoerdi/symbiflow-sevensegment-bug/tree/e73584b7b35e8cfa7d0f2a21f1fd7f60285d7bd9 as input. fasm2bels version 6630e43 fails to process it with an assertion error:

$ python3 -m fasm2bels --fasm_file _build/Top.fasm --db_root ~/.conda/envs/xc7/share/symbiflow/prjxray-db/artix7/  --part xc7a50tcsg324-1 --connection_database ~/prog/fpga/symbiflow/symbiflow-xc-fasm2bels/channels.s3db 

Traceback (most recent call last):
  File "runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "fasm2bels-0.0.1-py3.7.egg/fasm2bels/__main__.py", line 15, in <module>
    main()
  File "fasm2bels-0.0.1-py3.7.egg/fasm2bels/fasm2bels.py", line 475, in main
    process_tile(top, tile, tile_features)
  File "fasm2bels-0.0.1-py3.7.egg/fasm2bels/fasm2bels.py", line 139, in process_tile
    PROCESS_TILE[tile_type](top.conn, top, tile, tile_features)
  File "fasm2bels-0.0.1-py3.7.egg/fasm2bels/models/clb_models.py", line 2079, in process_clb
    process_slice(top, slices[s])
  File "fasm2bels-0.0.1-py3.7.egg/fasm2bels/models/clb_models.py", line 1840, in process_slice
    assert False
AssertionError

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions