#include <sc_clock.h>
Public メソッド | |
sc_clock () | |
sc_clock (const char *name_) | |
sc_clock (const char *name_, const sc_time &period_, double duty_cycle_=0.5, const sc_time &start_time_=SC_ZERO_TIME, bool posedge_first_=true) | |
sc_clock (const char *name_, double period_v_, sc_time_unit period_tu_, double duty_cycle_=0.5) | |
sc_clock (const char *name_, double period_v_, sc_time_unit period_tu_, double duty_cycle_, double start_time_v_, sc_time_unit start_time_tu_, bool posedge_first_=true) | |
sc_clock (const char *name_, double period_, double duty_cycle_=0.5, double start_time_=0.0, bool posedge_first_=true) | |
virtual | ~sc_clock () |
virtual void | write (const bool &) |
const sc_time & | period () const |
double | duty_cycle () const |
bool | posedge_first () const |
sc_time | start_time () const |
virtual const char * | kind () const |
sc_signal_in_if< bool > & | signal () |
const sc_signal_in_if< bool > & | signal () const |
Static Public メソッド | |
static const sc_time & | time_stamp () |
static void | start (const sc_time &duration) |
static void | start (double v, sc_time_unit tu) |
static void | start (double duration=-1) |
static void | stop () |
Protected メソッド | |
void | before_end_of_elaboration () |
void | posedge_action () |
void | negedge_action () |
void | report_error (const char *id, const char *add_msg=0) const |
void | init (const sc_time &, double, const sc_time &, bool) |
bool | is_clock () const |
Protected 変数 | |
sc_time | m_period |
double | m_duty_cycle |
sc_time | m_start_time |
bool | m_posedge_first |
sc_time | m_posedge_time |
sc_time | m_negedge_time |
sc_event | m_next_posedge_event |
sc_event | m_next_negedge_event |
Private メソッド | |
sc_clock (const sc_clock &) | |
sc_clock & | operator= (const sc_clock &) |
フレンド | |
class | sc_clock_posedge_callback |
class | sc_clock_negedge_callback |
sc_core::sc_clock::sc_clock | ( | ) |
sc_core::sc_clock::sc_clock | ( | const char * | name_ | ) | [explicit] |
sc_core::sc_clock::sc_clock | ( | const char * | name_, | |
const sc_time & | period_, | |||
double | duty_cycle_ = 0.5 , |
|||
const sc_time & | start_time_ = SC_ZERO_TIME , |
|||
bool | posedge_first_ = true | |||
) |
sc_core::sc_clock::sc_clock | ( | const char * | name_, | |
double | period_v_, | |||
sc_time_unit | period_tu_, | |||
double | duty_cycle_ = 0.5 | |||
) |
sc_core::sc_clock::sc_clock | ( | const char * | name_, | |
double | period_v_, | |||
sc_time_unit | period_tu_, | |||
double | duty_cycle_, | |||
double | start_time_v_, | |||
sc_time_unit | start_time_tu_, | |||
bool | posedge_first_ = true | |||
) |
sc_core::sc_clock::sc_clock | ( | const char * | name_, | |
double | period_, | |||
double | duty_cycle_ = 0.5 , |
|||
double | start_time_ = 0.0 , |
|||
bool | posedge_first_ = true | |||
) |
sc_core::sc_clock::~sc_clock | ( | ) | [virtual] |
sc_core::sc_clock::sc_clock | ( | const sc_clock & | ) | [private] |
void sc_core::sc_clock::write | ( | const bool & | value | ) | [virtual] |
sc_core::sc_signal< bool >を再定義しています。
const sc_time& sc_core::sc_clock::period | ( | ) | const [inline] |
double sc_core::sc_clock::duty_cycle | ( | ) | const [inline] |
bool sc_core::sc_clock::posedge_first | ( | ) | const [inline] |
sc_time sc_core::sc_clock::start_time | ( | ) | const [inline] |
const sc_time & sc_core::sc_clock::time_stamp | ( | ) | [static] |
virtual const char* sc_core::sc_clock::kind | ( | ) | const [inline, virtual] |
sc_core::sc_signal< bool >を再定義しています。
sc_signal_in_if<bool>& sc_core::sc_clock::signal | ( | ) | [inline] |
const sc_signal_in_if<bool>& sc_core::sc_clock::signal | ( | ) | const [inline] |
static void sc_core::sc_clock::start | ( | const sc_time & | duration | ) | [inline, static] |
static void sc_core::sc_clock::start | ( | double | v, | |
sc_time_unit | tu | |||
) | [inline, static] |
static void sc_core::sc_clock::start | ( | double | duration = -1 |
) | [inline, static] |
static void sc_core::sc_clock::stop | ( | ) | [inline, static] |
void sc_core::sc_clock::before_end_of_elaboration | ( | ) | [protected, virtual] |
sc_core::sc_prim_channelを再定義しています。
void sc_core::sc_clock::posedge_action | ( | ) | [inline, protected] |
void sc_core::sc_clock::negedge_action | ( | ) | [inline, protected] |
void sc_core::sc_clock::report_error | ( | const char * | id, | |
const char * | add_msg = 0 | |||
) | const [protected] |
void sc_core::sc_clock::init | ( | const sc_time & | period_, | |
double | duty_cycle_, | |||
const sc_time & | start_time_, | |||
bool | posedge_first_ | |||
) | [protected] |
bool sc_core::sc_clock::is_clock | ( | ) | const [inline, protected, virtual] |
sc_core::sc_signal< bool >を再定義しています。
friend class sc_clock_posedge_callback [friend] |
friend class sc_clock_negedge_callback [friend] |
sc_time sc_core::sc_clock::m_period [protected] |
double sc_core::sc_clock::m_duty_cycle [protected] |
sc_time sc_core::sc_clock::m_start_time [protected] |
bool sc_core::sc_clock::m_posedge_first [protected] |
sc_time sc_core::sc_clock::m_posedge_time [protected] |
sc_time sc_core::sc_clock::m_negedge_time [protected] |
sc_event sc_core::sc_clock::m_next_posedge_event [protected] |
sc_event sc_core::sc_clock::m_next_negedge_event [protected] |