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