Merge branch 'master' into verilog-ams
[sverilog.git] / vpi / sdf_priv.h
bloba71d769584d23a644403e77b7d1230f81ee30d68
1 #ifndef _sdf_priv_h
2 #define _sdf_priv_h
3 /*
4 * Copyright (c) 2007 Stephen Williams (steve@icarus.com)
6 * This source code is free software; you can redistribute it
7 * and/or modify it in source code form under the terms of the GNU
8 * General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
10 * any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
22 # include <stdio.h>
25 * Invoke the parser to parse the opened SDF file. The fd is the SDF
26 * file already opened and ready for reading. The path is the path to
27 * the file and is only used for error messages.
29 extern void sdf_process_file(FILE*fd, const char*path);
31 extern int sdf_flag_warning;
32 extern int sdf_flag_inform;
34 /* ****
35 * These functions are called by the parser to process the SDF file as
36 * it is parsed.
39 struct sdf_delval_list_s {
40 int count;
41 double val[12];
44 extern void sdf_select_instance(const char*celltype, const char*inst);
45 extern void sdf_iopath_delays(int vpi_edge, const char*src, const char*dst,
46 const struct sdf_delval_list_s*delval);
48 #endif