diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2016-05-20 16:37:58 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2016-05-20 16:37:58 -0700 |
commit | ce126db5f586332294b45bd467d6bc856e548738 (patch) | |
tree | 8d507bcc96bb770bfa4eb88ff9701ab5ae582f05 /src | |
parent | 3b62ee457544bcc8f6191746bff895f2f98cddf9 (diff) | |
download | abc-ce126db5f586332294b45bd467d6bc856e548738.tar.gz abc-ce126db5f586332294b45bd467d6bc856e548738.tar.bz2 abc-ce126db5f586332294b45bd467d6bc856e548738.zip |
Enabling AIGs without structural hashing.
Diffstat (limited to 'src')
-rw-r--r-- | src/aig/gia/giaAiger.c | 2 | ||||
-rw-r--r-- | src/aig/gia/giaShow.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/aig/gia/giaAiger.c b/src/aig/gia/giaAiger.c index 8e7423aa..97f40aea 100644 --- a/src/aig/gia/giaAiger.c +++ b/src/aig/gia/giaAiger.c @@ -1159,7 +1159,7 @@ void Gia_AigerWrite( Gia_Man_t * pInit, char * pFileName, int fWriteSymbols, int uLit = Abc_Var2Lit( i, 0 ); uLit0 = Gia_ObjFaninLit0( pObj, i ); uLit1 = Gia_ObjFaninLit1( pObj, i ); - assert( Gia_ManBufNum(p) || uLit0 < uLit1 ); + assert( p->fGiaSimple || Gia_ManBufNum(p) || uLit0 < uLit1 ); Pos = Gia_AigerWriteUnsignedBuffer( pBuffer, Pos, uLit - uLit1 ); Pos = Gia_AigerWriteUnsignedBuffer( pBuffer, Pos, uLit1 - uLit0 ); if ( Pos > nBufferSize - 10 ) diff --git a/src/aig/gia/giaShow.c b/src/aig/gia/giaShow.c index 9d585d6d..9cf79ccf 100644 --- a/src/aig/gia/giaShow.c +++ b/src/aig/gia/giaShow.c @@ -392,7 +392,7 @@ void Gia_WriteDotAig( Gia_Man_t * pMan, char * pFileName, Vec_Int_t * vBold, int // the labeling node of this level fprintf( pFile, " Level%d;\n", 0 ); // generate constant node - if ( fConstIsUsed ) + if ( fConstIsUsed || pMan->fGiaSimple ) { // check if the costant node is present fprintf( pFile, " Node%d [label = \"Const0\"", 0 ); |