summaryrefslogtreecommitdiff
path: root/src/systemc/channel
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-06-13 18:52:02 -0700
committerGabe Black <gabeblack@google.com>2018-08-15 01:37:10 +0000
commita18e901b1640ac53e79e27a4eb2979ade60401b4 (patch)
tree07eccae84f098c2cff05e00d0c44e837ac15fe3d /src/systemc/channel
parenta7c7b939713b62043646c6b9b9254faa8e8b98ce (diff)
downloadgem5-a18e901b1640ac53e79e27a4eb2979ade60401b4.tar.xz
systemc: Add some deprecated features to sc_clock.*.
Add in two deprecated typedefs, and a deprecated constructor. These are necessary to get the regressions to build. Change-Id: Id8320a67c680acbca0abaee9898158ffd2678d67 Reviewed-on: https://gem5-review.googlesource.com/11183 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/channel')
-rw-r--r--src/systemc/channel/sc_clock.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/systemc/channel/sc_clock.cc b/src/systemc/channel/sc_clock.cc
index ac1d3369a..891c66609 100644
--- a/src/systemc/channel/sc_clock.cc
+++ b/src/systemc/channel/sc_clock.cc
@@ -65,6 +65,12 @@ sc_clock::sc_clock(const char *name, double period_v, sc_time_unit period_tu,
warn("%s not implemented.\n", __PRETTY_FUNCTION__);
}
+sc_clock::sc_clock(const char *name, double period, double duty_cycle,
+ double start_time, bool posedge_first)
+{
+ warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+}
+
sc_clock::~sc_clock() {}
void