Skip to content

Commit af9ff0d

Browse files
joaomaiAcKoucher
authored andcommitted
mpl: leaf cluster splitting by replacement only
Signed-off-by: João Mai <jmai@precisioninno.com>
1 parent 15ab968 commit af9ff0d

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/mpl/src/clusterEngine.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1978,14 +1978,14 @@ void ClusteringEngine::breakMixedLeaves(
19781978
// A1 A2 A3
19791979
void ClusteringEngine::breakMixedLeaf(Cluster* mixed_leaf)
19801980
{
1981-
Cluster* parent = mixed_leaf;
1981+
Cluster* parent = mixed_leaf->getParent();
19821982
const float macro_dominated_cluster_ratio = 0.01;
19831983

19841984
// Split by replacement if macro dominated.
1985-
if (mixed_leaf->getNumStdCell() * macro_dominated_cluster_ratio
1986-
< mixed_leaf->getNumMacro()) {
1987-
parent = mixed_leaf->getParent();
1988-
}
1985+
//if (mixed_leaf->getNumStdCell() * macro_dominated_cluster_ratio
1986+
// < mixed_leaf->getNumMacro()) {
1987+
// parent = mixed_leaf->getParent();
1988+
//}
19891989

19901990
mapMacroInCluster2HardMacro(mixed_leaf);
19911991

0 commit comments

Comments
 (0)