1
0
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:
David Shah
2019-04-01 12:25:32 +01:00
parent db152b332b
commit d27ec2cd15
2 changed files with 3 additions and 1 deletions

View File

@@ -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

Submodule tests updated: fb53a97322...0d369eb3fe