00001 #ifndef __SYMTABLE_H__ 00002 #define __SYMTABLE_H__ 00003 00004 /* 00005 Copyright (c) 2006-2010 Trevor Williams 00006 00007 This program is free software; you can redistribute it and/or modify 00008 it under the terms of the GNU General Public License as published by the Free Software 00009 Foundation; either version 2 of the License, or (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 00012 without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00013 See the GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License along with this program; 00016 if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00017 */ 00018 00026 #include "defines.h" 00027 00028 00030 symtable* symtable_create(); 00031 00033 void symtable_add( const char* sym, vsignal* sig, int msb, int lsb ); 00034 00036 void symtable_set_value( const char* sym, const char* value ); 00037 00039 void symtable_assign( const sim_time* time ); 00040 00042 void symtable_dealloc( symtable* symtab ); 00043 00044 #endif 00045