systemc: Add the nonstandard variable sc_allow_process_control_corners.
[gem5.git] / src / systemc / ext / core / _using.hh
1 /*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright
9 * notice, this list of conditions and the following disclaimer in the
10 * documentation and/or other materials provided with the distribution;
11 * neither the name of the copyright holders nor the names of its
12 * contributors may be used to endorse or promote products derived from
13 * this software without specific prior written permission.
14 *
15 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
16 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
17 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
18 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
19 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
20 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
21 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 *
27 * Authors: Gabe Black
28 */
29
30 #ifndef __SYSTEMC_EXT_CORE__USING_HH__
31 #define __SYSTEMC_EXT_CORE__USING_HH__
32
33 #include "_core.hh"
34
35 using sc_core::sc_attr_base;
36 using sc_core::sc_attribute;
37 using sc_core::sc_attr_cltn;
38
39 using sc_core::sc_event_finder;
40 using sc_core::sc_event_finder_t;
41 using sc_core::sc_event_and_list;
42 using sc_core::sc_event_or_list;
43 using sc_core::sc_event_and_expr;
44 using sc_core::sc_event_or_expr;
45 using sc_core::sc_event;
46 using sc_core::sc_get_top_level_events;
47 using sc_core::sc_find_event;
48
49 using sc_core::sc_export_base;
50 using sc_core::sc_export;
51
52 using sc_core::sc_interface;
53
54 using sc_core::sc_argc;
55 using sc_core::sc_argv;
56 using sc_core::sc_starvation_policy;
57 using sc_core::SC_RUN_TO_TIME;
58 using sc_core::SC_EXIT_ON_STARVATION;
59 using sc_core::sc_start;
60 using sc_core::sc_pause;
61 using sc_core::sc_set_stop_mode;
62 using sc_core::sc_get_stop_mode;
63 using sc_core::sc_stop_mode;
64 using sc_core::SC_STOP_FINISH_DELTA;
65 using sc_core::SC_STOP_IMMEDIATE;
66 using sc_core::sc_stop;
67 using sc_core::sc_time_stamp;
68 using sc_core::sc_delta_count;
69 using sc_core::sc_is_running;
70 using sc_core::sc_pending_activity_at_current_time;
71 using sc_core::sc_pending_activity_at_future_time;
72 using sc_core::sc_pending_activity;
73 using sc_core::sc_time_to_pending_activity;
74 using sc_core::sc_get_status;
75 using sc_core::SC_ELABORATION;
76 using sc_core::SC_BEFORE_END_OF_ELABORATION;
77 using sc_core::SC_END_OF_ELABORATION;
78 using sc_core::SC_START_OF_SIMULATION;
79 using sc_core::SC_RUNNING;
80 using sc_core::SC_PAUSED;
81 using sc_core::SC_STOPPED;
82 using sc_core::SC_END_OF_SIMULATION;
83 using sc_core::sc_status;
84
85 using sc_core::sc_bind_proxy;
86 using sc_core::SC_BIND_PROXY_NIL;
87 using sc_core::sc_module;
88 using sc_core::next_trigger;
89 using sc_core::wait;
90 using sc_core::sc_gen_unique_name;
91 using sc_core::sc_behavior;
92 using sc_core::sc_channel;
93 using sc_core::sc_start_of_simulation_invoked;
94 using sc_core::sc_end_of_simulation_invoked;
95
96 using sc_core::sc_module_name;
97
98 using sc_core::sc_object;
99 using sc_core::sc_get_top_level_objects;
100 using sc_core::sc_find_object;
101
102 using sc_core::sc_port_policy;
103 using sc_core::SC_ONE_OR_MORE_BOUND;
104 using sc_core::SC_ZERO_OR_MORE_BOUND;
105 using sc_core::SC_ALL_BOUND;
106 using sc_core::sc_port_base;
107 using sc_core::sc_port_b;
108 using sc_core::sc_port;
109
110 using sc_core::sc_prim_channel;
111
112 using sc_core::sc_curr_proc_kind;
113 using sc_core::SC_NO_PROC_;
114 using sc_core::SC_METHOD_PROC_;
115 using sc_core::SC_THREAD_PROC_;
116 using sc_core::SC_CTHREAD_PROC_;
117 using sc_core::sc_descendent_inclusion_info;
118 using sc_core::SC_NO_DESCENDANTS;
119 using sc_core::SC_INCLUDE_DESCENDANTS;
120 using sc_core::sc_unwind_exception;
121 using sc_core::sc_process_handle;
122 using sc_core::sc_get_current_process_handle;
123 using sc_core::sc_is_unwinding;
124
125 using sc_core::sc_sensitive;
126
127 using sc_core::sc_spawn_options;
128 using sc_core::sc_spawn;
129
130 using sc_core::sc_time_unit;
131 using sc_core::SC_FS;
132 using sc_core::SC_PS;
133 using sc_core::SC_NS;
134 using sc_core::SC_US;
135 using sc_core::SC_MS;
136 using sc_core::SC_SEC;
137 using sc_core::sc_time;
138 using sc_core::SC_ZERO_TIME;
139 using sc_core::sc_set_time_resolution;
140 using sc_core::sc_get_time_resolution;
141 using sc_core::sc_max_time;
142
143 #endif //__SYSTEMC_EXT_CORE__USING_HH__