Adding commands to generate data for experiments.

This commit is contained in:
Alan Mishchenko 2020-02-23 16:35:59 -08:00
parent c8894603b2
commit f433931075
4 changed files with 16 additions and 5 deletions

View File

@ -88,10 +88,6 @@ LINK32=link.exe
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE=.\src\base\abci\abc.c
# End Source File
# Begin Source File
SOURCE=.\src\base\main\main.c
# End Source File
# End Group

View File

@ -208,6 +208,7 @@ struct Gia_Man_t_
int nSimWordsMax;
Vec_Wrd_t * vSims;
Vec_Wrd_t * vSimsPi;
Vec_Wrd_t * vSimsPo;
Vec_Int_t * vClassOld;
Vec_Int_t * vClassNew;
// incremental simulation
@ -231,6 +232,13 @@ struct Gia_Man_t_
Vec_Wrd_t * vSuppWords; // support information
Vec_Int_t vCopiesTwo; // intermediate copies
Vec_Int_t vSuppVars; // used variables
// additional info
char * pUserFile;
Gia_Man_t * pUserSpec;
Gia_Man_t * pUserAig;
Vec_Ptr_t * vUserNames;
Vec_Wec_t * vUserNodes;
Vec_Int_t * vUserArray;
};

View File

@ -88,6 +88,12 @@ void Gia_ManStop( Gia_Man_t * p )
assert( p->pManTime == NULL );
Vec_PtrFreeFree( p->vNamesIn );
Vec_PtrFreeFree( p->vNamesOut );
ABC_FREE( p->pUserFile );
Gia_ManStopP( &p->pUserSpec );
Gia_ManStopP( &p->pUserAig );
Vec_PtrFreeFree( p->vUserNames );
Vec_WecFreeP( &p->vUserNodes );
Vec_IntFreeP( &p->vUserArray );
Vec_IntFreeP( &p->vSwitching );
Vec_IntFreeP( &p->vSuper );
Vec_IntFreeP( &p->vStore );
@ -95,6 +101,7 @@ void Gia_ManStop( Gia_Man_t * p )
Vec_IntFreeP( &p->vClassOld );
Vec_WrdFreeP( &p->vSims );
Vec_WrdFreeP( &p->vSimsPi );
Vec_WrdFreeP( &p->vSimsPo );
Vec_IntFreeP( &p->vTimeStamps );
Vec_FltFreeP( &p->vTiming );
Vec_VecFreeP( &p->vClockDoms );

View File

@ -7280,7 +7280,7 @@ int Abc_CommandRunTest( Abc_Frame_t * pAbc, int argc, char ** argv )
goto usage;
}
}
if ( argc - globalUtilOptind < 2 || argc - globalUtilOptind > 3 )
if ( argc - globalUtilOptind < 2 || argc - globalUtilOptind > 5 )
{
Abc_Print( 1, "Expecting two or three file names on the command line.\n" );
goto usage;