Skip to content

Commit

Permalink
formalff: Document -declockgate option
Browse files Browse the repository at this point in the history
  • Loading branch information
jix committed Feb 12, 2025
1 parent 904b419 commit 43b5e10
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions passes/sat/formalff.cc
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,12 @@ struct FormalFfPass : public Pass {
log(" Add assumptions that constrain wires with the 'replaced_by_gclk'\n");
log(" attribute to the value they would have before an active clock edge.\n");
log("\n");
log(" -declockgate\n");
log(" Detect clock-gating patterns and modify any FFs clocked by the gated\n");
log(" clock to use the ungated clock with the gate signal as clock enable.\n");
log(" This doesn't affect the design's behavior during FV but can enable the\n");
log(" use of formal verification methods that only support a single global\n");
log(" clock.\n");

// TODO: An option to check whether all FFs use the same clock before changing it to the global clock
}
Expand Down

0 comments on commit 43b5e10

Please sign in to comment.