diff options
author | gatecat <gatecat@ds0.me> | 2021-12-18 20:58:44 +0000 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-12-18 20:58:44 +0000 |
commit | f670de7b52027ace6eb9f382ee6025f79d84202d (patch) | |
tree | a4c64295bf368ca4fa55b25cd563bee04f0aeca7 /common/command.cc | |
parent | 53ce8f3736e7e4535c4fb4b323c01cbea95314a9 (diff) | |
download | nextpnr-f670de7b52027ace6eb9f382ee6025f79d84202d.tar.gz nextpnr-f670de7b52027ace6eb9f382ee6025f79d84202d.tar.bz2 nextpnr-f670de7b52027ace6eb9f382ee6025f79d84202d.zip |
router1: Experimental timing-driven ripup support
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'common/command.cc')
-rw-r--r-- | common/command.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/common/command.cc b/common/command.cc index 5a13fb55..d4279a58 100644 --- a/common/command.cc +++ b/common/command.cc @@ -176,7 +176,9 @@ po::options_description CommandHandler::getGeneralOptions() general.add_options()("router2-heatmap", po::value<std::string>(), "prefix for router2 resource congestion heatmaps"); - general.add_options()("router2-tmg-ripup", "enable experimental timing-driven ripup in router2"); + general.add_options()("tmg-ripup", "enable experimental timing-driven ripup in router"); + general.add_options()("router2-tmg-ripup", + "enable experimental timing-driven ripup in router (deprecated; use --tmg-ripup instead)"); general.add_options()("report", po::value<std::string>(), "write timing and utilization report in JSON format to file"); @@ -298,8 +300,8 @@ void CommandHandler::setupContext(Context *ctx) ctx->settings[ctx->id("placerHeap/timingWeight")] = std::to_string(vm["placer-heap-timingweight"].as<int>()); if (vm.count("router2-heatmap")) ctx->settings[ctx->id("router2/heatmap")] = vm["router2-heatmap"].as<std::string>(); - if (vm.count("router2-tmg-ripup")) - ctx->settings[ctx->id("router2/tmg_ripup")] = true; + if (vm.count("tmg-ripup") || vm.count("router2-tmg-ripup")) + ctx->settings[ctx->id("router/tmg_ripup")] = true; // Setting default values if (ctx->settings.find(ctx->id("target_freq")) == ctx->settings.end()) |