#include <stdio.h>
#include "cuddInt.h"
#include "extra.h"
#include "parse.h"
Go to the source code of this file.
Typedefs | |
typedef int | bool |
typedef struct ParseStackFnStruct | Parse_StackFn_t |
typedef struct ParseStackOpStruct | Parse_StackOp_t |
Functions | |
Parse_StackFn_t * | Parse_StackFnStart (int nDepth) |
bool | Parse_StackFnIsEmpty (Parse_StackFn_t *p) |
void | Parse_StackFnPush (Parse_StackFn_t *p, void *bFunc) |
void * | Parse_StackFnPop (Parse_StackFn_t *p) |
void | Parse_StackFnFree (Parse_StackFn_t *p) |
Parse_StackOp_t * | Parse_StackOpStart (int nDepth) |
bool | Parse_StackOpIsEmpty (Parse_StackOp_t *p) |
void | Parse_StackOpPush (Parse_StackOp_t *p, int Oper) |
int | Parse_StackOpPop (Parse_StackOp_t *p) |
void | Parse_StackOpFree (Parse_StackOp_t *p) |
typedef int bool |
CFile****************************************************************
FileName [parseInt.h]
PackageName [MVSIS 2.0: Multi-valued logic synthesis system.]
Synopsis [Parsing symbolic Boolean formulas into BDDs.]
Author [MVSIS Group]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - September 8, 2003.]
Revision [
] INCLUDES /// PARAMETERS /// STRUCTURE DEFINITIONS ///
Definition at line 40 of file parseInt.h.
typedef struct ParseStackFnStruct Parse_StackFn_t |
Definition at line 42 of file parseInt.h.
typedef struct ParseStackOpStruct Parse_StackOp_t |
Definition at line 43 of file parseInt.h.
void Parse_StackFnFree | ( | Parse_StackFn_t * | p | ) |
Function*************************************************************
Synopsis [Deletes the stack.]
Description []
SideEffects []
SeeAlso []
Definition at line 133 of file parseStack.c.
bool Parse_StackFnIsEmpty | ( | Parse_StackFn_t * | p | ) |
Function*************************************************************
Synopsis [Checks whether the stack is empty.]
Description []
SideEffects []
SeeAlso []
Definition at line 75 of file parseStack.c.
00076 { 00077 return (bool)(p->Top == 0); 00078 }
void* Parse_StackFnPop | ( | Parse_StackFn_t * | p | ) |
Function*************************************************************
Synopsis [Pops an entry out of the stack.]
Description []
SideEffects []
SeeAlso []
Definition at line 112 of file parseStack.c.
void Parse_StackFnPush | ( | Parse_StackFn_t * | p, | |
void * | bFunc | |||
) |
Function*************************************************************
Synopsis [Pushes an entry into the stack.]
Description []
SideEffects []
SeeAlso []
Definition at line 91 of file parseStack.c.
Parse_StackFn_t* Parse_StackFnStart | ( | int | nDepth | ) |
GLOBAL VARIABLES /// MACRO DEFINITIONS /// FUNCTION DEFINITIONS ///
FUNCTION DEFINITIONS ///Function*************************************************************
Synopsis [Starts the stack.]
Description []
SideEffects []
SeeAlso []
Definition at line 54 of file parseStack.c.
00055 { 00056 Parse_StackFn_t * p; 00057 p = ALLOC( Parse_StackFn_t, 1 ); 00058 memset( p, 0, sizeof(Parse_StackFn_t) ); 00059 p->pData = ALLOC( void *, nDepth ); 00060 p->Size = nDepth; 00061 return p; 00062 }
void Parse_StackOpFree | ( | Parse_StackOp_t * | p | ) |
Function*************************************************************
Synopsis [Deletes the stack.]
Description []
SideEffects []
SeeAlso []
Definition at line 232 of file parseStack.c.
bool Parse_StackOpIsEmpty | ( | Parse_StackOp_t * | p | ) |
Function*************************************************************
Synopsis [Checks whether the stack is empty.]
Description []
SideEffects []
SeeAlso []
Definition at line 174 of file parseStack.c.
00175 { 00176 return (bool)(p->Top == 0); 00177 }
int Parse_StackOpPop | ( | Parse_StackOp_t * | p | ) |
Function*************************************************************
Synopsis [Pops an entry out of the stack.]
Description []
SideEffects []
SeeAlso []
Definition at line 211 of file parseStack.c.
void Parse_StackOpPush | ( | Parse_StackOp_t * | p, | |
int | Oper | |||
) |
Function*************************************************************
Synopsis [Pushes an entry into the stack.]
Description []
SideEffects []
SeeAlso []
Definition at line 190 of file parseStack.c.
Parse_StackOp_t* Parse_StackOpStart | ( | int | nDepth | ) |
Function*************************************************************
Synopsis [Starts the stack.]
Description []
SideEffects []
SeeAlso []
Definition at line 153 of file parseStack.c.
00154 { 00155 Parse_StackOp_t * p; 00156 p = ALLOC( Parse_StackOp_t, 1 ); 00157 memset( p, 0, sizeof(Parse_StackOp_t) ); 00158 p->pData = ALLOC( int, nDepth ); 00159 p->Size = nDepth; 00160 return p; 00161 }