mirror of https://github.com/YosysHQ/abc.git
Resetting the random seed in 'sparsify'.
This commit is contained in:
parent
7171812ff1
commit
ae7e286213
|
|
@ -655,6 +655,7 @@ Abc_Ntk_t * Abc_NtkSparsifyInternal( Abc_Ntk_t * pNtk, int nPerc, int fVerbose )
|
|||
// onset/offset
|
||||
for ( c = 0; c < 2; c++ )
|
||||
{
|
||||
Cudd_Srandom( 0 );
|
||||
Abc_NtkDupObj( pNtkNew, pDriver, 0 );
|
||||
Abc_ObjForEachFanin( pDriver, pFanin, k )
|
||||
Abc_ObjAddFanin( pDriver->pCopy, pFanin->pCopy );
|
||||
|
|
|
|||
Loading…
Reference in New Issue