src/opt/dec/decMan.c File Reference

#include "abc.h"
#include "mvc.h"
#include "dec.h"
Include dependency graph for decMan.c:

Go to the source code of this file.

Functions

Dec_Man_tDec_ManStart ()
void Dec_ManStop (Dec_Man_t *p)

Function Documentation

Dec_Man_t* Dec_ManStart (  ) 

CFile****************************************************************

FileName [decMan.c]

PackageName [MVSIS 2.0: Multi-valued logic synthesis system.]

Synopsis [Decomposition manager.]

Author [MVSIS Group]

Affiliation [UC Berkeley]

Date [Ver. 1.0. Started - February 1, 2003.]

Revision [

Id
decMan.c,v 1.1 2003/05/22 19:20:05 alanmi Exp

] DECLARATIONS /// FUNCTION DEFINITIONS ///Function*************************************************************

Synopsis [Start the MVC manager used in the factoring package.]

Description []

SideEffects []

SeeAlso []

Definition at line 42 of file decMan.c.

00043 {
00044     Dec_Man_t * p;
00045     int clk = clock();
00046     p = ALLOC( Dec_Man_t, 1 );
00047     p->pMvcMem = Mvc_ManagerStart();
00048     p->vCubes = Vec_IntAlloc( 8 );
00049     p->vLits = Vec_IntAlloc( 8 );
00050     // canonical forms, phases, perms
00051     Extra_Truth4VarNPN( &p->puCanons, &p->pPhases, &p->pPerms, &p->pMap );
00052 //PRT( "NPN classes precomputation time", clock() - clk ); 
00053     return p;
00054 }

void Dec_ManStop ( Dec_Man_t p  ) 

Function*************************************************************

Synopsis [Stops the MVC maanager used in the factoring package.]

Description []

SideEffects []

SeeAlso []

Definition at line 67 of file decMan.c.

00068 {
00069     Mvc_ManagerFree( p->pMvcMem );
00070     Vec_IntFree( p->vCubes );
00071     Vec_IntFree( p->vLits );
00072     free( p->puCanons );
00073     free( p->pPhases );
00074     free( p->pPerms );
00075     free( p->pMap );
00076     free( p );
00077 }


Generated on Tue Jan 5 12:19:25 2010 for abc70930 by  doxygen 1.6.1