aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-08-19 16:53:34 +0200
committerClifford Wolf <clifford@clifford.at>2018-08-19 16:53:34 +0200
commitb7d4c7afd97f88642552179965d964e34f8639b9 (patch)
tree37517a2ffbd077ef08da10c30e8124c1a420d229 /ice40/arch.cc
parent7cdafb81219ab5dd7f20233307369ea501bfc508 (diff)
downloadnextpnr-b7d4c7afd97f88642552179965d964e34f8639b9.tar.gz
nextpnr-b7d4c7afd97f88642552179965d964e34f8639b9.tar.bz2
nextpnr-b7d4c7afd97f88642552179965d964e34f8639b9.zip
Add iCE40 gfx for IO span-4 corners
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'ice40/arch.cc')
-rw-r--r--ice40/arch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc
index 68af1ac7..c05eeee3 100644
--- a/ice40/arch.cc
+++ b/ice40/arch.cc
@@ -729,7 +729,7 @@ std::vector<GraphicElement> Arch::getDecalGraphics(DecalId decal) const
GraphicElement::style_t style = decal.active ? GraphicElement::STYLE_ACTIVE : GraphicElement::STYLE_INACTIVE;
for (int i = 0; i < n; i++)
- gfxTileWire(ret, p[i].x, p[i].y, GfxTileWireId(p[i].index), style);
+ gfxTileWire(ret, p[i].x, p[i].y, chip_info->width, chip_info->height, GfxTileWireId(p[i].index), style);
}
if (decal.type == DecalId::TYPE_PIP) {