vpr/src/route/rr_graph_clock.cpp
// Clock network information comes from the arch file
Clock network information comes from the arch file
Clock network information comes from the arch file
void ClockRRGraphBuilder::create_clock_networks_wires(std::vector<std::unique_ptr<ClockNetwork>>& clock_networks,
                                                      int num_segments) {
    for (auto& clock_network : clock_networks) {
        clock_network->create_rr_nodes_for_clock_network_wires(*this, num_segments);
    }
    auto& rr_graph = g_vpr_ctx.mutable_device().rr_graph;
    rr_graph.compress();
}
void ClockRRGraphBuilder :: create_clock_networks_wires ( std :: vector < std :: unique_ptr < ClockNetwork > > & clock_networks , int num_segments ) { for ( auto & clock_network : clock_networks ) { clock_network -> create_rr_nodes_for_clock_network_wires ( * this , num_segments ) ; } auto & rr_graph = g_vpr_ctx . mutable_device ( ) . rr_graph ; rr_graph . compress ( ) ; }
Clock network information comes from the arch file
Clock network information comes from the arch file
// Add rr_nodes for each clock network wire // Reduce the capacity of rr_nodes for performance