libopenfpga/libarchopenfpga/src/write_xml_simulation_setting.cpp
/********************************************************************
 * A writer to output the delay measurement setting in a simulation setting to XML format
 *******************************************************************/
A writer to output the delay measurement setting in a simulation setting to XML format
A writer to output the delay measurement setting in a simulation setting to XML format
static 
void write_xml_delay_measurement(std::fstream& fp,
                                const char* fname,
                                const openfpga::SimulationSetting& sim_setting,
                                const e_sim_signal_type& signal_type) {
  openfpga::check_file_stream(fname, fp);
  fp << "\t\t\t" << "<" << SIM_SIGNAL_TYPE_STRING[signal_type];
  write_xml_attribute(fp, "input_thres_pct", sim_setting.measure_delay_input_threshold(signal_type));
  write_xml_attribute(fp, "output_thres_pct", sim_setting.measure_delay_output_threshold(signal_type));
  fp << "/>" << "\n";
}
static void write_xml_delay_measurement ( std :: fstream & fp , const char * fname , const openfpga :: SimulationSetting & sim_setting , const e_sim_signal_type & signal_type ) { openfpga :: check_file_stream ( fname , fp ) ; fp << " \t \t \t " << " " << SIM_SIGNAL_TYPE_STRING [ signal_type ] ; write_xml_attribute ( fp , " " , sim_setting . measure_delay_input_threshold ( signal_type ) ) ; write_xml_attribute ( fp , " " , sim_setting . measure_delay_output_threshold ( signal_type ) ) ; fp << " " << " \n " ; }
A writer to output the delay measurement setting in a simulation setting to XML format
A writer to output the delay measurement setting in a simulation setting to XML format
/* Validate the file stream */