Skip to content

Commit 097d019

Browse files
acomodivaughnbetz
authored andcommitted
lookahead_extended_map: allow also IPIN node type in assertion
Signed-off-by: Alessandro Comodi <[email protected]>
1 parent f51482e commit 097d019

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/route/router_lookahead_extended_map.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ float ExtendedMapLookahead::get_chan_ipin_delays(RRNodeId to_node) const {
144144
auto& rr_graph = device_ctx.rr_nodes;
145145

146146
e_rr_type to_type = rr_graph.node_type(to_node);
147-
VTR_ASSERT(to_type == SINK);
147+
VTR_ASSERT(to_type == SINK || to_type == IPIN);
148148

149149
auto to_tile_type = device_ctx.grid[rr_graph.node_xlow(to_node)][rr_graph.node_ylow(to_node)].type;
150150
auto to_tile_index = to_tile_type->index;

0 commit comments

Comments
 (0)