aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2019-12-15 10:57:24 +0100
committerMiodrag Milanovic <mmicko@gmail.com>2019-12-15 10:57:24 +0100
commitd5174110fa49a18be8507a0edf246ada3de41627 (patch)
tree7892f62bef1ce6780c1bfc8eb2bb5f92c3010f0c /ecp5
parentf2b8e347a99b1aac348e4c12a4b0ddeb25118a21 (diff)
downloadnextpnr-d5174110fa49a18be8507a0edf246ada3de41627.tar.gz
nextpnr-d5174110fa49a18be8507a0edf246ada3de41627.tar.bz2
nextpnr-d5174110fa49a18be8507a0edf246ada3de41627.zip
more pips on connection box
Diffstat (limited to 'ecp5')
-rw-r--r--ecp5/gfx.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/ecp5/gfx.cc b/ecp5/gfx.cc
index 68a3ff7d..1560bdf5 100644
--- a/ecp5/gfx.cc
+++ b/ecp5/gfx.cc
@@ -1411,6 +1411,15 @@ void gfxTilePip(std::vector<GraphicElement> &g, int x, int y, int w, int h, Wire
straightLine(g, el, x, y, w, h, src, src_type, src_id, dst, dst_type, dst_id);
}
+ if (dst_type == id_WIRE_TYPE_NONE && (dst_id >= TILE_WIRE_FCO && dst_id <= TILE_WIRE_FCI) &&
+ src_type == id_WIRE_TYPE_NONE && (src_id >= TILE_WIRE_FCO && src_id <= TILE_WIRE_FCI)) {
+ toSameSideVer(g, el, x, y, w, h, src, src_type, src_id, dst, dst_type, dst_id, style, src_id - TILE_WIRE_FCO);
+ }
+ if (dst_type == id_WIRE_TYPE_NONE && (dst_id >= TILE_WIRE_JCE0 && dst_id <= TILE_WIRE_JCE0) &&
+ src_type == id_WIRE_TYPE_NONE && (src_id >= TILE_WIRE_JCE0 && src_id <= TILE_WIRE_JCE0)) {
+ toSameSideVer(g, el, x, y, w, h, src, src_type, src_id, dst, dst_type, dst_id, style, src_id - TILE_WIRE_JCE0);
+ }
+
if (src_type == id_WIRE_TYPE_NONE &&
(dst_type == id_WIRE_TYPE_PLL || dst_type == id_WIRE_TYPE_GSR || dst_type == id_WIRE_TYPE_JTAG ||
dst_type == id_WIRE_TYPE_OSC || dst_type == id_WIRE_TYPE_SED || dst_type == id_WIRE_TYPE_DTR ||