diff options
author | Eddie Hung <eddie.hung+gitlab@gmail.com> | 2018-07-31 17:51:56 +0000 |
---|---|---|
committer | Eddie Hung <eddie.hung+gitlab@gmail.com> | 2018-07-31 17:51:56 +0000 |
commit | 70747b93555c1a8a55c247420446f4410dc2b2f8 (patch) | |
tree | a875532bd46d6cd4eeb66154ea07c054241ec7cd /common/router1.cc | |
parent | b55ccc12f0b2ac964cb4ff72b191fee2c4e1bdad (diff) | |
parent | b884d6bcf32575c4495c2dfb02d095c7fb195eae (diff) | |
download | nextpnr-70747b93555c1a8a55c247420446f4410dc2b2f8.tar.gz nextpnr-70747b93555c1a8a55c247420446f4410dc2b2f8.tar.bz2 nextpnr-70747b93555c1a8a55c247420446f4410dc2b2f8.zip |
Merge branch 'redist_slack' into 'redist_slack'
# Conflicts:
# common/timing.cc
Diffstat (limited to 'common/router1.cc')
-rw-r--r-- | common/router1.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/router1.cc b/common/router1.cc index 4ef7df64..0bd257fd 100644 --- a/common/router1.cc +++ b/common/router1.cc @@ -22,6 +22,7 @@ #include "log.h" #include "router1.h" +#include "timing.h" namespace { @@ -615,6 +616,8 @@ bool router1(Context *ctx) if (ctx->verbose || iterCnt == 1) log_info("routing queue contains %d jobs.\n", int(jobQueue.size())); + assign_budget(ctx, true /* quiet */); + bool printNets = ctx->verbose && (jobQueue.size() < 10); while (!jobQueue.empty()) { @@ -811,6 +814,7 @@ bool router1(Context *ctx) #ifndef NDEBUG ctx->check(); #endif + timing_analysis(ctx, true /* print_fmax */, true /* print_path */); ctx->unlock(); return true; } catch (log_execution_error_exception) { |