HF RL Explorer

Repair a verified behavior in chipsalliance/chisel.

Repair a verified behavior in chipsalliance/chisel.: a task in OriGent-SFT-Data (Harbor dataset). In Chisel, extracting zero bits from a hardware UInt with zero width incorrectly aborts elaboration with a zero-width extraction error. Both UInt.take(0) and UInt.apply(-1, 0) on UInt(0.W) must be…

The task

In Chisel, extracting zero bits from a hardware UInt with zero width incorrectly aborts elaboration with a zero-width extraction error. Both UInt.take(0) and UInt.apply(-1, 0) on UInt(0.W) must be accepted and must produce a zero-width UInt result. A wider output connected to either result must also elaborate…

Part of henryen/OriGent-SFT-Data.