Commit ce126db5 by Alan Mishchenko

Enabling AIGs without structural hashing.

parent 3b62ee45
...@@ -1159,7 +1159,7 @@ void Gia_AigerWrite( Gia_Man_t * pInit, char * pFileName, int fWriteSymbols, int ...@@ -1159,7 +1159,7 @@ void Gia_AigerWrite( Gia_Man_t * pInit, char * pFileName, int fWriteSymbols, int
uLit = Abc_Var2Lit( i, 0 ); uLit = Abc_Var2Lit( i, 0 );
uLit0 = Gia_ObjFaninLit0( pObj, i ); uLit0 = Gia_ObjFaninLit0( pObj, i );
uLit1 = Gia_ObjFaninLit1( 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, uLit - uLit1 );
Pos = Gia_AigerWriteUnsignedBuffer( pBuffer, Pos, uLit1 - uLit0 ); Pos = Gia_AigerWriteUnsignedBuffer( pBuffer, Pos, uLit1 - uLit0 );
if ( Pos > nBufferSize - 10 ) if ( Pos > nBufferSize - 10 )
......
...@@ -392,7 +392,7 @@ void Gia_WriteDotAig( Gia_Man_t * pMan, char * pFileName, Vec_Int_t * vBold, int ...@@ -392,7 +392,7 @@ void Gia_WriteDotAig( Gia_Man_t * pMan, char * pFileName, Vec_Int_t * vBold, int
// the labeling node of this level // the labeling node of this level
fprintf( pFile, " Level%d;\n", 0 ); fprintf( pFile, " Level%d;\n", 0 );
// generate constant node // generate constant node
if ( fConstIsUsed ) if ( fConstIsUsed || pMan->fGiaSimple )
{ {
// check if the costant node is present // check if the costant node is present
fprintf( pFile, " Node%d [label = \"Const0\"", 0 ); fprintf( pFile, " Node%d [label = \"Const0\"", 0 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment