libopenfpga/libarchopenfpga/src/write_xml_config_protocol.cpp
/********************************************************************
 * A writer to output a configuration memory organization to XML format
 *******************************************************************/
A writer to output a configuration memory organization to XML format
A writer to output a configuration memory organization to XML format
static 
void write_xml_config_organization(std::fstream& fp,
                                   const char* fname,
                                   const ConfigProtocol& config_protocol,
                                   const CircuitLibrary& circuit_lib) {
  openfpga::check_file_stream(fname, fp);
  fp << "\t\t" << "<organization";
  write_xml_attribute(fp, "type", CONFIG_PROTOCOL_TYPE_STRING[config_protocol.type()]);
  write_xml_attribute(fp, "circuit_model_name", circuit_lib.model_name(config_protocol.memory_model()).c_str());
  fp << "/>" << "\n";
}
static void write_xml_config_organization ( std :: fstream & fp , const char * fname , const ConfigProtocol & config_protocol , const CircuitLibrary & circuit_lib ) { openfpga :: check_file_stream ( fname , fp ) ; fp << " \t \t " << " " ; write_xml_attribute ( fp , " " , CONFIG_PROTOCOL_TYPE_STRING [ config_protocol . type ( ) ] ) ; write_xml_attribute ( fp , " " , circuit_lib . model_name ( config_protocol . memory_model ( ) ) . c_str ( ) ) ; fp << " " << " \n " ; }
A writer to output a configuration memory organization to XML format
A writer to output a configuration memory organization to XML format
/* Validate the file stream */