aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ice40/arch.cc')
-rw-r--r--ice40/arch.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc
index aed99b7b..ecd0a411 100644
--- a/ice40/arch.cc
+++ b/ice40/arch.cc
@@ -22,6 +22,8 @@
#include "log.h"
#include "nextpnr.h"
#include "util.h"
+#include "gfx.h"
+
NEXTPNR_NAMESPACE_BEGIN
// -----------------------------------------------------------------------
@@ -452,7 +454,9 @@ std::vector<GraphicElement> Arch::getBelGraphics(BelId bel) const
lc_sw.y2 = ty + 0.75;
ret.push_back(lc_sw);
-
+ // All the wires
+ for (int i = TILE_WIRE_GLB2LOCAL_0; i <= TILE_WIRE_SP12_H_L_23; i++)
+ gfxTileWire(ret, tx, ty, GfxTileWireId(i));
}
}