Skip to content

Commit

Permalink
Merge pull request verilog-to-routing#2467 from verilog-to-routing/3d…
Browse files Browse the repository at this point in the history
…_bounding_box

Resolve Bug in Setting Bounding for High Fan-Out Nets
  • Loading branch information
amin1377 authored Jan 23, 2024
2 parents 9c0e910 + 3920ced commit 6ad1de4
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 49 deletions.
2 changes: 1 addition & 1 deletion vpr/src/route/connection_router.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ inline void adjust_highfanout_bounding_box(t_bb& bb, const t_bb& net_bb) {
bb.xmax = std::min<int>(net_bb.xmax, bb.xmax + HIGH_FANOUT_BB_FAC);
bb.ymax = std::min<int>(net_bb.ymax, bb.ymax + HIGH_FANOUT_BB_FAC);
bb.layer_min = std::min<int>(net_bb.layer_min, bb.layer_min);
bb.layer_max = std::min<int>(net_bb.layer_min, bb.layer_max);
bb.layer_max = std::max<int>(net_bb.layer_max, bb.layer_max);
}

template<typename Heap>
Expand Down
Loading

0 comments on commit 6ad1de4

Please sign in to comment.