aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'ice40/arch.h')
-rw-r--r--ice40/arch.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/ice40/arch.h b/ice40/arch.h
index da1e583a..4311f4a5 100644
--- a/ice40/arch.h
+++ b/ice40/arch.h
@@ -604,8 +604,6 @@ public:
// -------------------------------------------------
- std::vector<GraphicElement> getDecalGraphics(DecalId decal) const;
-
DecalXY getFrameDecal() const;
DecalXY getBelDecal(BelId bel) const;
DecalXY getWireDecal(WireId wire) const;
@@ -691,6 +689,8 @@ public:
IdString getBoundBelCell(BelId bel) const;
BelId getBelByName(IdString name) const;
+
+ std::vector<GraphicElement> getDecalGraphics(DecalId decal) const;
};
// A proxy object that keeps an Arch shared/readonly lock until it goes out
@@ -750,6 +750,10 @@ public:
void bindBel(BelId bel, IdString cell, PlaceStrength strength);
// Returned pointer is valid as long as Proxy object exists.
CellInfo *getCell(IdString cell);
+
+
+ // Methods to be used by UI for detecting whether we need to redraw.
+ UIUpdatesRequired getUIUpdatesRequired(void);
};
// A proxy object that keeps an Arch readwrite lock until it goes out of scope.