@@ -245,26 +245,15 @@ TEST_CASE("test_route_flow", "[vpr_noc_odd_even_routing]") {
245245 }
246246
247247 traffic_flow_storage.finished_noc_traffic_flows_setup ();
248- std::cout << " after finished " << std::endl;
249248
250249 vtr::vector<NocTrafficFlowId, std::vector<NocLinkId>> traffic_flow_routes (traffic_flow_storage.get_number_of_traffic_flows ());
251- std::cout << " Size: " << traffic_flow_routes.size () << std::endl;
252250
253- std::cout << " getting pairs" << std::endl;
254- std::cout << " getting pairs " << traffic_flow_storage.get_all_traffic_flows ().size () << std::endl;
255- const auto & all_pairs = traffic_flow_storage.get_all_traffic_flows ().pairs ();
256- std::cout << " got pairs" << std::endl;
257-
258- for (const auto & [id, traffic_flow] : all_pairs) {
259-
260- std::cout << " loop: " << (size_t )id << " " << (size_t )traffic_flow.source_router_cluster_id << " " << (size_t )traffic_flow.sink_router_cluster_id << std::endl;
251+ for (const auto & [id, traffic_flow] : traffic_flow_storage.get_all_traffic_flows ().pairs ()) {
261252 NocRouterId src_router_id = noc_model.get_router_at_grid_location (block_locs[traffic_flow.source_router_cluster_id ].loc );
262253 NocRouterId dst_router_id = noc_model.get_router_at_grid_location (block_locs[traffic_flow.sink_router_cluster_id ].loc );
263254
264- std::cout <<" before route" << std::endl;
265255 REQUIRE_NOTHROW (routing_algorithm.route_flow (src_router_id, dst_router_id,
266256 id, traffic_flow_routes[id], noc_model));
267- std::cout <<" after route" << std::endl;
268257 }
269258
270259 ChannelDependencyGraph cdg (noc_model, traffic_flow_storage, traffic_flow_routes, block_locs);
0 commit comments