aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/arch.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-07-22 16:55:10 +0200
committerDavid Shah <davey1576@gmail.com>2018-07-22 16:55:10 +0200
commit38431bd420ff2dcbaa9581571e6d0302dcfe2379 (patch)
tree7b51abce59474139be3fc81127cee8340619c082 /ecp5/arch.cc
parente13fc7edabb449d21ad6473bab23d5c1b2cf3761 (diff)
downloadnextpnr-38431bd420ff2dcbaa9581571e6d0302dcfe2379.tar.gz
nextpnr-38431bd420ff2dcbaa9581571e6d0302dcfe2379.tar.bz2
nextpnr-38431bd420ff2dcbaa9581571e6d0302dcfe2379.zip
ecp5: Fix regression following router update
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ecp5/arch.cc')
-rw-r--r--ecp5/arch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc
index f6ee0711..c7896ca6 100644
--- a/ecp5/arch.cc
+++ b/ecp5/arch.cc
@@ -325,7 +325,7 @@ void Arch::estimatePosition(BelId bel, int &x, int &y, bool &gb) const
delay_t Arch::estimateDelay(WireId src, WireId dst) const
{
- return abs(src.location.x - dst.location.x) + abs(src.location.y - dst.location.y);
+ return 200 * (abs(src.location.x - dst.location.x) + abs(src.location.y - dst.location.y));
}
// -----------------------------------------------------------------------