ecp5: Refresh Bels when they are modified

Signed-off-by: David Shah <davey1576@gmail.com>
This commit is contained in:
David Shah 2018-08-03 12:00:07 +02:00
parent 8abf38f37f
commit 90623b80e8

View File

@ -454,6 +454,7 @@ struct Arch : BaseCtx
bel_to_cell[bel] = cell;
cells[cell]->bel = bel;
cells[cell]->belStrength = strength;
refreshUiBel(bel);
}
void unbindBel(BelId bel)
@ -463,6 +464,7 @@ struct Arch : BaseCtx
cells[bel_to_cell[bel]]->bel = BelId();
cells[bel_to_cell[bel]]->belStrength = STRENGTH_NONE;
bel_to_cell[bel] = IdString();
refreshUiBel(bel);
}
Loc getBelLocation(BelId bel) const