Skip to content

Commit 75f1bed

Browse files
committed
lookahead map: better method encapsulation in lookahead class
Also extracts the CostMap functions and class in a separate file to keep things well separated. Signed-off-by: Alessandro Comodi <[email protected]>
1 parent d689840 commit 75f1bed

13 files changed

+1476
-2602
lines changed

vpr/src/place/place_delay_model.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#include "place_delay_model.h"
33
#include "globals.h"
44
#include "router_lookahead_map.h"
5+
#include "router_lookahead_cost_map.h"
56
#include "rr_graph2.h"
67

78
#include "timing_place_lookup.h"

vpr/src/route/route_timing.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
#include "connection_router.h"
3838

3939
#include "router_lookahead_map.h"
40-
#include "router_lookahead_extended_map.h"
4140

4241
#include "tatum/TimingReporter.hpp"
4342

vpr/src/route/router_lookahead.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#include "router_lookahead.h"
22

33
#include "router_lookahead_map.h"
4-
#include "router_lookahead_extended_map.h"
54
#include "vpr_error.h"
65
#include "globals.h"
76
#include "route_timing.h"
@@ -14,8 +13,6 @@ static std::unique_ptr<RouterLookahead> make_router_lookahead_object(e_router_lo
1413
return std::make_unique<ClassicLookahead>();
1514
} else if (router_lookahead_type == e_router_lookahead::MAP) {
1615
return std::make_unique<MapLookahead>();
17-
} else if (router_lookahead_type == e_router_lookahead::EXTENDED_MAP) {
18-
return std::make_unique<ExtendedMapLookahead>();
1916
} else if (router_lookahead_type == e_router_lookahead::NO_OP) {
2017
return std::make_unique<NoOpLookahead>();
2118
}

0 commit comments

Comments
 (0)