aboutsummaryrefslogtreecommitdiffstats
path: root/dummy/chip.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-06-13 12:48:58 +0200
committerClifford Wolf <clifford@clifford.at>2018-06-13 12:48:58 +0200
commit1e314cc0ced067d72cea54c8225cf9d3ed0b6c14 (patch)
treec173f3746dfb352f95e504cbf335e9372e40f3fc /dummy/chip.h
parent145c849596bdcd24f3b4e617eeb4ee06e1b93452 (diff)
downloadnextpnr-1e314cc0ced067d72cea54c8225cf9d3ed0b6c14.tar.gz
nextpnr-1e314cc0ced067d72cea54c8225cf9d3ed0b6c14.tar.bz2
nextpnr-1e314cc0ced067d72cea54c8225cf9d3ed0b6c14.zip
Update chip Graphics API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'dummy/chip.h')
-rw-r--r--dummy/chip.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/dummy/chip.h b/dummy/chip.h
index bc70fa5d..197e84f1 100644
--- a/dummy/chip.h
+++ b/dummy/chip.h
@@ -118,10 +118,16 @@ struct Chip
PosInfo getPipPosition(PipId pip) const;
float estimateDelay(PosInfo src, PosInfo dst) const;
+ std::vector<GraphicElement> getFrameGraphics() const;
std::vector<GraphicElement> getBelGraphics(BelId bel) const;
std::vector<GraphicElement> getWireGraphics(WireId wire) const;
std::vector<GraphicElement> getPipGraphics(PipId pip) const;
- std::vector<GraphicElement> getFrameGraphics() const;
+
+ bool allGraphicsReload = false;
+ bool frameGraphicsReload = false;
+ std::unordered_set<BelId> belGraphicsReload;
+ std::unordered_set<WireId> wireGraphicsReload;
+ std::unordered_set<PipId> pipGraphicsReload;
};
NEXTPNR_NAMESPACE_END