libopenfpga/libarchopenfpga/src/write_xml_config_protocol.cpp
/********************************************************************
 * A writer to output a configuration protocol to XML format
 * Note:
 * This function should be run AFTER the function
 * link_config_protocol_to_circuit_library()
 *******************************************************************/
A writer to output a configuration protocol to XML format
Note:
This function should be run AFTER the function
link_config_protocol_to_circuit_library()
A writer to output a configuration protocol to XML format Note : This function should be run AFTER the function link_config_protocol_to_circuit_library ()
void write_xml_config_protocol(std::fstream& fp,
                               const char* fname,
                               const ConfigProtocol& config_protocol,
                               const CircuitLibrary& circuit_lib) {
  openfpga::check_file_stream(fname, fp);
  fp << "\t" << "<configuration_protocol>" << "\n";
  write_xml_config_organization(fp, fname, config_protocol, circuit_lib);
  fp << "\t" << "</configuration_protocol>" << "\n";
}
void write_xml_config_protocol ( std :: fstream & fp , const char * fname , const ConfigProtocol & config_protocol , const CircuitLibrary & circuit_lib ) { openfpga :: check_file_stream ( fname , fp ) ; fp << " \t " << " " << " \n " ; write_xml_config_organization ( fp , fname , config_protocol , circuit_lib ) ; fp << " \t " << " " << " \n " ; }
A writer to output a configuration protocol to XML format
 Note:
 This function should be run AFTER the function
 link_config_protocol_to_circuit_library()
A writer to output a configuration protocol to XML format Note : This function should be run AFTER the function link_config_protocol_to_circuit_library ()
/* Validate the file stream */ /* Write the root node */ /* Write configuration memory organization */ /* Finish writing the root node */