diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-11-11 08:25:54 +0100 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-11-11 08:25:54 +0100 |
commit | 0ad5197ff4fe7d970fe09741177e2f474631e05f (patch) | |
tree | 1548a67da6027b5311ce284a5eb3dd49b5d2340c /ecp5 | |
parent | 6b197fde726a0fbbf657c9b972c94c21ec210689 (diff) | |
download | nextpnr-0ad5197ff4fe7d970fe09741177e2f474631e05f.tar.gz nextpnr-0ad5197ff4fe7d970fe09741177e2f474631e05f.tar.bz2 nextpnr-0ad5197ff4fe7d970fe09741177e2f474631e05f.zip |
show 4th tresllis_io in tile bounds
Diffstat (limited to 'ecp5')
-rw-r--r-- | ecp5/arch.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc index 4a0b31b5..91331f7e 100644 --- a/ecp5/arch.cc +++ b/ecp5/arch.cc @@ -456,7 +456,7 @@ std::vector<GraphicElement> Arch::getDecalGraphics(DecalId decal) const el.x1 = bel.location.x + logic_cell_x1; el.x2 = bel.location.x + logic_cell_x2; el.y1 = bel.location.y + logic_cell_y1 + (2 * z) * logic_cell_pitch; - el.y2 = bel.location.y + logic_cell_y2 + (2 * z + 1) * logic_cell_pitch; + el.y2 = bel.location.y + logic_cell_y2 + (2 * z + 0.5f) * logic_cell_pitch; ret.push_back(el); } } |