summaryrefslogtreecommitdiffstats
path: root/src/opt/dau
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2016-12-05 17:45:15 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2016-12-05 17:45:15 -0800
commit6a351c4dc0d4da86d2a82efdecd09021a2e6280f (patch)
treeef67baf18e8fb431efa35fba89f5bc837c18aefe /src/opt/dau
parent8ba6071a76b2f25995c4048567eb0b3780130ece (diff)
downloadabc-6a351c4dc0d4da86d2a82efdecd09021a2e6280f.tar.gz
abc-6a351c4dc0d4da86d2a82efdecd09021a2e6280f.tar.bz2
abc-6a351c4dc0d4da86d2a82efdecd09021a2e6280f.zip
Adding support for minimalistic representation of LUT mapping.
Diffstat (limited to 'src/opt/dau')
-rw-r--r--src/opt/dau/dauGia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opt/dau/dauGia.c b/src/opt/dau/dauGia.c
index 6489cd86..5e74ad21 100644
--- a/src/opt/dau/dauGia.c
+++ b/src/opt/dau/dauGia.c
@@ -460,7 +460,7 @@ int Dsm_ManTruthToGia( void * p, word * pTruth, Vec_Int_t * vLeaves, Vec_Int_t *
if ( nSizeNonDec )
m_NonDsd++;
// printf( "%s\n", pDsd );
- if ( fDelayBalance )
+ if ( fDelayBalance && pGia->vLevels )
return Dau_DsdToGia( pGia, pDsd, Vec_IntArray(vLeaves), vCover );
else
return Dau_DsdToGia2( pGia, pDsd, Vec_IntArray(vLeaves), vCover );