diff options
author | gatecat <gatecat@ds0.me> | 2022-02-01 11:20:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-01 11:20:26 +0000 |
commit | c306ef12bcb5c5fed8782cbfa05d6534ce6a49dd (patch) | |
tree | 69fa8a9aa9b7bbce4720486b403095d3fb832664 /nexus/main.cc | |
parent | e069b3bc6ab4d504e84ef62086d2bb9e5144717b (diff) | |
parent | 676e56e5d44e09f3ff816c5efbb85e2b2ac1086b (diff) | |
download | nextpnr-c306ef12bcb5c5fed8782cbfa05d6534ce6a49dd.tar.gz nextpnr-c306ef12bcb5c5fed8782cbfa05d6534ce6a49dd.tar.bz2 nextpnr-c306ef12bcb5c5fed8782cbfa05d6534ce6a49dd.zip |
Merge pull request #897 from antmicro/nexus-improve-estimate
nexus: arch: add option to adjust the estimation delay multiplication factor
Diffstat (limited to 'nexus/main.cc')
-rw-r--r-- | nexus/main.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nexus/main.cc b/nexus/main.cc index 9fec8d5e..b02dfa99 100644 --- a/nexus/main.cc +++ b/nexus/main.cc @@ -54,6 +54,8 @@ po::options_description NexusCommandHandler::getArchOptions() specific.add_options()("no-pack-lutff", "disable packing (clustering) LUTs and FFs together"); specific.add_options()("carry-lutff-ratio", po::value<float>(), "ratio of FFs to be added to carry-chain LUT clusters"); + specific.add_options()("estimate-delay-mult", po::value<int>(), + "multiplier for the estimate delay"); return specific; } @@ -88,6 +90,8 @@ std::unique_ptr<Context> NexusCommandHandler::createContext(dict<std::string, Pr } ctx->settings[ctx->id("carry_lutff_ratio")] = ratio; } + if (vm.count("estimate-delay-mult")) + ctx->settings[ctx->id("estimate-delay-mult")] = vm["estimate-delay-mult"].as<int>(); return ctx; } |