ecp5: Refresh Bels when they are modified
Signed-off-by: David Shah <davey1576@gmail.com>
This commit is contained in:
parent
8abf38f37f
commit
90623b80e8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user