26
26
27
27
static void setup_netlist_opts (const t_options& Options, t_netlist_opts& NetlistOpts);
28
28
static void setup_ap_opts (const t_options& options,
29
- t_ap_opts& apOpts);
29
+ t_ap_opts& apOpts);
30
30
static void setup_packer_opts (const t_options& Options,
31
- t_packer_opts* PackerOpts);
31
+ t_packer_opts* PackerOpts);
32
32
static void setup_placer_opts (const t_options& Options,
33
- t_placer_opts* PlacerOpts);
33
+ t_placer_opts* PlacerOpts);
34
34
static void setup_anneal_sched (const t_options& Options,
35
- t_annealing_sched* AnnealSched);
35
+ t_annealing_sched* AnnealSched);
36
36
static void setup_router_opts (const t_options& Options, t_router_opts* RouterOpts);
37
37
static void setup_noc_opts (const t_options& Options,
38
- t_noc_opts* NocOpts);
38
+ t_noc_opts* NocOpts);
39
39
static void setup_server_opts (const t_options& Options,
40
- t_server_opts* ServerOpts);
40
+ t_server_opts* ServerOpts);
41
41
42
42
static void setup_routing_arch (const t_arch& Arch, t_det_routing_arch& RoutingArch);
43
43
44
44
static void setup_timing (const t_options& Options, const bool TimingEnabled, t_timing_inf* Timing);
45
45
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);
48
48
static void setup_analysis_opts (const t_options& Options, t_analysis_opts& analysis_opts);
49
49
static void setup_power_opts (const t_options& Options, t_power_opts* power_opts, t_arch* Arch);
50
50
51
51
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);
55
55
56
56
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);
57
57
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
369
369
* from the arch file with the special switches that VPR needs.
370
370
*/
371
371
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) {
374
374
auto & device_ctx = g_vpr_ctx.mutable_device ();
375
375
376
376
int switches_to_copy = (int )arch_switches.size ();
@@ -426,7 +426,7 @@ static void setup_switches(const t_arch& Arch,
426
426
* Since checks are already done, this just copies values across
427
427
*/
428
428
static void setup_routing_arch (const t_arch& Arch,
429
- t_det_routing_arch& RoutingArch) {
429
+ t_det_routing_arch& RoutingArch) {
430
430
RoutingArch.switch_block_type = Arch.SBType ;
431
431
RoutingArch.switch_block_subtype = Arch.SBSubType ;
432
432
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
540
540
}
541
541
542
542
static void setup_anneal_sched (const t_options& Options,
543
- t_annealing_sched* AnnealSched) {
543
+ t_annealing_sched* AnnealSched) {
544
544
AnnealSched->alpha_t = Options.PlaceAlphaT ;
545
545
if (AnnealSched->alpha_t >= 1 || AnnealSched->alpha_t <= 0 ) {
546
546
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,
576
576
* to be done beforehand
577
577
*/
578
578
void setup_ap_opts (const t_options& options,
579
- t_ap_opts& apOpts) {
579
+ t_ap_opts& apOpts) {
580
580
apOpts.analytical_solver_type = options.ap_analytical_solver .value ();
581
581
apOpts.partial_legalizer_type = options.ap_partial_legalizer .value ();
582
582
apOpts.full_legalizer_type = options.ap_full_legalizer .value ();
@@ -597,7 +597,7 @@ void setup_ap_opts(const t_options& options,
597
597
* to be done beforehand
598
598
*/
599
599
void setup_packer_opts (const t_options& Options,
600
- t_packer_opts* PackerOpts) {
600
+ t_packer_opts* PackerOpts) {
601
601
PackerOpts->output_file = Options.NetFile ;
602
602
603
603
PackerOpts->circuit_file_name = Options.CircuitFile ;
@@ -1041,9 +1041,9 @@ static void do_reachability_analysis(t_physical_tile_type* physical_tile,
1041
1041
}
1042
1042
1043
1043
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) {
1047
1047
VTR_ASSERT (!vib_infs.empty ());
1048
1048
for (auto & vib_inf : vib_infs) {
1049
1049
for (size_t i_switch = 0 ; i_switch < switches.size (); i_switch++) {
0 commit comments