New refreshUi API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
77818f53bd
commit
2a01b5e4d3
@ -259,6 +259,39 @@ struct BaseCtx
|
||||
delete idstring_str_to_idx;
|
||||
delete idstring_idx_to_str;
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------
|
||||
|
||||
bool allUiReload = false;
|
||||
bool frameUiReload = false;
|
||||
std::unordered_set<BelId> belUiReload;
|
||||
std::unordered_set<WireId> wireUiReload;
|
||||
std::unordered_set<PipId> pipUiReload;
|
||||
|
||||
void refreshUi()
|
||||
{
|
||||
allUiReload = true;
|
||||
}
|
||||
|
||||
void refreshUiFrame()
|
||||
{
|
||||
frameUiReload = true;
|
||||
}
|
||||
|
||||
void refreshUiBel(BelId bel)
|
||||
{
|
||||
belUiReload.insert(bel);
|
||||
}
|
||||
|
||||
void refreshUiWire(WireId wire)
|
||||
{
|
||||
wireUiReload.insert(wire);
|
||||
}
|
||||
|
||||
void refreshUiPip(PipId pip)
|
||||
{
|
||||
pipUiReload.insert(pip);
|
||||
}
|
||||
};
|
||||
|
||||
NEXTPNR_NAMESPACE_END
|
||||
|
@ -727,12 +727,6 @@ struct Arch : BaseCtx
|
||||
DecalXY getWireDecal(WireId wire) const;
|
||||
DecalXY getPipDecal(PipId pip) const;
|
||||
|
||||
bool allGraphicsReload = false;
|
||||
bool frameGraphicsReload = false;
|
||||
std::unordered_set<BelId> belGraphicsReload;
|
||||
std::unordered_set<WireId> wireGraphicsReload;
|
||||
std::unordered_set<PipId> pipGraphicsReload;
|
||||
|
||||
// -------------------------------------------------
|
||||
|
||||
// Get the delay through a cell from one port to another, returning false
|
||||
|
@ -164,12 +164,6 @@ struct Arch : BaseCtx
|
||||
DecalXY getWireDecal(WireId wire) const;
|
||||
DecalXY getPipDecal(PipId pip) const;
|
||||
|
||||
bool allGraphicsReload = false;
|
||||
bool frameGraphicsReload = false;
|
||||
std::unordered_set<BelId> belGraphicsReload;
|
||||
std::unordered_set<WireId> wireGraphicsReload;
|
||||
std::unordered_set<PipId> pipGraphicsReload;
|
||||
|
||||
bool getCellDelay(const CellInfo *cell, IdString fromPort, IdString toPort, delay_t &delay) const;
|
||||
IdString getPortClock(const CellInfo *cell, IdString port) const;
|
||||
bool isClockPort(const CellInfo *cell, IdString port) const;
|
||||
|
@ -650,12 +650,6 @@ struct Arch : BaseCtx
|
||||
DecalXY getWireDecal(WireId wire) const;
|
||||
DecalXY getPipDecal(PipId pip) const;
|
||||
|
||||
bool allGraphicsReload = false;
|
||||
bool frameGraphicsReload = false;
|
||||
std::unordered_set<BelId> belGraphicsReload;
|
||||
std::unordered_set<WireId> wireGraphicsReload;
|
||||
std::unordered_set<PipId> pipGraphicsReload;
|
||||
|
||||
// -------------------------------------------------
|
||||
|
||||
// Get the delay through a cell from one port to another, returning false
|
||||
|
Loading…
Reference in New Issue
Block a user