Repair a verified behavior in mikepopoloski/slang.
Repair a verified behavior in mikepopoloski/slang.: a task in OriGent-SFT-Data (Harbor dataset). The SystemVerilog $itor system function is evaluated incorrectly. Although it returns a real value, it first narrows its integral argument to a 32-bit signed integer before conversion. As a result…
The task
The SystemVerilog `$itor` system function is evaluated incorrectly. Although it returns a real value, it first narrows its integral argument to a 32-bit signed integer before conversion. As a result, wide values lose their upper bits, and values whose sign or magnitude depend on bits above bit 31 are converted to the…
Part of henryen/OriGent-SFT-Data.