Skip to content

Commit 9b35d59

Browse files
add chanz to is_inter_cluster_node
1 parent 3aeb6fb commit 9b35d59

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

libs/librrgraph/src/base/rr_graph_utils.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ static void rr_walk_cluster_recursive(const RRGraphView& rr_graph,
2121

2222
static void rr_walk_cluster_recursive(const RRGraphView& rr_graph,
2323
const vtr::vector<RRNodeId, std::vector<RREdgeId>>& fanins,
24-
std::unordered_set<RRNodeId>& sink_ipins,
25-
const RRNodeId curr,
26-
const RRNodeId origin) {
24+
std::unordered_set<RRNodeId>& sink_ipins,
25+
const RRNodeId curr,
26+
const RRNodeId origin) {
2727
// Make sure SINK in the same cluster as origin
2828
int curr_x = rr_graph.node_xlow(curr);
2929
int curr_y = rr_graph.node_ylow(curr);

vpr/src/util/vpr_utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1645,7 +1645,7 @@ std::vector<const t_pb_graph_node*> get_all_pb_graph_node_primitives(const t_pb_
16451645
bool is_inter_cluster_node(const RRGraphView& rr_graph_view,
16461646
RRNodeId node_id) {
16471647
auto node_type = rr_graph_view.node_type(node_id);
1648-
if (node_type == e_rr_type::CHANX || node_type == e_rr_type::CHANY) {
1648+
if (node_type == e_rr_type::CHANX || node_type == e_rr_type::CHANY || node_type == e_rr_type::CHANZ) {
16491649
return true;
16501650
} else {
16511651
int x_low = rr_graph_view.node_xlow(node_id);

0 commit comments

Comments
 (0)