File tree 2 files changed +6
-6
lines changed 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -202,11 +202,11 @@ class RRGraphView {
202
202
// and the end to the lower coordinate
203
203
start_x = " (" + std::to_string (node_xhigh (node)) + " ," ; // start and end coordinates are the same for OPINs and IPINs
204
204
start_y = std::to_string (node_yhigh (node)) + " )" ;
205
- end_x = " " ;
206
- end_y = " " ;
207
- arrow = " " ;
208
- }
209
- if (node_type (node) == CHANX || node_type (node) == CHANY) { // for channels, we would like to describe the component with segment specific information
205
+ } else if ( node_type (node) == SOURCE || node_type (node) == SINK) {
206
+ // For SOURCE and SINK the starting and ending coordinate are identical, so just use start
207
+ start_x = " ( " + std::to_string ( node_xhigh (node)) + " , " ;
208
+ start_y = std::to_string ( node_yhigh (node)) + " ) " ;
209
+ } else if (node_type (node) == CHANX || node_type (node) == CHANY) { // for channels, we would like to describe the component with segment specific information
210
210
RRIndexedDataId cost_index = node_cost_index (node);
211
211
int seg_index = rr_indexed_data_[cost_index].seg_index ;
212
212
coordinate_string += rr_segments_[seg_index].name ; // Write the segment name
Original file line number Diff line number Diff line change @@ -2464,7 +2464,7 @@ std::string describe_rr_node(int inode) {
2464
2464
msg += vtr::string_fmt (" fan-in: %d" , rr_graph.node_fan_in (RRNodeId (inode)));
2465
2465
msg += vtr::string_fmt (" fan-out: %d" , rr_node.num_edges ());
2466
2466
2467
- msg += rr_graph.node_coordinate_to_string (RRNodeId (inode));
2467
+ msg += " " + rr_graph.node_coordinate_to_string (RRNodeId (inode));
2468
2468
2469
2469
return msg;
2470
2470
}
You can’t perform that action at this time.
0 commit comments