From e07f7efb75f0f7322d752608eb1cb1e1145b4a98 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 7 Oct 2018 05:23:49 -0700 Subject: 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 Maintainer: Gabe Black --- .../tests/include/specialized_signals/scx_signal_int.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/systemc/tests/include/specialized_signals/scx_signal_int.h') diff --git a/src/systemc/tests/include/specialized_signals/scx_signal_int.h b/src/systemc/tests/include/specialized_signals/scx_signal_int.h index 050521de0..b853acd18 100644 --- a/src/systemc/tests/include/specialized_signals/scx_signal_int.h +++ b/src/systemc/tests/include/specialized_signals/scx_signal_int.h @@ -1556,26 +1556,22 @@ sc_vpool sc_int_sigref::m_pool(8); sc_dt::sc_int_base* sc_int_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_int_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_int_sigref& sc_int_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_int_sigref*)0; } void sc_int_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" ); } -- cgit v1.2.3