aboutsummaryrefslogtreecommitdiffstats
path: root/common/timing.cc
diff options
context:
space:
mode:
authorEddie Hung <eddieh@ece.ubc.ca>2018-08-08 07:49:07 -0700
committerEddie Hung <eddieh@ece.ubc.ca>2018-08-08 07:49:07 -0700
commitfca01f5447d8ca0ba2e0075cb214f3a19933e6c1 (patch)
treee33dcb5f7d5ba015fb594d69453028c852e95e71 /common/timing.cc
parente6eb2038683fd3c81570b8c8e5307678bca5f77e (diff)
downloadnextpnr-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.cc5
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;