aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2020-10-03 17:23:48 +0100
committerDavid Shah <dave@ds0.me>2020-11-30 08:45:27 +0000
commit75040cdbdfda2e3fedf15f9243613d92dda80c79 (patch)
tree5f3de54374286afbcb4e83619d8cc998c6458d80
parent53d1c2c3097c48e2daa62cce98304f67fa840cec (diff)
downloadnextpnr-75040cdbdfda2e3fedf15f9243613d92dda80c79.tar.gz
nextpnr-75040cdbdfda2e3fedf15f9243613d92dda80c79.tar.bz2
nextpnr-75040cdbdfda2e3fedf15f9243613d92dda80c79.zip
nexus: Randomise delay to stop router from getting stuck
Signed-off-by: David Shah <dave@ds0.me>
-rw-r--r--nexus/arch.h2
1 files changed, 1 insertions, 1 deletions
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
{