libopenfpga/libarchopenfpga/src/read_xml_technology_library.cpp
/********************************************************************
 * Parse XML codes of design parameters under a device model
 * to an object of technology library
 *******************************************************************/
Parse XML codes of design parameters under a device model
to an object of technology library
Parse XML codes of design parameters under a device model to an object of technology library
static 
void read_xml_device_model_design_settings(pugi::xml_node& xml_device_model_design,
                                           const pugiutil::loc_data& loc_data,
                                           TechnologyLibrary& tech_lib,
                                           TechnologyModelId& device_model) {
  tech_lib.set_model_vdd(device_model, get_attribute(xml_device_model_design, "vdd", loc_data).as_float(0.));
  tech_lib.set_model_pn_ratio(device_model, get_attribute(xml_device_model_design, "pn_ratio", loc_data).as_float(0.));
}
static void read_xml_device_model_design_settings ( pugi :: xml_node & xml_device_model_design , const pugiutil :: loc_data & loc_data , TechnologyLibrary & tech_lib , TechnologyModelId & device_model ) { tech_lib . set_model_vdd ( device_model , get_attribute ( xml_device_model_design , " " , loc_data ) . as_float ( 0. ) ) ; tech_lib . set_model_pn_ratio ( device_model , get_attribute ( xml_device_model_design , " " , loc_data ) . as_float ( 0. ) ) ; }
Parse XML codes of design parameters under a device model
 to an object of technology library
Parse XML codes of design parameters under a device model to an object of technology library
/* Parse the vdd to be used in circuit design */ /* Parse the width ratio between PMOS and NMOS transistor */