libopenfpga/libarchopenfpga/src/read_xml_technology_library.cpp
/********************************************************************
 * Parse XML codes of RRAM models under a device model
 * to an object of technology library
 *******************************************************************/
Parse XML codes of RRAM models under a device model
to an object of technology library
Parse XML codes of RRAM models under a device model to an object of technology library
static 
void read_xml_device_rram(pugi::xml_node& xml_device_rram,
                          const pugiutil::loc_data& loc_data,
                          TechnologyLibrary& tech_lib,
                          TechnologyModelId& device_model) {
  tech_lib.set_rram_rlrs(device_model, get_attribute(xml_device_rram, "rlrs", loc_data).as_float(0.));
  tech_lib.set_rram_rhrs(device_model, get_attribute(xml_device_rram, "rhrs", loc_data).as_float(0.));
  tech_lib.set_rram_variation_name(device_model, get_attribute(xml_device_rram, "variation", loc_data).as_string());
}
static void read_xml_device_rram ( pugi :: xml_node & xml_device_rram , const pugiutil :: loc_data & loc_data , TechnologyLibrary & tech_lib , TechnologyModelId & device_model ) { tech_lib . set_rram_rlrs ( device_model , get_attribute ( xml_device_rram , " " , loc_data ) . as_float ( 0. ) ) ; tech_lib . set_rram_rhrs ( device_model , get_attribute ( xml_device_rram , " " , loc_data ) . as_float ( 0. ) ) ; tech_lib . set_rram_variation_name ( device_model , get_attribute ( xml_device_rram , " " , loc_data ) . as_string ( ) ) ; }
Parse XML codes of RRAM models under a device model
 to an object of technology library
Parse XML codes of RRAM models under a device model to an object of technology library
/* Parse the LRS and HRS resistance */ /* Parse the RRAM variation name */