summaryrefslogtreecommitdiffstats
path: root/src/bdd/parse/parseInt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bdd/parse/parseInt.h')
-rw-r--r--src/bdd/parse/parseInt.h73
1 files changed, 73 insertions, 0 deletions
diff --git a/src/bdd/parse/parseInt.h b/src/bdd/parse/parseInt.h
new file mode 100644
index 00000000..6e6c49b0
--- /dev/null
+++ b/src/bdd/parse/parseInt.h
@@ -0,0 +1,73 @@
+/**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 [$Id: parseInt.h,v 1.0 2003/09/08 00:00:00 alanmi Exp $]
+
+***********************************************************************/
+
+#ifndef __PARSE_INT_H__
+#define __PARSE_INT_H__
+
+////////////////////////////////////////////////////////////////////////
+/// INCLUDES ///
+////////////////////////////////////////////////////////////////////////
+
+
+#include <stdio.h>
+#include "cuddInt.h"
+#include "extra.h"
+#include "parse.h"
+
+////////////////////////////////////////////////////////////////////////
+/// PARAMETERS ///
+////////////////////////////////////////////////////////////////////////
+
+////////////////////////////////////////////////////////////////////////
+/// STRUCTURE DEFINITIONS ///
+////////////////////////////////////////////////////////////////////////
+
+typedef int bool;
+
+typedef struct ParseStackFnStruct Parse_StackFn_t; // the function stack
+typedef struct ParseStackOpStruct Parse_StackOp_t; // the operation stack
+
+////////////////////////////////////////////////////////////////////////
+/// GLOBAL VARIABLES ///
+////////////////////////////////////////////////////////////////////////
+
+////////////////////////////////////////////////////////////////////////
+/// MACRO DEFITIONS ///
+////////////////////////////////////////////////////////////////////////
+
+////////////////////////////////////////////////////////////////////////
+/// FUNCTION DEFITIONS ///
+////////////////////////////////////////////////////////////////////////
+
+/*=== parseStack.c =============================================================*/
+extern Parse_StackFn_t * Parse_StackFnStart ( int nDepth );
+extern bool Parse_StackFnIsEmpty( Parse_StackFn_t * p );
+extern void Parse_StackFnPush ( Parse_StackFn_t * p, DdNode * bFunc );
+extern DdNode * Parse_StackFnPop ( Parse_StackFn_t * p );
+extern void Parse_StackFnFree ( Parse_StackFn_t * p );
+
+extern Parse_StackOp_t * Parse_StackOpStart ( int nDepth );
+extern bool Parse_StackOpIsEmpty( Parse_StackOp_t * p );
+extern void Parse_StackOpPush ( Parse_StackOp_t * p, int Oper );
+extern int Parse_StackOpPop ( Parse_StackOp_t * p );
+extern void Parse_StackOpFree ( Parse_StackOp_t * p );
+
+////////////////////////////////////////////////////////////////////////
+/// END OF FILE ///
+////////////////////////////////////////////////////////////////////////
+#endif