summaryrefslogtreecommitdiffstats
path: root/src/misc/extra
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2014-09-30 19:51:39 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2014-09-30 19:51:39 -0700
commited1bf0000e5f2e7538274057f94261fc0eae0e30 (patch)
treebef812dd38198578d50b54b80522a132434725e4 /src/misc/extra
parent69519f86cd641dc83da31b79e3b695c7a0165cf6 (diff)
downloadabc-ed1bf0000e5f2e7538274057f94261fc0eae0e30.tar.gz
abc-ed1bf0000e5f2e7538274057f94261fc0eae0e30.tar.bz2
abc-ed1bf0000e5f2e7538274057f94261fc0eae0e30.zip
Improvements to bit-blaster.
Diffstat (limited to 'src/misc/extra')
-rw-r--r--src/misc/extra/extraBddKmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/misc/extra/extraBddKmap.c b/src/misc/extra/extraBddKmap.c
index e91172bb..aa5efe75 100644
--- a/src/misc/extra/extraBddKmap.c
+++ b/src/misc/extra/extraBddKmap.c
@@ -222,6 +222,8 @@ void Extra_PrintKMap(
fprintf( Output, "PrintKMap(): The on-set and the off-set overlap\n" );
return;
}
+ if ( nVars == 0 )
+ { printf( "Function is constant %d.\n", !Cudd_IsComplement(OnSet) ); return; }
// print truth table for debugging
if ( fPrintTruth )