systemc: Add deprecated notify_delayed functions.
authorGabe Black <gabeblack@google.com>
Sat, 16 Jun 2018 02:58:37 +0000 (19:58 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 22 Aug 2018 01:08:06 +0000 (01:08 +0000)
Change-Id: I8ec68920b35f9207b6856a0b1ddfdf7545b7148a
Reviewed-on: https://gem5-review.googlesource.com/11269
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>

src/systemc/core/sc_event.cc
src/systemc/ext/core/sc_event.hh

index 32fdd0afb82f61f2e9c2e70b0b7de420e57ca16d..80d10271a5d868f01c6db6d7891a45763c3c4089 100644 (file)
@@ -284,6 +284,18 @@ sc_event::triggered() const
     return false;
 }
 
+void
+sc_event::notify_delayed()
+{
+    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+}
+
+void
+sc_event::notify_delayed(const sc_time &)
+{
+    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+}
+
 sc_event_and_expr
 sc_event::operator & (const sc_event &) const
 {
index d110b9178d6c333712598740716b65fea92cdb62..8eb1283c1998ac4548b3c95b346d2d10d93d573f 100644 (file)
@@ -136,6 +136,10 @@ class sc_event
     // Returns whether this event is currently triggered.
     bool triggered() const;
 
+    // Deprecated
+    void notify_delayed();
+    void notify_delayed(const sc_time &);
+
     sc_event_and_expr operator & (const sc_event &) const;
     sc_event_and_expr operator & (const sc_event_and_list &) const;
     sc_event_or_expr operator | (const sc_event &) const;