Skip to content

Commit e140f88

Browse files
committed
Use a maximum expanded width when using Coloquinte expansion
1 parent c9ea01c commit e140f88

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

etesian/src/EtesianEngine.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,8 @@ namespace Etesian {
10461046

10471047
// Apply changes to match target density variation; we add a small margin to be safer
10481048
float rowSideMarginInCellHeight = 0.3;
1049-
_circuit->expandCellsToDensity(1.0 - getDensityVariation(), rowSideMarginInCellHeight);
1049+
float maxExpansionInRowWidth = 1.0 / 8.0;
1050+
_circuit->expandCellsToDensity(1.0 - getDensityVariation(), rowSideMarginInCellHeight, maxExpansionInRowWidth);
10501051

10511052
_circuit->check();
10521053
_placementLB = new coloquinte::PlacementSolution ();

0 commit comments

Comments
 (0)