From 75040cdbdfda2e3fedf15f9243613d92dda80c79 Mon Sep 17 00:00:00 2001 From: David Shah Date: Sat, 3 Oct 2020 17:23:48 +0100 Subject: [PATCH] nexus: Randomise delay to stop router from getting stuck Signed-off-by: David Shah --- nexus/arch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nexus/arch.h b/nexus/arch.h index ffe630a8..60bde0fe 100644 --- a/nexus/arch.h +++ b/nexus/arch.h @@ -1115,7 +1115,7 @@ struct Arch : BaseCtx WireId getPipDstWire(PipId pip) const { return canonical_wire(pip.tile, pip_data(pip).to_wire); } - DelayInfo getPipDelay(PipId pip) const { return getDelayFromNS(0.1); } + DelayInfo getPipDelay(PipId pip) const { return getDelayFromNS(0.1 + (pip.index % 30) / 1000.0 ); } UpDownhillPipRange getPipsDownhill(WireId wire) const {