mirror of
https://github.com/YosysHQ/abc.git
synced 2026-09-04 08:33:58 +02:00
Several recent bug fixes.
This commit is contained in:
@@ -482,6 +482,7 @@ Abc_Ntk_t * Abc_NtkIvyFraig( Abc_Ntk_t * pNtk, int nConfLimit, int fDoSparse, in
|
||||
}
|
||||
else
|
||||
pNtkAig = Abc_NtkIvyAfter( pNtk, pMan, 0, 0 );
|
||||
pNtkAig->pModel = (int *)pMan->pData; pMan->pData = NULL;
|
||||
Ivy_ManStop( pTemp );
|
||||
Ivy_ManStop( pMan );
|
||||
return pNtkAig;
|
||||
|
||||
@@ -2309,12 +2309,16 @@ Gia_Man_t * Wlc_NtkBitBlast( Wlc_Ntk_t * p, Wlc_BstPar_t * pParIn )
|
||||
char * pName = Wlc_ObjName(p, Wlc_ObjId(p, pObj));
|
||||
nRange = Wlc_ObjRange( pObj );
|
||||
if ( fSkipBitRange && nRange == 1 )
|
||||
Vec_PtrPush( pNew->vNamesOut, Abc_UtilStrsav(pName) );
|
||||
{
|
||||
char Buffer[1000];
|
||||
sprintf( Buffer, "%s_fi", pName );
|
||||
Vec_PtrPush( pNew->vNamesOut, Abc_UtilStrsav(Buffer) );
|
||||
}
|
||||
else
|
||||
for ( k = 0; k < nRange; k++ )
|
||||
{
|
||||
char Buffer[1000];
|
||||
sprintf( Buffer, "%s[%d]", pName, k );
|
||||
sprintf( Buffer, "%s_fi[%d]", pName, k );
|
||||
Vec_PtrPush( pNew->vNamesOut, Abc_UtilStrsav(Buffer) );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user