Skip to content

Commit

Permalink
Use a maximum expanded width when using Coloquinte expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
Coloquinte committed Dec 6, 2023
1 parent c9ea01c commit e140f88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion etesian/src/EtesianEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,8 @@ namespace Etesian {

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

_circuit->check();
_placementLB = new coloquinte::PlacementSolution ();
Expand Down
2 changes: 1 addition & 1 deletion subprojects/coloquinte

0 comments on commit e140f88

Please sign in to comment.