fraCore.c 16.5 KB
Newer Older
Alan Mishchenko committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
/**CFile****************************************************************

  FileName    [fraCore.c]

  SystemName  [ABC: Logic synthesis and verification system.]

  PackageName [New FRAIG package.]

  Synopsis    []

  Author      [Alan Mishchenko]
  
  Affiliation [UC Berkeley]

  Date        [Ver. 1.0. Started - June 30, 2007.]

  Revision    [$Id: fraCore.c,v 1.00 2007/06/30 00:00:00 alanmi Exp $]

***********************************************************************/

#include "fra.h"

23 24 25
ABC_NAMESPACE_IMPL_START


Alan Mishchenko committed
26 27 28 29
////////////////////////////////////////////////////////////////////////
///                        DECLARATIONS                              ///
////////////////////////////////////////////////////////////////////////

Alan Mishchenko committed
30 31 32 33 34 35 36 37 38 39 40 41 42 43
/* 
    Speculating reduction in the sequential case leads to an interesting 
    situation when a counter-ex may not refine any classes. This happens
    for non-constant equivalence classes. In such cases the representative
    of the class (proved by simulation to be non-constant) may be reduced 
    to a constant during the speculative reduction. The fraig-representative 
    of this representative node is a constant node, even though this is a 
    non-constant class. Experiments have shown that this situation happens 
    very often at the beginning of the refinement iteration when there are 
    many spurious candidate equivalence classes (especially if heavy-duty 
    simulatation of BMC was node used at the beginning). As a result, the 
    SAT solver run may return a counter-ex that  distinguishes the given 
    representative node from the constant-1 node but this counter-ex
    does not distinguish the nodes in the non-costant class... This is why 
Alan Mishchenko committed
44
    there is no check of refinement after a counter-ex in the sequential case.
Alan Mishchenko committed
45 46
*/

Alan Mishchenko committed
47 48 49 50 51 52
////////////////////////////////////////////////////////////////////////
///                     FUNCTION DEFINITIONS                         ///
////////////////////////////////////////////////////////////////////////

/**Function*************************************************************

Alan Mishchenko committed
53 54 55 56 57 58 59 60 61 62 63
  Synopsis    [Reports the status of the miter.]

  Description []
               
  SideEffects []

  SeeAlso     []

***********************************************************************/
int Fra_FraigMiterStatus( Aig_Man_t * p )
{
Alan Mishchenko committed
64
    Aig_Obj_t * pObj, * pChild;
Alan Mishchenko committed
65 66 67 68 69
    int i, CountConst0 = 0, CountNonConst0 = 0, CountUndecided = 0;
    if ( p->pData )
        return 0;
    Aig_ManForEachPoSeq( p, pObj, i )
    {
Alan Mishchenko committed
70
        pChild = Aig_ObjChild0(pObj);
Alan Mishchenko committed
71
        // check if the output is constant 0
Alan Mishchenko committed
72
        if ( pChild == Aig_ManConst0(p) )
Alan Mishchenko committed
73 74 75 76 77
        {
            CountConst0++;
            continue;
        }
        // check if the output is constant 1
Alan Mishchenko committed
78
        if ( pChild == Aig_ManConst1(p) )
Alan Mishchenko committed
79 80 81 82
        {
            CountNonConst0++;
            continue;
        }
Alan Mishchenko committed
83
        // check if the output is a primary input
84
        if ( Aig_ObjIsPi(Aig_Regular(pChild)) && Aig_ObjPioNum(Aig_Regular(pChild)) < p->nTruePis )
Alan Mishchenko committed
85 86 87 88
        {
            CountNonConst0++;
            continue;
        }
Alan Mishchenko committed
89
        // check if the output can be not constant 0
Alan Mishchenko committed
90
        if ( Aig_Regular(pChild)->fPhase != (unsigned)Aig_IsComplement(pChild) )
Alan Mishchenko committed
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
        {
            CountNonConst0++;
            continue;
        }
        CountUndecided++;
    }
/*
    if ( p->pParams->fVerbose )
    {
        printf( "Miter has %d outputs. ", Aig_ManPoNum(p->pManAig) );
        printf( "Const0 = %d.  ", CountConst0 );
        printf( "NonConst0 = %d.  ", CountNonConst0 );
        printf( "Undecided = %d.  ", CountUndecided );
        printf( "\n" );
    }
*/
    if ( CountNonConst0 )
        return 0;
    if ( CountUndecided )
        return -1;
    return 1;
}

/**Function*************************************************************

Alan Mishchenko committed
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
  Synopsis    [Reports the status of the miter.]

  Description []
               
  SideEffects []

  SeeAlso     []

***********************************************************************/
int Fra_FraigMiterAssertedOutput( Aig_Man_t * p )
{
    Aig_Obj_t * pObj, * pChild;
    int i;
    Aig_ManForEachPoSeq( p, pObj, i )
    {
        pChild = Aig_ObjChild0(pObj);
        // check if the output is constant 0
        if ( pChild == Aig_ManConst0(p) )
            continue;
        // check if the output is constant 1
        if ( pChild == Aig_ManConst1(p) )
            return i;
        // check if the output can be not constant 0
        if ( Aig_Regular(pChild)->fPhase != (unsigned)Aig_IsComplement(pChild) )
            return i;
    }
    return -1;
}

/**Function*************************************************************

Alan Mishchenko committed
147 148 149 150 151 152 153 154 155
  Synopsis    [Write speculative miter for one node.]

  Description []
               
  SideEffects []

  SeeAlso     []

***********************************************************************/
Alan Mishchenko committed
156
static inline void Fra_FraigNodeSpeculate( Fra_Man_t * p, Aig_Obj_t * pObj, Aig_Obj_t * pObjFraig, Aig_Obj_t * pObjReprFraig )
Alan Mishchenko committed
157 158 159 160 161 162 163
{ 
    static int Counter = 0;
    char FileName[20];
    Aig_Man_t * pTemp;
    Aig_Obj_t * pNode;
    int i;
    // create manager with the logic for these two nodes
Alan Mishchenko committed
164
    pTemp = Aig_ManExtractMiter( p->pManFraig, pObjFraig, pObjReprFraig );
Alan Mishchenko committed
165 166
    // dump the logic into a file
    sprintf( FileName, "aig\\%03d.blif", ++Counter );
Alan Mishchenko committed
167
    Aig_ManDumpBlif( pTemp, FileName, NULL, NULL );
Alan Mishchenko committed
168 169 170 171 172 173 174 175 176
    printf( "Speculation cone with %d nodes was written into file \"%s\".\n", Aig_ManNodeNum(pTemp), FileName );
    // clean up
    Aig_ManStop( pTemp );
    Aig_ManForEachObj( p->pManFraig, pNode, i )
        pNode->pData = p;
}

/**Function*************************************************************

Alan Mishchenko committed
177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203
  Synopsis    [Verifies the generated counter-ex.]

  Description []
               
  SideEffects []

  SeeAlso     []

***********************************************************************/
void Fra_FraigVerifyCounterEx( Fra_Man_t * p, Vec_Int_t * vCex )
{
    Aig_Obj_t * pObj, ** ppClass;
    int i, c;
    assert( Aig_ManPiNum(p->pManAig) == Vec_IntSize(vCex) );
    // make sure the input pattern is not used
    Aig_ManForEachObj( p->pManAig, pObj, i )
        assert( !pObj->fMarkB );
    // simulate the cex through the AIG
    Aig_ManConst1(p->pManAig)->fMarkB = 1;
    Aig_ManForEachPi( p->pManAig, pObj, i )
        pObj->fMarkB = Vec_IntEntry(vCex, i);
    Aig_ManForEachNode( p->pManAig, pObj, i )
        pObj->fMarkB = (Aig_ObjFanin0(pObj)->fMarkB ^ Aig_ObjFaninC0(pObj)) & 
                       (Aig_ObjFanin1(pObj)->fMarkB ^ Aig_ObjFaninC1(pObj));
    Aig_ManForEachPo( p->pManAig, pObj, i )
        pObj->fMarkB = Aig_ObjFanin0(pObj)->fMarkB ^ Aig_ObjFaninC0(pObj);
    // check if the classes hold
204
    Vec_PtrForEachEntry( Aig_Obj_t *, p->pCla->vClasses1, pObj, i )
Alan Mishchenko committed
205 206 207 208
    {
        if ( pObj->fPhase != pObj->fMarkB )
            printf( "The node %d is not constant under cex!\n", pObj->Id );
    }
209
    Vec_PtrForEachEntry( Aig_Obj_t **, p->pCla->vClasses, ppClass, i )
Alan Mishchenko committed
210 211 212 213 214 215 216 217 218 219 220 221 222 223 224
    {
        for ( c = 1; ppClass[c]; c++ )
            if ( (ppClass[0]->fPhase ^ ppClass[c]->fPhase) != (ppClass[0]->fMarkB ^ ppClass[c]->fMarkB) )
                printf( "The nodes %d and %d are not equal under cex!\n", ppClass[0]->Id, ppClass[c]->Id );
//        for ( c = 0; ppClass[c]; c++ )
//            if ( Fra_ObjFraig(ppClass[c],p->pPars->nFramesK) == Aig_ManConst1(p->pManFraig) )
//                printf( "A member of non-constant class has a constant repr!\n" );
    }
    // clean the simulation pattern
    Aig_ManForEachObj( p->pManAig, pObj, i )
        pObj->fMarkB = 0;
}

/**Function*************************************************************

Alan Mishchenko committed
225 226 227 228 229 230 231 232 233
  Synopsis    [Performs fraiging for one node.]

  Description [Returns the fraiged node.]
               
  SideEffects []

  SeeAlso     []

***********************************************************************/
Alan Mishchenko committed
234
static inline void Fra_FraigNode( Fra_Man_t * p, Aig_Obj_t * pObj )
Alan Mishchenko committed
235
{ 
Alan Mishchenko committed
236
    Aig_Obj_t * pObjRepr, * pObjFraig, * pObjFraig2, * pObjReprFraig;
Alan Mishchenko committed
237
    int RetValue;
Alan Mishchenko committed
238
    assert( !Aig_IsComplement(pObj) );
Alan Mishchenko committed
239
    // get representative of this class
Alan Mishchenko committed
240
    pObjRepr = Fra_ClassObjRepr( pObj );
Alan Mishchenko committed
241 242
    if ( pObjRepr == NULL || // this is a unique node
       (!p->pPars->fDoSparse && pObjRepr == Aig_ManConst1(p->pManAig)) ) // this is a sparse node
Alan Mishchenko committed
243 244 245
        return;
    // get the fraiged node
    pObjFraig = Fra_ObjFraig( pObj, p->pPars->nFramesK );
Alan Mishchenko committed
246
    // get the fraiged representative
Alan Mishchenko committed
247
    pObjReprFraig = Fra_ObjFraig( pObjRepr, p->pPars->nFramesK );
Alan Mishchenko committed
248
    // if the fraiged nodes are the same, return
Alan Mishchenko committed
249
    if ( Aig_Regular(pObjFraig) == Aig_Regular(pObjReprFraig) )
Alan Mishchenko committed
250 251
    {
        p->nSatCallsSkipped++;
Alan Mishchenko committed
252
        return;
Alan Mishchenko committed
253
    }
Alan Mishchenko committed
254
    assert( p->pPars->nFramesK || Aig_Regular(pObjFraig) != Aig_ManConst1(p->pManFraig) );
Alan Mishchenko committed
255
    // if they are proved different, the c-ex will be in p->pPatWords
Alan Mishchenko committed
256
    RetValue = Fra_NodesAreEquiv( p, Aig_Regular(pObjReprFraig), Aig_Regular(pObjFraig) );
Alan Mishchenko committed
257 258
    if ( RetValue == 1 )  // proved equivalent
    {
Alan Mishchenko committed
259 260
//        if ( p->pPars->fChoicing )
//            Aig_ObjCreateRepr( p->pManFraig, Aig_Regular(pObjReprFraig), Aig_Regular(pObjFraig) );
Alan Mishchenko committed
261 262 263 264
        // the nodes proved equal
        pObjFraig2 = Aig_NotCond( pObjReprFraig, pObj->fPhase ^ pObjRepr->fPhase );
        Fra_ObjSetFraig( pObj, p->pPars->nFramesK, pObjFraig2 );
        return;
Alan Mishchenko committed
265 266 267
    }
    if ( RetValue == -1 ) // failed
    {
Alan Mishchenko committed
268 269
        if ( p->vTimeouts == NULL )
            p->vTimeouts = Vec_PtrAlloc( 100 );
Alan Mishchenko committed
270
        Vec_PtrPush( p->vTimeouts, pObj );
Alan Mishchenko committed
271
        if ( !p->pPars->fSpeculate )
Alan Mishchenko committed
272 273 274
            return;
        assert( 0 );
        // speculate
Alan Mishchenko committed
275
        p->nSpeculs++;
Alan Mishchenko committed
276 277 278 279
        pObjFraig2 = Aig_NotCond( pObjReprFraig, pObj->fPhase ^ pObjRepr->fPhase );
        Fra_ObjSetFraig( pObj, p->pPars->nFramesK, pObjFraig2 );
        Fra_FraigNodeSpeculate( p, pObj, Aig_Regular(pObjFraig), Aig_Regular(pObjReprFraig) );
        return;
Alan Mishchenko committed
280
    }
Alan Mishchenko committed
281
    // disprove the nodes
Alan Mishchenko committed
282
    p->pCla->fRefinement = 1;
Alan Mishchenko committed
283 284 285 286
    // if we do not include the node into those disproved, we may end up 
    // merging this node with another representative, for which proof has timed out
    if ( p->vTimeouts )
        Vec_PtrPush( p->vTimeouts, pObj );
Alan Mishchenko committed
287 288
    // verify that the counter-example satisfies all the constraints
//    if ( p->vCex )
Alan Mishchenko committed
289
//        Fra_FraigVerifyCounterEx( p, p->vCex );
Alan Mishchenko committed
290
    // simulate the counter-example and return the Fraig node
Alan Mishchenko committed
291
    Fra_SmlResimulate( p );
Alan Mishchenko committed
292 293
    if ( p->pManFraig->pData )
        return;
Alan Mishchenko committed
294
    if ( !p->pPars->nFramesK && Fra_ClassObjRepr(pObj) == pObjRepr )
Alan Mishchenko committed
295
        printf( "Fra_FraigNode(): Error in class refinement!\n" );
Alan Mishchenko committed
296
    assert( p->pPars->nFramesK || Fra_ClassObjRepr(pObj) != pObjRepr );
Alan Mishchenko committed
297 298 299 300 301 302 303 304 305 306 307 308 309
}

/**Function*************************************************************

  Synopsis    [Performs fraiging for the internal nodes.]

  Description []
               
  SideEffects []

  SeeAlso     []

***********************************************************************/
Alan Mishchenko committed
310
void Fra_FraigSweep( Fra_Man_t * p )
Alan Mishchenko committed
311
{
Alan Mishchenko committed
312
//    Bar_Progress_t * pProgress = NULL;
Alan Mishchenko committed
313
    Aig_Obj_t * pObj, * pObjNew;
Alan Mishchenko committed
314
    int i, Pos = 0;
Alan Mishchenko committed
315
    int nBTracksOld;
Alan Mishchenko committed
316 317
    // fraig latch outputs
    Aig_ManForEachLoSeq( p->pManAig, pObj, i )
Alan Mishchenko committed
318
    {
Alan Mishchenko committed
319
        Fra_FraigNode( p, pObj );
Alan Mishchenko committed
320 321 322 323 324
        if ( p->pPars->fUseImps )
            Pos = Fra_ImpCheckForNode( p, p->pCla->vImps, pObj, Pos );
    }
    if ( p->pPars->fLatchCorr )
        return;
Alan Mishchenko committed
325
    // fraig internal nodes
Alan Mishchenko committed
326 327
//    if ( !p->pPars->fDontShowBar )
//        pProgress = Bar_ProgressStart( stdout, Aig_ManObjNumMax(p->pManAig) );
Alan Mishchenko committed
328
    nBTracksOld = p->pPars->nBTLimitNode;
Alan Mishchenko committed
329 330
    Aig_ManForEachNode( p->pManAig, pObj, i )
    {
Alan Mishchenko committed
331 332
//        if ( pProgress )
//            Bar_ProgressUpdate( pProgress, i, NULL );
Alan Mishchenko committed
333 334 335 336 337
        // derive and remember the new fraig node
        pObjNew = Aig_And( p->pManFraig, Fra_ObjChild0Fra(pObj,p->pPars->nFramesK), Fra_ObjChild1Fra(pObj,p->pPars->nFramesK) );
        Fra_ObjSetFraig( pObj, p->pPars->nFramesK, pObjNew );
        Aig_Regular(pObjNew)->pData = p;
        // quit if simulation detected a counter-example for a PO
Alan Mishchenko committed
338
        if ( p->pManFraig->pData )
Alan Mishchenko committed
339
            continue;
Alan Mishchenko committed
340 341
//        if ( Aig_SupportSize(p->pManAig,pObj) > 16 )
//            continue;
Alan Mishchenko committed
342
        // perform fraiging
Alan Mishchenko committed
343 344
        if ( p->pPars->nLevelMax && (int)pObj->Level > p->pPars->nLevelMax )
            p->pPars->nBTLimitNode = 5;
Alan Mishchenko committed
345
        Fra_FraigNode( p, pObj );
Alan Mishchenko committed
346 347 348
        if ( p->pPars->nLevelMax && (int)pObj->Level > p->pPars->nLevelMax )
            p->pPars->nBTLimitNode = nBTracksOld;
        // check implications
Alan Mishchenko committed
349 350
        if ( p->pPars->fUseImps )
            Pos = Fra_ImpCheckForNode( p, p->pCla->vImps, pObj, Pos );
Alan Mishchenko committed
351
    }
Alan Mishchenko committed
352 353
//    if ( pProgress )
//        Bar_ProgressStop( pProgress );
Alan Mishchenko committed
354 355 356 357 358
    // try to prove the outputs of the miter
    p->nNodesMiter = Aig_ManNodeNum(p->pManFraig);
//    Fra_MiterStatus( p->pManFraig );
//    if ( p->pPars->fProve && p->pManFraig->pData == NULL )
//        Fra_MiterProve( p );
Alan Mishchenko committed
359 360 361
    // compress implications after processing all of them
    if ( p->pPars->fUseImps )
        Fra_ImpCompactArray( p->pCla->vImps );
Alan Mishchenko committed
362 363 364 365
}

/**Function*************************************************************

Alan Mishchenko committed
366 367 368 369 370 371 372 373 374
  Synopsis    [Performs fraiging of the AIG.]

  Description []
               
  SideEffects []

  SeeAlso     []

***********************************************************************/
Alan Mishchenko committed
375
Aig_Man_t * Fra_FraigPerform( Aig_Man_t * pManAig, Fra_Par_t * pPars )
Alan Mishchenko committed
376 377
{
    Fra_Man_t * p;
Alan Mishchenko committed
378
    Aig_Man_t * pManAigNew;
Alan Mishchenko committed
379
    int clk;
Alan Mishchenko committed
380
    if ( Aig_ManNodeNum(pManAig) == 0 )
Alan Mishchenko committed
381
        return Aig_ManDupOrdered(pManAig);
Alan Mishchenko committed
382 383
clk = clock();
    p = Fra_ManStart( pManAig, pPars );
Alan Mishchenko committed
384
    p->pManFraig = Fra_ManPrepareComb( p );
Alan Mishchenko committed
385
    p->pSml = Fra_SmlStart( pManAig, 0, 1, pPars->nSimWords );
Alan Mishchenko committed
386
    Fra_SmlSimulate( p, 0 );
Alan Mishchenko committed
387 388
//    if ( p->pPars->fChoicing )
//        Aig_ManReprStart( p->pManFraig, Aig_ManObjNumMax(p->pManAig) );
Alan Mishchenko committed
389
    // collect initial states
Alan Mishchenko committed
390
    p->nLitsBeg  = Fra_ClassesCountLits( p->pCla );
Alan Mishchenko committed
391 392 393
    p->nNodesBeg = Aig_ManNodeNum(pManAig);
    p->nRegsBeg  = Aig_ManRegNum(pManAig);
    // perform fraig sweep
Alan Mishchenko committed
394 395
if ( p->pPars->fVerbose )
Fra_ClassesPrint( p->pCla, 1 );
Alan Mishchenko committed
396
    Fra_FraigSweep( p );
Alan Mishchenko committed
397 398 399
    // call back the procedure to check implications
    if ( pManAig->pImpFunc )
        pManAig->pImpFunc( p, pManAig->pImpData );
Alan Mishchenko committed
400
    // no need to filter one-hot clauses because they satisfy base case by construction
Alan Mishchenko committed
401
    // finalize the fraiged manager
Alan Mishchenko committed
402 403
    Fra_ManFinalizeComb( p );
    if ( p->pPars->fChoicing )
Alan Mishchenko committed
404
    { 
Alan Mishchenko committed
405
int clk2 = clock();
Alan Mishchenko committed
406
        Fra_ClassesCopyReprs( p->pCla, p->vTimeouts );
Alan Mishchenko committed
407 408 409 410
        pManAigNew = Aig_ManDupRepr( p->pManAig, 1 );
        Aig_ManReprStart( pManAigNew, Aig_ManObjNumMax(pManAigNew) );
        Aig_ManTransferRepr( pManAigNew, p->pManAig );
        Aig_ManMarkValidChoices( pManAigNew );
Alan Mishchenko committed
411 412
        Aig_ManStop( p->pManFraig );
        p->pManFraig = NULL;
Alan Mishchenko committed
413
p->timeTrav += clock() - clk2;
Alan Mishchenko committed
414 415 416
    }
    else
    {
Alan Mishchenko committed
417
        Fra_ClassesCopyReprs( p->pCla, p->vTimeouts );
Alan Mishchenko committed
418 419 420 421
        Aig_ManCleanup( p->pManFraig );
        pManAigNew = p->pManFraig;
        p->pManFraig = NULL;
    }
Alan Mishchenko committed
422
p->timeTotal = clock() - clk;
Alan Mishchenko committed
423
    // collect final stats
Alan Mishchenko committed
424
    p->nLitsEnd  = Fra_ClassesCountLits( p->pCla );
Alan Mishchenko committed
425 426
    p->nNodesEnd = Aig_ManNodeNum(pManAigNew);
    p->nRegsEnd  = Aig_ManRegNum(pManAigNew);
Alan Mishchenko committed
427 428 429 430
    Fra_ManStop( p );
    return pManAigNew;
}

Alan Mishchenko committed
431 432 433 434 435 436 437 438 439 440 441
/**Function*************************************************************

  Synopsis    [Performs choicing of the AIG.]

  Description []
               
  SideEffects []

  SeeAlso     []

***********************************************************************/
Alan Mishchenko committed
442
Aig_Man_t * Fra_FraigChoice( Aig_Man_t * pManAig, int nConfMax, int nLevelMax )
Alan Mishchenko committed
443 444 445
{
    Fra_Par_t Pars, * pPars = &Pars; 
    Fra_ParamsDefault( pPars );
Alan Mishchenko committed
446 447
    pPars->nBTLimitNode = nConfMax;
    pPars->fChoicing    = 1;
Alan Mishchenko committed
448 449
    pPars->fDoSparse    = 1;
    pPars->fSpeculate   = 0;
Alan Mishchenko committed
450 451
    pPars->fProve       = 0;
    pPars->fVerbose     = 0;
Alan Mishchenko committed
452
    pPars->fDontShowBar = 1;
Alan Mishchenko committed
453
    pPars->nLevelMax    = nLevelMax;
Alan Mishchenko committed
454
    return Fra_FraigPerform( pManAig, pPars );
Alan Mishchenko committed
455
}
Alan Mishchenko committed
456 457 458 459 460 461 462 463 464 465 466 467
 
/**Function*************************************************************

  Synopsis    []

  Description []
               
  SideEffects []

  SeeAlso     []

***********************************************************************/
Alan Mishchenko committed
468
Aig_Man_t * Fra_FraigEquivence( Aig_Man_t * pManAig, int nConfMax, int fProve )
Alan Mishchenko committed
469 470 471 472 473
{
    Aig_Man_t * pFraig;
    Fra_Par_t Pars, * pPars = &Pars; 
    Fra_ParamsDefault( pPars );
    pPars->nBTLimitNode = nConfMax;
Alan Mishchenko committed
474
    pPars->fChoicing    = 0;
Alan Mishchenko committed
475 476
    pPars->fDoSparse    = 1;
    pPars->fSpeculate   = 0;
Alan Mishchenko committed
477
    pPars->fProve       = fProve;
Alan Mishchenko committed
478
    pPars->fVerbose     = 0;
Alan Mishchenko committed
479
    pPars->fDontShowBar = 1;
Alan Mishchenko committed
480 481 482
    pFraig = Fra_FraigPerform( pManAig, pPars );
    return pFraig;
} 
Alan Mishchenko committed
483

Alan Mishchenko committed
484 485 486 487 488
////////////////////////////////////////////////////////////////////////
///                       END OF FILE                                ///
////////////////////////////////////////////////////////////////////////


489 490
ABC_NAMESPACE_IMPL_END