diff options
| author | David Shah <davey1576@gmail.com> | 2018-08-03 12:00:07 +0200 | 
|---|---|---|
| committer | David Shah <davey1576@gmail.com> | 2018-08-03 12:00:07 +0200 | 
| commit | 90623b80e8c37e71e095cc377ce9e8c032af679b (patch) | |
| tree | 40f9789b2d1a96797e7b530e78b0de39ba2bd753 /ecp5 | |
| parent | 8abf38f37ff57f2b176d584e096d79894e6e6b88 (diff) | |
| download | nextpnr-90623b80e8c37e71e095cc377ce9e8c032af679b.tar.gz nextpnr-90623b80e8c37e71e095cc377ce9e8c032af679b.tar.bz2 nextpnr-90623b80e8c37e71e095cc377ce9e8c032af679b.zip | |
ecp5: Refresh Bels when they are modified
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ecp5')
| -rw-r--r-- | ecp5/arch.h | 2 | 
1 files changed, 2 insertions, 0 deletions
| 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 | 
