diff options
author | Eddie Hung <eddieh@ece.ubc.ca> | 2018-07-31 20:57:36 -0700 |
---|---|---|
committer | Eddie Hung <eddieh@ece.ubc.ca> | 2018-07-31 20:57:36 -0700 |
commit | 92ec2cd13825ef996ebf0d88246d975a19352800 (patch) | |
tree | db4a1c7447eff669bf47c64de95747b3edab6438 /common/place_common.cc | |
parent | f646ec790a79f29d6964f3b7e30088f044b4a4e9 (diff) | |
download | nextpnr-92ec2cd13825ef996ebf0d88246d975a19352800.tar.gz nextpnr-92ec2cd13825ef996ebf0d88246d975a19352800.tar.bz2 nextpnr-92ec2cd13825ef996ebf0d88246d975a19352800.zip |
clangformat for stuff I've touched
Diffstat (limited to 'common/place_common.cc')
-rw-r--r-- | common/place_common.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/place_common.cc b/common/place_common.cc index b8886e1b..fd38429f 100644 --- a/common/place_common.cc +++ b/common/place_common.cc @@ -66,7 +66,8 @@ wirelen_t get_net_metric(const Context *ctx, const NetInfo *net, MetricType type ymax = std::max(ymax, load_loc.y); } if (ctx->timing_driven && type == MetricType::COST) { - wirelength = wirelen_t((((ymax - ymin) + (xmax - xmin)) * std::min(5.0, (1.0 + std::exp(-ctx->getDelayNS(worst_slack) / 5))))); + wirelength = wirelen_t( + (((ymax - ymin) + (xmax - xmin)) * std::min(5.0, (1.0 + std::exp(-ctx->getDelayNS(worst_slack) / 5))))); } else { wirelength = wirelen_t((ymax - ymin) + (xmax - xmin)); } |