Skip to content

Commit

Permalink
call the correct version of determine_legal_directions_xd in odd even…
Browse files Browse the repository at this point in the history
… rotuing
  • Loading branch information
soheilshahrouz committed Aug 18, 2024
1 parent af31b4d commit feb308b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vpr/src/noc/odd_even_routing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ const std::vector<TurnModelRouting::Direction>& OddEvenRouting::get_legal_direct
returned_legal_direction.clear();

if (noc_model.is_noc_3d()) {
determine_legal_directions_2d(compressed_src_loc, compressed_curr_loc, compressed_dst_loc, prev_dir);
} else { // 2D NoC
determine_legal_directions_3d(compressed_src_loc, compressed_curr_loc, compressed_dst_loc, prev_dir);
} else { // 2D NoC
determine_legal_directions_2d(compressed_src_loc, compressed_curr_loc, compressed_dst_loc, prev_dir);
}

return returned_legal_direction;
Expand Down

0 comments on commit feb308b

Please sign in to comment.