mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-04-15 16:11:33 +00:00
router2: Improve debugability of pip conflicts
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
@@ -329,7 +329,11 @@ struct Router2
|
||||
if (b.first == 1) {
|
||||
b.second = pip;
|
||||
} else {
|
||||
NPNR_ASSERT(b.second == pip);
|
||||
if (b.second != pip)
|
||||
log_error("internal inconsistency: attempting to bind pip %s to net %s, but wire %s is already driven "
|
||||
"by pip %s\n",
|
||||
ctx->nameOfPip(pip), ctx->nameOf(net), ctx->nameOfWire(flat_wires.at(wire).w),
|
||||
ctx->nameOfPip(b.second));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user