diff options
author | Gabe Black <gabeblack@google.com> | 2018-10-07 05:23:49 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-10-16 01:12:58 +0000 |
commit | e07f7efb75f0f7322d752608eb1cb1e1145b4a98 (patch) | |
tree | c70d86ba3130636fd8c6ff3c0d159727b81932c8 /src/systemc/tests/include/specialized_signals/scx_signal_uint.h | |
parent | 3420f0e223888bf70cd502efb5a534e651891b5c (diff) | |
download | gem5-e07f7efb75f0f7322d752608eb1cb1e1145b4a98.tar.xz |
systemc: Switch to using predefined messages for channels.
Create and use predefined messages for channels which match the ones
Accellera uses.
Change-Id: I179214838bbd83604e50225926cdc6b5b1b16923
Reviewed-on: https://gem5-review.googlesource.com/c/13330
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/tests/include/specialized_signals/scx_signal_uint.h')
-rw-r--r-- | src/systemc/tests/include/specialized_signals/scx_signal_uint.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/systemc/tests/include/specialized_signals/scx_signal_uint.h b/src/systemc/tests/include/specialized_signals/scx_signal_uint.h index acc4a4219..a0ad01b45 100644 --- a/src/systemc/tests/include/specialized_signals/scx_signal_uint.h +++ b/src/systemc/tests/include/specialized_signals/scx_signal_uint.h @@ -1604,26 +1604,22 @@ sc_vpool<sc_uint_sigref> sc_uint_sigref::m_pool(8); sc_dt::sc_uint_base* sc_uint_part_if::part_read_target() { - SC_REPORT_ERROR( "attempted specalized signal operation on " - "non-specialized signal", "int" ); + SC_REPORT_ERROR( SC_ID_OPERATION_ON_NON_SPECIALIZED_SIGNAL_, "int" ); return 0; } sc_dt::uint64 sc_uint_part_if::read_part( int /*left*/, int /*right*/ ) const { - SC_REPORT_ERROR( "attempted specalized signal operation on " - "non-specialized signal", "int" ); + SC_REPORT_ERROR( SC_ID_OPERATION_ON_NON_SPECIALIZED_SIGNAL_, "int" ); return 0; } sc_uint_sigref& sc_uint_part_if::select_part( int /*left*/, int /*right*/ ) { - SC_REPORT_ERROR( "attempted specalized signal operation on " - "non-specialized signal", "int" ); + SC_REPORT_ERROR( SC_ID_OPERATION_ON_NON_SPECIALIZED_SIGNAL_, "int" ); return *(sc_uint_sigref*)0; } void sc_uint_part_if::write_part( sc_dt::uint64 v, int /*left*/, int /*right*/ ) { - SC_REPORT_ERROR( "attempted specalized signal operation on " - "non-specialized signal", "int" ); + SC_REPORT_ERROR( SC_ID_OPERATION_ON_NON_SPECIALIZED_SIGNAL_, "int" ); } //------------------------------------------------------------------------------ |