aboutsummaryrefslogtreecommitdiffstats
path: root/common/command.cc
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2020-08-31 07:38:47 +0100
committerGitHub <noreply@github.com>2020-08-31 07:38:47 +0100
commit4512a9de19751916c466ed12a2ba4dce958d77bc (patch)
treedbc7a35e1d32e9d4bef5142a9091e3f752b814b0 /common/command.cc
parentf6d436d58b8206aabe287325fc80da5521ed2e75 (diff)
parentc30cadd19caf16edebdc676e17d9f6280ef59361 (diff)
downloadnextpnr-4512a9de19751916c466ed12a2ba4dce958d77bc.tar.gz
nextpnr-4512a9de19751916c466ed12a2ba4dce958d77bc.tar.bz2
nextpnr-4512a9de19751916c466ed12a2ba4dce958d77bc.zip
Merge pull request #494 from rschlaikjer/rschlaikjer-print-sources-in-time-report
Add option to print critical path source code
Diffstat (limited to 'common/command.cc')
-rw-r--r--common/command.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/command.cc b/common/command.cc
index 3dc0d968..f0d028ce 100644
--- a/common/command.cc
+++ b/common/command.cc
@@ -158,6 +158,8 @@ po::options_description CommandHandler::getGeneralOptions()
general.add_options()("no-tmdriv", "disable timing-driven placement");
general.add_options()("sdf", po::value<std::string>(), "SDF delay back-annotation file to write");
general.add_options()("sdf-cvc", "enable tweaks for SDF file compatibility with the CVC simulator");
+ general.add_options()("no-print-critical-path-source",
+ "disable printing of the source lines associated with each net in the critical path");
general.add_options()("placed-svg", po::value<std::string>(), "write render of placement to SVG file");
general.add_options()("routed-svg", po::value<std::string>(), "write render of routing to SVG file");
@@ -179,6 +181,10 @@ void CommandHandler::setupContext(Context *ctx)
ctx->debug = true;
}
+ if (vm.count("no-print-critical-path-source")) {
+ ctx->disable_critical_path_source_print = true;
+ }
+
if (vm.count("force")) {
ctx->force = true;
}