aboutsummaryrefslogtreecommitdiffstats
path: root/common/timing.cc
diff options
context:
space:
mode:
Diffstat (limited to 'common/timing.cc')
-rw-r--r--common/timing.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/timing.cc b/common/timing.cc
index a4bda3bb..8da26077 100644
--- a/common/timing.cc
+++ b/common/timing.cc
@@ -101,6 +101,8 @@ void assign_budget(Context *ctx, float default_clock)
}
}
}
+ const bool debug = true;
+
// Post-allocation check
for (auto net : ctx->nets) {
for (auto user : net.second->users) {
@@ -109,6 +111,11 @@ void assign_budget(Context *ctx, float default_clock)
"timing budget of %fns\n",
user.cell->name.c_str(ctx), user.port.c_str(ctx),
net.first.c_str(ctx), ctx->getDelayNS(user.budget));
+ if (debug)
+ log_warning("port %s.%s, connected to net '%s', has "
+ "timing budget of %fns\n",
+ user.cell->name.c_str(ctx), user.port.c_str(ctx),
+ net.first.c_str(ctx), ctx->getDelayNS(user.budget));
}
}
}