mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-05-04 15:15:34 +00:00
router1: Experimental timing-driven ripup support
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user