HF RL Explorer

Repair a verified behavior in chipsalliance/uhdm.

Repair a verified behavior in chipsalliance/uhdm.: a task in OriGent-SFT-Data (Harbor dataset). The UHDM expression evaluator folds a SystemVerilog size cast N'(expr) as though its operand were always unsigned. For a signed operand, truncation to the cast width does not sign-extend when that value…

The task

The UHDM expression evaluator folds a SystemVerilog size cast `N'(expr)` as though its operand were always unsigned. For a signed operand, truncation to the cast width does not sign-extend when that value is later widened by another size cast. A representative trigger is the chained cast `8'(4'(signed'(-8'd1)))`: the…

Part of henryen/OriGent-SFT-Data.