vpr/src/tileable_rr_graph/chan_node_details.cpp
/* Update the node_ids from a vector */
Update the node_ids from a vector
Update the node_ids from a vector
void ChanNodeDetails::set_track_node_ids(const std::vector<size_t>& track_node_ids) {
  VTR_ASSERT ( get_chan_width() == track_node_ids.size() );
  for (size_t inode = 0; inode < track_node_ids.size(); ++inode) {
    track_node_ids_[inode] = track_node_ids[inode]; 
  }
}
void ChanNodeDetails :: set_track_node_ids ( const std :: vector < size_t > & track_node_ids ) { VTR_ASSERT ( get_chan_width ( ) == track_node_ids . size ( ) ) ; for ( size_t inode = 0 ; inode < track_node_ids . size ( ) ; ++ inode ) { track_node_ids_ [ inode ] = track_node_ids [ inode ] ; } }
Update the node_ids from a vector
Update the node_ids from a vector
/* the size of vector should match chan_width */