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

Verilog: fix for synthesis of continuous assignments #779

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

kroening
Copy link
Member

The LHS expression of continuous assignments needs to be synthesized.

@kroening kroening marked this pull request as ready for review October 18, 2024 13:21
auto lhs_synth = synth_expr(lhs, symbol_statet::CURRENT);
auto rhs_synth = synth_expr(rhs, symbol_statet::CURRENT);

equal_exprt equality{lhs_synth, rhs_synth};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could use std::move here. But likely won’t matter in the grand scheme of things.

The LHS expression of continuous assignments needs to be synthesized.
@kroening kroening merged commit 22d65c3 into main Oct 18, 2024
8 checks passed
@kroening kroening deleted the continuous_assignment1 branch October 18, 2024 16:42
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 this pull request may close these issues.

2 participants