Skip to content

Commit ea396cd

Browse files
Fix formatting
1 parent 16f26ce commit ea396cd

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

vpr/src/route/rr_graph_generation/interposer_cut.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,12 @@ static void cut_chan_y_node(RRNodeId node, int x_low, int y_low, int x_high, int
166166
}
167167

168168
/**
169-
* @brief Update a CHANX node's bounding box in RRGraph and SpatialLookup entries.
170-
* This function assumes that the channel node actually crosses the cut location and
171-
* might not function correctly otherwise.
172-
*
173-
* This is a low level function, you should use cut_channel_node that wraps this up in a nicer API.
174-
*/
169+
* @brief Update a CHANX node's bounding box in RRGraph and SpatialLookup entries.
170+
* This function assumes that the channel node actually crosses the cut location and
171+
* might not function correctly otherwise.
172+
*
173+
* This is a low level function, you should use cut_channel_node that wraps this up in a nicer API.
174+
*/
175175
static void cut_chan_x_node(RRNodeId node, int x_low, int y_low, int x_high, int y_high, int layer, int ptc_num, int cut_loc_x, Direction node_direction, RRGraphBuilder& rr_graph_builder, RRSpatialLookup& spatial_lookup) {
176176
if (node_direction == Direction::INC) {
177177
// Anything to the right of cut_loc_x shouldn't exist

vpr/src/route/rr_graph_generation/rr_graph.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1669,15 +1669,15 @@ static std::function<void(t_chan_width*)> alloc_and_load_rr_graph(RRGraphBuilder
16691669
}
16701670
}
16711671
}
1672-
1672+
16731673
// If there are any interposer cuts, remove the edges and shorten the wires that cross interposer cut lines.
16741674
if (!grid.get_horizontal_interposer_cuts().empty() || !grid.get_vertical_interposer_cuts().empty()) {
16751675
std::vector<RREdgeId> interposer_edges = mark_interposer_cut_edges_for_removal(rr_graph, grid);
16761676
rr_graph_builder.remove_edges(interposer_edges);
16771677

16781678
update_interposer_crossing_nodes_in_spatial_lookup_and_rr_graph_storage(rr_graph, grid, rr_graph_builder, sg_node_indices);
16791679
}
1680-
1680+
16811681
// Add 2D scatter-gather link edges (the nodes have already been created at this point). These links are mostly used for interposer-crossing connections, but could also be used for other things.
16821682
add_and_connect_non_3d_sg_links(rr_graph_builder, sg_links, sg_node_indices, chan_details_x, chan_details_y, num_seg_types_x, rr_edges_to_create);
16831683
uniquify_edges(rr_edges_to_create);

0 commit comments

Comments
 (0)