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_DT_FX__USING_HH__ 31#define __SYSTEMC_EXT_DT_FX__USING_HH__ 32 33#include "_fx.hh" 34 35using sc_dt::sc_fxnum; 36using sc_dt::sc_fxnum_bitref; 37using sc_dt::sc_fxnum_fast; 38using sc_dt::sc_fix; 39using sc_dt::sc_fix_fast; 40using sc_dt::sc_ufix; 41using sc_dt::sc_ufix_fast; 42using sc_dt::sc_fixed; 43using sc_dt::sc_fixed_fast; 44using sc_dt::sc_ufixed; 45using sc_dt::sc_ufixed_fast; 46using sc_dt::sc_fxval; 47using sc_dt::sc_fxval_fast; 48using sc_dt::sc_fxcast_switch; 49using sc_dt::sc_fxcast_context; 50using sc_dt::sc_fxtype_params; 51using sc_dt::sc_fxtype_context; 52using sc_dt::sc_q_mode; 53using sc_dt::SC_RND; 54using sc_dt::SC_RND_ZERO; 55using sc_dt::SC_RND_MIN_INF; 56using sc_dt::SC_RND_INF; 57using sc_dt::SC_RND_CONV; 58using sc_dt::SC_TRN; 59using sc_dt::SC_TRN_ZERO; 60using sc_dt::sc_o_mode; 61using sc_dt::SC_SAT; 62using sc_dt::SC_SAT_ZERO; 63using sc_dt::SC_SAT_SYM; 64using sc_dt::SC_WRAP; 65using sc_dt::SC_WRAP_SM; 66using sc_dt::sc_switch; 67using sc_dt::SC_OFF; 68using sc_dt::SC_ON; 69using sc_dt::sc_fmt; 70using sc_dt::SC_F; 71using sc_dt::SC_E; 72using sc_dt::sc_context_begin; 73using sc_dt::SC_NOW; 74using sc_dt::SC_LATER; 75 76using sc_core::SC_ID_INVALID_WL_; 77using sc_core::SC_ID_INVALID_N_BITS_; 78using sc_core::SC_ID_INVALID_DIV_WL_; 79using sc_core::SC_ID_INVALID_CTE_WL_; 80using sc_core::SC_ID_INVALID_MAX_WL_; 81using sc_core::SC_ID_INVALID_FX_VALUE_; 82using sc_core::SC_ID_INVALID_O_MODE_; 83using sc_core::SC_ID_OUT_OF_RANGE_; 84using sc_core::SC_ID_CONTEXT_BEGIN_FAILED_; 85using sc_core::SC_ID_CONTEXT_END_FAILED_; 86using sc_core::SC_ID_WRAP_SM_NOT_DEFINED_; 87 88#endif //__SYSTEMC_EXT_DT_FX__USING_HH__ 89