From 9c52afcf5fabd888ec7d89e506ebe00c5a1a3640 Mon Sep 17 00:00:00 2001 From: David Shah Date: Fri, 16 Nov 2018 13:25:51 +0000 Subject: clangformat Signed-off-by: David Shah --- ice40/gfx.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ice40/gfx.cc') diff --git a/ice40/gfx.cc b/ice40/gfx.cc index c41c424b..7ef43663 100644 --- a/ice40/gfx.cc +++ b/ice40/gfx.cc @@ -972,11 +972,11 @@ void gfxTilePip(std::vector &g, int x, int y, GfxTileWireId src, return; } - if (getWireXY_local(src, x1, y1) && getWireXY_local(dst, x2, y2)) { + if (getWireXY_local(src, x1, y1) && getWireXY_local(dst, x2, y2)) { pipGfx(g, x, y, x1, y1, x2, y2, local_swbox_x1, local_swbox_y1, local_swbox_x2, local_swbox_y2, style); return; } - + if (TILE_WIRE_LUTFF_0_IN_0_LUT <= src && src <= TILE_WIRE_LUTFF_7_IN_3_LUT && TILE_WIRE_LUTFF_0_OUT <= dst && dst <= TILE_WIRE_LUTFF_7_OUT) { int lut_idx = (src - TILE_WIRE_LUTFF_0_IN_0_LUT) / 4; -- cgit v1.2.3