Skip to content

Commit

Permalink
[firtool] run CheckRecursiveInstantiation pass
Browse files Browse the repository at this point in the history
  • Loading branch information
youngar committed Aug 7, 2024
1 parent 8eabaf2 commit 4062f89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Firtool/Firtool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ using namespace circt;

LogicalResult firtool::populatePreprocessTransforms(mlir::PassManager &pm,
const FirtoolOptions &opt) {
pm.nest<firrtl::CircuitOp>().addPass(
firrtl::createCheckRecursiveInstantiation());
// Legalize away "open" aggregates to hw-only versions.
pm.nest<firrtl::CircuitOp>().addPass(firrtl::createLowerOpenAggsPass());

Expand Down

0 comments on commit 4062f89

Please sign in to comment.