source: latest/src/sc_fwd.h @ 1

Last change on this file since 1 was 1, checked in by buchmann, 17 years ago

Initial import from CVS repository

File size: 2.9 KB
Line 
1/*------------------------------------------------------------\
2|                                                             |
3| Tool    :                  systemcass                       |
4|                                                             |
5| File    :                 sc_fwd.h                          |
6|                                                             |
7| Author  :                 Buchmann Richard                  |
8|                                                             |
9| Date    :                   09_07_2004                      |
10|                                                             |
11\------------------------------------------------------------*/
12#ifndef __SC_FWD_H__
13#define __SC_FWD_H__
14
15#include <vector>
16//#include <list>
17
18namespace sc_core {
19
20/////////////////////////////////////////////////
21// kernel
22//
23class method_process_t;
24class sc_port_base;
25class sc_object;
26class sc_interface;
27class sc_module;
28class sc_event;
29class sc_event_finder;
30class sc_sensitive;
31class sc_sensitive_pos;
32class sc_sensitive_neg;
33class sc_module_name;
34class sc_time;
35
36/////////////////////////////////////////////////
37// Ports & Signals
38//
39template <class T> class sc_in;
40template <class T> class sc_inout;
41template <class T> class sc_out;
42template <class T> class sc_signal;
43template < typename T > class sc_port_b;
44class sc_signal_base;
45class sc_clock;
46
47/////////////////////////////////////////////////
48// Tracing
49//
50class sc_trace_file;
51
52/////////////////////////////////////////////////
53// lists
54//
55typedef std::vector<method_process_t *> method_process_list_t;
56}
57
58using sc_core::method_process_t;
59using sc_core::sc_port_base;
60using sc_core::sc_object;
61using sc_core::sc_interface;
62using sc_core::sc_module;
63using sc_core::sc_module_name;
64using sc_core::sc_event;
65using sc_core::sc_event_finder;
66using sc_core::sc_sensitive;
67using sc_core::sc_sensitive_pos;
68using sc_core::sc_sensitive_neg;
69/////////////////////////////////////////////////
70// Ports & Signals
71//
72using sc_core::sc_time;
73
74using sc_core::sc_in;
75using sc_core::sc_inout;
76using sc_core::sc_out;
77using sc_core::sc_signal;
78using sc_core::sc_port_b;
79using sc_core::sc_signal_base;
80using sc_core::sc_clock;
81
82using sc_core::sc_trace_file;
83
84using sc_core::method_process_list_t;
85
86/////////////////////////////////////////////////
87// Data Types
88//
89namespace sc_dt {
90
91  template <int W> class sc_bigint;
92  template <int W> class sc_biguint;
93  template <int W> class sc_int;
94  template <int W> class sc_uint;
95  template <int W> class sc_bv;
96  template <int W> class sc_lv;
97  class sc_unsigned;
98  class sc_signed;
99  class sc_bit;
100  class sc_logic;
101}
102
103using sc_dt::sc_bit;
104using sc_dt::sc_bv;
105using sc_dt::sc_logic;
106using sc_dt::sc_lv;
107using sc_dt::sc_unsigned;
108using sc_dt::sc_signed;
109//using sc_dt::sc_int_base;
110using sc_dt::sc_int;
111using sc_dt::sc_uint;
112using sc_dt::sc_bigint;
113using sc_dt::sc_biguint;
114//using sc_dt::sc_uint_base;
115
116#endif
117
Note: See TracBrowser for help on using the repository browser.