aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-27 12:23:12 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-27 12:23:12 +0200
commit53ce81343aea61e12f5268c362fbb9ccaf792f86 (patch)
treece234272c7842ade9a82dab5850d323ed129c51d
parentb0b16a344a951c7144783f799232a1b9d85ddc8a (diff)
downloadnextpnr-53ce81343aea61e12f5268c362fbb9ccaf792f86.tar.gz
nextpnr-53ce81343aea61e12f5268c362fbb9ccaf792f86.tar.bz2
nextpnr-53ce81343aea61e12f5268c362fbb9ccaf792f86.zip
ice40: Add timing paths for carry
Signed-off-by: David Shah <davey1576@gmail.com>
-rw-r--r--ice40/arch.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc
index fbad6ab0..6bca62e4 100644
--- a/ice40/arch.cc
+++ b/ice40/arch.cc
@@ -494,6 +494,15 @@ bool Arch::getCellDelay(const CellInfo *cell, IdString fromPort, IdString toPort
delay = 450;
return true;
}
+ } else if (fromPort == id("CI") && toPort == id("CO")) {
+ delay = 120;
+ return true;
+ } else if (fromPort == id("I1") && toPort == id("CO")) {
+ delay = 260;
+ return true;
+ } else if (fromPort == id("I2") && toPort == id("CO")) {
+ delay = 230;
+ return true;
}
}
return false;