systemc: Add deprecated sc_time constructors.
Change-Id: Iffae751272302ff2996258a1ab31b086e12bbb8d Reviewed-on: https://gem5-review.googlesource.com/11275 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
This commit is contained in:
@@ -48,6 +48,16 @@ sc_time::sc_time(const sc_time &)
|
||||
warn("%s not implemented.\n", __PRETTY_FUNCTION__);
|
||||
}
|
||||
|
||||
sc_time::sc_time(double, bool)
|
||||
{
|
||||
warn("%s not implemented.\n", __PRETTY_FUNCTION__);
|
||||
}
|
||||
|
||||
sc_time::sc_time(sc_dt::uint64, bool)
|
||||
{
|
||||
warn("%s not implemented.\n", __PRETTY_FUNCTION__);
|
||||
}
|
||||
|
||||
sc_time &
|
||||
sc_time::operator = (const sc_time &)
|
||||
{
|
||||
|
||||
@@ -55,6 +55,10 @@ class sc_time
|
||||
sc_time(double, sc_time_unit);
|
||||
sc_time(const sc_time &);
|
||||
|
||||
// Deprecated
|
||||
sc_time(double, bool);
|
||||
sc_time(sc_dt::uint64, bool);
|
||||
|
||||
sc_time &operator = (const sc_time &);
|
||||
|
||||
sc_dt::uint64 value() const;
|
||||
|
||||
Reference in New Issue
Block a user