vpr/src/place/place.cpp
/*only count non-global connections */
only count non-global connections
only count non - global connections
static int count_connections() {
    int count = 0;
    auto& cluster_ctx = g_vpr_ctx.clustering();
    for (auto net_id : cluster_ctx.clb_nlist.nets()) {
        if (cluster_ctx.clb_nlist.net_is_ignored(net_id))
            continue;
        count += cluster_ctx.clb_nlist.net_sinks(net_id).size();
    }
    return (count);
}
static int count_connections ( ) { int count = 0 ; auto & cluster_ctx = g_vpr_ctx . clustering ( ) ; for ( auto net_id : cluster_ctx . clb_nlist . nets ( ) ) { if ( cluster_ctx . clb_nlist . net_is_ignored ( net_id ) ) continue ; count += cluster_ctx . clb_nlist . net_sinks ( net_id ) . size ( ) ; } return ( count ) ; }
only count non-global connections
only count non - global connections