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

DriverConflict exception is unhelpful if you use io.Buffer #1433

Open
whitequark opened this issue Jun 28, 2024 · 2 comments
Open

DriverConflict exception is unhelpful if you use io.Buffer #1433

whitequark opened this issue Jun 28, 2024 · 2 comments
Labels

Comments

@whitequark
Copy link
Member

You get messages like:

amaranth.hdl._ir.DriverConflict: Bit 0 of I/O port (io-port port_a_5__io__io) used twice, at /home/whitequark/Projects/glasgow/software/.venv/lib/python3.12/site-packages/amaranth/vendor/_siliconblue.py:546 and /home/whitequark/Projects/glasgow/software/.venv/lib/python3.12/site-packages/amaranth/vendor/_siliconblue.py:546

It's not completely useless but 2/3 of the information says absolutely nothing.

cc @wanda-phi can we fix this?

@whitequark whitequark added the bug label Jun 28, 2024
@wanda-phi
Copy link
Member

... you ever think we need a #[track_caller]?

@whitequark
Copy link
Member Author

Prooooooobably.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants