Repair a verified behavior in ucsbarchlab/pyrtl.
Repair a verified behavior in ucsbarchlab/pyrtl.: a task in OriGent-SFT-Data (Harbor dataset). PyRTL's public clone wire(old wire, name=None) operation is unsafe when old wire already belongs to the current working block and no name is supplied. It creates the clone with the source wire's name, so…
The task
PyRTL's public `clone_wire(old_wire, name=None)` operation is unsafe when `old_wire` already belongs to the current working block and no `name` is supplied. It creates the clone with the source wire's name, so the block's name-to-wire bookkeeping cannot distinguish the original wire from its clone. If the clone is…
Part of henryen/OriGent-SFT-Data.