libopenfpga/libarchopenfpga/src/write_xml_simulation_setting.cpp
/********************************************************************
 * A writer to output a simulation setting to XML format
 *******************************************************************/
A writer to output a simulation setting to XML format
A writer to output a simulation setting to XML format
void write_xml_simulation_setting(std::fstream& fp,
                                  const char* fname,
                                  const openfpga::SimulationSetting& sim_setting) {
  openfpga::check_file_stream(fname, fp);
  fp << "<openfpga_simulation_setting>" << "\n";
  write_xml_clock_setting(fp, fname, sim_setting);
  write_xml_simulator_option(fp, fname, sim_setting);
  write_xml_monte_carlo(fp, fname, sim_setting);
  write_xml_measurement(fp, fname, sim_setting);
  write_xml_stimulus(fp, fname, sim_setting);
  fp << "</openfpga_simulation_setting>" << "\n";
}
void write_xml_simulation_setting ( std :: fstream & fp , const char * fname , const openfpga :: SimulationSetting & sim_setting ) { openfpga :: check_file_stream ( fname , fp ) ; fp << " " << " \n " ; write_xml_clock_setting ( fp , fname , sim_setting ) ; write_xml_simulator_option ( fp , fname , sim_setting ) ; write_xml_monte_carlo ( fp , fname , sim_setting ) ; write_xml_measurement ( fp , fname , sim_setting ) ; write_xml_stimulus ( fp , fname , sim_setting ) ; fp << " " << " \n " ; }
A writer to output a simulation setting to XML format
A writer to output a simulation setting to XML format
/* Validate the file stream */ /* Write the root node <openfpga_simulation_setting>
   */ /* Write clock settings */ /* Write simulator option */ /* Write monte carlo simulation setting */ /* Write measurement setting */ /* Write stimuli setting */ /* Write the root node <openfpga_simulation_setting> */