summaryrefslogtreecommitdiffstats
path: root/src/aig/gia/giaShow.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2016-06-03 13:22:24 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2016-06-03 13:22:24 -0700
commit93c785e80250f4e7f4637d3d9317a5cf2e278b69 (patch)
tree3a2064f5a8ac25ab24850d658b68cf59eaafc2e5 /src/aig/gia/giaShow.c
parente33d6e8d9d8f84c2f06bd251d459e758714aed57 (diff)
downloadabc-93c785e80250f4e7f4637d3d9317a5cf2e278b69.tar.gz
abc-93c785e80250f4e7f4637d3d9317a5cf2e278b69.tar.bz2
abc-93c785e80250f4e7f4637d3d9317a5cf2e278b69.zip
Small changes for today's experiments.
Diffstat (limited to 'src/aig/gia/giaShow.c')
-rw-r--r--src/aig/gia/giaShow.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/aig/gia/giaShow.c b/src/aig/gia/giaShow.c
index 9cf79ccf..039931b2 100644
--- a/src/aig/gia/giaShow.c
+++ b/src/aig/gia/giaShow.c
@@ -362,20 +362,29 @@ void Gia_WriteDotAig( Gia_Man_t * pMan, char * pFileName, Vec_Int_t * vBold, int
fprintf( pFile, " Node%d [label = \"%d(%d%s)\"", pNode->Id, pNode->Id,
Gia_Regular(pNode->pEquiv)->Id, Gia_IsComplement(pNode->pEquiv)? "\'":"" );
*/
- fprintf( pFile, " Node%d [label = \"%d\"", i, i );
if ( vMarks && Vec_IntEntry(vMarks, i) > 0 )
{
+ fprintf( pFile, " Node%d [label = \"%d_%d\"", i, Vec_IntFind(vRemap, i), i );
if ( Abc_Lit2Att2(Vec_IntEntry(vMarks, i)) == 2 )
fprintf( pFile, ", shape = doubleoctagon" );
else
fprintf( pFile, ", shape = octagon" );
}
else if ( Gia_ObjIsXor(pNode) )
+ {
+ fprintf( pFile, " Node%d [label = \"%d\"", i, i );
fprintf( pFile, ", shape = doublecircle" );
+ }
else if ( Gia_ObjIsMux(pMan, pNode) )
+ {
+ fprintf( pFile, " Node%d [label = \"%d\"", i, i );
fprintf( pFile, ", shape = trapezium" );
+ }
else
+ {
+ fprintf( pFile, " Node%d [label = \"%d\"", i, i );
fprintf( pFile, ", shape = ellipse" );
+ }
if ( pNode->fMark0 )
fprintf( pFile, ", style = filled" );