Skip to content

Commit 328aa7e

Browse files
make format
1 parent 04c88be commit 328aa7e

File tree

10 files changed

+14
-14
lines changed

10 files changed

+14
-14
lines changed

libs/libarchfpga/src/grid_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,4 @@ struct t_grid_loc_def {
131131
enum class e_grid_def_type {
132132
AUTO,
133133
FIXED
134-
};
134+
};

libs/libarchfpga/src/interposer_types.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ inline const std::unordered_map<char, e_interposer_cut_dim> CHAR_INTERPOSER_DIM_
3333
*
3434
*/
3535
struct t_interdie_wire_inf {
36-
std::string sg_name; ///< Name of the scatter-gather pattern to be used for the interdie connection
37-
std::string sg_link; ///< Name of the scatter-gather link to be used for the interdie connection
36+
std::string sg_name; ///< Name of the scatter-gather pattern to be used for the interdie connection
37+
std::string sg_link; ///< Name of the scatter-gather link to be used for the interdie connection
3838
/**
3939
* @brief
4040
* Contains starting and ending point (both inclusive) of scatter-gather instantiations and the increment/distance between the instantiations.
@@ -43,7 +43,7 @@ struct t_interdie_wire_inf {
4343
* Locations defined by this offset definition define the starting point or the gathering point of the SG pattern. The end or scatter point of the SG pattern is defined by the sg_link.
4444
*/
4545
t_grid_loc_spec offset_definition;
46-
int num; ///< Number of scatter-gather instantiations per switchblock location
46+
int num; ///< Number of scatter-gather instantiations per switchblock location
4747
};
4848

4949
/**

libs/libarchfpga/src/read_xml_arch_file.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2659,7 +2659,7 @@ static void process_block_type_locs(t_grid_def& grid_def,
26592659
}
26602660

26612661
t_interposer_cut_inf interposer_cut = parse_interposer_cut_tag(loc_spec_tag, loc_data);
2662-
2662+
26632663
if ((interposer_cut.dim == e_interposer_cut_dim::X && interposer_cut.loc >= grid_def.height) || (interposer_cut.dim == e_interposer_cut_dim::Y && interposer_cut.loc >= grid_def.width)) {
26642664
archfpga_throw(loc_data.filename_c_str(), loc_data.line(loc_spec_tag), "Interposer cut dimensions are outside of device bounds");
26652665
}

libs/libarchfpga/src/read_xml_arch_file_interposer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ t_interposer_cut_inf parse_interposer_cut_tag(pugi::xml_node interposer_cut_tag,
3636
interdie_wire.offset_definition.start_expr = pugiutil::get_attribute(interdie_wire_tag, "offset_start", loc_data).as_string();
3737
interdie_wire.offset_definition.end_expr = pugiutil::get_attribute(interdie_wire_tag, "offset_end", loc_data).as_string();
3838
interdie_wire.offset_definition.incr_expr = pugiutil::get_attribute(interdie_wire_tag, "offset_increment", loc_data).as_string();
39-
39+
4040
interdie_wire.num = pugiutil::get_attribute(interdie_wire_tag, "num", loc_data).as_int();
4141

4242
interposer.interdie_wires.push_back(interdie_wire);

vpr/src/analytical_place/full_legalizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1317,4 +1317,4 @@ void FullLegalizer::update_drawing_data_structures() {
13171317
get_draw_state_vars()->refresh_graphic_resources_after_cluster_change();
13181318
}
13191319
#endif
1320-
}
1320+
}

vpr/src/analytical_place/full_legalizer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class FullLegalizer {
5959
* device grid and fixed blocks are observed.
6060
*/
6161
virtual void legalize(const PartialPlacement& p_placement) = 0;
62-
62+
6363
/// @brief Update drawing data structure for current placement
6464
void update_drawing_data_structures();
6565

vpr/src/base/vpr_types.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -972,8 +972,8 @@ enum class e_place_delta_delay_algorithm {
972972
* for the placer.
973973
*/
974974
enum class e_anneal_init_t_estimator {
975-
COST_VARIANCE, ///<Estimate the initial temperature using the variance in cost of a set of trial swaps.
976-
EQUILIBRIUM, ///<Estimate the initial temperature by predicting the equilibrium temperature for the initial placement.
975+
COST_VARIANCE, ///<Estimate the initial temperature using the variance in cost of a set of trial swaps.
976+
EQUILIBRIUM, ///<Estimate the initial temperature by predicting the equilibrium temperature for the initial placement.
977977
};
978978

979979
enum class e_move_type;

vpr/src/place/annealer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ class t_annealing_state {
139139
* @brief Struct to hold the results of a swap.
140140
*/
141141
struct t_swap_result {
142-
e_move_result move_result; ///< The result of the move (e.g. Accept, Reject, etc.)
143-
double delta_c; ///< The change in cost that resulted from the swap.
142+
e_move_result move_result; ///< The result of the move (e.g. Accept, Reject, etc.)
143+
double delta_c; ///< The change in cost that resulted from the swap.
144144
};
145145

146146
/**

vpr/src/route/overuse_report.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ static void report_overused_ipin_opin(std::ostream& os,
241241
os << "On Tile Pin"
242242
<< "\n";
243243
} else {
244-
const char* pb_type_name = get_pb_graph_node_from_pin_physical_num(physical_type, rr_graph.node_ptc_num(node_id)) ->pb_type->name;
244+
const char* pb_type_name = get_pb_graph_node_from_pin_physical_num(physical_type, rr_graph.node_ptc_num(node_id))->pb_type->name;
245245
const t_pb_graph_pin* pb_pin = get_pb_pin_from_pin_physical_num(physical_type, rr_graph.node_ptc_num(node_id));
246246
os << "Intra-Tile Pin - Port : " << pb_pin->port->name << " - PB Type : " << std::string(pb_type_name) << "\n";
247247
}

vpr/test/test_undefined_value.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
// Make sure the 'unknown value' constants in VPR, LibArchFPGA and LibRRGraph are all equal to the same value (-1)
66
// Ideally these values should be independent of each other, but since they might be compared with each other in
77
// the project we enforce that they all have the same value.
8-
static_assert(UNDEFINED == -1 && ARCH_FPGA_UNDEFINED_VAL == -1 && LIBRRGRAPH_UNDEFINED_VAL == -1, "The 'undefined value' constants in VPR, LibArchFPGA and LibRRGraph all must equal -1.");
8+
static_assert(UNDEFINED == -1 && ARCH_FPGA_UNDEFINED_VAL == -1 && LIBRRGRAPH_UNDEFINED_VAL == -1, "The 'undefined value' constants in VPR, LibArchFPGA and LibRRGraph all must equal -1.");

0 commit comments

Comments
 (0)