aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/delay.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-08-08 17:17:16 +0200
committerClifford Wolf <clifford@clifford.at>2018-08-08 17:17:16 +0200
commitf875a37467477aa0aa60ba89b428c71de6645736 (patch)
tree68dab0e130a909c9b5212db49027837686cd98a4 /ice40/delay.cc
parente03ae50e21abdcb05a887c467b97968b1cbdb460 (diff)
downloadnextpnr-f875a37467477aa0aa60ba89b428c71de6645736.tar.gz
nextpnr-f875a37467477aa0aa60ba89b428c71de6645736.tar.bz2
nextpnr-f875a37467477aa0aa60ba89b428c71de6645736.zip
Get rid of old iCE40 id_ Arch members
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'ice40/delay.cc')
-rw-r--r--ice40/delay.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/delay.cc b/ice40/delay.cc
index a9607140..dd2a4969 100644
--- a/ice40/delay.cc
+++ b/ice40/delay.cc
@@ -192,7 +192,7 @@ delay_t Arch::predictDelay(const NetInfo *net_info, const PortRef &sink) const
auto driver_loc = getBelLocation(driver.cell->bel);
auto sink_loc = getBelLocation(sink.cell->bel);
- if (driver.port == id_cout) {
+ if (driver.port == id_COUT) {
if (driver_loc.y == sink_loc.y)
return 0;
return 250;