From f875a37467477aa0aa60ba89b428c71de6645736 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 8 Aug 2018 17:17:16 +0200 Subject: Get rid of old iCE40 id_ Arch members Signed-off-by: Clifford Wolf --- ice40/delay.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ice40/delay.cc') 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; -- cgit v1.2.3