Skip to content

The icebreaker example blink.py fails with an error #13

@JamesTimothyMeech

Description

@JamesTimothyMeech
Traceback (most recent call last):
  File "/home/james/Desktop/icebreaker-amaranth-examples/icebreaker/blink/blink.py", line 30, in <module>
    plat.build(Blinker(10000000), do_program=True)
  File "/home/james/.local/lib/python3.10/site-packages/amaranth/build/plat.py", line 105, in build
    plan = self.prepare(elaboratable, name, **kwargs)
  File "/home/james/.local/lib/python3.10/site-packages/amaranth/build/plat.py", line 145, in prepare
    fragment = Fragment.get(elaboratable, self)
  File "/home/james/.local/lib/python3.10/site-packages/amaranth/hdl/ir.py", line 42, in get
    new_obj = obj.elaborate(platform)
  File "/home/james/Desktop/icebreaker-amaranth-examples/icebreaker/blink/blink.py", line 20, in elaborate
    led.eq(~led),
TypeError: bad operand type for unary ~: 'FlippedInterface'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions