1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-25 20:01:22 +00:00

ice40: support PLL40_*_PAD, fix pass-through LUT for LOCK

This commit is contained in:
Sergiusz Bazanski
2018-07-25 11:32:21 +01:00
parent 62bcda87bd
commit aad0d3eb35
4 changed files with 88 additions and 8 deletions

View File

@@ -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));
}