From 113119bd8e746768bef924d51435300f827112d3 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Sun, 17 Jan 2021 10:39:55 -0700 Subject: [PATCH] [Lib] Fix the bug in repack design constraint parser --- .../librepackdc/src/read_xml_repack_design_constraints.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libopenfpga/librepackdc/src/read_xml_repack_design_constraints.cpp b/libopenfpga/librepackdc/src/read_xml_repack_design_constraints.cpp index 47f10a156..dbf773748 100644 --- a/libopenfpga/librepackdc/src/read_xml_repack_design_constraints.cpp +++ b/libopenfpga/librepackdc/src/read_xml_repack_design_constraints.cpp @@ -66,7 +66,7 @@ RepackDesignConstraints read_xml_repack_design_constraints(const char* design_co try { loc_data = pugiutil::load_xml(doc, design_constraint_fname); - pugi::xml_node xml_root = get_single_child(doc, "repack_design_constraint", loc_data); + pugi::xml_node xml_root = get_single_child(doc, "repack_design_constraints", loc_data); size_t num_design_constraints = std::distance(xml_root.children().begin(), xml_root.children().end()); /* Reserve memory space for the region */