-
Notifications
You must be signed in to change notification settings - Fork 852
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
Inout can't be read with constant value #4370
Comments
I don't have any experience with using inout ports or tristate logic, but having a quick play with the |
For what it's worth, this works correctly in both iCEcube2 and Vivado. I understand this case is kind of pointless since the inout is always |
I agree, but given that |
Version
Yosys 0.40+45 (git sha1 dd21955, g++ 13.2.1 -march=x86-64 -mtune=generic -O2 -fstack-protector-strong -fPIC -Os)
On which OS did this happen?
Linux
Reproduction Steps
Here's a minimal example.
I'm targeting the iCE40HX8K-CB132
Expected Behavior
The
P_button
signal to be read and output onP_led
.Actual Behavior
The
P_button
signal is treated as a constant and the LEDs never turn on.The text was updated successfully, but these errors were encountered: