aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch.cc
diff options
context:
space:
mode:
authorEddie Hung <e.hung@imperial.ac.uk>2018-07-26 21:37:19 -0700
committerEddie Hung <e.hung@imperial.ac.uk>2018-07-26 21:37:19 -0700
commit97e546041e109fdade1099b056c7166578314846 (patch)
tree14f1cf4127db713e18839a68a9cfb23b9422fdf3 /ice40/arch.cc
parent21d46fb633383909609a9f8adbb543ae6e7ed70c (diff)
downloadnextpnr-97e546041e109fdade1099b056c7166578314846.tar.gz
nextpnr-97e546041e109fdade1099b056c7166578314846.tar.bz2
nextpnr-97e546041e109fdade1099b056c7166578314846.zip
Revert "Remove Arch::getBudgetOverride()"
This reverts commit 749dae4ae5b2b719237af5db28e98ff671bae265.
Diffstat (limited to 'ice40/arch.cc')
-rw-r--r--ice40/arch.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc
index 3803f842..fec35a0f 100644
--- a/ice40/arch.cc
+++ b/ice40/arch.cc
@@ -587,6 +587,13 @@ 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()); }