vpr/src/device/write_xml_rr_graph_obj.cpp
/* Segment information in the t_segment_inf data structure is written out.
 * Information includes segment id, name, and optional timing parameters
 */
Segment information in the t_segment_inf data structure is written out.
Information includes segment id, name, and optional timing parameters
Segment information in the t_segment_inf data structure is written out . Information includes segment id name and optional timing parameters
static 
void write_rr_graph_segments(fstream &fp, const RRGraph& rr_graph) {
  fp << "\t<segments>" << endl;
  for (auto seg : rr_graph.segments()) {
    fp << "\t\t<segment id=\"" << rr_graph.segment_index(seg) <<
          "\" name=\"" << rr_graph.get_segment(seg).name << "\">" << endl;
    fp << "\t\t\t<timing R_per_meter=\"" << setprecision(FLOAT_PRECISION) << rr_graph.get_segment(seg).Rmetal <<
          "\" C_per_meter=\"" <<setprecision(FLOAT_PRECISION) << rr_graph.get_segment(seg).Cmetal << "\"/>" << endl;
    fp << "\t\t</segment>" << endl;
  }
  fp << "\t</segments>" << endl << endl;
  return;
}
static void write_rr_graph_segments ( fstream & fp , const RRGraph & rr_graph ) { fp << " \t " << endl ; for ( auto seg : rr_graph . segments ( ) ) { fp << " \t \t \" " << rr_graph . segment_index ( seg ) << " \" \" " << rr_graph . get_segment ( seg ) . name << " \" " << endl ; fp << " \t \t \t \" " << setprecision ( FLOAT_PRECISION ) << rr_graph . get_segment ( seg ) . Rmetal << " \" \" " << setprecision ( FLOAT_PRECISION ) << rr_graph . get_segment ( seg ) . Cmetal << " \" " << endl ; fp << " \t \t " << endl ; } fp << " \t " << endl << endl ; return ; }
Segment information in the t_segment_inf data structure is written out.
Segment information in the t_segment_inf data structure is written out .