Repair a verified behavior in verilator/verilator.
Repair a verified behavior in verilator/verilator.: a task in OriGent-RL-Data (Harbor dataset). Verilator's constant bit-operation optimization can produce a generated model with the wrong runtime result when it reduces an AND/OR expression tree containing an equality comparison whose operand is…
The task
Verilator's constant bit-operation optimization can produce a generated model with the wrong runtime result when it reduces an AND/OR expression tree containing an equality comparison whose operand is complemented. The inversion is lost during reduction: for example, `b | ((~(a & c)) != 0)` must evaluate to `1`…
Part of henryen/OriGent-RL-Data.