diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2019-03-04 12:29:19 +0100 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2019-03-04 12:29:19 +0100 |
commit | 0bcf57bd47f397e3bb29b9b3f8fdd79883e741cc (patch) | |
tree | fa97ffb5ea3cbd97434b2e8df66f755ebcee4363 /common/command.cc | |
parent | cc5edfd97eb09c625e2559424278e02faa3abac3 (diff) | |
download | nextpnr-0bcf57bd47f397e3bb29b9b3f8fdd79883e741cc.tar.gz nextpnr-0bcf57bd47f397e3bb29b9b3f8fdd79883e741cc.tar.bz2 nextpnr-0bcf57bd47f397e3bb29b9b3f8fdd79883e741cc.zip |
Add flag timing-allow-fail to allow PnR to pass with warning
Diffstat (limited to 'common/command.cc')
-rw-r--r-- | common/command.cc | 5 |
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>()); } |