Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JamesTimothyMeech opened this issue Oct 31, 2023 · 0 comments
Open

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

JamesTimothyMeech opened this issue Oct 31, 2023 · 0 comments

Comments

@JamesTimothyMeech
Copy link

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'
@JamesTimothyMeech JamesTimothyMeech changed the title The example blink.py fails with an error The icebreaker example blink.py fails with an error Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant