Loading...
Searching...
No Matches
Go to the documentation of this file.
15#define TEST_BIT_T(T_op) \
17 out << #T_op << " " << T_WL << " " << T_IWL << "\n"; \
18 sc_fxtype_context fooc(sc_fxtype_params(T_WL, T_IWL)); \
21 for (i = 0; i < T_WL; ++i) \
29 for (i = 0; i < T_WL; i += 3) \
31 for (i = 0; i < T_WL; ++i) \
41 for (i = 0; i < T_WL; ++i) \
49 for (i = 0; i < T_WL; i += 3) \
51 for (i = 0; i < T_WL; ++i) \
59 out << "a = " << a.to_string(SC_BIN) << "\n"; \
61 out << "a = " << a.to_string(SC_BIN) << "\n"; \
66TEST_BIT_T(T_FX_FIX); \
67TEST_BIT_T(T_FX_FIXED); \
68TEST_BIT_T(T_FX_UFIX); \
69TEST_BIT_T(T_FX_UFIXED);
72#define T_FX_UFIX sc_ufix
73#define T_FX_FIX sc_fix
74#define T_FX_FIXED sc_fixed<T_WL, T_IWL>
75#define T_FX_UFIXED sc_ufixed<T_WL, T_IWL>
Generated on Tue Jun 18 2024 16:24:07 for gem5 by doxygen 1.11.0