1 #ifndef SCD_CONT_WRAPPER_IF_H
2 #define SCD_CONT_WRAPPER_IF_H
8 * Extends the public interface of the slave wrapper FSM.
10 class scd_cont_wrapper_if
14 * Sends a time_req command to the slave.
16 virtual void send_time_req() = 0;
19 * Sends a time_nack command to the slave.
21 virtual void send_time_nack() = 0;
24 * Sends a time command to the slave.
26 virtual void send_time(const sc_core::sc_time& time) = 0;
29 * Sends a term_req command to the slave.
31 virtual void send_term_req() = 0;
34 * Sends a term_nack command to the slave.
36 virtual void send_term_nack() = 0;
39 * Sends a term command to the slave.
41 virtual void send_term() = 0;
44 * Inidcates if the slave is in term_req state.
45 * \return true if the slave seems to be in time_req state
47 virtual bool time_req() const = 0;
50 * Inidcates if the slave is in time_ack state.
51 * \return true if the slave seems to be in time_ack state
53 virtual bool time_ack() const = 0;
56 * Inidcates if the slave is in term_req state.
57 * \return true if the slave seems to be in term_req state
59 virtual bool term_req() const = 0;
62 * Inidcates if the slave is in term_ack state.
63 * \return true if the slave seems to be in term_ack state
65 virtual bool term_ack() const = 0;
68 * Inidcates if the slave is in idle state.
69 * \return true if the slave seems to be in idle state
71 virtual bool idle() const = 0;
74 * Indicates if the slave is in done state.
75 * \return true if the slave seems to be in done state
77 virtual bool done() const = 0;