dol: initial dol commit
[jump.git] / dol / src / dol / visitor / hdsd / scd / fsm / scd_stm_idle.h
diff --git a/dol/src/dol/visitor/hdsd/scd/fsm/scd_stm_idle.h b/dol/src/dol/visitor/hdsd/scd/fsm/scd_stm_idle.h
new file mode 100644 (file)
index 0000000..b19e4f0
--- /dev/null
@@ -0,0 +1,20 @@
+#ifndef SCD_STM_IDLE_H
+#define SCD_STM_IDLE_H
+
+#include "fsm/scd_stm_base.h"
+
+
+class scd_stm_idle : public scd_stm_base
+{
+public:
+    scd_stm_idle(scd_simulator& sim, scd_cont_man_master& fsm):
+       scd_stm_base(sim, fsm) { _name = "idle"; }
+    virtual ~scd_stm_idle() {}
+
+    /* scd_cont_fsm_if */
+    void set_busy();
+    void set_done();
+    void process();
+};
+
+#endif