Repair a verified behavior in mikepopoloski/slang.
Repair a verified behavior in mikepopoloski/slang.: a task in OriGent-SFT-Data (Harbor dataset). The SystemVerilog compiler currently accepts $bits() applied to a constant expression whose operand has a simple predefined integer type without flagging that this is usually a mistake. For example…
The task
The SystemVerilog compiler currently accepts `$bits()` applied to a constant expression whose operand has a simple predefined integer type without flagging that this is usually a mistake. For example, `parameter int width = 10; localparam int bits = $bits(width);` should not compile silently, because `$bits(width)`…
Part of henryen/OriGent-SFT-Data.