mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-04-13 23:45:00 +00:00
ice40: Don't constrain to a PLL bel that has already been used
Fixes #258 Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
@@ -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)) {
|
||||
|
||||
2
tests
2
tests
Submodule tests updated: fb53a97322...0d369eb3fe
Reference in New Issue
Block a user