00001 /* --------------------------------------------------------------------------- 00002 00003 00004 This file is part of the ``compile.symb_table'' package of NuSMV version 2. 00005 Copyright (C) 2005 by FBK-irst. 00006 00007 NuSMV version 2 is free software; you can redistribute it and/or 00008 modify it under the terms of the GNU Lesser General Public 00009 License as published by the Free Software Foundation; either 00010 version 2 of the License, or (at your option) any later version. 00011 00012 NuSMV version 2 is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 Lesser General Public License for more details. 00016 00017 You should have received a copy of the GNU Lesser General Public 00018 License along with this library; if not, write to the Free Software 00019 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. 00020 00021 For more information on NuSMV see <http://nusmv.fbk.eu> 00022 or email to <nusmv-users@fbk.eu>. 00023 Please report bugs to <nusmv-users@fbk.eu>. 00024 00025 To contact the NuSMV development board, email to <nusmv@fbk.eu>. 00026 00027 -----------------------------------------------------------------------------*/ 00028 00037 #ifndef __NUSMV_CORE_COMPILE_SYMB_TABLE_SYMB_TABLE_H__ 00038 #define __NUSMV_CORE_COMPILE_SYMB_TABLE_SYMB_TABLE_H__ 00039 00040 #include "nusmv/core/compile/symb_table/SymbType.h" 00041 #include "nusmv/core/node/node.h" 00042 00043 /*---------------------------------------------------------------------------*/ 00044 /* Structure declarations */ 00045 /*---------------------------------------------------------------------------*/ 00046 00047 /*---------------------------------------------------------------------------*/ 00048 /* Type declarations */ 00049 /*---------------------------------------------------------------------------*/ 00050 00051 /*---------------------------------------------------------------------------*/ 00052 /* Constant declarations */ 00053 /*---------------------------------------------------------------------------*/ 00054 00055 /*---------------------------------------------------------------------------*/ 00056 /* Function prototypes */ 00057 /*---------------------------------------------------------------------------*/ 00058 00059 /* create simplified types with shared memory */ 00060 00069 SymbType_ptr SymbTablePkg_no_type(const NuSMVEnv_ptr env); 00070 00079 SymbType_ptr SymbTablePkg_statement_type(const NuSMVEnv_ptr env); 00080 00087 SymbType_ptr SymbTablePkg_boolean_type(const NuSMVEnv_ptr env); 00088 00096 SymbType_ptr SymbTablePkg_pure_symbolic_enum_type(const NuSMVEnv_ptr env); 00097 00106 SymbType_ptr SymbTablePkg_int_symbolic_enum_type(const NuSMVEnv_ptr env); 00107 00117 SymbType_ptr SymbTablePkg_pure_int_enum_type(const NuSMVEnv_ptr env); 00118 00125 SymbType_ptr SymbTablePkg_integer_type(const NuSMVEnv_ptr env); 00126 00133 SymbType_ptr SymbTablePkg_real_type(const NuSMVEnv_ptr env); 00134 00141 SymbType_ptr SymbTablePkg_continuous_type(const NuSMVEnv_ptr env); 00142 00149 SymbType_ptr SymbTablePkg_unsigned_word_type(const NuSMVEnv_ptr env, 00150 int width); 00151 00158 SymbType_ptr SymbTablePkg_signed_word_type(const NuSMVEnv_ptr env, 00159 int width); 00160 00168 SymbType_ptr SymbTablePkg_wordarray_type(const NuSMVEnv_ptr env, 00169 int awidth, 00170 SymbType_ptr subtype); 00171 00180 SymbType_ptr SymbTablePkg_array_type(SymbType_ptr subtype, 00181 int lower_bound, 00182 int upper_bound); 00183 00191 SymbType_ptr SymbTablePkg_intarray_type(const NuSMVEnv_ptr env, 00192 SymbType_ptr subtype); 00193 00200 SymbType_ptr SymbTablePkg_boolean_set_type(const NuSMVEnv_ptr env); 00201 00208 SymbType_ptr SymbTablePkg_integer_set_type(const NuSMVEnv_ptr env); 00209 00216 SymbType_ptr SymbTablePkg_symbolic_set_type(const NuSMVEnv_ptr env); 00217 00224 SymbType_ptr SymbTablePkg_integer_symbolic_set_type(const NuSMVEnv_ptr env); 00225 00232 SymbType_ptr SymbTablePkg_error_type(const NuSMVEnv_ptr env); 00233 00234 00235 #endif /* __NUSMV_CORE_COMPILE_SYMB_TABLE_SYMB_TABLE_H__ */