aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5
diff options
context:
space:
mode:
authorEddie Hung <e.hung@imperial.ac.uk>2018-07-21 13:05:09 -0700
committerEddie Hung <e.hung@imperial.ac.uk>2018-07-21 13:05:09 -0700
commit926c186ec78efb086364a05ba7e83e68fa116301 (patch)
treeee25b6376879c7add61b02a73a882d8518353afe /ecp5
parente44dc25f098194c970d1a516fbaa0a5e911a50e1 (diff)
downloadnextpnr-926c186ec78efb086364a05ba7e83e68fa116301.tar.gz
nextpnr-926c186ec78efb086364a05ba7e83e68fa116301.tar.bz2
nextpnr-926c186ec78efb086364a05ba7e83e68fa116301.zip
Add Arch::getBudgetOverride() to eliminate hack for COUT
Diffstat (limited to 'ecp5')
-rw-r--r--ecp5/arch.cc5
-rw-r--r--ecp5/arch.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc
index 1510a27f..90f88384 100644
--- a/ecp5/arch.cc
+++ b/ecp5/arch.cc
@@ -328,6 +328,11 @@ delay_t Arch::estimateDelay(WireId src, WireId dst) const
return abs(src.location.x - dst.location.x) + abs(src.location.y - dst.location.y);
}
+delay_t Arch::getBudgetOverride(const PortRef& pr, delay_t v) const
+{
+ return v;
+}
+
// -----------------------------------------------------------------------
bool Arch::place() { return placer1(getCtx()); }
diff --git a/ecp5/arch.h b/ecp5/arch.h
index bf36ef2f..ec98d029 100644
--- a/ecp5/arch.h
+++ b/ecp5/arch.h
@@ -757,6 +757,7 @@ 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;
// -------------------------------------------------