diff options
author | David Shah <davey1576@gmail.com> | 2018-08-04 08:18:04 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-08-04 08:18:04 +0200 |
commit | 082b8bf272bf09b6ea2ee7aec4682a4eb2e5bfde (patch) | |
tree | 2976db953abbdbaf344fd04c7eb1b75bf8371e2a /ice40 | |
parent | 176a23936c8301eb567ea2a0b466dbebc598b18b (diff) | |
download | nextpnr-082b8bf272bf09b6ea2ee7aec4682a4eb2e5bfde.tar.gz nextpnr-082b8bf272bf09b6ea2ee7aec4682a4eb2e5bfde.tar.bz2 nextpnr-082b8bf272bf09b6ea2ee7aec4682a4eb2e5bfde.zip |
clangformat
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40')
-rw-r--r-- | ice40/arch.cc | 3 | ||||
-rw-r--r-- | ice40/arch.h | 1 | ||||
-rw-r--r-- | ice40/main.cc | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc index 84856402..3934e8f0 100644 --- a/ice40/arch.cc +++ b/ice40/arch.cc @@ -659,7 +659,8 @@ delay_t Arch::getBudgetOverride(const NetInfo *net_info, const PortRef &sink, de // ----------------------------------------------------------------------- -bool Arch::place() { +bool Arch::place() +{ Placer1Cfg cfg; cfg.constraintWeight = placer_constraintWeight; return placer1(getCtx(), cfg); diff --git a/ice40/arch.h b/ice40/arch.h index b9b4f3c5..cf78088a 100644 --- a/ice40/arch.h +++ b/ice40/arch.h @@ -799,7 +799,6 @@ struct Arch : BaseCtx } float placer_constraintWeight = 10; - }; NEXTPNR_NAMESPACE_END diff --git a/ice40/main.cc b/ice40/main.cc index 60f5b444..37e18215 100644 --- a/ice40/main.cc +++ b/ice40/main.cc @@ -106,7 +106,8 @@ int main(int argc, char *argv[]) options.add_options()("seed", po::value<int>(), "seed value for random number generator"); options.add_options()("slack_redist_iter", po::value<int>(), "number of iterations between slack redistribution"); - options.add_options()("cstrweight", po::value<float>(), "placer weighting for relative constraint satisfaction"); + options.add_options()("cstrweight", po::value<float>(), + "placer weighting for relative constraint satisfaction"); options.add_options()("version,V", "show version"); options.add_options()("tmfuzz", "run path delay estimate fuzzer"); |