diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2008-03-13 08:01:00 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2008-03-13 08:01:00 -0700 |
commit | 6205eaaee3a840dd076f9baaac67720d85d6a680 (patch) | |
tree | 280d5d1a3ffa9cc34807c84598f8218b92fd1ef2 /src/base/abc | |
parent | 79d5e7658153760a9774f96eea03f21abb668521 (diff) | |
download | abc-6205eaaee3a840dd076f9baaac67720d85d6a680.tar.gz abc-6205eaaee3a840dd076f9baaac67720d85d6a680.tar.bz2 abc-6205eaaee3a840dd076f9baaac67720d85d6a680.zip |
Version abc80313
Diffstat (limited to 'src/base/abc')
-rw-r--r-- | src/base/abc/abcSop.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/base/abc/abcSop.c b/src/base/abc/abcSop.c index 106901ab..dc3595c1 100644 --- a/src/base/abc/abcSop.c +++ b/src/base/abc/abcSop.c @@ -931,6 +931,21 @@ char * Abc_SopFromTruthHex( char * pTruth ) pCube[nVars + 1] = '1'; pCube[nVars + 2] = '\n'; } +/* + // create TT representation + { + extern void Bdc_ManDecomposeTest( unsigned uTruth, int nVars ); + unsigned uTruth = 0; + int nVarsAll = 4; + assert( nVarsAll == 4 ); + assert( nVars <= nVarsAll ); + Vec_IntForEachEntry( vMints, Mint, i ) + uTruth |= (1 << Mint); +// uTruth = uTruth | (uTruth << 8) | (uTruth << 16) | (uTruth << 24); + uTruth = uTruth | (uTruth << 16); + Bdc_ManDecomposeTest( uTruth, nVarsAll ); + } +*/ Vec_IntFree( vMints ); return pSopCover; } |