Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The FIRRTL flow does not consistently reject recursive module instantiation. Its existing validation catches an instance whose target is the containing module, but it accepts an indirect cycle. For example, a…
The task
The FIRRTL flow does not consistently reject recursive module instantiation. Its existing validation catches an instance whose target is the containing module, but it accepts an indirect cycle. For example, a circuit where Top instantiates B and B instantiates Top is successfully accepted by `firtool --format=mlir…
Part of henryen/OriGent-SFT-Data.