From 1f36242d43eca636a82aa198e15cf821b59681e1 Mon Sep 17 00:00:00 2001 From: David Shah Date: Mon, 9 Jul 2018 15:09:17 +0200 Subject: Add lutff_global switchbox Signed-off-by: David Shah --- ice40/arch.cc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ice40') diff --git a/ice40/arch.cc b/ice40/arch.cc index ecd0a411..7016bc07 100644 --- a/ice40/arch.cc +++ b/ice40/arch.cc @@ -457,6 +457,14 @@ std::vector Arch::getBelGraphics(BelId bel) const // All the wires for (int i = TILE_WIRE_GLB2LOCAL_0; i <= TILE_WIRE_SP12_H_L_23; i++) gfxTileWire(ret, tx, ty, GfxTileWireId(i)); + // lutff_global switchbox + GraphicElement lff_glb_sw; + lff_glb_sw.type = GraphicElement::G_BOX; + lff_glb_sw.x1 = tx + 0.65; + lff_glb_sw.x2 = tx + 0.7; + lff_glb_sw.y1 = ty + 0.875; + lff_glb_sw.y2 = ty + 0.925; + ret.push_back(lff_glb_sw); } } -- cgit v1.2.3