aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'ecp5/arch.h')
-rw-r--r--ecp5/arch.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ecp5/arch.h b/ecp5/arch.h
index 1ddc4003..cd103b12 100644
--- a/ecp5/arch.h
+++ b/ecp5/arch.h
@@ -22,6 +22,7 @@
#error Include "arch.h" via "nextpnr.h" only.
#endif
+#include <set>
#include <sstream>
NEXTPNR_NAMESPACE_BEGIN
@@ -453,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)
@@ -462,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