aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/main.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-29 15:47:56 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-29 15:47:56 +0200
commitd908928b56917c02db4d8127b7c594b1225ba974 (patch)
treef86d5096e329a88dc0a87ab2e2e34be034023ba5 /ice40/main.cc
parent23789b756989dc2146717860985ffa857bdbb4d4 (diff)
downloadnextpnr-d908928b56917c02db4d8127b7c594b1225ba974.tar.gz
nextpnr-d908928b56917c02db4d8127b7c594b1225ba974.tar.bz2
nextpnr-d908928b56917c02db4d8127b7c594b1225ba974.zip
Tidying up the SA placer
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/main.cc')
-rw-r--r--ice40/main.cc6
1 files changed, 3 insertions, 3 deletions
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)