diff options
author | David Shah <dave@ds0.me> | 2019-02-07 19:19:15 +0000 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2019-02-25 11:49:25 +0000 |
commit | 55b0b60d9d58961bfefea66fcc197b399424d9d6 (patch) | |
tree | eafd31eed747136436d5b9d082f3a7cabb320429 /common | |
parent | f5b11ce075544d00ccafaf4363d099b6f1806335 (diff) | |
download | nextpnr-55b0b60d9d58961bfefea66fcc197b399424d9d6.tar.gz nextpnr-55b0b60d9d58961bfefea66fcc197b399424d9d6.tar.bz2 nextpnr-55b0b60d9d58961bfefea66fcc197b399424d9d6.zip |
ecp5: Router performance improvements
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'common')
-rw-r--r-- | common/timing.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/timing.cc b/common/timing.cc index 64dcdf71..db38b11b 100644 --- a/common/timing.cc +++ b/common/timing.cc @@ -837,6 +837,10 @@ void timing_analysis(Context *ctx, bool print_histogram, bool print_fmax, bool p auto cursor = sink_wire; delay_t delay; while (driver_wire != cursor) { +#ifdef ARCH_ECP5 + if (net->is_global) + break; +#endif auto it = net->wires.find(cursor); assert(it != net->wires.end()); auto pip = it->second.pip; |