Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 51 lines (42 sloc) 1.485 kb
8a4937b missing header file.
steve authored
1 #ifndef __util_H
2 #define __util_H
3 /*
177b6ff Addtrbute keys are perm_strings.
steve authored
4 * Copyright (c) 2000-2004 Stephen Williams (steve@icarus.com)
8a4937b missing header file.
steve authored
5 *
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.
11 *
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.
16 *
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
20 */
21
e6c0629 Add language support for Verilog-2001 attribute
steve authored
22 # include <map>
cced1e7 @steveicarus Remove some uses of the svector template.
steveicarus authored
23 # include <vector>
24 # include <list>
177b6ff Addtrbute keys are perm_strings.
steve authored
25 # include "StringHeap.h"
e6c0629 Add language support for Verilog-2001 attribute
steve authored
26 # include "verinum.h"
27
28 class PExpr;
29 class Design;
30 class NetScope;
219df16 Generalize the evaluation of floating point delays, and
steve authored
31
8a4937b missing header file.
steve authored
32 /*
6466d02 Add automatic module libraries.
steve authored
33 * This file attempts to locate a module in a file. It operates by
34 * looking for a plausible Verilog file to hold the module, and
35 * invoking the parser to bring in that file's contents.
36 */
37 extern bool load_module(const char*type);
38
39
e6c0629 Add language support for Verilog-2001 attribute
steve authored
40
41 struct attrib_list_t {
177b6ff Addtrbute keys are perm_strings.
steve authored
42 perm_string key;
e6c0629 Add language support for Verilog-2001 attribute
steve authored
43 verinum val;
44 };
45
177b6ff Addtrbute keys are perm_strings.
steve authored
46 extern attrib_list_t* evaluate_attributes(const map<perm_string,PExpr*>&att,
e6c0629 Add language support for Verilog-2001 attribute
steve authored
47 unsigned&natt,
8fd42fb Build errors in picky GCC compilers.
steve authored
48 Design*des, NetScope*scope);
e6c0629 Add language support for Verilog-2001 attribute
steve authored
49
8a4937b missing header file.
steve authored
50 #endif
Something went wrong with that request. Please try again.