Skip to content

Commit

Permalink
clk2fflogic: run peepopt -formalclk before processing design
Browse files Browse the repository at this point in the history
* this attempts to rewrite clock gating patterns into a form that is
  less likely to introduce combinational loops with clk2fflogic
  • Loading branch information
georgerennie committed Aug 7, 2024
1 parent 52ee9c5 commit a4f60de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions passes/sat/clk2fflogic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ struct Clk2fflogicPass : public Pass {
}
extra_args(args, argidx, design);

log_push();
Pass::call(design, "peepopt -formalclk");
log_pop();

bool have_check_cells = false;

for (auto module : design->selected_modules())
Expand Down

0 comments on commit a4f60de

Please sign in to comment.