mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-10-08 02:43:27 +02:00
interchange: fix uninitialized memory bug in cluster placement
Signed-off-by: Alessandro Comodi <[email protected]>
This commit is contained in:
@@ -99,7 +99,7 @@ static void handle_expansion_node(const Context *ctx, WireId prev_wire, PipId pi
|
||||
NPNR_ASSERT(false);
|
||||
}
|
||||
} else {
|
||||
if (next_node.state == IN_ROUTING)
|
||||
if (curr_node.state == IN_ROUTING)
|
||||
next_node.depth++;
|
||||
next_node.state = curr_node.state;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user