Skip to content

Commit

Permalink
vcd clk period check
Browse files Browse the repository at this point in the history
Signed-off-by: James Cherry <[email protected]>
  • Loading branch information
jjcherry56 committed Nov 2, 2022
1 parent a48bb7d commit 5b50dc0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion power/ReadVcdActivities.cc
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,10 @@ ReadVcdActivities::checkClkPeriod(const Pin *pin,
ClockSet *clks = sdc_->findLeafPinClocks(pin);
if (clks) {
for (Clock *clk : *clks) {
//printf("%.2e %.2e\n", clk->period(), sim_period);
report_->warn(806, "clock %s vcd period %s differs from clock definition %s",
clk->name(),
delayAsString(clk->period(), this),
delayAsString(sim_period, this));
}
}
}
Expand Down

0 comments on commit 5b50dc0

Please sign in to comment.