Browse Source

Fixed C++11 compatibility and wrong connection of tlm recorder

Eyck Jentzsch 4 months ago
parent
commit
140a5a7067
2 changed files with 1 additions and 2 deletions
  1. 1
    1
      incl/scc/utilities.h
  2. 0
    1
      incl/scv4tlm/tlm_rec_target_socket.h

+ 1
- 1
incl/scc/utilities.h View File

@@ -48,7 +48,7 @@ template <typename T, typename... Args> std::unique_ptr<T> make_unique(Args &&..
48 48
 }
49 49
 //! macros to simplify constructor lists
50 50
 #define NAMED(X, ...) X(#X, ##__VA_ARGS__)
51
-#define NAMEDD(X, T, ...) X(std::make_unique<T>(#X, ##__VA_ARGS__))
51
+#define NAMEDD(X, T, ...) X(scc::make_unique<T>(#X, ##__VA_ARGS__))
52 52
 #define NAMEDC(X, T, I, ...) X(T::create<I>(#X, ##__VA_ARGS__))
53 53
 //! macros to simplify declaration of members to trace
54 54
 #define TRACE_VAR(F, X) sc_core::sc_trace(F, X, std::string(this->name()) + "." #X)

+ 0
- 1
incl/scv4tlm/tlm_rec_target_socket.h View File

@@ -106,7 +106,6 @@ public:
106 106
         if (this == exp) {
107 107
             export_type::bind(recorder); // non-virtual function call
108 108
             fw_port(ifs);
109
-            recorder.bw_port(this->get_base_port());
110 109
         } else {
111 110
             exp->bind(ifs);
112 111
         }