Skip to content

Commit eeb9dbf

Browse files
make format
1 parent 0c58fb3 commit eeb9dbf

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

libs/libarchfpga/src/read_xml_arch_file.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4313,7 +4313,8 @@ static void process_switch_blocks(pugi::xml_node Parent, t_arch* arch, const pug
43134313
if (sb.specified_loc.x >= grid_width || sb.specified_loc.y >= grid_height) {
43144314
archfpga_throw(loc_data.filename_c_str(), loc_data.line(SubElem),
43154315
vtr::string_fmt("Location (%d,%d) is not valid within the grid! grid dimensions are: (%d,%d)\n",
4316-
sb.specified_loc.x, sb.specified_loc.y, grid_width, grid_height).c_str());
4316+
sb.specified_loc.x, sb.specified_loc.y, grid_width, grid_height)
4317+
.c_str());
43174318
}
43184319

43194320
// if the switchblock exact location is not specified and a region is specified within the architecture file,

vpr/src/route/router_lookahead/router_lookahead_map_utils.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,8 @@ void dump_readable_router_lookahead_map(const std::string& file_name,
359359
const std::vector<int>& dim_sizes,
360360
WireCostCallBackFunction wire_cost_func);
361361

362-
/// @brief Converts a routing channel type (CHANX/CHANY/CHANZ) to an index
363-
/// to access the channel type dimension of the router lookahead table.
362+
/// @brief Converts a routing channel type (CHANX/CHANY/CHANZ) to an index
363+
/// to access the channel type dimension of the router lookahead table.
364364
inline int chan_type_to_index(e_rr_type chan_type) {
365365
int chan_index;
366366
switch (chan_type) {

vpr/src/route/rr_graph_generation/build_scatter_gathers.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ std::vector<t_bottleneck_link> alloc_and_load_scatter_gather_connections(const s
231231
continue;
232232
}
233233

234-
235234
std::vector<t_sg_candidate> gather_wire_candidates;
236235
gather_wire_candidates = find_candidate_wires(gather_channels,
237236
sg_pattern.gather_pattern.from_switchpoint_set,

vpr/src/route/rr_graph_generation/build_scatter_gathers.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
#include <vector>
99

1010
// forward declartion
11-
namespace vtr {class RngContainer; }
11+
namespace vtr {
12+
class RngContainer;
13+
}
1214

1315
/// Identifies a specific channel location in the device grid.
1416
struct t_chan_loc {

vpr/src/route/rr_graph_generation/build_switchblocks.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,6 @@ void free_switchblock_permutations(t_sb_connection_map* sb_conns) {
278278
vtr::malloc_trim(0);
279279
}
280280

281-
282281
static void get_switchpoint_wires(const t_chan_seg_details* chan_details,
283282
e_rr_type chan_type,
284283
int x,

0 commit comments

Comments
 (0)