dol: initial dol commit
[jump.git] / dol / src / dol / visitor / hdsd / scd / fsm / scd_sts_time.cpp
diff --git a/dol/src/dol/visitor/hdsd/scd/fsm/scd_sts_time.cpp b/dol/src/dol/visitor/hdsd/scd/fsm/scd_sts_time.cpp
new file mode 100644 (file)
index 0000000..09e69e5
--- /dev/null
@@ -0,0 +1,21 @@
+#include "fsm/scd_sts_time.h"
+
+#include "scd_logging.h"
+#include "scd_exception.h"
+#include "scd_cont_man_slave.h"
+
+
+void scd_sts_time::set_time_step(const sc_core::sc_time& time)
+{
+    _time_step = time;
+}
+
+
+bool scd_sts_time::advance_time() const { return true; }
+
+
+const sc_core::sc_time& scd_sts_time::get_time_step()
+{
+    _fsm.set_state(_st_busy);
+    return _time_step;
+}