ecp5: Fix regression following router update
Signed-off-by: David Shah <davey1576@gmail.com>
This commit is contained in:
parent
e13fc7edab
commit
38431bd420
@ -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));
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user