diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-09-28 12:10:13 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-09-28 12:10:13 -0700 |
commit | 98e377bdfff98a99f4c765a52cfa8023b4f0eb60 (patch) | |
tree | 0bd75202c2258fc40245998065b90541a8047e27 /src/aig/gia | |
parent | fbc9c00fd15057c6372e399cd6bf443da70e490c (diff) | |
download | abc-98e377bdfff98a99f4c765a52cfa8023b4f0eb60.tar.gz abc-98e377bdfff98a99f4c765a52cfa8023b4f0eb60.tar.bz2 abc-98e377bdfff98a99f4c765a52cfa8023b4f0eb60.zip |
Adding features to CNF generation.
Diffstat (limited to 'src/aig/gia')
-rw-r--r-- | src/aig/gia/giaMf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/aig/gia/giaMf.c b/src/aig/gia/giaMf.c index 331612a2..f52cb7ec 100644 --- a/src/aig/gia/giaMf.c +++ b/src/aig/gia/giaMf.c @@ -1643,11 +1643,11 @@ Cnf_Dat_t * Mf_ManGenerateCnf( Gia_Man_t * pGia, int nLutSize, int fCnfObjIds, i // Cnf_DataPrint( (Cnf_Dat_t *)pGia->pData, 1 ); return pGia->pData; } -void Mf_ManDumpCnf( Gia_Man_t * p, char * pFileName, int nLutSize, int fVerbose ) +void Mf_ManDumpCnf( Gia_Man_t * p, char * pFileName, int nLutSize, int fCnfObjIds, int fAddOrCla, int fVerbose ) { abctime clk = Abc_Clock(); Cnf_Dat_t * pCnf; - pCnf = Mf_ManGenerateCnf( p, nLutSize, 0, 1, fVerbose ); + pCnf = Mf_ManGenerateCnf( p, nLutSize, fCnfObjIds, fAddOrCla, fVerbose ); Cnf_DataWriteIntoFile( pCnf, pFileName, 0, NULL, NULL ); // if ( fVerbose ) { |