diff options
author | Arjen Roodselaar <arjen@oxide.computer> | 2022-12-19 22:58:52 -0800 |
---|---|---|
committer | Arjen Roodselaar <arjen@oxide.computer> | 2022-12-19 22:58:52 -0800 |
commit | d5299f144f0dc8cdcca9195d8ffbbd5a77cff77e (patch) | |
tree | bafa90652a5ffe19dd0b1e0ea0921df505949135 /common/kernel/command.cc | |
parent | 2712cbf6e4289eb9c1830e367d68072e3d1f7564 (diff) | |
download | nextpnr-d5299f144f0dc8cdcca9195d8ffbbd5a77cff77e.tar.gz nextpnr-d5299f144f0dc8cdcca9195d8ffbbd5a77cff77e.tar.bz2 nextpnr-d5299f144f0dc8cdcca9195d8ffbbd5a77cff77e.zip |
Add --no-placer-timeout flag to override timeout during refinement
Diffstat (limited to 'common/kernel/command.cc')
-rw-r--r-- | common/kernel/command.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/kernel/command.cc b/common/kernel/command.cc index c548509f..22000299 100644 --- a/common/kernel/command.cc +++ b/common/kernel/command.cc @@ -189,6 +189,7 @@ po::options_description CommandHandler::getGeneralOptions() general.add_options()("placer-heap-critexp", po::value<int>(), "placer heap criticality exponent (int, default: 2)"); general.add_options()("placer-heap-timingweight", po::value<int>(), "placer heap timing weight (int, default: 10)"); + general.add_options()("no-placer-timeout", "allow the placer to attempt placement without timeout"); #if !defined(__wasm) general.add_options()("parallel-refine", "use new experimental parallelised engine for placement refinement"); @@ -328,6 +329,9 @@ void CommandHandler::setupContext(Context *ctx) if (vm.count("placer-heap-timingweight")) ctx->settings[ctx->id("placerHeap/timingWeight")] = std::to_string(vm["placer-heap-timingweight"].as<int>()); + if (vm.count("no-placer-timeout")) + ctx->settings[ctx->id("placerHeap/noTimeout")] = true; + if (vm.count("parallel-refine")) ctx->settings[ctx->id("placerHeap/parallelRefine")] = true; |