dol: initial dol commit
[jump.git] / dol / src / dol / visitor / hdsd / scd / fsm / scd_sts_time.cpp
1 #include "fsm/scd_sts_time.h"
2
3 #include "scd_logging.h"
4 #include "scd_exception.h"
5 #include "scd_cont_man_slave.h"
6
7
8 void scd_sts_time::set_time_step(const sc_core::sc_time& time)
9 {
10     _time_step = time;
11 }
12
13
14 bool scd_sts_time::advance_time() const { return true; }
15
16
17 const sc_core::sc_time& scd_sts_time::get_time_step()
18 {
19     _fsm.set_state(_st_busy);
20     return _time_step;
21 }