Browse Source

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

pull/4/head
Eyck Jentzsch 10 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 &&..
}
//! macros to simplify constructor lists
#define NAMED(X, ...) X(#X, ##__VA_ARGS__)
#define NAMEDD(X, T, ...) X(std::make_unique<T>(#X, ##__VA_ARGS__))
#define NAMEDD(X, T, ...) X(scc::make_unique<T>(#X, ##__VA_ARGS__))
#define NAMEDC(X, T, I, ...) X(T::create<I>(#X, ##__VA_ARGS__))
//! macros to simplify declaration of members to trace
#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:
if (this == exp) {
export_type::bind(recorder); // non-virtual function call
fw_port(ifs);
recorder.bw_port(this->get_base_port());
} else {
exp->bind(ifs);
}

Loading…
Cancel
Save