Fix for assertion error when expanding macro.
[iverilog.git] / tgt-stub / priv.h
blob35ff527507549aa4da2a9654b075b3878b490803
1 /*
2 * Copyright (c) 2004 Stephen Williams (steve@icarus.com)
4 * This source code is free software; you can redistribute it
5 * and/or modify it in source code form under the terms of the GNU
6 * General Public License as published by the Free Software
7 * Foundation; either version 2 of the License, or (at your option)
8 * any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19 #ifdef HAVE_CVS_IDENT
20 #ident "$Id: priv.h,v 1.5 2007/01/17 05:00:12 steve Exp $"
21 #endif
23 # include <ivl_target.h>
24 # include <stdio.h>
27 * This is the output file where the generated result should be
28 * written.
30 extern FILE*out;
33 * Keep a running count of errors that the stub detects. This will be
34 * the error count returned to the ivl_target environment.
36 extern int stub_errors;
39 * Show the details of the expression.
41 extern void show_expression(ivl_expr_t net, unsigned ind);
44 * Show the statement.
46 extern void show_statement(ivl_statement_t net, unsigned ind);
50 extern const char*data_type_string(ivl_variable_type_t vtype);