diff options
author | David Shah <davey1576@gmail.com> | 2018-12-07 21:19:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-07 21:19:41 +0000 |
commit | d790d0bb91261939a784fe0f86ce6fa2f6245e55 (patch) | |
tree | 5634ef0c91bda07c15a25e42f06194e9ecbfbb51 /ice40/main.cc | |
parent | a9e1fab9fcdb0493343a8ba23b471255544f10ea (diff) | |
parent | b732e42fa312b83bee6c122d69e0a171afca779c (diff) | |
download | nextpnr-d790d0bb91261939a784fe0f86ce6fa2f6245e55.tar.gz nextpnr-d790d0bb91261939a784fe0f86ce6fa2f6245e55.tar.bz2 nextpnr-d790d0bb91261939a784fe0f86ce6fa2f6245e55.zip |
Merge pull request #163 from daveshah1/timing_opt
Adding criticality calculation and experimental timing optimisation pass
Diffstat (limited to 'ice40/main.cc')
-rw-r--r-- | ice40/main.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ice40/main.cc b/ice40/main.cc index 4b6a9e42..543bd229 100644 --- a/ice40/main.cc +++ b/ice40/main.cc @@ -68,6 +68,7 @@ po::options_description Ice40CommandHandler::getArchOptions() specific.add_options()("promote-logic", "enable promotion of 'logic' globals (in addition to clk/ce/sr by default)"); specific.add_options()("no-promote-globals", "disable all global promotion"); + specific.add_options()("opt-timing", "run post-placement timing optimisation pass (experimental)"); specific.add_options()("tmfuzz", "run path delay estimate fuzzer"); return specific; } @@ -161,6 +162,8 @@ std::unique_ptr<Context> Ice40CommandHandler::createContext() ctx->settings[ctx->id("promote_logic")] = "1"; if (vm.count("no-promote-globals")) ctx->settings[ctx->id("no_promote_globals")] = "1"; + if (vm.count("opt-timing")) + ctx->settings[ctx->id("opt_timing")] = "1"; return ctx; } |