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

Bidireconal Switch Assertion failure: dst != WireId() #687

Closed
maxall41 opened this issue Apr 6, 2023 · 2 comments
Closed

Bidireconal Switch Assertion failure: dst != WireId() #687

maxall41 opened this issue Apr 6, 2023 · 2 comments

Comments

@maxall41
Copy link

maxall41 commented Apr 6, 2023

Apologies if this is the wrong place to post this I'm pretty new to icestudio and FPGAs in general.

Im trying to create a bi-directional switch on an I2C data line but I can't seem to get it to build no matter what I do I always get the error:

libc++abi: terminating with uncaught exception of type nextpnr_ice40::assertion_failure: Assertion failure: dst != WireId() (/work/_builds/darwin-x64/nextpnr-ice40/nextpnr/ice40/delay.cc:160)

whenever I try to build my code. I have attached the icestudio file and a screenshot of my design is below. Does anybody know why this is happening?
Screen Shot 2023-04-05 at 11 01 05 PM

basic_switch.ice.zip

@maxall41 maxall41 changed the title Bidireconal Switch Bidireconal Switch Assertion failure: dst != WireId() Apr 6, 2023
@cavearr
Copy link
Member

cavearr commented May 26, 2023

What is your board?

@cavearr
Copy link
Member

cavearr commented Jan 24, 2025

I'm closing this issue for no feedback received. No in the last wip https://downloads.icestudio.io you could use inout ports that do easier the use of tristate ports.

If you need something more, reopen it.

@cavearr cavearr closed this as completed Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants