Extended tracing in units and python

This commit is contained in:
2019-01-06 15:26:13 +01:00
parent f78c4d89d0
commit 117b0e4375
9 changed files with 23 additions and 13 deletions

View File

@ -18,6 +18,6 @@ ClkGen::~ClkGen() {
// TODO Auto-generated destructor stub
}
void ClkGen::end_of_elabortation() {
void ClkGen::end_of_elaboration() {
clk_o.write(10_ns);
}

View File

@ -17,7 +17,7 @@ public:
ClkGen(const sc_core::sc_module_name&);
virtual ~ClkGen();
protected:
void end_of_elabortation();
void end_of_elaboration() override;
};
#endif /* COMPONENTS_CLKGEN_H_ */

View File

@ -8,7 +8,7 @@ using namespace std;
#include "tlm.h"
#include "tlm_utils/simple_initiator_socket.h"
#include <scc/utilities.h>
// Initiator module generating generic payload transactions
@ -34,6 +34,10 @@ struct Initiator: sc_module
bool dmi_ptr_valid;
tlm::tlm_dmi dmi_data;
void trace(sc_core::sc_trace_file* trf) const override {
TRACE_VAR(trf, dmi_ptr_valid);
}
};
#endif