diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2019-12-13 18:24:49 +0100 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2019-12-13 18:24:49 +0100 |
commit | 2a5f0bbd28481e9809ffe7c7b972252878420888 (patch) | |
tree | 9e836131b2c35b609db031a36a37e8d90ee876da /ecp5/gfx.cc | |
parent | c0585e98eb6234fa1658586b617cf6717bc391d8 (diff) | |
download | nextpnr-2a5f0bbd28481e9809ffe7c7b972252878420888.tar.gz nextpnr-2a5f0bbd28481e9809ffe7c7b972252878420888.tar.bz2 nextpnr-2a5f0bbd28481e9809ffe7c7b972252878420888.zip |
new wires in db
Diffstat (limited to 'ecp5/gfx.cc')
-rw-r--r-- | ecp5/gfx.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<GraphicElement> &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; |