Skip to content

Commit 6ad1de4

Browse files
authored
Merge pull request #2467 from verilog-to-routing/3d_bounding_box
Resolve Bug in Setting Bounding for High Fan-Out Nets
2 parents 9c0e910 + 3920ced commit 6ad1de4

File tree

3 files changed

+49
-49
lines changed

3 files changed

+49
-49
lines changed

vpr/src/route/connection_router.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ inline void adjust_highfanout_bounding_box(t_bb& bb, const t_bb& net_bb) {
959959
bb.xmax = std::min<int>(net_bb.xmax, bb.xmax + HIGH_FANOUT_BB_FAC);
960960
bb.ymax = std::min<int>(net_bb.ymax, bb.ymax + HIGH_FANOUT_BB_FAC);
961961
bb.layer_min = std::min<int>(net_bb.layer_min, bb.layer_min);
962-
bb.layer_max = std::min<int>(net_bb.layer_min, bb.layer_max);
962+
bb.layer_max = std::max<int>(net_bb.layer_max, bb.layer_max);
963963
}
964964

965965
template<typename Heap>

0 commit comments

Comments
 (0)