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_UTILS__USING_HH__
31#define __SYSTEMC_EXT_UTILS__USING_HH__
32
33#include "_utils.hh"
34
35using sc_core::sc_severity;
36using sc_core::SC_INFO;
37using sc_core::SC_WARNING;
38using sc_core::SC_ERROR;
39using sc_core::SC_FATAL;
40using sc_core::SC_MAX_SEVERITY;
41using sc_core::sc_verbosity;
42using sc_core::SC_NONE;
43using sc_core::SC_LOW;
44using sc_core::SC_MEDIUM;
45using sc_core::SC_HIGH;
46using sc_core::SC_FULL;
47using sc_core::SC_DEBUG;
48using sc_core::sc_report;
49
50using sc_core::sc_actions;
51using sc_core::SC_UNSPECIFIED;
52using sc_core::SC_DO_NOTHING;
53using sc_core::SC_THROW;
54using sc_core::SC_LOG;
55using sc_core::SC_DISPLAY;
56using sc_core::SC_CACHE_REPORT;
57using sc_core::SC_INTERRUPT;
58using sc_core::SC_STOP;
59using sc_core::SC_ABORT;
60using sc_core::sc_report_handler_proc;
61using sc_core::sc_report_handler;
62using sc_core::sc_interrupt_here;
63using sc_core::sc_stop_here;
64using sc_core::sc_report_compose_message;
65using sc_core::sc_report_close_default_log;
66using sc_core::SC_DEFAULT_INFO_ACTIONS;
67using sc_core::SC_DEFAULT_WARNING_ACTIONS;
68using sc_core::SC_DEFAULT_ERROR_ACTIONS;
69using sc_core::SC_DEFAULT_FATAL_ACTIONS;
70
71using sc_core::sc_trace_file;
72using sc_core::sc_create_vcd_trace_file;
73using sc_core::sc_close_vcd_trace_file;
74using sc_core::sc_write_comment;
75using sc_core::sc_trace;
76using sc_core::sc_trace_delta_cycles;
77
78using sc_core::sc_exception;
79
80using sc_core::sc_vector_base;
81using sc_core::sc_vector_iter;
82using sc_core::sc_vector;
83using sc_core::sc_vector_assembly;
84
85using sc_dt::sc_abs;
86using sc_dt::sc_max;
87using sc_dt::sc_min;
88
89using sc_core::sc_version_major;
90using sc_core::sc_version_minor;
91using sc_core::sc_version_patch;
92using sc_core::sc_version_originator;
93using sc_core::sc_version_release_date;
94using sc_core::sc_version_prerelease;
95using sc_core::sc_version_string;
96using sc_core::sc_copyright_string;
97using sc_core::sc_release;
98using sc_core::sc_copyright;
99using sc_core::sc_version;
100
101using sc_core::SC_ID_UNKNOWN_ERROR_;
102using sc_core::SC_ID_WITHOUT_MESSAGE_;
103using sc_core::SC_ID_NOT_IMPLEMENTED_;
104using sc_core::SC_ID_INTERNAL_ERROR_;
105using sc_core::SC_ID_ASSERTION_FAILED_;
106using sc_core::SC_ID_OUT_OF_BOUNDS_;
107using sc_core::SC_ID_ABORT_;
108
109using sc_core::SC_ID_REGISTER_ID_FAILED_;
110using sc_core::SC_ID_STRING_TOO_LONG_;
111using sc_core::SC_ID_FRONT_ON_EMPTY_LIST_;
112using sc_core::SC_ID_BACK_ON_EMPTY_LIST_;
113using sc_core::SC_ID_IEEE_1666_DEPRECATION_;
114using sc_core::SC_ID_VECTOR_INIT_CALLED_TWICE_;
115using sc_core::SC_ID_VECTOR_BIND_EMPTY_;
116using sc_core::SC_ID_VECTOR_NONOBJECT_ELEMENTS_;
117
118#endif  //__SYSTEMC_EXT_UTILS__USING_HH__
119