Skip to content

Commit 037f1b5

Browse files
make format
1 parent 151d878 commit 037f1b5

File tree

5 files changed

+16
-12
lines changed

5 files changed

+16
-12
lines changed

libs/libarchfpga/src/arch_util.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ void ProcessLutClass(t_pb_type* lut_pb_type) {
545545
for (size_t i = 0; i < num_annotations; i++) {
546546
lut_pb_type->modes[0].interconnect[0].annotations[i].clock = lut_pb_type->annotations[i].clock;
547547
lut_pb_type->modes[0].interconnect[0].annotations[i].input_pins = lut_pb_type->annotations[i].input_pins;
548-
lut_pb_type->modes[0].interconnect[0].annotations[i].output_pins =lut_pb_type->annotations[i].output_pins;
548+
lut_pb_type->modes[0].interconnect[0].annotations[i].output_pins = lut_pb_type->annotations[i].output_pins;
549549
lut_pb_type->modes[0].interconnect[0].annotations[i].line_num = lut_pb_type->annotations[i].line_num;
550550
lut_pb_type->modes[0].interconnect[0].annotations[i].format = lut_pb_type->annotations[i].format;
551551
lut_pb_type->modes[0].interconnect[0].annotations[i].type = lut_pb_type->annotations[i].type;

vpr/src/route/rr_graph_generation/build_scatter_gathers.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -399,8 +399,10 @@ void convert_interposer_cuts_to_sg_patterns(const std::vector<t_layer_def>& inte
399399
void compute_non_3d_sg_link_geometry(const t_physical_tile_loc& src_loc,
400400
const t_physical_tile_loc& dst_loc,
401401
e_rr_type& chan_type,
402-
int& xlow, int& xhigh,
403-
int& ylow, int& yhigh,
402+
int& xlow,
403+
int& xhigh,
404+
int& ylow,
405+
int& yhigh,
404406
Direction& direction) {
405407
VTR_ASSERT_SAFE(src_loc.layer_num == dst_loc.layer_num);
406408

@@ -431,4 +433,4 @@ void compute_non_3d_sg_link_geometry(const t_physical_tile_loc& src_loc,
431433
} else {
432434
VTR_ASSERT_MSG(false, "Source and destination locations cannot be identical");
433435
}
434-
}
436+
}

vpr/src/route/rr_graph_generation/build_scatter_gathers.h

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,14 @@ void convert_interposer_cuts_to_sg_patterns(const std::vector<t_layer_def>& inte
7878
std::vector<t_scatter_gather_pattern>& sg_patterns);
7979

8080
/**
81-
* @brief Computes the channel type, direction, and coordinate span between two locations
82-
* on the same layer. Used by SG link construction routines to determine geometry.
83-
*/
81+
* @brief Computes the channel type, direction, and coordinate span between two locations
82+
* on the same layer. Used by SG link construction routines to determine geometry.
83+
*/
8484
void compute_non_3d_sg_link_geometry(const t_physical_tile_loc& src_loc,
8585
const t_physical_tile_loc& dst_loc,
8686
e_rr_type& chan_type,
87-
int& xlow, int& xhigh,
88-
int& ylow, int& yhigh,
89-
Direction& direction);
87+
int& xlow,
88+
int& xhigh,
89+
int& ylow,
90+
int& yhigh,
91+
Direction& direction);

vpr/src/route/rr_graph_generation/rr_graph.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2082,7 +2082,7 @@ static void add_and_connect_non_3d_sg_links(RRGraphBuilder& rr_graph_builder,
20822082
// SG links are confined to one layer (non-3D), but can run in X or Y.
20832083
VTR_ASSERT_SAFE(src_loc.layer_num == dst_loc.layer_num);
20842084
const int layer = src_loc.layer_num;
2085-
compute_non_3d_sg_link_geometry(src_loc, dst_loc, chan_type, xlow, xhigh, ylow, yhigh,direction);
2085+
compute_non_3d_sg_link_geometry(src_loc, dst_loc, chan_type, xlow, xhigh, ylow, yhigh, direction);
20862086

20872087
// Retrieve the node ID and track number allocated earlier
20882088
const RRNodeId node_id = sg_node_indices[i].first;

vpr/src/route/rr_graph_generation/rr_node_indices.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ std::vector<std::pair<RRNodeId, int>> alloc_and_load_non_3d_sg_pattern_rr_node_i
386386

387387
// Step 1: Determine the channel type (CHANX/CHANY) and span coordinates
388388
const int layer = src_loc.layer_num;
389-
compute_non_3d_sg_link_geometry(src_loc, dst_loc, chan_type, xlow, xhigh, ylow, yhigh,direction);
389+
compute_non_3d_sg_link_geometry(src_loc, dst_loc, chan_type, xlow, xhigh, ylow, yhigh, direction);
390390

391391
// Select the appropriate ptc matrix for this channel type
392392
vtr::NdMatrix<int, 3>& ptc_matrix = (chan_type == e_rr_type::CHANX) ? chanx_ptc : chany_ptc;

0 commit comments

Comments
 (0)