aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2019-11-26 22:59:15 +0000
committerGitHub <noreply@github.com>2019-11-26 22:59:15 +0000
commit2f7c7ccf80cb22f0f93fccb99667f4178bf989a5 (patch)
treed515703dced500570dc298f8f0ad85cb5a8d9344 /ice40
parentb7079d159b0ca9db8c4cab350f2ee08ab65810b7 (diff)
parent4916eb9bb16b09a547e97e7aa18444660d44ddd8 (diff)
downloadnextpnr-2f7c7ccf80cb22f0f93fccb99667f4178bf989a5.tar.gz
nextpnr-2f7c7ccf80cb22f0f93fccb99667f4178bf989a5.tar.bz2
nextpnr-2f7c7ccf80cb22f0f93fccb99667f4178bf989a5.zip
Merge pull request #357 from YosysHQ/heap-fixes
HeAP: Support for region constraints, better error handling, default for all arches
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