summaryrefslogtreecommitdiffstats
path: root/src/aig/gia
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2017-01-14 20:28:26 +0700
committerAlan Mishchenko <alanmi@berkeley.edu>2017-01-14 20:28:26 +0700
commit1b86911c4fe0b193c3a281e823de7934664da798 (patch)
tree44e3f3fe59361848443f9952b3247db0b94d80a6 /src/aig/gia
parent79701f8b4603596095d3d04a13018c8e9598f7a0 (diff)
downloadabc-1b86911c4fe0b193c3a281e823de7934664da798.tar.gz
abc-1b86911c4fe0b193c3a281e823de7934664da798.tar.bz2
abc-1b86911c4fe0b193c3a281e823de7934664da798.zip
Updates to arithmetic verification.
Diffstat (limited to 'src/aig/gia')
-rw-r--r--src/aig/gia/giaShow.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/aig/gia/giaShow.c b/src/aig/gia/giaShow.c
index cf89d942..4dd85aab 100644
--- a/src/aig/gia/giaShow.c
+++ b/src/aig/gia/giaShow.c
@@ -30,6 +30,8 @@ ABC_NAMESPACE_IMPL_START
/// DECLARATIONS ///
////////////////////////////////////////////////////////////////////////
+#define NODE_MAX 2000
+
////////////////////////////////////////////////////////////////////////
/// FUNCTION DEFINITIONS ///
////////////////////////////////////////////////////////////////////////
@@ -79,11 +81,11 @@ void Gia_ShowPath( Gia_Man_t * p, char * pFileName )
}
}
- if ( nNodes > 500 )
+ if ( nNodes > NODE_MAX )
{
ABC_FREE( pLevels );
Vec_BitFree( vPath );
- fprintf( stdout, "Cannot visualize AIG with more than 500 critical nodes.\n" );
+ fprintf( stdout, "Cannot visualize AIG with more than %d critical nodes.\n", NODE_MAX );
return;
}
if ( (pFile = fopen( pFileName, "w" )) == NULL )
@@ -341,9 +343,9 @@ void Gia_WriteDotAigSimple( Gia_Man_t * p, char * pFileName, Vec_Int_t * vBold )
int LevelMax, Prev, Level, i;
int fConstIsUsed = 0;
- if ( Gia_ManAndNum(p) > 500 )
+ if ( Gia_ManAndNum(p) > NODE_MAX )
{
- fprintf( stdout, "Cannot visualize AIG with more than 500 nodes.\n" );
+ fprintf( stdout, "Cannot visualize AIG with more than %d nodes.\n", NODE_MAX );
return;
}
if ( (pFile = fopen( pFileName, "w" )) == NULL )
@@ -678,9 +680,9 @@ void Gia_WriteDotAig( Gia_Man_t * p, char * pFileName, Vec_Int_t * vBold, Vec_In
int fConstIsUsed = 0;
int nFadds = Ree_ManCountFadds( vAdds );
- if ( Gia_ManAndNum(p) > 1000 )
+ if ( Gia_ManAndNum(p) > NODE_MAX )
{
- fprintf( stdout, "Cannot visualize AIG with more than 1000 nodes.\n" );
+ fprintf( stdout, "Cannot visualize AIG with more than %d nodes.\n", NODE_MAX );
return;
}
if ( (pFile = fopen( pFileName, "w" )) == NULL )