libopenfpga/libarchopenfpga/src/read_xml_technology_library.cpp
/********************************************************************
 * Parse XML codes of a <variation_library> to an object of technology library
 *******************************************************************/
Parse XML codes of a  to an object of technology library
Parse XML codes of a to an object of technology library
static 
void read_xml_variation_lib(pugi::xml_node& xml_variation_lib,
                            const pugiutil::loc_data& loc_data,
                            TechnologyLibrary& tech_lib) {
  for (pugi::xml_node xml_device_variation : xml_variation_lib.children()) {
    if (xml_device_variation.name() != std::string("variation")) {
      bad_tag(xml_device_variation, loc_data, xml_variation_lib, {"variation"});
    }
    read_xml_device_variation(xml_device_variation, loc_data, tech_lib);
  } 
}
static void read_xml_variation_lib ( pugi :: xml_node & xml_variation_lib , const pugiutil :: loc_data & loc_data , TechnologyLibrary & tech_lib ) { for ( pugi :: xml_node xml_device_variation : xml_variation_lib . children ( ) ) { if ( xml_device_variation . name ( ) != std :: string ( " " ) ) { bad_tag ( xml_device_variation , loc_data , xml_variation_lib , { " " } ) ; } read_xml_device_variation ( xml_device_variation , loc_data , tech_lib ) ; } }
Parse XML codes of a <variation_library> to an object of technology library
Parse XML codes of a <variation_library > to an object of technology library
/* Iterate over the children under this node,
   * each child should be named after <variation>
   */ /* Error out if the XML child has an invalid name! */