From b9d774041b9e41adc6055e721f90fc6077b75a0d Mon Sep 17 00:00:00 2001 From: David Shah Date: Fri, 27 Jul 2018 18:56:19 +0200 Subject: [PATCH] ecp5: Fix typo Signed-off-by: David Shah --- ecp5/io.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecp5/io.cc b/ecp5/io.cc index e86c84f6..908caaba 100644 --- a/ecp5/io.cc +++ b/ecp5/io.cc @@ -209,7 +209,7 @@ bool valid_loc_for_io(IOType type, PortType dir, IOSide side, int z) return false; if (is_differential(type) && (!is_lr || ((z % 2) == 1))) return false; - if ((type == IOType::LVCMOS18D || type == IOType::LVDS) && (dir == PORT_OUT || PORT_INOUT) && z != 0) + if ((type == IOType::LVCMOS18D || type == IOType::LVDS) && (dir == PORT_OUT || dir == PORT_INOUT) && z != 0) return false; return true; }