aboutsummaryrefslogtreecommitdiffstats
path: root/common/command.cc
diff options
context:
space:
mode:
Diffstat (limited to 'common/command.cc')
-rw-r--r--common/command.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/command.cc b/common/command.cc
index 8f18f54d..1399efdb 100644
--- a/common/command.cc
+++ b/common/command.cc
@@ -129,6 +129,7 @@ po::options_description CommandHandler::getGeneralOptions()
general.add_options()("version,V", "show version");
general.add_options()("test", "check architecture database integrity");
general.add_options()("freq", po::value<double>(), "set target frequency for design in MHz");
+ general.add_options()("timing-allow-fail", "allow timing to fail in design");
general.add_options()("no-tmdriv", "disable timing-driven placement");
general.add_options()("save", po::value<std::string>(), "project file to write");
general.add_options()("load", po::value<std::string>(), "project file to read");
@@ -178,6 +179,10 @@ void CommandHandler::setupContext(Context *ctx)
settings->set("timing/ignoreLoops", true);
}
+ if (vm.count("timing-allow-fail")) {
+ settings->set("timing/allowFail", true);
+ }
+
if (vm.count("cstrweight")) {
settings->set("placer1/constraintWeight", vm["cstrweight"].as<float>());
}