X-Git-Url: http://sraa.de/git/?a=blobdiff_plain;f=dol%2Fsrc%2Fdol%2Fvisitor%2Fhdsd%2Fscd%2Ffsm%2Fscd_stsw_time_ack.h;fp=dol%2Fsrc%2Fdol%2Fvisitor%2Fhdsd%2Fscd%2Ffsm%2Fscd_stsw_time_ack.h;h=a71ca7e40c45aa117e85516980a5c05d7ddd7566;hb=8c411cf24ed0eb889191aaeafd8fa1e69081df42;hp=0000000000000000000000000000000000000000;hpb=dea7a4fb1ed110d3ce6e6d9255103d724bd66c0e;p=jump.git diff --git a/dol/src/dol/visitor/hdsd/scd/fsm/scd_stsw_time_ack.h b/dol/src/dol/visitor/hdsd/scd/fsm/scd_stsw_time_ack.h new file mode 100644 index 0000000..a71ca7e --- /dev/null +++ b/dol/src/dol/visitor/hdsd/scd/fsm/scd_stsw_time_ack.h @@ -0,0 +1,29 @@ +#ifndef SCD_STSW_TIME_ACK_H +#define SCD_STSW_TIME_ACK_H + +#include "fsm/scd_stsw_base.h" + + +/* forward declaration */ +class scd_cont_slave_wrapper; + + +class scd_stsw_time_ack : public scd_stsw_base +{ +public: + scd_stsw_time_ack(scd_simulator& sim, scd_cont_slave_wrapper& fsm): + scd_stsw_base(sim, fsm) { _name = "time_ack"; } + virtual ~scd_stsw_time_ack() {} + + /* scd_stsw_base */ + void recv_time_nack(); + void recv_time_ack(); + + /* scd_cont_wrapper_if */ + void send_time_nack(); + void send_time(const sc_core::sc_time& time); + bool time_ack() const; + const sc_core::sc_time& get_time_step(); +}; + +#endif