aboutsummaryrefslogtreecommitdiffstats
path: root/common/router1.cc
diff options
context:
space:
mode:
authorEddie Hung <e.hung@imperial.ac.uk>2018-07-25 18:21:39 -0700
committerEddie Hung <e.hung@imperial.ac.uk>2018-07-25 18:21:39 -0700
commit760a47779aca8aabbc11b4a769e987a1ce42ad0c (patch)
tree06aa1a8bb02876854ddfa8aa2d182bb2a5c06222 /common/router1.cc
parenta21cc4dd5bbbf1c9e5894d8c30a2c3252d21dfd0 (diff)
downloadnextpnr-760a47779aca8aabbc11b4a769e987a1ce42ad0c.tar.gz
nextpnr-760a47779aca8aabbc11b4a769e987a1ce42ad0c.tar.bz2
nextpnr-760a47779aca8aabbc11b4a769e987a1ce42ad0c.zip
Add compute_fmax() with refactoring, plus print out Fmax estimate post-place and post-route
Diffstat (limited to 'common/router1.cc')
-rw-r--r--common/router1.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/router1.cc b/common/router1.cc
index dbf97af7..8664819f 100644
--- a/common/router1.cc
+++ b/common/router1.cc
@@ -815,6 +815,7 @@ bool router1(Context *ctx)
ctx->check();
ctx->unlock();
#endif
+ log_info("estimated Fmax = %.2f MHz\n", compute_fmax(ctx) / 1e6);
return true;
} catch (log_execution_error_exception) {
#ifndef NDEBUG