Skip to content

Commit 3dfafbf

Browse files
committed
[VPR] Code format fix
1 parent 8804edd commit 3dfafbf

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

vpr/src/route/clock_connection_builders.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ int RoutingToClockConnection::create_virtual_clock_network_sink_node(
116116
float C = 0.;
117117
rr_graph.set_node_rc_index(node_index, find_create_rr_rc_data(R, C));
118118

119-
// Use a generic way when adding nodes to lookup.
119+
// Use a generic way when adding nodes to lookup.
120120
// However, since the SINK node has the same xhigh/xlow as well as yhigh/ylow, we can probably use a shortcut
121121
for (int ix = rr_graph.node_xlow(node_index); ix <= rr_graph.node_xhigh(node_index); ++ix) {
122122
for (int iy = rr_graph.node_ylow(node_index); iy <= rr_graph.node_yhigh(node_index); ++iy) {

vpr/src/route/clock_network_builders.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ int ClockRib::create_chanx_wire(int x_start,
349349
for (int ix = rr_graph.node_xlow(chanx_node); ix <= rr_graph.node_xhigh(chanx_node); ++ix) {
350350
for (int iy = rr_graph.node_ylow(chanx_node); iy <= rr_graph.node_yhigh(chanx_node); ++iy) {
351351
//TODO: CHANX uses odd swapped x/y indices here. Will rework once rr_node_indices is shadowed
352-
rr_graph_builder.node_lookup().add_node(chanx_node, iy, ix, rr_graph.node_type(chanx_node), rr_graph.node_ptc_num(chanx_node), SIDES[0]);
352+
rr_graph_builder.node_lookup().add_node(chanx_node, iy, ix, rr_graph.node_type(chanx_node), rr_graph.node_ptc_num(chanx_node), SIDES[0]);
353353
}
354354
}
355355

@@ -653,7 +653,7 @@ int ClockSpine::create_chany_wire(int y_start,
653653
RRNodeId chany_node = RRNodeId(node_index);
654654
for (int ix = rr_graph.node_xlow(chany_node); ix <= rr_graph.node_xhigh(chany_node); ++ix) {
655655
for (int iy = rr_graph.node_ylow(chany_node); iy <= rr_graph.node_yhigh(chany_node); ++iy) {
656-
rr_graph_builder.node_lookup().add_node(chany_node, ix, iy, rr_graph.node_type(chany_node), rr_graph.node_ptc_num(chany_node), SIDES[0]);
656+
rr_graph_builder.node_lookup().add_node(chany_node, ix, iy, rr_graph.node_type(chany_node), rr_graph.node_ptc_num(chany_node), SIDES[0]);
657657
}
658658
}
659659

vpr/src/route/rr_graph_clock.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#include <set>
99
#include <utility>
1010

11-
1211
#include "rr_graph_builder.h"
1312
#include "clock_fwd.h"
1413

0 commit comments

Comments
 (0)