diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2018-11-17 10:19:08 +0100 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2018-11-19 18:20:20 +0100 |
commit | 8c69a3bba3d72dd445f1003d470c3ed5ed06c5d4 (patch) | |
tree | 2b6fb9a937207338795e2eedda20b6dfcf2ef85d /ice40/pack.cc | |
parent | b29165eeba41317f160af7e386739ff5a31a8bb9 (diff) | |
download | nextpnr-8c69a3bba3d72dd445f1003d470c3ed5ed06c5d4.tar.gz nextpnr-8c69a3bba3d72dd445f1003d470c3ed5ed06c5d4.tar.bz2 nextpnr-8c69a3bba3d72dd445f1003d470c3ed5ed06c5d4.zip |
ice40/pack: Make sure we don't use a LOCKED bel when placing PLL
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'ice40/pack.cc')
-rw-r--r-- | ice40/pack.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ice40/pack.cc b/ice40/pack.cc index e0a9f6ad..d0142fa3 100644 --- a/ice40/pack.cc +++ b/ice40/pack.cc @@ -838,6 +838,8 @@ static void pack_special(Context *ctx) for (auto bel : ctx->getBels()) { if (ctx->getBelType(bel) != id_ICESTORM_PLL) continue; + if (ctx->isBelLocked(bel)) + continue; // A PAD PLL must have its' PACKAGEPIN on the SB_IO that's shared // with PLLOUT_A. |