diff options
author | David Shah <davey1576@gmail.com> | 2018-07-09 15:09:17 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-07-09 15:09:17 +0200 |
commit | 1f36242d43eca636a82aa198e15cf821b59681e1 (patch) | |
tree | 235d357988198aacadd0da3c990c31d27cb55464 /ice40/arch.cc | |
parent | 3be10f629a7a5eb68cfca01ac8a1464585817f22 (diff) | |
download | nextpnr-1f36242d43eca636a82aa198e15cf821b59681e1.tar.gz nextpnr-1f36242d43eca636a82aa198e15cf821b59681e1.tar.bz2 nextpnr-1f36242d43eca636a82aa198e15cf821b59681e1.zip |
Add lutff_global switchbox
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/arch.cc')
-rw-r--r-- | ice40/arch.cc | 8 |
1 files changed, 8 insertions, 0 deletions
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<GraphicElement> 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); } } |