From 5ee040a534d422ee08918ef49d55620184df7120 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 22 May 2018 02:21:17 -0700 Subject: 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 Maintainer: Gabe Black --- src/systemc/ext/dt/int/_using.hh | 41 +++++++++++++++++++++++++--------------- 1 file changed, 26 insertions(+), 15 deletions(-) (limited to 'src/systemc/ext/dt/int/_using.hh') diff --git a/src/systemc/ext/dt/int/_using.hh b/src/systemc/ext/dt/int/_using.hh index a53ac36ec..82f64dd25 100644 --- a/src/systemc/ext/dt/int/_using.hh +++ b/src/systemc/ext/dt/int/_using.hh @@ -27,27 +27,38 @@ * Authors: Gabe Black */ -#ifndef __SYSTEMC_EXT_CORE_INT__USING_HH__ -#define __SYSTEMC_EXT_CORE_INT__USING_HH__ +#ifndef __SYSTEMC_EXT_DT_INT__USING_HH__ +#define __SYSTEMC_EXT_DT_INT__USING_HH__ -#include "int.hh" +#include "_int.hh" -using sc_dt::SC_NOBASE; using sc_dt::SC_BIN; -using sc_dt::SC_OCT; +using sc_dt::SC_BIN_SM; +using sc_dt::SC_BIN_US; +using sc_dt::SC_CSD; using sc_dt::SC_DEC; using sc_dt::SC_HEX; -using sc_dt::SC_BIN_US; -using sc_dt::SC_BIN_SM; -using sc_dt::SC_OCT_US; -using sc_dt::SC_OCT_SM; -using sc_dt::SC_HEX_US; using sc_dt::SC_HEX_SM; -using sc_dt::SC_CSD; -using sc_dt::small_type +using sc_dt::SC_HEX_US; +using sc_dt::SC_NOBASE; +using sc_dt::SC_OCT; +using sc_dt::SC_OCT_SM; +using sc_dt::SC_OCT_US; using sc_dt::int64; +using sc_dt::sc_bigint; +using sc_dt::sc_biguint; +using sc_dt::sc_digit; +using sc_dt::sc_int; +using sc_dt::sc_int_base; +using sc_dt::sc_io_show_base; +using sc_dt::sc_length_context; +using sc_dt::sc_length_param; +using sc_dt::sc_logic; +using sc_dt::sc_numrep; +using sc_dt::sc_signed; +using sc_dt::sc_uint; +using sc_dt::sc_uint_base; +using sc_dt::sc_unsigned; using sc_dt::uint64; -using sc_dt::int_type; -using sc_dt::uint_type; -#endif //__SYSTEMC_EXT_CORE_INT__USING_HH__ +#endif //__SYSTEMC_EXT_DT_INT__USING_HH__ -- cgit v1.2.3