#include <string.h>
#include "mvc.h"
Go to the source code of this file.
Functions | |
Mvc_Manager_t * | Mvc_ManagerStart () |
void | Mvc_ManagerFree (Mvc_Manager_t *p) |
void Mvc_ManagerFree | ( | Mvc_Manager_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 64 of file mvcMan.c.
00065 { 00066 Extra_MmFixedStop( p->pMan1 ); 00067 Extra_MmFixedStop( p->pMan2 ); 00068 Extra_MmFixedStop( p->pMan4 ); 00069 Extra_MmFixedStop( p->pManC ); 00070 free( p ); 00071 }
Mvc_Manager_t* Mvc_ManagerStart | ( | ) |
CFile****************************************************************
FileName [mvcMan.c]
PackageName [MVSIS 2.0: Multi-valued logic synthesis system.]
Synopsis [Procedures working with the MVC memory manager.]
Author [MVSIS Group]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - February 1, 2003.]
Revision [
] DECLARATIONS /// FUNCTION DEFINITIONS ///Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 41 of file mvcMan.c.
00042 { 00043 Mvc_Manager_t * p; 00044 p = ALLOC( Mvc_Manager_t, 1 ); 00045 memset( p, 0, sizeof(Mvc_Manager_t) ); 00046 p->pMan1 = Extra_MmFixedStart( sizeof(Mvc_Cube_t) ); 00047 p->pMan2 = Extra_MmFixedStart( sizeof(Mvc_Cube_t) + sizeof(Mvc_CubeWord_t) ); 00048 p->pMan4 = Extra_MmFixedStart( sizeof(Mvc_Cube_t) + 3 * sizeof(Mvc_CubeWord_t) ); 00049 p->pManC = Extra_MmFixedStart( sizeof(Mvc_Cover_t) ); 00050 return p; 00051 }