summaryrefslogtreecommitdiffstats
path: root/src/base
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2019-03-08 07:24:45 +0100
committerAlan Mishchenko <alanmi@berkeley.edu>2019-03-08 07:24:45 +0100
commitef599dca94a3996d13bb308555a92c8baeb66c4f (patch)
treeefd26dd39640645909031f7ec43ebba7d160cb48 /src/base
parent797aeee5d7f0ca5537ca2e53e3c9261ef165f68d (diff)
downloadabc-ef599dca94a3996d13bb308555a92c8baeb66c4f.tar.gz
abc-ef599dca94a3996d13bb308555a92c8baeb66c4f.tar.bz2
abc-ef599dca94a3996d13bb308555a92c8baeb66c4f.zip
Updated functional enumation code.
Diffstat (limited to 'src/base')
-rw-r--r--src/base/abci/abc.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c
index b30970ed..3d06fbf0 100644
--- a/src/base/abci/abc.c
+++ b/src/base/abci/abc.c
@@ -45683,7 +45683,7 @@ usage:
***********************************************************************/
int Abc_CommandAbc9Test( Abc_Frame_t * pAbc, int argc, char ** argv )
{
-// Gia_Man_t * pTemp = NULL;
+ Gia_Man_t * pTemp = NULL;
int c, fVerbose = 0;
int nFrames = 5;
int fSwitch = 0;
@@ -45713,7 +45713,8 @@ int Abc_CommandAbc9Test( Abc_Frame_t * pAbc, int argc, char ** argv )
// extern void Gia_ParTest( Gia_Man_t * p, int nWords, int nProcs );
// extern void Gia_ManTisTest( Gia_Man_t * pInit );
// extern void Gia_StoComputeCuts( Gia_Man_t * p );
- extern void Abc_BddGiaTest( Gia_Man_t * pGia, int fVerbose );
+// extern void Abc_BddGiaTest( Gia_Man_t * pGia, int fVerbose );
+ extern Gia_Man_t * Dau_ConstructAigFromFile( char * pFileName );
Extra_UtilGetoptReset();
while ( ( c = Extra_UtilGetopt( argc, argv, "WPFsvh" ) ) != EOF )
@@ -45765,11 +45766,11 @@ int Abc_CommandAbc9Test( Abc_Frame_t * pAbc, int argc, char ** argv )
goto usage;
}
}
- if ( pAbc->pGia == NULL )
- {
- Abc_Print( -1, "Abc_CommandAbc9Test(): There is no AIG.\n" );
- return 1;
- }
+// if ( pAbc->pGia == NULL )
+// {
+// Abc_Print( -1, "Abc_CommandAbc9Test(): There is no AIG.\n" );
+// return 1;
+// }
/*
if ( pAbc->pCex == NULL )
{
@@ -45831,6 +45832,8 @@ int Abc_CommandAbc9Test( Abc_Frame_t * pAbc, int argc, char ** argv )
// pTemp = Slv_ManToAig( pAbc->pGia );
// Abc_FrameUpdateGia( pAbc, pTemp );
// Extra_TestGia2( pAbc->pGia );
+ pTemp = Dau_ConstructAigFromFile( "lib4var2.txt" );
+ Abc_FrameUpdateGia( pAbc, pTemp );
return 0;
usage:
Abc_Print( -2, "usage: &test [-FW num] [-svh]\n" );