ice40: after review

This commit is contained in:
Sergiusz Bazanski 2018-07-24 15:59:18 +01:00
parent b31e95f82c
commit 2039112a47

View File

@ -693,7 +693,6 @@ static void pack_special(Context *ctx)
BelId pll_bel; BelId pll_bel;
bool constrained = false; bool constrained = false;
if (packed->attrs.find(ctx->id("BEL")) == packed->attrs.end()) { if (packed->attrs.find(ctx->id("BEL")) == packed->attrs.end()) {
// FIXME replace by getBelsByType when implemented
for (auto bel : ctx->getBels()) { for (auto bel : ctx->getBels()) {
if (ctx->getBelType(bel) != TYPE_ICESTORM_PLL) if (ctx->getBelType(bel) != TYPE_ICESTORM_PLL)
continue; continue;