X-Git-Url: http://sraa.de/git/?a=blobdiff_plain;f=dol%2Fsrc%2Fdol%2Fvisitor%2Fhdsd%2Fscd%2Ffsm%2Fscd_sts_failed.h;fp=dol%2Fsrc%2Fdol%2Fvisitor%2Fhdsd%2Fscd%2Ffsm%2Fscd_sts_failed.h;h=c699dbb56fe70ca54b083aaf8ccb3b9cb8d088b5;hb=8c411cf24ed0eb889191aaeafd8fa1e69081df42;hp=0000000000000000000000000000000000000000;hpb=dea7a4fb1ed110d3ce6e6d9255103d724bd66c0e;p=jump.git diff --git a/dol/src/dol/visitor/hdsd/scd/fsm/scd_sts_failed.h b/dol/src/dol/visitor/hdsd/scd/fsm/scd_sts_failed.h new file mode 100644 index 0000000..c699dbb --- /dev/null +++ b/dol/src/dol/visitor/hdsd/scd/fsm/scd_sts_failed.h @@ -0,0 +1,31 @@ +#ifndef SCD_STS_FAILED_H +#define SCD_STS_FAILED_H + +#include "fsm/scd_sts_base.h" + + +/* forward declaration */ +class scd_cont_man_slave; + + +class scd_sts_failed : public scd_sts_base +{ +public: + scd_sts_failed(scd_simulator& sim, scd_cont_man_slave& fsm): + scd_sts_base(sim, fsm) { _name = "failed"; } + virtual ~scd_sts_failed() {} + + void set_failed() {} + + void recv_time_req() {} + void recv_time(const sc_core::sc_time& time) {} + void recv_term_req() {} + void recv_term() {} + + /* scd_cont_fsm_if */ + void set_fail() {} + bool active() const; + bool failed() const; +}; + +#endif