From 9c4feb32a4318af6630011410806832cf4adf1f0 Mon Sep 17 00:00:00 2001 From: David Shah Date: Tue, 3 Jul 2018 13:45:42 +0200 Subject: [PATCH] ice40: Fix carry timing paths Signed-off-by: David Shah --- ice40/arch.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ice40/arch.cc b/ice40/arch.cc index b16a9f43..333022c4 100644 --- a/ice40/arch.cc +++ b/ice40/arch.cc @@ -494,13 +494,13 @@ bool Arch::getCellDelay(const CellInfo *cell, IdString fromPort, IdString toPort delay = 450; return true; } - } else if (fromPort == id("CI") && toPort == id("CO")) { + } else if (fromPort == id("CIN") && toPort == id("COUT")) { delay = 120; return true; - } else if (fromPort == id("I1") && toPort == id("CO")) { + } else if (fromPort == id("I1") && toPort == id("COUT")) { delay = 260; return true; - } else if (fromPort == id("I2") && toPort == id("CO")) { + } else if (fromPort == id("I2") && toPort == id("COUT")) { delay = 230; return true; }