dol: initial dol commit
[jump.git] / dol / src / dol / visitor / hdsd / scd / fsm / scd_stm_busy.h
diff --git a/dol/src/dol/visitor/hdsd/scd/fsm/scd_stm_busy.h b/dol/src/dol/visitor/hdsd/scd/fsm/scd_stm_busy.h
new file mode 100644 (file)
index 0000000..ae9eb1d
--- /dev/null
@@ -0,0 +1,22 @@
+#ifndef SCD_STM_BUSY_H
+#define SCD_STM_BUSY_H
+
+#include "fsm/scd_stm_base.h"
+
+
+class scd_stm_busy : public scd_stm_base
+{
+public:
+    scd_stm_busy(scd_simulator& sim, scd_cont_man_master& fsm):
+       scd_stm_base(sim, fsm) { _name = "busy"; }
+    virtual ~scd_stm_busy() {}
+
+
+    /* scd_cont_fsm_if */
+    void set_idle(const sc_core::sc_time& time);
+    void set_done();
+    bool busy() const;
+
+};
+
+#endif