summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/systemc/channel/sc_clock.cc6
-rw-r--r--src/systemc/ext/channel/_using.hh4
-rw-r--r--src/systemc/ext/channel/sc_clock.hh8
3 files changed, 17 insertions, 1 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
diff --git a/src/systemc/ext/channel/_using.hh b/src/systemc/ext/channel/_using.hh
index 089991faa..307e89f21 100644
--- a/src/systemc/ext/channel/_using.hh
+++ b/src/systemc/ext/channel/_using.hh
@@ -34,8 +34,10 @@
using sc_core::sc_buffer;
-using sc_core::sc_in_clk;
using sc_core::sc_clock;
+using sc_core::sc_in_clk;
+using sc_core::sc_inout_clk;
+using sc_core::sc_out_clk;
using sc_core::sc_event_queue;
diff --git a/src/systemc/ext/channel/sc_clock.hh b/src/systemc/ext/channel/sc_clock.hh
index 9ca160c3a..ae1f6c973 100644
--- a/src/systemc/ext/channel/sc_clock.hh
+++ b/src/systemc/ext/channel/sc_clock.hh
@@ -58,6 +58,10 @@ class sc_clock : public sc_signal<bool>
double duty_cycle, double start_time_v,
sc_time_unit start_time_tu, bool posedge_first=true);
+ // Deprecated.
+ sc_clock(const char *name, double period, double duty_cycle=0.5,
+ double start_time=0.0, bool posedge_first=true);
+
virtual ~sc_clock();
virtual void write(const bool &);
@@ -80,6 +84,10 @@ class sc_clock : public sc_signal<bool>
typedef sc_in<bool> sc_in_clk;
+// Deprecated
+typedef sc_inout<bool> sc_inout_clk;
+typedef sc_out<bool> sc_out_clk;
+
} // namespace sc_core
#endif //__SYSTEMC_EXT_CHANNEL_SC_CLOCK_HH__