aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/main.cc
diff options
context:
space:
mode:
authorMaciej Kurc <mkurc@antmicro.com>2021-11-19 09:28:19 +0100
committerMaciej Kurc <mkurc@antmicro.com>2021-11-22 10:23:24 +0100
commit086bcf06153ea820b27f84b70b36fba77a975404 (patch)
treed97eceecc2b8c4142ca9aee1338a1f1f47ed8f3e /nexus/main.cc
parentd97f93ee8864f8cba14f62bd49dd2baf51b7b21c (diff)
downloadnextpnr-086bcf06153ea820b27f84b70b36fba77a975404.tar.gz
nextpnr-086bcf06153ea820b27f84b70b36fba77a975404.tar.bz2
nextpnr-086bcf06153ea820b27f84b70b36fba77a975404.zip
Added an option to control LUT and FF packing
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
Diffstat (limited to 'nexus/main.cc')
-rw-r--r--nexus/main.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/nexus/main.cc b/nexus/main.cc
index 6ffc9a20..83bb02d8 100644
--- a/nexus/main.cc
+++ b/nexus/main.cc
@@ -51,6 +51,7 @@ po::options_description NexusCommandHandler::getArchOptions()
specific.add_options()("fasm", po::value<std::string>(), "fasm file to write");
specific.add_options()("pdc", po::value<std::string>(), "physical constraints file");
specific.add_options()("no-post-place-opt", "disable post-place repacking (debugging use only)");
+ specific.add_options()("no-pack-lutff", "disable packing (clustering) LUTs and FFs together");
return specific;
}
@@ -76,6 +77,8 @@ std::unique_ptr<Context> NexusCommandHandler::createContext(dict<std::string, Pr
auto ctx = std::unique_ptr<Context>(new Context(chipArgs));
if (vm.count("no-post-place-opt"))
ctx->settings[ctx->id("no_post_place_opt")] = Property::State::S1;
+ if (vm.count("no-pack-lutff"))
+ ctx->settings[ctx->id("no_pack_lutff")] = Property::State::S1;
return ctx;
}