aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
diff options
context:
space:
mode:
authorEddie Hung <e.hung@imperial.ac.uk>2018-07-25 23:02:31 -0700
committerEddie Hung <e.hung@imperial.ac.uk>2018-07-25 23:02:31 -0700
commit749dae4ae5b2b719237af5db28e98ff671bae265 (patch)
tree619173826a251ee5f1dbb3de456e79c45c682732 /ice40
parente5d3821955cebfb2f3b2a10f97f2eea0dc9ecec3 (diff)
downloadnextpnr-749dae4ae5b2b719237af5db28e98ff671bae265.tar.gz
nextpnr-749dae4ae5b2b719237af5db28e98ff671bae265.tar.bz2
nextpnr-749dae4ae5b2b719237af5db28e98ff671bae265.zip
Remove Arch::getBudgetOverride()
Diffstat (limited to 'ice40')
-rw-r--r--ice40/arch.cc7
-rw-r--r--ice40/arch.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc
index 2892ad8c..dedc59bc 100644
--- a/ice40/arch.cc
+++ b/ice40/arch.cc
@@ -495,13 +495,6 @@ 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
-{
- if (pr.port == id("COUT"))
- return 0;
- return v;
-}
-
// -----------------------------------------------------------------------
bool Arch::place() { return placer1(getCtx()); }
diff --git a/ice40/arch.h b/ice40/arch.h
index eee99ffe..123b408c 100644
--- a/ice40/arch.h
+++ b/ice40/arch.h
@@ -684,7 +684,6 @@ struct Arch : BaseCtx
delay_t getRipupDelayPenalty() const { return 200; }
float getDelayNS(delay_t v) const { return v * 0.001; }
uint32_t getDelayChecksum(delay_t v) const { return v; }
- delay_t getBudgetOverride(const PortRef &pr, delay_t v) const;
// -------------------------------------------------