diff options
author | David Shah <dave@ds0.me> | 2020-10-03 17:23:48 +0100 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2020-11-30 08:45:27 +0000 |
commit | 75040cdbdfda2e3fedf15f9243613d92dda80c79 (patch) | |
tree | 5f3de54374286afbcb4e83619d8cc998c6458d80 | |
parent | 53d1c2c3097c48e2daa62cce98304f67fa840cec (diff) | |
download | nextpnr-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.h | 2 |
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 { |