From 90623b80e8c37e71e095cc377ce9e8c032af679b Mon Sep 17 00:00:00 2001 From: David Shah Date: Fri, 3 Aug 2018 12:00:07 +0200 Subject: ecp5: Refresh Bels when they are modified Signed-off-by: David Shah --- ecp5/arch.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ecp5') diff --git a/ecp5/arch.h b/ecp5/arch.h index d450321d..cd103b12 100644 --- a/ecp5/arch.h +++ b/ecp5/arch.h @@ -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 -- cgit v1.2.3