From 3f4fc5e4507f7fb9df431fc116529b4c209ab97c Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Fri, 7 Apr 2006 08:01:00 -0700 Subject: Version abc60407 --- src/base/abci/abcMap.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/base/abci/abcMap.c') diff --git a/src/base/abci/abcMap.c b/src/base/abci/abcMap.c index 25d9e30f..c579eb84 100644 --- a/src/base/abci/abcMap.c +++ b/src/base/abci/abcMap.c @@ -522,7 +522,11 @@ Abc_Ntk_t * Abc_NtkFromMapSuperChoice( Map_Man_t * pMan, Abc_Ntk_t * pNtk ) // duplicate the network pNtkNew2 = Abc_NtkDup( pNtk ); pNtkNew = Abc_NtkRenode( pNtkNew2, 0, 20, 0, 0, 1, 0 ); - Abc_NtkBddToSop( pNtkNew, 0 ); + if ( !Abc_NtkBddToSop( pNtkNew, 0 ) ) + { + printf( "Converting to SOPs has failed.\n" ); + return NULL; + } // set the old network to point to the new network Abc_NtkForEachCi( pNtk, pNode, i ) -- cgit v1.2.3