diff options
author | David Shah <davey1576@gmail.com> | 2018-06-29 17:04:22 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-06-29 17:04:22 +0200 |
commit | 27e7bc3b4bb04b395db6456b71f31f98607a4298 (patch) | |
tree | 2e936cb9c61140719fa58120423e63007ea07e17 /ice40/main.cc | |
parent | d908928b56917c02db4d8127b7c594b1225ba974 (diff) | |
download | nextpnr-27e7bc3b4bb04b395db6456b71f31f98607a4298.tar.gz nextpnr-27e7bc3b4bb04b395db6456b71f31f98607a4298.tar.bz2 nextpnr-27e7bc3b4bb04b395db6456b71f31f98607a4298.zip |
Improving the SA+legalisation flow
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/main.cc')
-rw-r--r-- | ice40/main.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ice40/main.cc b/ice40/main.cc index 26b0affa..87a32ded 100644 --- a/ice40/main.cc +++ b/ice40/main.cc @@ -360,10 +360,9 @@ int main(int argc, char *argv[]) if (!pack_design(&ctx) && !ctx.force) log_error("Packing design failed.\n"); - double freq = 50e6; if (vm.count("freq")) - freq = vm["freq"].as<double>() * 1e6; - assign_budget(&ctx, freq); + ctx.target_freq = vm["freq"].as<double>() * 1e6; + assign_budget(&ctx); ctx.check(); print_utilisation(&ctx); ctx.timing_driven = true; |