HF RL Explorer

Repair a verified behavior in llvm/circt.

Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The FIRRTL RemoveUnusedPorts pass in CIRCT does not remove output ports whose values are never consumed by any instantiation of the module. Dead ports, dead instance port connections, and dead wires therefore…

The task

The FIRRTL `RemoveUnusedPorts` pass in CIRCT does not remove output ports whose values are never consumed by any instantiation of the module. Dead ports, dead instance port connections, and dead wires therefore survive into the lowered design and the emitted Verilog, causing lint warnings about unused nets.

Part of henryen/OriGent-SFT-Data.