Skip to content

Commit e08cd8c

Browse files
committed
make format
1 parent e3df5b5 commit e08cd8c

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

vpr/src/base/SetupVPR.cpp

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -26,32 +26,32 @@
2626

2727
static void setup_netlist_opts(const t_options& Options, t_netlist_opts& NetlistOpts);
2828
static void setup_ap_opts(const t_options& options,
29-
t_ap_opts& apOpts);
29+
t_ap_opts& apOpts);
3030
static void setup_packer_opts(const t_options& Options,
31-
t_packer_opts* PackerOpts);
31+
t_packer_opts* PackerOpts);
3232
static void setup_placer_opts(const t_options& Options,
33-
t_placer_opts* PlacerOpts);
33+
t_placer_opts* PlacerOpts);
3434
static void setup_anneal_sched(const t_options& Options,
35-
t_annealing_sched* AnnealSched);
35+
t_annealing_sched* AnnealSched);
3636
static void setup_router_opts(const t_options& Options, t_router_opts* RouterOpts);
3737
static void setup_noc_opts(const t_options& Options,
38-
t_noc_opts* NocOpts);
38+
t_noc_opts* NocOpts);
3939
static void setup_server_opts(const t_options& Options,
40-
t_server_opts* ServerOpts);
40+
t_server_opts* ServerOpts);
4141

4242
static void setup_routing_arch(const t_arch& Arch, t_det_routing_arch& RoutingArch);
4343

4444
static void setup_timing(const t_options& Options, const bool TimingEnabled, t_timing_inf* Timing);
4545
static void setup_switches(const t_arch& Arch,
46-
t_det_routing_arch& RoutingArch,
47-
const std::vector<t_arch_switch_inf>& arch_switches);
46+
t_det_routing_arch& RoutingArch,
47+
const std::vector<t_arch_switch_inf>& arch_switches);
4848
static void setup_analysis_opts(const t_options& Options, t_analysis_opts& analysis_opts);
4949
static void setup_power_opts(const t_options& Options, t_power_opts* power_opts, t_arch* Arch);
5050

5151
static void setup_vib_inf(const std::vector<t_physical_tile_type>& PhysicalTileTypes,
52-
const std::vector<t_arch_switch_inf>& Switches,
53-
const std::vector<t_segment_inf>& Segments,
54-
std::vector<VibInf>& vib_infs);
52+
const std::vector<t_arch_switch_inf>& Switches,
53+
const std::vector<t_segment_inf>& Segments,
54+
std::vector<VibInf>& vib_infs);
5555

5656
static void process_from_or_to_tokens(const std::vector<std::string> Tokens, const std::vector<t_physical_tile_type>& PhysicalTileTypes, const std::vector<t_segment_inf> segments, std::vector<t_from_or_to_inf>& froms);
5757
static void parse_pin_name(const char* src_string, int* start_pin_index, int* end_pin_index, char* pb_type_name, char* port_name);
@@ -369,8 +369,8 @@ static void setup_timing(const t_options& Options, const bool TimingEnabled, t_t
369369
* from the arch file with the special switches that VPR needs.
370370
*/
371371
static void setup_switches(const t_arch& Arch,
372-
t_det_routing_arch& RoutingArch,
373-
const std::vector<t_arch_switch_inf>& arch_switches) {
372+
t_det_routing_arch& RoutingArch,
373+
const std::vector<t_arch_switch_inf>& arch_switches) {
374374
auto& device_ctx = g_vpr_ctx.mutable_device();
375375

376376
int switches_to_copy = (int)arch_switches.size();
@@ -426,7 +426,7 @@ static void setup_switches(const t_arch& Arch,
426426
* Since checks are already done, this just copies values across
427427
*/
428428
static void setup_routing_arch(const t_arch& Arch,
429-
t_det_routing_arch& RoutingArch) {
429+
t_det_routing_arch& RoutingArch) {
430430
RoutingArch.switch_block_type = Arch.SBType;
431431
RoutingArch.switch_block_subtype = Arch.SBSubType;
432432
RoutingArch.R_minW_nmos = Arch.R_minW_nmos;
@@ -540,7 +540,7 @@ static void setup_router_opts(const t_options& Options, t_router_opts* RouterOpt
540540
}
541541

542542
static void setup_anneal_sched(const t_options& Options,
543-
t_annealing_sched* AnnealSched) {
543+
t_annealing_sched* AnnealSched) {
544544
AnnealSched->alpha_t = Options.PlaceAlphaT;
545545
if (AnnealSched->alpha_t >= 1 || AnnealSched->alpha_t <= 0) {
546546
VPR_FATAL_ERROR(VPR_ERROR_OTHER, "alpha_t must be between 0 and 1 exclusive.\n");
@@ -576,7 +576,7 @@ static void setup_anneal_sched(const t_options& Options,
576576
* to be done beforehand
577577
*/
578578
void setup_ap_opts(const t_options& options,
579-
t_ap_opts& apOpts) {
579+
t_ap_opts& apOpts) {
580580
apOpts.analytical_solver_type = options.ap_analytical_solver.value();
581581
apOpts.partial_legalizer_type = options.ap_partial_legalizer.value();
582582
apOpts.full_legalizer_type = options.ap_full_legalizer.value();
@@ -597,7 +597,7 @@ void setup_ap_opts(const t_options& options,
597597
* to be done beforehand
598598
*/
599599
void setup_packer_opts(const t_options& Options,
600-
t_packer_opts* PackerOpts) {
600+
t_packer_opts* PackerOpts) {
601601
PackerOpts->output_file = Options.NetFile;
602602

603603
PackerOpts->circuit_file_name = Options.CircuitFile;
@@ -1041,9 +1041,9 @@ static void do_reachability_analysis(t_physical_tile_type* physical_tile,
10411041
}
10421042

10431043
static void setup_vib_inf(const std::vector<t_physical_tile_type>& PhysicalTileTypes,
1044-
const std::vector<t_arch_switch_inf>& switches,
1045-
const std::vector<t_segment_inf>& Segments,
1046-
std::vector<VibInf>& vib_infs) {
1044+
const std::vector<t_arch_switch_inf>& switches,
1045+
const std::vector<t_segment_inf>& Segments,
1046+
std::vector<VibInf>& vib_infs) {
10471047
VTR_ASSERT(!vib_infs.empty());
10481048
for (auto& vib_inf : vib_infs) {
10491049
for (size_t i_switch = 0; i_switch < switches.size(); i_switch++) {

0 commit comments

Comments
 (0)