aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/main.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-26 15:06:59 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-26 15:06:59 +0200
commit6f12f2b7e8c58a0b14c6f1f3df2112b8860a6e4f (patch)
treeb8617ab8460f4b59c8d074660b6572fb4a84ba26 /ice40/main.cc
parent29df577f14c8e6f870c4dfbd633effc664219252 (diff)
downloadnextpnr-6f12f2b7e8c58a0b14c6f1f3df2112b8860a6e4f.tar.gz
nextpnr-6f12f2b7e8c58a0b14c6f1f3df2112b8860a6e4f.tar.bz2
nextpnr-6f12f2b7e8c58a0b14c6f1f3df2112b8860a6e4f.zip
Working on debugging the carry legaliser
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/main.cc')
-rw-r--r--ice40/main.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ice40/main.cc b/ice40/main.cc
index 8babf8b9..7f913bb3 100644
--- a/ice40/main.cc
+++ b/ice40/main.cc
@@ -45,6 +45,7 @@
#include "route.h"
#include "timing.h"
#include "version.h"
+#include "place_legaliser.h"
USING_NEXTPNR_NAMESPACE
@@ -375,6 +376,7 @@ int main(int argc, char *argv[])
if (!vm.count("pack-only")) {
if (!place_design_sa(&ctx, timing_driven) && !ctx.force)
log_error("Placing design failed.\n");
+ legalise_design(&ctx);
if (!route_design(&ctx) && !ctx.force)
log_error("Routing design failed.\n");
}