Skip to content

Conversation

@RRozak
Copy link
Member

@RRozak RRozak commented Dec 12, 2024

In contrary to what the comment says, the Spec allows for non-constant rhs. This PR allows for ==? and !=? operators if the RHS is non-fourstate. It also makes possible to use these types in inside operator, because Verilator converts inside to ==?.

@RRozak RRozak changed the title Fix wildard equality and inside operators for non-fourstate expressions Fix wildcard equality and inside operators for non-fourstate expressions Dec 12, 2024
Signed-off-by: Ryszard Rozak <rrozak@antmicro.com>
Signed-off-by: Ryszard Rozak <rrozak@antmicro.com>
Signed-off-by: Ryszard Rozak <rrozak@antmicro.com>
Signed-off-by: Ryszard Rozak <rrozak@antmicro.com>
Signed-off-by: Ryszard Rozak <rrozak@antmicro.com>
Copy link
Member

@wsnyder wsnyder left a comment

Choose a reason for hiding this comment

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

Thanks, feel free to squash merge once passes.

@RRozak RRozak merged commit 03e8ef0 into verilator:master Dec 12, 2024
47 checks passed
@RRozak RRozak deleted the rrozak/fix-inside branch December 12, 2024 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants