aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEddie Hung <eddieh@ece.ubc.ca>2018-08-06 07:19:32 -0700
committerEddie Hung <eddieh@ece.ubc.ca>2018-08-06 07:19:32 -0700
commit2fb934b107d63b43afcde0e724a91c33500fe95c (patch)
tree32e411ea827ff82f7af1e7e930a034cb019a75f1
parentfa773c3ce9fb909017c2766e3ddbe4afd611a80e (diff)
downloadnextpnr-2fb934b107d63b43afcde0e724a91c33500fe95c.tar.gz
nextpnr-2fb934b107d63b43afcde0e724a91c33500fe95c.tar.bz2
nextpnr-2fb934b107d63b43afcde0e724a91c33500fe95c.zip
clangformat
-rw-r--r--common/timing.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/common/timing.cc b/common/timing.cc
index 78ec4ea7..ae5783cd 100644
--- a/common/timing.cc
+++ b/common/timing.cc
@@ -39,9 +39,10 @@ struct Timing
PortRefVector *crit_path;
DelayFrequency *slack_histogram;
- Timing(Context *ctx, bool net_delays, bool update, PortRefVector *crit_path = nullptr, DelayFrequency *slack_histogram = nullptr)
- : ctx(ctx), net_delays(net_delays), update(update), min_slack(1.0e12 / ctx->target_freq), crit_path(crit_path),
- slack_histogram(slack_histogram)
+ Timing(Context *ctx, bool net_delays, bool update, PortRefVector *crit_path = nullptr,
+ DelayFrequency *slack_histogram = nullptr)
+ : ctx(ctx), net_delays(net_delays), update(update), min_slack(1.0e12 / ctx->target_freq),
+ crit_path(crit_path), slack_histogram(slack_histogram)
{
}
@@ -150,7 +151,7 @@ void assign_budget(Context *ctx, bool quiet)
{
if (!quiet) {
log_break();
- log_info("Annotating ports with timing budgets for target frequency %.2f MHz\n", ctx->target_freq/1e6);
+ log_info("Annotating ports with timing budgets for target frequency %.2f MHz\n", ctx->target_freq / 1e6);
}
Timing timing(ctx, ctx->slack_redist_iter > 0 /* net_delays */, true /* update */);