diff options
author | David Shah <dave@ds0.me> | 2018-12-10 18:53:21 +0000 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2019-03-22 10:31:54 +0000 |
commit | 0cb351df52396dfa440ecebf6db148445f0afee2 (patch) | |
tree | 32bc1e18d79c2eebe8b3d2f744e85a9fefb5ed2a /common/command.cc | |
parent | 222abb5be29a95538f37ed28760df68b037b2a52 (diff) | |
download | nextpnr-0cb351df52396dfa440ecebf6db148445f0afee2.tar.gz nextpnr-0cb351df52396dfa440ecebf6db148445f0afee2.tar.bz2 nextpnr-0cb351df52396dfa440ecebf6db148445f0afee2.zip |
placer1: New temperature heuristic
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'common/command.cc')
-rw-r--r-- | common/command.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/command.cc b/common/command.cc index dd351c0d..b7fc13e6 100644 --- a/common/command.cc +++ b/common/command.cc @@ -122,6 +122,7 @@ po::options_description CommandHandler::getGeneralOptions() general.add_options()("randomize-seed,r", "randomize seed value for random number generator"); general.add_options()("slack_redist_iter", po::value<int>(), "number of iterations between slack redistribution"); general.add_options()("cstrweight", po::value<float>(), "placer weighting for relative constraint satisfaction"); + general.add_options()("starttemp", po::value<float>(), "placer SA start temperature"); general.add_options()("placer-budgets", "use budget rather than criticality in placer timing weights"); general.add_options()("pack-only", "pack design only without placement or routing"); @@ -188,6 +189,9 @@ void CommandHandler::setupContext(Context *ctx) if (vm.count("cstrweight")) { settings->set("placer1/constraintWeight", vm["cstrweight"].as<float>()); } + if (vm.count("starttemp")) { + settings->set("placer1/startTemp", vm["starttemp"].as<float>()); + } if (vm.count("placer-budgets")) { settings->set("placer1/budgetBased", true); |