From 55b0b60d9d58961bfefea66fcc197b399424d9d6 Mon Sep 17 00:00:00 2001 From: David Shah Date: Thu, 7 Feb 2019 19:19:15 +0000 Subject: ecp5: Router performance improvements Signed-off-by: David Shah --- common/timing.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common') 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; -- cgit v1.2.3