From 2a5f0bbd28481e9809ffe7c7b972252878420888 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 13 Dec 2019 18:24:49 +0100 Subject: new wires in db --- ecp5/gfx.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ecp5/gfx.cc') diff --git a/ecp5/gfx.cc b/ecp5/gfx.cc index 188e44ab..e06bcfa6 100644 --- a/ecp5/gfx.cc +++ b/ecp5/gfx.cc @@ -70,8 +70,8 @@ void gfxTileWire(std::vector &g, int x, int y, int w, int h, IdS el.type = GraphicElement::TYPE_LINE; el.style = style; bool top_bottom = (y == 0 || y == (h - 1)); - int gap = 3-(tilewire - TILE_WIRE_PADDOD_PIO)/5; - int num = (tilewire - TILE_WIRE_PADDOD_PIO)%5; + int gap = 3-(tilewire - TILE_WIRE_PADDOD_PIO)/6; + int num = (tilewire - TILE_WIRE_PADDOD_PIO)%6; if (top_bottom) { el.x1 = x + io_cell_h_x1 + (gap + 2) * 0.10 + 0.0017f * (num + 1); el.x2 = el.x1; -- cgit v1.2.3