diff options
author | Gabe Black <gabeblack@google.com> | 2018-09-20 02:57:54 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-10-16 00:26:15 +0000 |
commit | 3d29513196e7d59e1b8f9da120089bac17e8771d (patch) | |
tree | 600c99d37f34fd7ec07b7221fb41f14848b4938c /src/systemc/ext/dt | |
parent | a503a24d97b29ef246330e95dab77669a0a4256c (diff) | |
download | gem5-3d29513196e7d59e1b8f9da120089bac17e8771d.tar.xz |
systemc: Implement general and VCD trace support.
This doesn't include WIF trace support, but does make allowances for
adding it in the future.
Change-Id: Ifb62f40a7d8a13e94463930a44ac4b1cf41e3009
Reviewed-on: https://gem5-review.googlesource.com/c/12826
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/ext/dt')
-rw-r--r-- | src/systemc/ext/dt/fx/sc_fxnum.hh | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/systemc/ext/dt/fx/sc_fxnum.hh b/src/systemc/ext/dt/fx/sc_fxnum.hh index 1138646f3..8a0b7f612 100644 --- a/src/systemc/ext/dt/fx/sc_fxnum.hh +++ b/src/systemc/ext/dt/fx/sc_fxnum.hh @@ -66,13 +66,11 @@ #include "sc_fxval.hh" #include "scfx_params.hh" -namespace sc_core +namespace sc_gem5 { -class vcd_sc_fxnum_trace; -class vcd_sc_fxnum_fast_trace; -class wif_sc_fxnum_trace; -class wif_sc_fxnum_fast_trace; +template <typename T, typename B> +class TraceValFxnumBase; } // namespace sc_core @@ -490,8 +488,8 @@ class sc_fxnum friend class sc_fxnum_fast_bitref; friend class sc_fxnum_fast_subref; - friend class sc_core::vcd_sc_fxnum_trace; - friend class sc_core::wif_sc_fxnum_trace; + template <typename T, typename B> + friend class sc_gem5::TraceValFxnumBase; protected: sc_fxnum_observer *observer() const; @@ -851,8 +849,8 @@ class sc_fxnum_fast friend class sc_fxnum_fast_bitref; friend class sc_fxnum_fast_subref; - friend class sc_core::vcd_sc_fxnum_fast_trace; - friend class sc_core::wif_sc_fxnum_fast_trace; + template <typename T, typename B> + friend class sc_gem5::TraceValFxnumBase; protected: sc_fxnum_fast_observer *observer() const; |