dol: initial dol commit
[jump.git] / dol / src / dol / visitor / hdsd / scd / fsm / scd_stm_term_req.h
1 #ifndef SCD_STM_TERM_REQ_H
2 #define SCD_STM_TERM_REQ_H
3
4 #include "fsm/scd_stm_base.h"
5
6
7 class scd_stm_term_req : public scd_stm_base
8 {
9 public:
10     scd_stm_term_req(scd_simulator& sim, scd_cont_man_master& fsm):
11        scd_stm_base(sim, fsm) { _name = "term_req"; }
12     virtual ~scd_stm_term_req() {}
13
14     /* scd_cont_fsm_if */
15     void set_busy();
16     void set_idle(const sc_core::sc_time& time);
17     void process();
18
19 private:
20     void _send_term_nack();
21 };
22
23 #endif