From: Gabe Black Date: Sat, 16 Jun 2018 02:58:37 +0000 (-0700) Subject: systemc: Add deprecated notify_delayed functions. X-Git-Tag: v19.0.0.0~1904 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e35fe2e775ebc47d39a057822547034e9cd09a7;p=gem5.git systemc: Add deprecated notify_delayed functions. Change-Id: I8ec68920b35f9207b6856a0b1ddfdf7545b7148a Reviewed-on: https://gem5-review.googlesource.com/11269 Reviewed-by: Gabe Black Maintainer: Gabe Black --- diff --git a/src/systemc/core/sc_event.cc b/src/systemc/core/sc_event.cc index 32fdd0afb..80d10271a 100644 --- a/src/systemc/core/sc_event.cc +++ b/src/systemc/core/sc_event.cc @@ -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 { diff --git a/src/systemc/ext/core/sc_event.hh b/src/systemc/ext/core/sc_event.hh index d110b9178..8eb1283c1 100644 --- a/src/systemc/ext/core/sc_event.hh +++ b/src/systemc/ext/core/sc_event.hh @@ -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;