diff options
author | Gabe Black <gabeblack@google.com> | 2018-05-22 02:21:17 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-08-08 10:08:12 +0000 |
commit | 5ee040a534d422ee08918ef49d55620184df7120 (patch) | |
tree | 1688e050dec6abf1a36fc92070b151e6b0682fdd /src/systemc/ext/dt/fx/_using.hh | |
parent | 7adb1b250b712920ea5d685f146ad6df55346393 (diff) | |
download | gem5-5ee040a534d422ee08918ef49d55620184df7120.tar.xz |
Systemc: Port over all of the systemc "datatype" headers.
These are the headers originally written by Accellera with a few
modifications. Most significantly, I went through and mostly (but not
entirely) manually editted them to conform to gem5 style and to be
more self consistent. Second, I resolved some macros which optionally
select features. I removed support for deprecated functions, and
otherwise enabled everything.
The actual implementation behind these headers will also be ported
over, but in a subsequent change.
Change-Id: I203d3f6c8a3af9120b946001d01defbb0643a6b6
Reviewed-on: https://gem5-review.googlesource.com/10843
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/ext/dt/fx/_using.hh')
-rw-r--r-- | src/systemc/ext/dt/fx/_using.hh | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/src/systemc/ext/dt/fx/_using.hh b/src/systemc/ext/dt/fx/_using.hh new file mode 100644 index 000000000..d6b17f386 --- /dev/null +++ b/src/systemc/ext/dt/fx/_using.hh @@ -0,0 +1,76 @@ +/* + * Copyright 2018 Google, Inc. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer; + * redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution; + * neither the name of the copyright holders nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * Authors: Gabe Black + */ + +#ifndef __SYSTEMC_EXT_DT_FX__USING_HH__ +#define __SYSTEMC_EXT_DT_FX__USING_HH__ + +#include "_fx.hh" + +using sc_dt::sc_fxnum; +using sc_dt::sc_fxnum_bitref; +using sc_dt::sc_fxnum_fast; +using sc_dt::sc_fix; +using sc_dt::sc_fix_fast; +using sc_dt::sc_ufix; +using sc_dt::sc_ufix_fast; +using sc_dt::sc_fixed; +using sc_dt::sc_fixed_fast; +using sc_dt::sc_ufixed; +using sc_dt::sc_ufixed_fast; +using sc_dt::sc_fxval; +using sc_dt::sc_fxval_fast; +using sc_dt::sc_fxcast_switch; +using sc_dt::sc_fxcast_context; +using sc_dt::sc_fxtype_params; +using sc_dt::sc_fxtype_context; +using sc_dt::sc_q_mode; +using sc_dt::SC_RND; +using sc_dt::SC_RND_ZERO; +using sc_dt::SC_RND_MIN_INF; +using sc_dt::SC_RND_INF; +using sc_dt::SC_RND_CONV; +using sc_dt::SC_TRN; +using sc_dt::SC_TRN_ZERO; +using sc_dt::sc_o_mode; +using sc_dt::SC_SAT; +using sc_dt::SC_SAT_ZERO; +using sc_dt::SC_SAT_SYM; +using sc_dt::SC_WRAP; +using sc_dt::SC_WRAP_SM; +using sc_dt::sc_switch; +using sc_dt::SC_OFF; +using sc_dt::SC_ON; +using sc_dt::sc_fmt; +using sc_dt::SC_F; +using sc_dt::SC_E; +using sc_dt::sc_context_begin; +using sc_dt::SC_NOW; +using sc_dt::SC_LATER; + +#endif //__SYSTEMC_EXT_DT_FX__USING_HH__ |