aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/pack.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-08-03 15:00:32 +0200
committerDavid Shah <davey1576@gmail.com>2018-08-03 15:00:32 +0200
commit7e9209878c81730e6374ff555ea2c52f8d20a0ee (patch)
tree4012e0f1ddd7f49d60b11dc8e310b7ca5b2f83b5 /ice40/pack.cc
parente5dea28dbde8a5fbb31bccb347eb0047f6790ebf (diff)
downloadnextpnr-7e9209878c81730e6374ff555ea2c52f8d20a0ee.tar.gz
nextpnr-7e9209878c81730e6374ff555ea2c52f8d20a0ee.tar.bz2
nextpnr-7e9209878c81730e6374ff555ea2c52f8d20a0ee.zip
Reworking packer and placer to use new generic rel legaliser
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/pack.cc')
-rw-r--r--ice40/pack.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/ice40/pack.cc b/ice40/pack.cc
index fc182e98..9700bc5d 100644
--- a/ice40/pack.cc
+++ b/ice40/pack.cc
@@ -26,6 +26,7 @@
#include "design_utils.h"
#include "log.h"
#include "util.h"
+#include "chains.h"
NEXTPNR_NAMESPACE_BEGIN
@@ -893,6 +894,8 @@ bool Arch::pack()
pack_ram(ctx);
pack_special(ctx);
ctx->assignArchInfo();
+ constrain_chains(ctx);
+ ctx->assignArchInfo();
log_info("Checksum: 0x%08x\n", ctx->checksum());
return true;
} catch (log_execution_error_exception) {