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

share stuck on a combinational loop #4260

Open
povik opened this issue Mar 5, 2024 · 0 comments · May be fixed by #4895
Open

share stuck on a combinational loop #4260

povik opened this issue Mar 5, 2024 · 0 comments · May be fixed by #4895
Labels

Comments

@povik
Copy link
Member

povik commented Mar 5, 2024

Version

Yosys 0.38+120 (git sha1 1e42b4f, clang++ 11.1.0 -fPIC -Os)

On which OS did this happen?

macOS

Reproduction Steps

read_verilog <<EOF
module top(a, b, y);
	input wire a;
	input wire b;
	output wire y;

	wire j = k ? a : ~k;
	wire k = l ? ~j : b;
	wire l = j ? ~k : b;

	assign y = l;
endmodule
EOF
share

Expected Behavior

share not stuck

Actual Behavior

share stuck

@povik povik added the pending-verification This issue is pending verification and/or reproduction label Mar 5, 2024
@widlarizer widlarizer added bug and removed pending-verification This issue is pending verification and/or reproduction labels Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants