Repair a verified behavior in yosyshq/yosys.
Repair a verified behavior in yosyshq/yosys.: a task in OriGent-RL-Data (Harbor dataset). The RTLIL $shift cell ignores A SIGNED when its A input is widened. For example, with A SIGNED set, A WIDTH 4, Y WIDTH 8, A containing 1010 , and unsigned B containing 0001 , Yosys evaluates the cell as…
The task
The RTLIL `$shift` cell ignores `A_SIGNED` when its `A` input is widened. For example, with `A_SIGNED` set, `A_WIDTH` 4, `Y_WIDTH` 8, `A` containing `1010`, and unsigned `B` containing `0001`, Yosys evaluates the cell as `8'00000101`, as though `A` were zero-extended. The corresponding `$shr` cell sign-extends `A`…
Part of henryen/OriGent-RL-Data.