From fca01f5447d8ca0ba2e0075cb214f3a19933e6c1 Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Wed, 8 Aug 2018 07:49:07 -0700 Subject: [PATCH] Also include TMG_GEN_CLOCK as a timing startpoint --- common/timing.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/common/timing.cc b/common/timing.cc index 0028fd21..fae9ca53 100644 --- a/common/timing.cc +++ b/common/timing.cc @@ -95,14 +95,13 @@ struct Timing topographical_order.emplace_back(o->net); net_data.emplace(o->net, TimingData{clkToQ.maxDelay()}); } else { - // Also add I/O cells too // TODO: how to process ignore here - if (portClass == TMG_STARTPOINT || portClass == TMG_IGNORE) { + if (portClass == TMG_STARTPOINT || portClass == TMG_GEN_CLOCK || portClass == TMG_IGNORE) { topographical_order.emplace_back(o->net); net_data.emplace(o->net, TimingData{}); } // Otherwise, for all driven input ports on this cell, - // if a timing arch exists between the input and + // if a timing arc exists between the input and // the current output port, increment fanin counter for (auto i : input_ports) { DelayInfo comb_delay;