From 2650f945986192f78af049fc8c11e4be0b327f8b Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sun, 31 Mar 2013 23:09:51 -0700 Subject: Shrink for 6-LUTs. --- src/aig/gia/giaShrink.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/aig/gia/giaShrink.c') diff --git a/src/aig/gia/giaShrink.c b/src/aig/gia/giaShrink.c index 487f9aa6..69dec67c 100644 --- a/src/aig/gia/giaShrink.c +++ b/src/aig/gia/giaShrink.c @@ -85,7 +85,8 @@ Gia_Man_t * Gia_ManPerformMapShrink( Gia_Man_t * p, int fKeepLevel, int fVerbose if ( Gia_ObjIsCi(pObj) ) { pObj->Value = Gia_ManAppendCi( pNew ); - Gia_ObjSetLevel( pNew, Gia_ObjFromLit(pNew, Gia_ObjValue(pObj)), Gia_ObjLevel(p, pObj) ); + if ( p->vLevels ) + Gia_ObjSetLevel( pNew, Gia_ObjFromLit(pNew, Gia_ObjValue(pObj)), Gia_ObjLevel(p, pObj) ); } else if ( Gia_ObjIsCo(pObj) ) { -- cgit v1.2.3