ecp5: Fix regression following router update

Signed-off-by: David Shah <davey1576@gmail.com>
This commit is contained in:
David Shah 2018-07-22 16:55:10 +02:00
parent e13fc7edab
commit 38431bd420
2 changed files with 2 additions and 2 deletions

View File

@ -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));
}
// -----------------------------------------------------------------------

View File

@ -694,7 +694,7 @@ struct Arch : BaseCtx
{
DelayInfo delay;
NPNR_ASSERT(pip != PipId());
delay.delay = locInfo(pip)->pip_data[pip.index].delay;
delay.delay = locInfo(pip)->pip_data[pip.index].delay * 100;
return delay;
}