1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-14 07:50:36 +00:00

Merge pull request #232 from YosysHQ/err145

ice40: PLLs can't conflict with themselves
This commit is contained in:
David Shah
2019-02-09 19:31:51 +00:00
committed by GitHub

View File

@@ -770,6 +770,8 @@ static void place_plls(Context *ctx)
io_cell->name.c_str(ctx));
if (pll_used_bels.count(found_bel)) {
CellInfo *conflict_cell = pll_used_bels.at(found_bel);
if (conflict_cell == ci)
continue;
log_error("PLL '%s' PACKAGEPIN forces it to BEL %s but BEL is already assigned to PLL '%s'\n",
ci->name.c_str(ctx), ctx->getBelName(found_bel).c_str(ctx), conflict_cell->name.c_str(ctx));
}