dol: initial dol commit
[jump.git] / dol / src / dol / visitor / hdsd / scd / fsm / scd_sts_term_ack.h
diff --git a/dol/src/dol/visitor/hdsd/scd/fsm/scd_sts_term_ack.h b/dol/src/dol/visitor/hdsd/scd/fsm/scd_sts_term_ack.h
new file mode 100644 (file)
index 0000000..2a32250
--- /dev/null
@@ -0,0 +1,28 @@
+#ifndef SCD_STS_TERM_ACK_H
+#define SCD_STS_TERM_ACK_H
+
+#include "fsm/scd_sts_base.h"
+
+
+/* forward declaration */
+class scd_cont_man_slave;
+
+
+class scd_sts_term_ack : public scd_sts_base
+{
+public:
+    scd_sts_term_ack(scd_simulator& sim, scd_cont_man_slave& fsm):
+        scd_sts_base(sim, fsm) { _name = "term_ack"; }
+    virtual ~scd_sts_term_ack() {}
+
+    void recv_time_req();
+    void recv_term_req();
+    void recv_term_nack();
+    void recv_term();
+
+    void set_fail() {}
+    void set_busy();
+
+};
+
+#endif