aboutsummaryrefslogtreecommitdiffstats
path: root/machxo2/arch.h
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2023-03-08 12:17:37 +0100
committermyrtle <gatecat@ds0.me>2023-03-16 13:37:23 +0100
commit4396a646a7c10d4748c8b2ae105b100b7f1fedb7 (patch)
treea694c9803120a8a93e125990ff7cbb6404aa4595 /machxo2/arch.h
parent26f23e31212d41c713127d20e561d00260c80408 (diff)
downloadnextpnr-4396a646a7c10d4748c8b2ae105b100b7f1fedb7.tar.gz
nextpnr-4396a646a7c10d4748c8b2ae105b100b7f1fedb7.tar.bz2
nextpnr-4396a646a7c10d4748c8b2ae105b100b7f1fedb7.zip
Add simple BEL graphics
Diffstat (limited to 'machxo2/arch.h')
-rw-r--r--machxo2/arch.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/machxo2/arch.h b/machxo2/arch.h
index 214d8bb2..26e8a9ef 100644
--- a/machxo2/arch.h
+++ b/machxo2/arch.h
@@ -643,6 +643,13 @@ struct Arch : BaseArch<ArchRanges>
bool place() override;
bool route() override;
+ // Graphics
+ std::vector<GraphicElement> getDecalGraphics(DecalId decal) const override;
+
+ DecalXY getBelDecal(BelId bel) const override;
+ DecalXY getWireDecal(WireId wire) const override;
+ DecalXY getPipDecal(PipId pip) const override;
+
// Placer
bool isBelLocationValid(BelId bel, bool explain_invalid = false) const override;