From cbbf78e6f4d8acd32b0afcdc0e4e87bc318a2590 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Fri, 22 Aug 2014 22:18:38 -0700 Subject: Improving print-out of 'dsd -p'. --- src/base/abci/abcDsd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/base/abci/abcDsd.c') 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 ); } -- cgit v1.2.3