66 * help the developer build, and traverse tree (this is also sometimes referred to
77 * as the Document Object Model or DOM).
88 *
9- * For convenience, it often makes sense to use some wraper functions (provided in
9+ * For convenience, it often makes sense to use some wrapper functions (provided in
1010 * the pugiutil namespace of libvtrutil) which simplify loading an XML file and
1111 * error handling.
1212 *
@@ -429,7 +429,7 @@ void xml_read_arch(std::string_view arch_file,
429429 char* prop = get_attribute(architecture, "version", loc_data, ReqOpt::OPTIONAL).as_string(NULL);
430430 if (prop != NULL) {
431431 if (atof(prop) > atof(VPR_VERSION)) {
432- VTR_LOG_WARN( "This architecture version is for VPR %f while your current VPR version is " VPR_VERSION ", compatability issues may arise\n",
432+ VTR_LOG_WARN( "This architecture version is for VPR %f while your current VPR version is " VPR_VERSION ", compatibility issues may arise\n",
433433 atof(prop));
434434 }
435435 }
@@ -444,7 +444,7 @@ void xml_read_arch(std::string_view arch_file,
444444 next = get_single_child (architecture, " layout" , loc_data);
445445 process_layout (next, arch, loc_data, num_of_avail_layers);
446446
447- // Precess vib_layout
447+ // Process vib_layout
448448 next = get_single_child (architecture, " vib_layout" , loc_data, ReqOpt::OPTIONAL);
449449 if (next) {
450450 process_vib_layout (next, arch, loc_data);
@@ -2029,7 +2029,7 @@ static void process_fc(pugi::xml_node node,
20292029 }
20302030
20312031 /* Go through all the port/segment combinations and create the (potentially
2032- * overriden ) pin/seg Fc specifications */
2032+ * overridden ) pin/seg Fc specifications */
20332033 for (size_t iseg = 0 ; iseg < segments.size (); ++iseg) {
20342034 for (int icapacity = 0 ; icapacity < sub_tile->capacity .total (); ++icapacity) {
20352035 // If capacity > 0, we need t offset the block index by the number of pins per instance
@@ -3610,7 +3610,7 @@ static void process_pin_locations(pugi::xml_node Locations,
36103610 if (!port_pins_with_specified_locations[iinst][port.name ].contains (ipin)) {
36113611 // Missing
36123612 archfpga_throw (loc_data.filename_c_str (), loc_data.line (Locations),
3613- vtr::string_fmt (" Pin '%s[%d].%s[%d]' has no pin location specificed (a location is required for pattern=\" custom\" )" ,
3613+ vtr::string_fmt (" Pin '%s[%d].%s[%d]' has no pin location specified (a location is required for pattern=\" custom\" )" ,
36143614 sub_tile->name .c_str (), iinst, port.name , ipin)
36153615 .c_str ());
36163616 }
@@ -3820,7 +3820,7 @@ static std::vector<t_segment_inf> process_segments(pugi::xml_node parent,
38203820 if (tmp) {
38213821 segs[i].name = tmp;
38223822 } else {
3823- /* if swich block is "custom", then you have to provide a name for segment */
3823+ /* if switch block is "custom", then you have to provide a name for segment */
38243824 if (switchblocklist_required) {
38253825 archfpga_throw (loc_data.filename_c_str (), loc_data.line (node),
38263826 vtr::string_fmt (" No name specified for the segment #%d.\n " , i).c_str ());
0 commit comments