aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
diff options
context:
space:
mode:
Diffstat (limited to 'ice40')
-rw-r--r--ice40/arch_place.cc3
-rw-r--r--ice40/main.cc2
2 files changed, 4 insertions, 1 deletions
diff --git a/ice40/arch_place.cc b/ice40/arch_place.cc
index 83dd63aa..ceb6f07f 100644
--- a/ice40/arch_place.cc
+++ b/ice40/arch_place.cc
@@ -80,7 +80,8 @@ static bool logicCellsCompatible(const std::vector<const CellInfo *> &cells)
return locals.size() <= 32;
}
-bool isBelLocationValid(Design *design, BelId bel) {
+bool isBelLocationValid(Design *design, BelId bel)
+{
const Chip &chip = design->chip;
if (chip.getBelType(bel) == TYPE_ICESTORM_LC) {
std::vector<const CellInfo *> cells;
diff --git a/ice40/main.cc b/ice40/main.cc
index 4917574d..3cd97f48 100644
--- a/ice40/main.cc
+++ b/ice40/main.cc
@@ -35,6 +35,7 @@
#include "pybindings.h"
#include "route.h"
#include "version.h"
+#include "design_utils.h"
void svg_dump_el(const GraphicElement &el)
{
@@ -221,6 +222,7 @@ int main(int argc, char *argv[])
}
pack_design(&design);
+ print_utilisation(&design);
if (!vm.count("pack-only")) {
place_design_sa(&design);
route_design(&design, verbose);