@@ -345,7 +345,7 @@ static void process_clock_routing(pugi::xml_node parent,
345345 const std::vector<t_arch_switch_inf>& switches,
346346 pugiutil::loc_data& loc_data);
347347
348- static std::vector<t_segment_inf> process_segments (pugi::xml_node Parent ,
348+ static std::vector<t_segment_inf> process_segments (pugi::xml_node parent ,
349349 const std::vector<t_arch_switch_inf>& switches,
350350 int num_layers,
351351 const bool timing_enabled,
@@ -3804,7 +3804,7 @@ static void process_complex_blocks(pugi::xml_node Node,
38043804 }
38053805}
38063806
3807- static std::vector<t_segment_inf> process_segments (pugi::xml_node Parent ,
3807+ static std::vector<t_segment_inf> process_segments (pugi::xml_node parent ,
38083808 const std::vector<t_arch_switch_inf>& switches,
38093809 int num_layers,
38103810 const bool timing_enabled,
@@ -3817,16 +3817,16 @@ static std::vector<t_segment_inf> process_segments(pugi::xml_node Parent,
38173817 pugi::xml_node SubElem;
38183818 pugi::xml_node Node;
38193819
3820- // Count the number of segs and check they are in fact of segment elements .
3821- int num_segs = count_children (Parent , " segment" , loc_data);
3820+ // Count the number of segs specified in the architecture file .
3821+ int num_segs = count_children (parent , " segment" , loc_data);
38223822
38233823 // Alloc segment list
38243824 if (num_segs > 0 ) {
38253825 Segs.resize (num_segs);
38263826 }
38273827
38283828 // Load the segments.
3829- Node = get_first_child (Parent , " segment" , loc_data);
3829+ Node = get_first_child (parent , " segment" , loc_data);
38303830
38313831 bool x_axis_seg_found = false ; // Flags to see if we have any x-directed segment type specified
38323832 bool y_axis_seg_found = false ; // Flags to see if we have any y-directed segment type specified
0 commit comments