ice40/pack: Make sure we don't use a LOCKED bel when placing PLL
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
b29165eeba
commit
8c69a3bba3
@ -838,6 +838,8 @@ static void pack_special(Context *ctx)
|
|||||||
for (auto bel : ctx->getBels()) {
|
for (auto bel : ctx->getBels()) {
|
||||||
if (ctx->getBelType(bel) != id_ICESTORM_PLL)
|
if (ctx->getBelType(bel) != id_ICESTORM_PLL)
|
||||||
continue;
|
continue;
|
||||||
|
if (ctx->isBelLocked(bel))
|
||||||
|
continue;
|
||||||
|
|
||||||
// A PAD PLL must have its' PACKAGEPIN on the SB_IO that's shared
|
// A PAD PLL must have its' PACKAGEPIN on the SB_IO that's shared
|
||||||
// with PLLOUT_A.
|
// with PLLOUT_A.
|
||||||
|
Loading…
Reference in New Issue
Block a user