HF RL Explorer

Repair a verified behavior in clash-lang/clash-compiler.

Repair a verified behavior in clash-lang/clash-compiler.: a task in OriGent-RL-Data (Harbor dataset). When Clash compiles a Haskell design to Verilog — and the same defect is present in the SystemVerilog backend — the expression emitted for the fromInteger primitive takes the width of its operand…

The task

When Clash compiles a Haskell design to Verilog — and the same defect is present in the SystemVerilog backend — the expression emitted for the `fromInteger#` primitive takes the width of its operand instead of the width of the result type. `fromInteger#` is the primitive that injects an `Integer` into a sized type;…

Part of henryen/OriGent-RL-Data.