From 1595c0726079e62313e0df82bdb31120b72bdc39 Mon Sep 17 00:00:00 2001 From: gatecat Date: Thu, 20 May 2021 14:54:23 +0100 Subject: router2: Add heatmap by routing resource type Signed-off-by: gatecat --- common/command.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'common/command.cc') diff --git a/common/command.cc b/common/command.cc index 5f19e01b..f48d6adf 100644 --- a/common/command.cc +++ b/common/command.cc @@ -170,6 +170,9 @@ po::options_description CommandHandler::getGeneralOptions() "placer heap criticality exponent (int, default: 2)"); general.add_options()("placer-heap-timingweight", po::value(), "placer heap timing weight (int, default: 10)"); + general.add_options()("router2-heatmap", po::value(), + "prefix for router2 resource congestion heatmaps"); + general.add_options()("placed-svg", po::value(), "write render of placement to SVG file"); general.add_options()("routed-svg", po::value(), "write render of routing to SVG file"); @@ -278,6 +281,8 @@ 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()); + if (vm.count("router2-heatmap")) + ctx->settings[ctx->id("router2/heatmap")] = vm["router2-heatmap"].as(); // Setting default values if (ctx->settings.find(ctx->id("target_freq")) == ctx->settings.end()) -- cgit v1.2.3