aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'ecp5/arch.h')
-rw-r--r--ecp5/arch.h2
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