diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2017-01-25 14:58:06 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2017-01-25 14:58:06 -0800 |
commit | a02bdebcc484ce18f388a7f172355da9cda9395e (patch) | |
tree | a9b68ec6a93da25be806f85b13b96df0a94e9778 /src | |
parent | 32288c696493a223966ed334554f0a113d9134f0 (diff) | |
download | abc-a02bdebcc484ce18f388a7f172355da9cda9395e.tar.gz abc-a02bdebcc484ce18f388a7f172355da9cda9395e.tar.bz2 abc-a02bdebcc484ce18f388a7f172355da9cda9395e.zip |
Corner-case bug in MiniLUT.
Diffstat (limited to 'src')
-rw-r--r-- | src/aig/gia/giaMini.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/aig/gia/giaMini.c b/src/aig/gia/giaMini.c index 4ee92cdd..67805d44 100644 --- a/src/aig/gia/giaMini.c +++ b/src/aig/gia/giaMini.c @@ -295,6 +295,7 @@ Mini_Lut_t * Gia_ManToMiniLut( Gia_Man_t * pGia ) word Truth; assert( Gia_ManHasMapping(pGia) ); LutSize = Gia_ManLutSizeMax( pGia ); + LutSize = Abc_MaxInt( LutSize, 2 ); assert( LutSize >= 2 ); // create the manager p = Mini_LutStart( LutSize ); |