summaryrefslogtreecommitdiff
path: root/src/systemc/ext/dt
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemc/ext/dt')
-rw-r--r--src/systemc/ext/dt/fx/sc_fxnum.hh16
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;