Last change
on this file since 23 was
4,
checked in by nipo, 17 years ago
|
Towards SystemC-2.2 LRM:
- Implement sc_time with units
- Have a systemc header with no namespace pollution
|
File size:
1.9 KB
|
Rev | Line | |
---|
[1] | 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 | |
---|
| 18 | namespace sc_core { |
---|
| 19 | |
---|
| 20 | ///////////////////////////////////////////////// |
---|
| 21 | // kernel |
---|
| 22 | // |
---|
| 23 | class method_process_t; |
---|
| 24 | class sc_port_base; |
---|
| 25 | class sc_object; |
---|
| 26 | class sc_interface; |
---|
| 27 | class sc_module; |
---|
| 28 | class sc_event; |
---|
| 29 | class sc_event_finder; |
---|
| 30 | class sc_sensitive; |
---|
| 31 | class sc_sensitive_pos; |
---|
| 32 | class sc_sensitive_neg; |
---|
| 33 | class sc_module_name; |
---|
| 34 | class sc_time; |
---|
| 35 | |
---|
| 36 | ///////////////////////////////////////////////// |
---|
| 37 | // Ports & Signals |
---|
| 38 | // |
---|
| 39 | template <class T> class sc_in; |
---|
| 40 | template <class T> class sc_inout; |
---|
| 41 | template <class T> class sc_out; |
---|
| 42 | template <class T> class sc_signal; |
---|
| 43 | template < typename T > class sc_port_b; |
---|
| 44 | class sc_signal_base; |
---|
| 45 | class sc_clock; |
---|
| 46 | |
---|
| 47 | ///////////////////////////////////////////////// |
---|
| 48 | // Tracing |
---|
| 49 | // |
---|
| 50 | class sc_trace_file; |
---|
| 51 | |
---|
| 52 | ///////////////////////////////////////////////// |
---|
| 53 | // lists |
---|
| 54 | // |
---|
| 55 | typedef std::vector<method_process_t *> method_process_list_t; |
---|
| 56 | } |
---|
| 57 | |
---|
| 58 | ///////////////////////////////////////////////// |
---|
| 59 | // Data Types |
---|
| 60 | // |
---|
| 61 | namespace sc_dt { |
---|
| 62 | |
---|
| 63 | template <int W> class sc_bigint; |
---|
| 64 | template <int W> class sc_biguint; |
---|
| 65 | template <int W> class sc_int; |
---|
| 66 | template <int W> class sc_uint; |
---|
| 67 | template <int W> class sc_bv; |
---|
| 68 | template <int W> class sc_lv; |
---|
| 69 | class sc_unsigned; |
---|
| 70 | class sc_signed; |
---|
| 71 | class sc_bit; |
---|
| 72 | class sc_logic; |
---|
| 73 | } |
---|
| 74 | |
---|
| 75 | #endif |
---|
| 76 | |
---|
Note: See
TracBrowser
for help on using the repository browser.