Bug fix in saving AIG attributes in &save and &load.

This commit is contained in:
Alan Mishchenko 2015-03-22 11:01:26 +07:00
parent 8095c2d1ad
commit 5f77e7ae8f
1 changed files with 6 additions and 0 deletions

View File

@ -624,6 +624,12 @@ Gia_Man_t * Gia_ManDupWithAttributes( Gia_Man_t * p )
pNew->pAigExtra = Gia_ManDup( p->pAigExtra );
if ( p->nAnd2Delay )
pNew->nAnd2Delay = p->nAnd2Delay;
if ( p->vRegClasses )
pNew->vRegClasses = Vec_IntDup( p->vRegClasses );
if ( p->vConfigs )
pNew->vConfigs = Vec_IntDup( p->vConfigs );
if ( p->pCellStr )
pNew->pCellStr = Abc_UtilStrsav( p->pCellStr );
return pNew;
}