From 9018782eaaec23c57987266629b23484cfd9b984 Mon Sep 17 00:00:00 2001 From: Maciej Kurc Date: Tue, 28 Sep 2021 17:38:12 +0200 Subject: Added a commandline option controlled writeout of per-net timing details Signed-off-by: Maciej Kurc --- common/command.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'common/command.cc') diff --git a/common/command.cc b/common/command.cc index 954a3442..006a6217 100644 --- a/common/command.cc +++ b/common/command.cc @@ -179,6 +179,8 @@ po::options_description CommandHandler::getGeneralOptions() general.add_options()("report", po::value(), "write timing and utilization report in JSON format to file"); + general.add_options()("detailed-timing-report", + "Append detailed net timing data to the JSON report"); 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"); @@ -328,6 +330,10 @@ void CommandHandler::setupContext(Context *ctx) ctx->settings[ctx->id("placerHeap/criticalityExponent")] = std::to_string(2); if (ctx->settings.find(ctx->id("placerHeap/timingWeight")) == ctx->settings.end()) ctx->settings[ctx->id("placerHeap/timingWeight")] = std::to_string(10); + + if (vm.count("detailed-timing-report")) { + ctx->detailed_timing_report = true; + } } int CommandHandler::executeMain(std::unique_ptr ctx) -- cgit v1.2.3