1 #ifndef SCD_STSW_TIME_ACK_H
2 #define SCD_STSW_TIME_ACK_H
4 #include "fsm/scd_stsw_base.h"
7 /* forward declaration */
8 class scd_cont_slave_wrapper;
11 class scd_stsw_time_ack : public scd_stsw_base
14 scd_stsw_time_ack(scd_simulator& sim, scd_cont_slave_wrapper& fsm):
15 scd_stsw_base(sim, fsm) { _name = "time_ack"; }
16 virtual ~scd_stsw_time_ack() {}
19 void recv_time_nack();
22 /* scd_cont_wrapper_if */
23 void send_time_nack();
24 void send_time(const sc_core::sc_time& time);
25 bool time_ack() const;
26 const sc_core::sc_time& get_time_step();