Skip to content

Commit c62bf1b

Browse files
committed
Updating cut level.
1 parent 3dc77bb commit c62bf1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base/abci/abcPart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1816,7 +1816,7 @@ Vec_Ptr_t * Abc_NtkExtractPartitions( Abc_Ntk_t * pNtk, int Iter, int nSuppMax,
18161816
*pvIns = *pvOuts = *pvNodes = NULL;
18171817
return vWins;
18181818
}
1819-
int iUseRevL = Abc_Random(0) & 1;
1819+
int iUseRevL = Iter % 3 == 0 ? 0 : Abc_Random(0) & 1;
18201820
int LevelMax = iUseRevL ? Abc_NtkLevelR(pNtk) : Abc_NtkLevel(pNtk);
18211821
int LevelCut = Iter % 3 == 0 ? 0 : LevelMax > 8 ? 2 + (Abc_Random(0) % (LevelMax - 4)) : 0;
18221822
//printf( "Using %s cut level %d (out of %d)\n", iUseRevL ? "reverse": "direct", LevelCut, LevelMax );

0 commit comments

Comments
 (0)