_using.hh revision 12840:afc4b2b0f0f2
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
35using sc_core::sc_attr_base;
36using sc_core::sc_attribute;
37using sc_core::sc_attr_cltn;
38
39using sc_core::sc_event_finder;
40using sc_core::sc_event_finder_t;
41using sc_core::sc_event_and_list;
42using sc_core::sc_event_or_list;
43using sc_core::sc_event_and_expr;
44using sc_core::sc_event_or_expr;
45using sc_core::sc_event;
46using sc_core::sc_get_top_level_events;
47using sc_core::sc_find_event;
48
49using sc_core::sc_export_base;
50using sc_core::sc_export;
51
52using sc_core::sc_interface;
53
54using sc_core::sc_argc;
55using sc_core::sc_argv;
56
57using sc_core::sc_bind_proxy;
58using sc_core::SC_BIND_PROXY_NIL;
59using sc_core::sc_module;
60using sc_core::next_trigger;
61using sc_core::wait;
62using sc_core::sc_gen_unique_name;
63using sc_core::sc_behavior;
64using sc_core::sc_channel;
65using sc_core::sc_start_of_simulation_invoked;
66using sc_core::sc_end_of_simulation_invoked;
67
68using sc_core::sc_module_name;
69
70using sc_core::sc_object;
71using sc_core::sc_get_top_level_objects;
72using sc_core::sc_find_object;
73
74using sc_core::sc_port_policy;
75using sc_core::SC_ONE_OR_MORE_BOUND;
76using sc_core::SC_ZERO_OR_MORE_BOUND;
77using sc_core::SC_ALL_BOUND;
78using sc_core::sc_port_base;
79using sc_core::sc_port_b;
80using sc_core::sc_port;
81
82using sc_core::sc_prim_channel;
83
84using sc_core::sc_curr_proc_kind;
85using sc_core::SC_NO_PROC_;
86using sc_core::SC_METHOD_PROC_;
87using sc_core::SC_THREAD_PROC_;
88using sc_core::SC_CTHREAD_PROC_;
89using sc_core::sc_descendent_inclusion_info;
90using sc_core::SC_NO_DESCENDANTS;
91using sc_core::SC_INCLUDE_DESCENDANTS;
92using sc_core::sc_unwind_exception;
93using sc_core::sc_process_handle;
94using sc_core::sc_get_current_process_handle;
95using sc_core::sc_is_unwinding;
96
97using sc_core::sc_sensitive;
98
99using sc_core::sc_spawn_options;
100using sc_core::sc_spawn;
101
102using sc_core::sc_time_unit;
103using sc_core::sc_time;
104using sc_core::SC_ZERO_TIME;
105using sc_core::sc_set_time_resolution;
106using sc_core::sc_get_time_resolution;
107using sc_core::sc_max_time;
108
109#endif  //__SYSTEMC_EXT_CORE__USING_HH__
110