Skip to content

Commit

Permalink
[firtool] Run the CheckLayers pass
Browse files Browse the repository at this point in the history
  • Loading branch information
youngar committed Aug 29, 2024
1 parent 126c46a commit 6dcdb59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Firtool/Firtool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ LogicalResult firtool::populatePreprocessTransforms(mlir::PassManager &pm,
const FirtoolOptions &opt) {
pm.nest<firrtl::CircuitOp>().addPass(
firrtl::createCheckRecursiveInstantiation());
pm.nest<firrtl::CircuitOp>().addPass(firrtl::createCheckLayers());
// Legalize away "open" aggregates to hw-only versions.
pm.nest<firrtl::CircuitOp>().addPass(firrtl::createLowerOpenAggsPass());

Expand Down

0 comments on commit 6dcdb59

Please sign in to comment.