From fa4fb52665619ba7a72a1bae3ba5bceacf539e8f Mon Sep 17 00:00:00 2001
From: David Shah <davey1576@gmail.com>
Date: Wed, 1 Aug 2018 11:21:03 +0200
Subject: ecp5: Making arch.cc compile

Signed-off-by: David Shah <davey1576@gmail.com>
---
 ecp5/arch.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'ecp5')

diff --git a/ecp5/arch.cc b/ecp5/arch.cc
index 5fc86cdb..a305e57b 100644
--- a/ecp5/arch.cc
+++ b/ecp5/arch.cc
@@ -413,7 +413,7 @@ delay_t Arch::estimateDelay(WireId src, WireId dst) const
     return 200 * (abs(src.location.x - dst.location.x) + abs(src.location.y - dst.location.y));
 }
 
-delay_t Arch::predictDelay(const NetInfo *net_info, const PortRef &sink) const;
+delay_t Arch::predictDelay(const NetInfo *net_info, const PortRef &sink) const
 {
     const auto &driver = net_info->driver;
     auto driver_loc = getBelLocation(driver.cell->bel);
@@ -422,7 +422,7 @@ delay_t Arch::predictDelay(const NetInfo *net_info, const PortRef &sink) const;
     return 200 * (abs(driver_loc.x - sink_loc.x) + abs(driver_loc.y - sink_loc.y));
 }
 
-delay_t getBudgetOverride(const NetInfo *net_info, const PortRef &sink, delay_t budget) const { return budget; }
+delay_t Arch::getBudgetOverride(const NetInfo *net_info, const PortRef &sink, delay_t budget) const { return budget; }
 
 // -----------------------------------------------------------------------
 
-- 
cgit v1.2.3