From 4fcf92a3f05372f4c69008a9649cd89c5c298bef Mon Sep 17 00:00:00 2001 From: AlexandreSinger Date: Mon, 10 Jun 2024 13:55:38 -0400 Subject: [PATCH] [Route] Removed Unreachable Code In an old version of the router, a catch was made to exit the router with no solution and not to retry at max bounding box; however, the function was rewritten to explicitly do this. The old catch statement was left in the code and was unreachable. Removed the unreachable code. --- vpr/src/route/connection_router.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/vpr/src/route/connection_router.cpp b/vpr/src/route/connection_router.cpp index 3480814b4ea..2af58298fa3 100644 --- a/vpr/src/route/connection_router.cpp +++ b/vpr/src/route/connection_router.cpp @@ -116,11 +116,6 @@ std::tuple ConnectionRouter::timing_driven_route_connection return std::make_tuple(true, nullptr); } - if (cheapest == nullptr) { - VTR_LOG("%s\n", describe_unrouteable_connection(source_node, sink_node, is_flat_).c_str()); - return std::make_tuple(false, nullptr); - } - return std::make_tuple(false, cheapest); }