Skip to content

Regression: Assert `count_id(wire->name) == 0' failed in ../yosys-src/kernel/rtlil.cc:2621 when building Glasgow Interface Explorer applets in 0.56 #5274

@joelpmichael

Description

@joelpmichael

Version

Yosys 0.56 (git sha1 9c447ad, ccache clang++ 18.1.3 -O3 -flto -flto)

On which OS did this happen?

macOS

Reproduction Steps

As requested by @whitequark this appears to be an issue with Yosys. Tracking as GlasgowEmbedded/glasgow#994

  1. Follow Glasgow Interface Explorer installation as per https://glasgow-embedded.org/latest/install.html at commit 8b02130
  2. glasgow -v run selftest (or any other applet)

Expected Behavior

Glasgow applet compiles and runs successfully.

Actual Behavior

Build fails with final error:

T: glasgow.hardware.build_plan: build: ERROR: Assert `count_id(wire->name) == 0' failed in ../yosys-src/kernel/rtlil.cc:2621.
E: glasgow.applet.internal.selftest: gateware build failed with exit code 1; see build log above for details

Full compile log:
glasgow-run-selftest.log

I'm not very familiar with yosys internals, so any help with narrowing down where this issue is would be appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions