Skip to content

Commit 69304fe

Browse files
committed
remove direction call for sink
1 parent b382e74 commit 69304fe

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

vpr/src/route/sink_sampling.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,8 @@ inline void convex_hull_downsample(ParentNetId net_id, const t_bb& net_bb, vtr::
145145
RRNodeId rr_sink = route_ctx.net_rr_terminals[net_id][i];
146146
if (!inside_bb(rr_sink, net_bb))
147147
continue;
148-
Direction dir = rr_graph.node_direction(rr_sink);
149-
int x = dir == Direction::DEC ? rr_graph.node_xhigh(rr_sink) : rr_graph.node_xlow(rr_sink);
150-
int y = dir == Direction::DEC ? rr_graph.node_yhigh(rr_sink) : rr_graph.node_ylow(rr_sink);
148+
int x = rr_graph.node_xlow(rr_sink);
149+
int y = rr_graph.node_ylow(rr_sink);
151150
SinkPoint point{x, y, int(i)};
152151
sink_points.push_back(point);
153152
}

0 commit comments

Comments
 (0)