Skip to content

Commit 9297ad1

Browse files
reserve nodes using x/y instead of chan/seg
1 parent cb8a3cb commit 9297ad1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/route/rr_graph2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ static void load_chan_rr_indices(const int max_chan_width,
11151115
const t_chan_seg_details* seg_details = chan_details[x][y].data();
11161116

11171117
// Reserve nodes in lookup to save memory
1118-
rr_graph_builder.node_lookup().reserve_nodes(layer, chan, seg, type, max_chan_width);
1118+
rr_graph_builder.node_lookup().reserve_nodes(layer, x, y, type, max_chan_width);
11191119

11201120
for (int track = 0; track < max_chan_width; ++track) {
11211121
/* TODO: May let the length() == 0 case go through, to model muxes */

0 commit comments

Comments
 (0)