From aad0d3eb3587b0c09ea89731e5387cd70338b375 Mon Sep 17 00:00:00 2001 From: Sergiusz Bazanski Date: Wed, 25 Jul 2018 11:32:21 +0100 Subject: ice40: support PLL40_*_PAD, fix pass-through LUT for LOCK --- common/placer1.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'common/placer1.cc') diff --git a/common/placer1.cc b/common/placer1.cc index f713fb88..4659da11 100644 --- a/common/placer1.cc +++ b/common/placer1.cc @@ -94,7 +94,13 @@ class SAPlacer BelType bel_type = ctx->getBelType(bel); if (bel_type != ctx->belTypeFromId(cell->type)) { log_error("Bel \'%s\' of type \'%s\' does not match cell " - "\'%s\' of type \'%s\'", + "\'%s\' of type \'%s\'\n", + loc_name.c_str(), ctx->belTypeToId(bel_type).c_str(ctx), cell->name.c_str(ctx), + cell->type.c_str(ctx)); + } + if (!ctx->isValidBelForCell(cell, bel)) { + log_error("Bel \'%s\' of type \'%s\' is not valid for cell " + "\'%s\' of type \'%s\'\n", loc_name.c_str(), ctx->belTypeToId(bel_type).c_str(ctx), cell->name.c_str(ctx), cell->type.c_str(ctx)); } -- cgit v1.2.3