vpr/src/device/rr_graph_obj.cpp
/* check if all the nodes' output edges are valid */
check if all the nodes' output edges are valid
check if all the nodes ' output edges are valid
bool RRGraph::validate_nodes_out_edges() const {
    bool all_valid = true;
    for (size_t id = 0; id < num_nodes_; ++id) {
        if (!valid_node_id(RRNodeId(id))) {
            continue;
        }
        if (true == validate_node_out_edges(RRNodeId(id))) {
            continue;
        }
        all_valid = false;
    }
    return all_valid;
}
bool RRGraph :: validate_nodes_out_edges ( ) const { bool all_valid = true ; for ( size_t id = 0 ; id < num_nodes_ ; ++ id ) { if ( ! valid_node_id ( RRNodeId ( id ) ) ) { continue ; } if ( true == validate_node_out_edges ( RRNodeId ( id ) ) ) { continue ; } all_valid = false ; } return all_valid ; }
check if all the nodes' output edges are valid
check if all the nodes ' output edges are valid
/* Try to find if this is an invalid id or not */ /* Skip this id */ /* Reach here, it means there is something wrong! 
         * Print a warning  
         */