Repair a verified behavior in chipsalliance/surelog.
Repair a verified behavior in chipsalliance/surelog.: a task in OriGent-SFT-Data (Harbor dataset). Surelog incorrectly folds SystemVerilog constant relational expressions when either operand is a real literal. For elaboration-time conditions, the operands are converted to integers before…
The task
Surelog incorrectly folds SystemVerilog constant relational expressions when either operand is a real literal. For elaboration-time conditions, the operands are converted to integers before comparison, discarding their fractional parts. As a result, an if-generate guarded by `1.25 < 1.5` folds the condition as `1 <…
Part of henryen/OriGent-SFT-Data.