[firtool] Run the CheckLayers pass

This commit is contained in:
Andrew Young 2024-08-23 10:31:01 -07:00
parent 126c46ad93
commit 6dcdb59ce1
1 changed files with 1 additions and 0 deletions

View File

@ -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());