We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4924831 commit bbeed25Copy full SHA for bbeed25
lib/Dialect/FIRRTL/Transforms/GrandCentral.cpp
@@ -2595,7 +2595,8 @@ void GrandCentralPass::runOnOperation() {
2595
2596
interfaceVec.push_back(topIface);
2597
2598
- // Instantiate the interface inside the companion.
+ // Instantiate the interface before the view and the XMR's we inserted above.
2599
+ viewBuilder.setInsertionPoint(view);
2600
viewBuilder.create<sv::InterfaceInstanceOp>(
2601
topIface.getInterfaceType(), view.getName(),
2602
// TODO: Proper inner sym namespace handling
0 commit comments