ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
decMan.c File Reference
#include "base/abc/abc.h"
#include "misc/mvc/mvc.h"
#include "dec.h"
Include dependency graph for decMan.c:

Go to the source code of this file.

Functions

ABC_NAMESPACE_IMPL_START Dec_Man_tDec_ManStart ()
 DECLARATIONS ///.
 
void Dec_ManStop (Dec_Man_t *p)
 

Function Documentation

◆ Dec_ManStart()

ABC_NAMESPACE_IMPL_START Dec_Man_t * Dec_ManStart ( )

DECLARATIONS ///.

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

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

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

Description []

SideEffects []

SeeAlso []

Definition at line 45 of file decMan.c.

46{
47 Dec_Man_t * p;
48// abctime clk = Abc_Clock();
49 p = ABC_ALLOC( Dec_Man_t, 1 );
50 p->pMvcMem = Mvc_ManagerStart();
51 p->vCubes = Vec_IntAlloc( 8 );
52 p->vLits = Vec_IntAlloc( 8 );
53 // canonical forms, phases, perms
54 Extra_Truth4VarNPN( &p->puCanons, &p->pPhases, &p->pPerms, &p->pMap );
55//ABC_PRT( "NPN classes precomputation time", Abc_Clock() - clk );
56 return p;
57}
#define ABC_ALLOC(type, num)
Definition abc_global.h:264
struct Dec_Man_t_ Dec_Man_t
Definition dec.h:79
Cube * p
Definition exorList.c:222
void Extra_Truth4VarNPN(unsigned short **puCanons, char **puPhases, char **puPerms, unsigned char **puMap)
Mvc_Manager_t * Mvc_ManagerStart()
DECLARATIONS ///.
Definition mvcMan.c:44
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Dec_ManStop()

void Dec_ManStop ( Dec_Man_t * p)

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

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

Description []

SideEffects []

SeeAlso []

Definition at line 70 of file decMan.c.

71{
72 Mvc_ManagerFree( (Mvc_Manager_t *)p->pMvcMem );
73 Vec_IntFree( p->vCubes );
74 Vec_IntFree( p->vLits );
75 ABC_FREE( p->puCanons );
76 ABC_FREE( p->pPhases );
77 ABC_FREE( p->pPerms );
78 ABC_FREE( p->pMap );
79 ABC_FREE( p );
80}
#define ABC_FREE(obj)
Definition abc_global.h:267
struct MvcManagerStruct Mvc_Manager_t
Definition mvc.h:60
void Mvc_ManagerFree(Mvc_Manager_t *p)
Definition mvcMan.c:67
Here is the call graph for this function:
Here is the caller graph for this function: