From f207068ee2ee31d6bf3642cb6fc6bfdeffb2897f Mon Sep 17 00:00:00 2001 From: gatecat Date: Sun, 15 Aug 2021 16:18:57 +0100 Subject: router2: Add experimental timing-driven ripup option Signed-off-by: gatecat --- common/command.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common/command.cc') diff --git a/common/command.cc b/common/command.cc index c175cd27..34bb93cb 100644 --- a/common/command.cc +++ b/common/command.cc @@ -173,6 +173,8 @@ po::options_description CommandHandler::getGeneralOptions() general.add_options()("router2-heatmap", po::value(), "prefix for router2 resource congestion heatmaps"); + general.add_options()("router2-tmg-ripup", "enable experimental timing-driven ripup in router2"); + general.add_options()("report", po::value(), "write timing and utilization report in JSON format to file"); @@ -286,6 +288,8 @@ void CommandHandler::setupContext(Context *ctx) 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(); + if (vm.count("router2-tmg-ripup")) + ctx->settings[ctx->id("router2/tmg_ripup")] = true; // Setting default values if (ctx->settings.find(ctx->id("target_freq")) == ctx->settings.end()) -- cgit v1.2.3