aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2019-11-26 10:03:28 +0000
committerDavid Shah <dave@ds0.me>2019-11-26 10:03:28 +0000
commitff9d6b4f89c6b2d92326ce821d045cb1875a7999 (patch)
treeabf9672f391b04c0349be08954a1e1c7f6ee9793 /ice40
parent75f403db603df9b6abf65d8d6fa9d8c871f58116 (diff)
downloadnextpnr-ff9d6b4f89c6b2d92326ce821d045cb1875a7999.tar.gz
nextpnr-ff9d6b4f89c6b2d92326ce821d045cb1875a7999.tar.bz2
nextpnr-ff9d6b4f89c6b2d92326ce821d045cb1875a7999.zip
ice40: Make HeAP the default placer
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'ice40')
-rw-r--r--ice40/arch.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc
index cc50cb68..0f8e5969 100644
--- a/ice40/arch.cc
+++ b/ice40/arch.cc
@@ -1245,7 +1245,11 @@ void Arch::assignCellInfo(CellInfo *cell)
}
}
+#ifdef WITH_HEAP
+const std::string Arch::defaultPlacer = "heap";
+#else
const std::string Arch::defaultPlacer = "sa";
+#endif
const std::vector<std::string> Arch::availablePlacers = {"sa",
#ifdef WITH_HEAP