diff --git a/ice40/pack.cc b/ice40/pack.cc index 4de88abd..b1efe5b2 100644 --- a/ice40/pack.cc +++ b/ice40/pack.cc @@ -858,6 +858,8 @@ static void place_plls(Context *ctx) // Find a BEL for it BelId found_bel; for (auto bel_pll : pll_all_bels) { + if (pll_used_bels.count(bel_pll.first)) + continue; BelPin pll_io_a, pll_io_b; std::tie(pll_io_a, pll_io_b) = bel_pll.second; if (bel2io.count(pll_io_a.bel)) { diff --git a/tests b/tests index fb53a973..0d369eb3 160000 --- a/tests +++ b/tests @@ -1 +1 @@ -Subproject commit fb53a97322c32620385af6657596681c0044a32e +Subproject commit 0d369eb3fe3425fa74c0f6309268a012aac50409