mirror of https://github.com/YosysHQ/nextpnr.git
Merge pull request #833 from antmicro/interchange-fix-uninitialized-memory-bug
interchange: fix uninitialized memory bug in cluster placement
This commit is contained in:
commit
5ae9eeba18
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue