X-Git-Url: http://sraa.de/git/?a=blobdiff_plain;f=dol%2Fsrc%2Fdol%2Fvisitor%2Fhdsd%2Fscd%2Ffsm%2Fscd_sts_time.cpp;fp=dol%2Fsrc%2Fdol%2Fvisitor%2Fhdsd%2Fscd%2Ffsm%2Fscd_sts_time.cpp;h=09e69e5a94787be169b758931c72cecbee7f0b7f;hb=8c411cf24ed0eb889191aaeafd8fa1e69081df42;hp=0000000000000000000000000000000000000000;hpb=dea7a4fb1ed110d3ce6e6d9255103d724bd66c0e;p=jump.git diff --git a/dol/src/dol/visitor/hdsd/scd/fsm/scd_sts_time.cpp b/dol/src/dol/visitor/hdsd/scd/fsm/scd_sts_time.cpp new file mode 100644 index 0000000..09e69e5 --- /dev/null +++ b/dol/src/dol/visitor/hdsd/scd/fsm/scd_sts_time.cpp @@ -0,0 +1,21 @@ +#include "fsm/scd_sts_time.h" + +#include "scd_logging.h" +#include "scd_exception.h" +#include "scd_cont_man_slave.h" + + +void scd_sts_time::set_time_step(const sc_core::sc_time& time) +{ + _time_step = time; +} + + +bool scd_sts_time::advance_time() const { return true; } + + +const sc_core::sc_time& scd_sts_time::get_time_step() +{ + _fsm.set_state(_st_busy); + return _time_step; +}