_using.hh revision 12852:300397457d0b
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_DEFAULT_INFO_ACTIONS;
65using sc_core::SC_DEFAULT_WARNING_ACTIONS;
66using sc_core::SC_DEFAULT_ERROR_ACTIONS;
67using sc_core::SC_DEFAULT_FATAL_ACTIONS;
68
69using sc_core::sc_trace_file;
70using sc_core::sc_create_vcd_trace_file;
71using sc_core::sc_close_vcd_trace_file;
72using sc_core::sc_write_comment;
73using sc_core::sc_trace;
74
75using sc_core::sc_exception;
76
77using sc_core::sc_vector_base;
78using sc_core::sc_vector_iter;
79using sc_core::sc_vector;
80using sc_core::sc_vector_assembly;
81
82using sc_dt::sc_abs;
83using sc_dt::sc_max;
84using sc_dt::sc_min;
85
86using sc_core::sc_version_major;
87using sc_core::sc_version_minor;
88using sc_core::sc_version_patch;
89using sc_core::sc_version_originator;
90using sc_core::sc_version_release_date;
91using sc_core::sc_version_prerelease;
92using sc_core::sc_version_string;
93using sc_core::sc_copyright_string;
94using sc_core::sc_release;
95using sc_core::sc_copyright;
96using sc_core::sc_version;
97
98#endif  //__SYSTEMC_EXT_UTILS__USING_HH__
99