From d5d9fb27a66604c89b7a2746e7ca9749b62aec91 Mon Sep 17 00:00:00 2001 From: David Shah Date: Mon, 24 Sep 2018 15:14:28 +0100 Subject: ice40: Validity check for LVDS IO Signed-off-by: David Shah --- ice40/arch.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ice40/arch.cc') diff --git a/ice40/arch.cc b/ice40/arch.cc index 7ce967ec..43a3dec2 100644 --- a/ice40/arch.cc +++ b/ice40/arch.cc @@ -975,6 +975,8 @@ void Arch::assignCellInfo(CellInfo *cell) cell->lcInfo.inputCount++; if (get_net_or_empty(cell, id_I3)) cell->lcInfo.inputCount++; + } else if (cell->type == id_SB_IO) { + cell->ioInfo.lvds = str_or_default(cell->params, id_IO_STANDARD, "SB_LVCMOS") == "SB_LVDS_INPUT"; } } -- cgit v1.2.3