diff options
author | Eddie Hung <eddieh@ece.ubc.ca> | 2018-08-08 07:49:07 -0700 |
---|---|---|
committer | Eddie Hung <eddieh@ece.ubc.ca> | 2018-08-08 07:49:07 -0700 |
commit | fca01f5447d8ca0ba2e0075cb214f3a19933e6c1 (patch) | |
tree | e33dcb5f7d5ba015fb594d69453028c852e95e71 /common/timing.cc | |
parent | e6eb2038683fd3c81570b8c8e5307678bca5f77e (diff) | |
download | nextpnr-fca01f5447d8ca0ba2e0075cb214f3a19933e6c1.tar.gz nextpnr-fca01f5447d8ca0ba2e0075cb214f3a19933e6c1.tar.bz2 nextpnr-fca01f5447d8ca0ba2e0075cb214f3a19933e6c1.zip |
Also include TMG_GEN_CLOCK as a timing startpoint
Diffstat (limited to 'common/timing.cc')
-rw-r--r-- | common/timing.cc | 5 |
1 files 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; |