From d908928b56917c02db4d8127b7c594b1225ba974 Mon Sep 17 00:00:00 2001 From: David Shah Date: Fri, 29 Jun 2018 15:47:56 +0200 Subject: Tidying up the SA placer Signed-off-by: David Shah --- ice40/main.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ice40/main.cc') diff --git a/ice40/main.cc b/ice40/main.cc index 732a62f4..26b0affa 100644 --- a/ice40/main.cc +++ b/ice40/main.cc @@ -366,11 +366,11 @@ int main(int argc, char *argv[]) assign_budget(&ctx, freq); ctx.check(); print_utilisation(&ctx); - bool timing_driven = true; + ctx.timing_driven = true; if (vm.count("no-tmdriv")) - timing_driven = false; + ctx.timing_driven = false; if (!vm.count("pack-only")) { - if (!place_design_sa(&ctx, timing_driven) && !ctx.force) + if (!place_design_sa(&ctx) && !ctx.force) log_error("Placing design failed.\n"); ctx.check(); if (!route_design(&ctx) && !ctx.force) -- cgit v1.2.3