timing model clk->output remove edge time

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2022-06-23 19:18:00 -07:00
parent 9eaf208ee5
commit 158a886d94
1 changed files with 1 additions and 1 deletions

View File

@ -423,7 +423,7 @@ MakeTimingModel::findClkedOutputPaths()
RiseFall *clk_rf = clk_edge->transition();
TimingArcAttrs *attrs = nullptr;
for (RiseFall *output_rf : RiseFall::range()) {
float delay = delays.value(output_rf, min_max_);
float delay = delays.value(output_rf, min_max_) - clk_edge->time();
TimingModel *gate_model = makeGateModelTable(output_pin, delay, output_rf);
if (attrs == nullptr)
attrs = new TimingArcAttrs();