vpr/src/route/rr_graph.cpp
//Collects the sets of connected non-configurable edges in the RR graph
Collects the sets of connected non-configurable edges in the RR graph
Collects the sets of connected non - configurable edges in the RR graph
static void create_edge_groups(EdgeGroups* groups) {
    auto& device_ctx = g_vpr_ctx.device();
    groups->set_node_count(device_ctx.rr_graph.nodes().size());
    for (const RRNodeId& inode : device_ctx.rr_graph.nodes()) {
        expand_non_configurable(inode, groups);
    }
    groups->create_sets();
}
static void create_edge_groups ( EdgeGroups * groups ) { auto & device_ctx = g_vpr_ctx . device ( ) ; groups -> set_node_count ( device_ctx . rr_graph . nodes ( ) . size ( ) ) ; for ( const RRNodeId & inode : device_ctx . rr_graph . nodes ( ) ) { expand_non_configurable ( inode , groups ) ; } groups -> create_sets ( ) ; }
Collects the sets of connected non-configurable edges in the RR graph
Collects the sets of connected non - configurable edges in the RR graph
//Walk through the RR graph and recursively expand non-configurable edges //to collect the sets of non-configurably connected nodes