vpr/src/tileable_rr_graph/chan_node_details.cpp
/* Get the number of tracks that starts in this routing channel */
Get the number of tracks that starts in this routing channel
Get the number of tracks that starts in this routing channel
size_t ChanNodeDetails::get_num_starting_tracks(const e_direction& track_direction) const {
  size_t counter = 0;
  for (size_t itrack = 0; itrack < get_chan_width(); ++itrack) {
    if (track_direction != get_track_direction(itrack)) {
      continue;
    }
    if (false == is_track_start(itrack)) {
      continue;
    } 
    counter++;
  }  
  return counter;
}
size_t ChanNodeDetails :: get_num_starting_tracks ( const e_direction & track_direction ) const { size_t counter = 0 ; for ( size_t itrack = 0 ; itrack < get_chan_width ( ) ; ++ itrack ) { if ( track_direction != get_track_direction ( itrack ) ) { continue ; } if ( false == is_track_start ( itrack ) ) { continue ; } counter ++ ; } return counter ; }
Get the number of tracks that starts in this routing channel
Get the number of tracks that starts in this routing channel
/* Bypass unmatched track_direction */