diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-08-22 22:18:38 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-08-22 22:18:38 -0700 |
commit | cbbf78e6f4d8acd32b0afcdc0e4e87bc318a2590 (patch) | |
tree | dae1c1e4fa97a711905d518bbd2169e8c6e2f1f2 /src/base/abci/abcDsd.c | |
parent | c344f3e38c60147cacd8a5d414625b832192ccee (diff) | |
download | abc-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.c | 5 |
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 ); } |