Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The FIRRTL compiler currently rejects layer blocks that appear inside conditional statements. Any layerblock nested directly under a when or a match fails FIRRTL verification, so firtool refuses to compile the…
The task
The FIRRTL compiler currently rejects layer blocks that appear inside conditional statements. Any `layerblock` nested directly under a `when` or a `match` fails FIRRTL verification, so firtool refuses to compile the circuit and reports an error of the form:
Part of henryen/OriGent-SFT-Data.