Skip to content

Commit 15d69c5

Browse files
committed
[vpr][route][crr] fix lookup manager bug
1 parent a135426 commit 15d69c5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

vpr/src/route/rr_graph_generation/tileable_rr_graph/crr_generator/node_lookup_manager.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#include "node_lookup_manager.h"
22

3+
#include "rr_graph_utils.h"
4+
35
#include "vtr_log.h"
46
#include "vtr_assert.h"
57

@@ -92,8 +94,9 @@ void NodeLookupManager::clear() {
9294
}
9395

9496
NodeHash NodeLookupManager::build_node_hash(RRNodeId node_id) const {
95-
const std::string& node_ptcs = rr_graph_.rr_nodes().node_ptc_nums_to_string(node_id);
96-
return std::make_tuple(rr_graph_.node_type(node_id), node_ptcs,
97+
const std::string& node_ptcs = node_ptc_number_to_string(rr_graph_, node_id);
98+
return std::make_tuple(rr_graph_.node_type(node_id),
99+
node_ptcs,
97100
rr_graph_.node_xlow(node_id), rr_graph_.node_xhigh(node_id),
98101
rr_graph_.node_ylow(node_id), rr_graph_.node_yhigh(node_id));
99102
}

0 commit comments

Comments
 (0)