@@ -3818,11 +3818,11 @@ static std::vector<t_segment_inf> process_segments(pugi::xml_node Parent,
38183818 pugi::xml_node Node;
38193819
38203820 // Count the number of segs and check they are in fact of segment elements.
3821- int NumSegs = count_children (Parent, " segment" , loc_data);
3821+ int num_segs = count_children (Parent, " segment" , loc_data);
38223822
38233823 // Alloc segment list
3824- if (NumSegs > 0 ) {
3825- Segs.resize (NumSegs );
3824+ if (num_segs > 0 ) {
3825+ Segs.resize (num_segs );
38263826 }
38273827
38283828 // Load the segments.
@@ -3832,7 +3832,7 @@ static std::vector<t_segment_inf> process_segments(pugi::xml_node Parent,
38323832 bool y_axis_seg_found = false ; // Flags to see if we have any y-directed segment type specified
38333833 bool z_axis_seg_found = false ; // Flags to see if we have any z-directed segment type specified
38343834
3835- for (int i = 0 ; i < NumSegs ; ++i) {
3835+ for (int i = 0 ; i < num_segs ; ++i) {
38363836 /* Get segment name */
38373837 tmp = get_attribute (Node, " name" , loc_data, ReqOpt::OPTIONAL).as_string (nullptr );
38383838 if (tmp) {
@@ -4174,7 +4174,7 @@ static void process_bend(pugi::xml_node Node, t_segment_inf& segment, const int
41744174 part_len.push_back (list.size () + 1 - sum_len);
41754175}
41764176
4177- static void calculate_custom_SB_locations (const pugiutil::loc_data& loc_data,
4177+ static void calculate_custom_sb_locations (const pugiutil::loc_data& loc_data,
41784178 const pugi::xml_node& SubElem,
41794179 const int grid_width,
41804180 const int grid_height,
@@ -4299,7 +4299,7 @@ static void process_switch_blocks(pugi::xml_node Parent, t_arch* arch, const pug
42994299 // we have to parse the region specification and apply the SB pattern to all the locations fall into the specified
43004300 // region based on device width and height.
43014301 if (sb.specified_loc .x == ARCH_FPGA_UNDEFINED_VAL && sb.specified_loc .y == ARCH_FPGA_UNDEFINED_VAL) {
4302- calculate_custom_SB_locations (loc_data, SubElem, grid_width, grid_height, sb);
4302+ calculate_custom_sb_locations (loc_data, SubElem, grid_width, grid_height, sb);
43034303 }
43044304 }
43054305
0 commit comments