From 676e56e5d44e09f3ff816c5efbb85e2b2ac1086b Mon Sep 17 00:00:00 2001 From: Alessandro Comodi Date: Tue, 25 Jan 2022 17:46:54 +0100 Subject: nexus: add option to modify the mult factor of the estimate delay Signed-off-by: Alessandro Comodi --- nexus/main.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nexus/main.cc') 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(), "ratio of FFs to be added to carry-chain LUT clusters"); + specific.add_options()("estimate-delay-mult", po::value(), + "multiplier for the estimate delay"); return specific; } @@ -88,6 +90,8 @@ std::unique_ptr NexusCommandHandler::createContext(dictsettings[ctx->id("carry_lutff_ratio")] = ratio; } + if (vm.count("estimate-delay-mult")) + ctx->settings[ctx->id("estimate-delay-mult")] = vm["estimate-delay-mult"].as(); return ctx; } -- cgit v1.2.3