diff options
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"); |