diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-06-19 13:40:35 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-06-19 14:10:42 +0200 |
commit | fd40d6f58d10b0435be1f443293e4c9405cfcf05 (patch) | |
tree | 57a3d6b2c90eccfae80e6e16b568486237f101cf /common/route.cc | |
parent | 5f37da970463b4197ddcdfeb94cfd7c7d6803682 (diff) | |
download | nextpnr-fd40d6f58d10b0435be1f443293e4c9405cfcf05.tar.gz nextpnr-fd40d6f58d10b0435be1f443293e4c9405cfcf05.tar.bz2 nextpnr-fd40d6f58d10b0435be1f443293e4c9405cfcf05.zip |
Updates from clangformat
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'common/route.cc')
-rw-r--r-- | common/route.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/common/route.cc b/common/route.cc index 04f0f4c2..d623b2cf 100644 --- a/common/route.cc +++ b/common/route.cc @@ -67,7 +67,8 @@ struct Router delay_t maxDelay = 0.0; WireId failedDest; - Router(Context *ctx, IdString net_name, bool ripup = false, delay_t ripup_penalty = 0) + Router(Context *ctx, IdString net_name, bool ripup = false, + delay_t ripup_penalty = 0) { auto net_info = ctx->nets.at(net_name); @@ -438,7 +439,8 @@ bool route_design(Context *ctx) netCnt = 0; int ripCnt = 0; - std::vector<IdString> ripupArray(ripupQueue.begin(), ripupQueue.end()); + std::vector<IdString> ripupArray(ripupQueue.begin(), + ripupQueue.end()); ctx->shuffle(ripupArray); for (auto net_name : ripupArray) { @@ -447,7 +449,8 @@ bool route_design(Context *ctx) net_name.c_str(ctx), int(ctx->nets.at(net_name)->users.size())); - Router router(ctx, net_name, true, ripup_penalty * (iterCnt - 1)); + Router router(ctx, net_name, true, + ripup_penalty * (iterCnt - 1)); netCnt++; visitCnt += router.visitCnt; |