diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-08-19 16:53:34 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-08-19 16:53:34 +0200 |
commit | b7d4c7afd97f88642552179965d964e34f8639b9 (patch) | |
tree | 37517a2ffbd077ef08da10c30e8124c1a420d229 /ice40/arch.cc | |
parent | 7cdafb81219ab5dd7f20233307369ea501bfc508 (diff) | |
download | nextpnr-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.cc | 2 |
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) { |