Skip to content

Commit 5240fc9

Browse files
Fix scatter-gather tag being mandatory
1 parent c52afb3 commit 5240fc9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libs/libarchfpga/src/read_xml_arch_file.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,8 @@ void xml_read_arch(const char* ArchFile,
551551
process_noc_tag(Next, arch, loc_data);
552552
}
553553

554-
Next = get_single_child(architecture, "scatter_gather_list", loc_data);
554+
// Process scatter-gather patterns (optional)
555+
Next = get_single_child(architecture, "scatter_gather_list", loc_data, pugiutil::OPTIONAL);
555556
if (Next) {
556557
process_sg_tag(Next, arch, loc_data, arch->switches);
557558
}

0 commit comments

Comments
 (0)