55static void process_from_or_to_tokens (const std::vector<std::string> tokens,
66 const std::vector<t_physical_tile_type>& physical_tile_types,
77 const std::vector<t_segment_inf> segments,
8- std::vector<t_from_or_to_inf>& froms );
8+ std::vector<t_from_or_to_inf>& from_infos );
99
1010static void parse_pin_name (const char * src_string,
1111 int * start_pin_index,
@@ -16,7 +16,7 @@ static void parse_pin_name(const char* src_string,
1616static void process_from_or_to_tokens (const std::vector<std::string> tokens,
1717 const std::vector<t_physical_tile_type>& physical_tile_types,
1818 const std::vector<t_segment_inf> segments,
19- std::vector<t_from_or_to_inf>& froms ) {
19+ std::vector<t_from_or_to_inf>& from_infos ) {
2020 for (int i_token = 0 ; i_token < (int )tokens.size (); i_token++) {
2121 std::string curr_token = tokens[i_token];
2222 const char * Token_char = curr_token.c_str ();
@@ -25,7 +25,7 @@ static void process_from_or_to_tokens(const std::vector<std::string> tokens,
2525 t_from_or_to_inf from_inf;
2626 from_inf.type_name = splitted_tokens[0 ];
2727 from_inf.from_type = e_multistage_mux_from_or_to_type::MUX;
28- froms .push_back (from_inf);
28+ from_infos .push_back (from_inf);
2929 } else if (splitted_tokens.size () == 2 ) {
3030 std::string from_type_name = splitted_tokens[0 ];
3131 e_multistage_mux_from_or_to_type from_type;
@@ -83,7 +83,7 @@ static void process_from_or_to_tokens(const std::vector<std::string> tokens,
8383 from_inf.from_type = from_type;
8484 from_inf.type_index = i_phy_type;
8585 from_inf.phy_pin_index = all_sub_tile_to_tile_pin_indices[i];
86- froms .push_back (from_inf);
86+ from_infos .push_back (from_inf);
8787 }
8888 }
8989 }
@@ -102,7 +102,7 @@ static void process_from_or_to_tokens(const std::vector<std::string> tokens,
102102 from_inf.type_index = i_seg_type;
103103 from_inf.seg_dir = dir;
104104 from_inf.seg_index = seg_index;
105- froms .push_back (from_inf);
105+ from_infos .push_back (from_inf);
106106 }
107107
108108 break ;
@@ -217,7 +217,7 @@ void setup_vib_inf(const std::vector<t_physical_tile_type>& physical_tile_types,
217217 for (t_first_stage_mux_inf& first_stage : first_stages) {
218218 std::vector<std::vector<std::string>>& from_tokens = first_stage.from_tokens ;
219219 for (const std::vector<std::string>& from_token : from_tokens) {
220- process_from_or_to_tokens (from_token, physical_tile_types, segments, first_stage.froms );
220+ process_from_or_to_tokens (from_token, physical_tile_types, segments, first_stage.from_infos );
221221 }
222222 }
223223 vib_inf.set_first_stages (first_stages);
@@ -235,7 +235,7 @@ void setup_vib_inf(const std::vector<t_physical_tile_type>& physical_tile_types,
235235
236236 std::vector<std::vector<std::string>> from_tokens = second_stage.from_tokens ;
237237 for (const std::vector<std::string>& from_token : from_tokens) {
238- process_from_or_to_tokens (from_token, physical_tile_types, segments, second_stage.froms );
238+ process_from_or_to_tokens (from_token, physical_tile_types, segments, second_stage.from_infos );
239239 }
240240 }
241241 vib_inf.set_second_stages (second_stages);
0 commit comments