summaryrefslogtreecommitdiffstats
path: root/src/base/abci/abcDsd.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2014-08-22 22:18:38 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2014-08-22 22:18:38 -0700
commitcbbf78e6f4d8acd32b0afcdc0e4e87bc318a2590 (patch)
treedae1c1e4fa97a711905d518bbd2169e8c6e2f1f2 /src/base/abci/abcDsd.c
parentc344f3e38c60147cacd8a5d414625b832192ccee (diff)
downloadabc-cbbf78e6f4d8acd32b0afcdc0e4e87bc318a2590.tar.gz
abc-cbbf78e6f4d8acd32b0afcdc0e4e87bc318a2590.tar.bz2
abc-cbbf78e6f4d8acd32b0afcdc0e4e87bc318a2590.zip
Improving print-out of 'dsd -p'.
Diffstat (limited to 'src/base/abci/abcDsd.c')
-rw-r--r--src/base/abci/abcDsd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/base/abci/abcDsd.c b/src/base/abci/abcDsd.c
index 481639dd..29982468 100644
--- a/src/base/abci/abcDsd.c
+++ b/src/base/abci/abcDsd.c
@@ -137,7 +137,10 @@ Abc_Ntk_t * Abc_NtkDsdInternal( Abc_Ntk_t * pNtk, int fVerbose, int fPrint, int
{
ppNamesCi = Abc_NtkCollectCioNames( pNtk, 0 );
ppNamesCo = Abc_NtkCollectCioNames( pNtk, 1 );
- Dsd_TreePrint( stdout, pManDsd, ppNamesCi, ppNamesCo, fShort, -1 );
+ if ( fVerbose )
+ Dsd_TreePrint( stdout, pManDsd, ppNamesCi, ppNamesCo, fShort, -1 );
+ else
+ Dsd_TreePrint2( stdout, pManDsd, ppNamesCi, ppNamesCo, -1 );
ABC_FREE( ppNamesCi );
ABC_FREE( ppNamesCo );
}