dol: initial dol commit
[jump.git] / dol / src / dol / visitor / hdsd / scd / fsm / scd_sts_failed.h
1 #ifndef SCD_STS_FAILED_H
2 #define SCD_STS_FAILED_H
3
4 #include "fsm/scd_sts_base.h"
5
6
7 /* forward declaration */
8 class scd_cont_man_slave;
9
10
11 class scd_sts_failed : public scd_sts_base
12 {
13 public:
14     scd_sts_failed(scd_simulator& sim, scd_cont_man_slave& fsm):
15         scd_sts_base(sim, fsm) { _name = "failed"; }
16     virtual ~scd_sts_failed() {}
17
18     void set_failed() {}
19
20     void recv_time_req() {}
21     void recv_time(const sc_core::sc_time& time) {}
22     void recv_term_req() {}
23     void recv_term() {}
24
25     /* scd_cont_fsm_if */
26     void set_fail() {}
27     bool active() const;
28     bool failed() const;
29 };
30
31 #endif