HF RL Explorer

Repair a verified behavior in pymtl/pymtl3.

Repair a verified behavior in pymtl/pymtl3.: a task in OriGent-SFT-Data (Harbor dataset). The level-2 SystemVerilog behavioral translator mishandles a for loop whose range() step is supplied by a free variable. For example, a PyMTL update block can capture a local step = Bits32(-1) and contain for…

The task

The level-2 SystemVerilog behavioral translator mishandles a `for` loop whose `range()` step is supplied by a free variable. For example, a PyMTL update block can capture a local `step = Bits32(-1)` and contain `for index in range(1, -1, step):`. Behavioral RTLIR generation and type checking accept this constant…

Part of henryen/OriGent-SFT-Data.