aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ice40/arch.cc')
-rw-r--r--ice40/arch.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc
index daf0c78b..2892ad8c 100644
--- a/ice40/arch.cc
+++ b/ice40/arch.cc
@@ -495,9 +495,10 @@ delay_t Arch::estimateDelay(WireId src, WireId dst) const
return xscale * abs(xd) + yscale * abs(yd) + offset;
}
-delay_t Arch::getBudgetOverride(const PortRef& pr, delay_t v) const
+delay_t Arch::getBudgetOverride(const PortRef &pr, delay_t v) const
{
- if (pr.port == id("COUT")) return 0;
+ if (pr.port == id("COUT"))
+ return 0;
return v;
}