2000-10-09 00:36:55 +02:00
|
|
|
#ifndef __globals_H
|
|
|
|
|
#define __globals_H
|
|
|
|
|
/*
|
2009-12-01 04:11:13 +01:00
|
|
|
* Copyright (c) 2000-2009 Stephen Williams (steve@icarus.com)
|
2000-10-09 00:36:55 +02:00
|
|
|
*
|
|
|
|
|
* This source code is free software; you can redistribute it
|
|
|
|
|
* and/or modify it in source code form under the terms of the GNU
|
|
|
|
|
* General Public License as published by the Free Software
|
|
|
|
|
* Foundation; either version 2 of the License, or (at your option)
|
|
|
|
|
* any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
# include <stddef.h>
|
|
|
|
|
|
2007-03-07 05:24:59 +01:00
|
|
|
/* This is the integer-width argument that will be passed to ivl. */
|
|
|
|
|
extern unsigned integer_width;
|
|
|
|
|
|
2002-06-23 22:10:51 +02:00
|
|
|
/* Perform variable substitutions on the string. */
|
|
|
|
|
extern char* substitutions(const char*str);
|
|
|
|
|
|
2001-11-12 02:26:36 +01:00
|
|
|
/* Add the name to the list of source files. */
|
2007-04-19 04:52:53 +02:00
|
|
|
extern void process_file_name(const char*name, int lib_flag);
|
2001-11-12 02:26:36 +01:00
|
|
|
|
|
|
|
|
/* Add the name to the list of library directories. */
|
|
|
|
|
extern void process_library_switch(const char*name);
|
2002-05-28 22:40:37 +02:00
|
|
|
extern void process_library_nocase_switch(const char*name);
|
2001-11-16 06:07:19 +01:00
|
|
|
extern void process_library2_switch(const char*name);
|
2001-11-12 02:26:36 +01:00
|
|
|
|
2001-11-12 19:47:32 +01:00
|
|
|
/* Add a new include file search directory */
|
|
|
|
|
extern void process_include_dir(const char*name);
|
|
|
|
|
|
2001-11-13 04:30:26 +01:00
|
|
|
/* Add a new -D define. */
|
|
|
|
|
extern void process_define(const char*name);
|
2009-08-06 23:42:13 +02:00
|
|
|
|
|
|
|
|
/* Add a new parameter definition */
|
|
|
|
|
extern void process_parameter(const char*name);
|
2009-12-30 05:23:58 +01:00
|
|
|
|
|
|
|
|
/* Set the default timescale for the simulator. */
|
|
|
|
|
extern void process_timescale(const char*ts_string);
|
2001-10-21 01:02:39 +02:00
|
|
|
|
2000-10-09 00:36:55 +02:00
|
|
|
#endif
|