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