vcd clk period check

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2022-11-02 12:19:30 -07:00
parent a48bb7dbe5
commit 5b50dc0099
1 changed files with 4 additions and 1 deletions

View File

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