aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-07-29 12:30:11 +0200
committerClifford Wolf <clifford@clifford.at>2018-07-29 12:30:11 +0200
commit3b354c2a51f9d13d1f7d4d1f8acad200f9733bee (patch)
treef1cb5413af98a64dd4d008f0c8c80b8f6be0a08c
parent95ac8386542af257e487e2dbe8ad6cfe6e848a21 (diff)
downloadnextpnr-3b354c2a51f9d13d1f7d4d1f8acad200f9733bee.tar.gz
nextpnr-3b354c2a51f9d13d1f7d4d1f8acad200f9733bee.tar.bz2
nextpnr-3b354c2a51f9d13d1f7d4d1f8acad200f9733bee.zip
fix randtag bug in router1
Signed-off-by: Clifford Wolf <clifford@clifford.at>
-rw-r--r--common/router1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/router1.cc b/common/router1.cc
index 8a05236f..4ef7df64 100644
--- a/common/router1.cc
+++ b/common/router1.cc
@@ -216,7 +216,7 @@ struct Router
next_qw.pip = pip;
next_qw.delay = next_delay;
next_qw.togo = ctx->estimateDelay(next_wire, dst_wire);
- qw.randtag = ctx->rng();
+ next_qw.randtag = ctx->rng();
visited[next_qw.wire] = next_qw;
queue.push(next_qw);