15#include "mlir/Pass/Pass.h"
19#define GEN_PASS_DEF_FOOWIRES
20#include "circt/Dialect/HW/Passes.h.inc"
29struct FooWiresPass : circt::hw::impl::FooWiresBase<FooWiresPass> {
30 void runOnOperation()
override;
34void FooWiresPass::runOnOperation() {
37 [&](hw::WireOp wire) {
38 wire.setName(
"foo_" + std::to_string(nWires++));
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.