aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/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 /ice40/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 'ice40/chip.h')
-rw-r--r--ice40/chip.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/ice40/chip.h b/ice40/chip.h
index 5eea1b8e..ac077b73 100644
--- a/ice40/chip.h
+++ b/ice40/chip.h
@@ -709,10 +709,16 @@ struct Chip
// -------------------------------------------------
+ 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