Change-Id: Iec4e0bd504e70d0096a4c90d5fbba9565dd0deed
Reviewed-on: https://gem5-review.googlesource.com/c/13205
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
#include "base/logging.hh"
#include "systemc/core/event.hh"
#include "systemc/ext/core/sc_event.hh"
+#include "systemc/ext/core/sc_module.hh"
namespace sc_core
{
* sc_event
*/
-sc_event::sc_event() : _gem5_event(new ::sc_gem5::Event(this)) {}
+sc_event::sc_event() :
+ _gem5_event(new ::sc_gem5::Event(
+ this, sc_core::sc_gen_unique_name("event")))
+{}
sc_event::sc_event(const char *_name) :
_gem5_event(new ::sc_gem5::Event(this, _name))