The clock channel.
More...
#include <sysc/communication/sc_clock.h>
|
| | 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 | register_port (sc_port_base &, const char *if_type) |
| |
| 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 |
| |
| virtual sc_writer_policy | get_writer_policy () const |
| |
| virtual const sc_event & | default_event () const |
| |
| virtual const sc_event & | value_changed_event () const |
| |
| virtual const T & | read () const |
| |
| virtual const T & | get_data_ref () const |
| |
| virtual bool | event () const |
| |
| virtual void | write (const T &) |
| |
| | operator const T & () const |
| |
| const T & | get_new_value () const |
| |
| void | trace (sc_trace_file *tf) const |
| |
| virtual void | print (::std::ostream &=::std::cout) const |
| |
| virtual void | dump (::std::ostream &=::std::cout) const |
| |
| bool | update_requested () |
| |
| void | request_update () |
| |
| void | async_request_update () |
| |
| const char * | name () const |
| |
| const char * | basename () const |
| |
| sc_simcontext * | simcontext () const |
| |
| bool | add_attribute (sc_attr_base &) |
| |
| sc_attr_base * | get_attribute (const std::string &name_) |
| |
| const sc_attr_base * | get_attribute (const std::string &name_) const |
| |
| sc_attr_base * | remove_attribute (const std::string &name_) |
| |
| void | remove_all_attributes () |
| |
| int | num_attributes () const |
| |
| sc_attr_cltn & | attr_cltn () |
| |
| const sc_attr_cltn & | attr_cltn () const |
| |
| virtual const std::vector< sc_event * > & | get_child_events () const |
| |
| virtual const std::vector< sc_object * > & | get_child_objects () const |
| |
| sc_object * | get_parent () const |
| |
| sc_object * | get_parent_object () const |
| |
|
| 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 |
| |
| virtual void | update () |
| |
| void | do_update () |
| |
| void | deprecated_get_data_ref () const |
| |
| void | deprecated_get_new_value () const |
| |
| void | deprecated_trace () const |
| |
| sc_event * | lazy_kernel_event (sc_event **, const char *) const |
| |
| void | notify_next_delta (sc_event *ev) const |
| |
| virtual void | end_of_elaboration () |
| |
| virtual void | start_of_simulation () |
| |
| virtual void | end_of_simulation () |
| |
| bool | async_attach_suspending () |
| |
| bool | async_detach_suspending () |
| |
| void | wait () |
| |
| void | wait (const sc_event &e) |
| |
| void | wait (const sc_event_or_list &el) |
| |
| void | wait (const sc_event_and_list &el) |
| |
| void | wait (const sc_time &t) |
| |
| void | wait (double v, sc_time_unit tu) |
| |
| void | wait (const sc_time &t, const sc_event &e) |
| |
| void | wait (double v, sc_time_unit tu, const sc_event &e) |
| |
| void | wait (const sc_time &t, const sc_event_or_list &el) |
| |
| void | wait (double v, sc_time_unit tu, const sc_event_or_list &el) |
| |
| void | wait (const sc_time &t, const sc_event_and_list &el) |
| |
| void | wait (double v, sc_time_unit tu, const sc_event_and_list &el) |
| |
| void | wait (int n) |
| |
| void | next_trigger () |
| |
| void | next_trigger (const sc_event &e) |
| |
| void | next_trigger (const sc_event_or_list &el) |
| |
| void | next_trigger (const sc_event_and_list &el) |
| |
| void | next_trigger (const sc_time &t) |
| |
| void | next_trigger (double v, sc_time_unit tu) |
| |
| void | next_trigger (const sc_time &t, const sc_event &e) |
| |
| void | next_trigger (double v, sc_time_unit tu, const sc_event &e) |
| |
| void | next_trigger (const sc_time &t, const sc_event_or_list &el) |
| |
| void | next_trigger (double v, sc_time_unit tu, const sc_event_or_list &el) |
| |
| void | next_trigger (const sc_time &t, const sc_event_and_list &el) |
| |
| void | next_trigger (double v, sc_time_unit tu, const sc_event_and_list &el) |
| |
| bool | timed_out () |
| |
| virtual void | add_child_event (sc_event *event_p) |
| |
| virtual void | add_child_object (sc_object *object_p) |
| |
| virtual bool | remove_child_event (sc_event *event_p) |
| |
| virtual bool | remove_child_object (sc_object *object_p) |
| |
| phase_cb_mask | register_simulation_phase_callback (phase_cb_mask) |
| |
| phase_cb_mask | unregister_simulation_phase_callback (phase_cb_mask) |
| |
The clock channel.
Definition at line 49 of file sc_clock.h.
◆ if_type
template<class T, sc_writer_policy POL>
◆ phase_cb_mask
◆ policy_type
template<class T, sc_writer_policy POL>
◆ this_type
template<class T, sc_writer_policy POL>
◆ value_type
template<class T, sc_writer_policy POL>
◆ anonymous enum
◆ sc_clock() [1/6]
| sc_core::sc_clock::sc_clock |
( |
| ) |
|
◆ sc_clock() [2/6]
| sc_core::sc_clock::sc_clock |
( |
const char * |
name_ | ) |
|
|
explicit |
◆ sc_clock() [3/6]
| 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_clock() [4/6]
| sc_core::sc_clock::sc_clock |
( |
const char * |
name_, |
|
|
double |
period_v_, |
|
|
sc_time_unit |
period_tu_, |
|
|
double |
duty_cycle_ = 0.5 |
|
) |
| |
◆ sc_clock() [5/6]
| 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_clock() [6/6]
| 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_clock()
| virtual sc_core::sc_clock::~sc_clock |
( |
| ) |
|
|
virtual |
◆ add_attribute()
◆ add_child_event()
| virtual void sc_core::sc_object::add_child_event |
( |
sc_event * |
event_p | ) |
|
|
protectedvirtualinherited |
◆ add_child_object()
| virtual void sc_core::sc_object::add_child_object |
( |
sc_object * |
object_p | ) |
|
|
protectedvirtualinherited |
◆ async_attach_suspending()
| bool sc_core::sc_prim_channel::async_attach_suspending |
( |
| ) |
|
|
inlineprotectedinherited |
◆ async_detach_suspending()
| bool sc_core::sc_prim_channel::async_detach_suspending |
( |
| ) |
|
|
inlineprotectedinherited |
◆ async_request_update()
| void sc_core::sc_prim_channel::async_request_update |
( |
| ) |
|
|
inlineinherited |
◆ attr_cltn() [1/2]
◆ attr_cltn() [2/2]
◆ basename()
| const char* sc_core::sc_object::basename |
( |
| ) |
const |
|
inherited |
◆ before_end_of_elaboration()
| void sc_core::sc_clock::before_end_of_elaboration |
( |
| ) |
|
|
protectedvirtual |
◆ default_event()
template<class T, sc_writer_policy POL>
◆ deprecated_get_data_ref()
| void sc_core::sc_signal_channel::deprecated_get_data_ref |
( |
| ) |
const |
|
protectedinherited |
◆ deprecated_get_new_value()
| void sc_core::sc_signal_channel::deprecated_get_new_value |
( |
| ) |
const |
|
protectedinherited |
◆ deprecated_trace()
| void sc_core::sc_signal_channel::deprecated_trace |
( |
| ) |
const |
|
protectedinherited |
◆ do_update()
template<class T , sc_writer_policy POL>
◆ dump()
template<class T , sc_writer_policy POL>
◆ duty_cycle()
| double sc_core::sc_clock::duty_cycle |
( |
| ) |
const |
|
inline |
◆ end_of_elaboration()
| virtual void sc_core::sc_prim_channel::end_of_elaboration |
( |
| ) |
|
|
protectedvirtualinherited |
◆ end_of_simulation()
| virtual void sc_core::sc_prim_channel::end_of_simulation |
( |
| ) |
|
|
protectedvirtualinherited |
◆ event()
template<class T, sc_writer_policy POL>
◆ get_attribute() [1/2]
| sc_attr_base* sc_core::sc_object::get_attribute |
( |
const std::string & |
name_ | ) |
|
|
inherited |
◆ get_attribute() [2/2]
| const sc_attr_base* sc_core::sc_object::get_attribute |
( |
const std::string & |
name_ | ) |
const |
|
inherited |
◆ get_child_events()
| virtual const std::vector<sc_event*>& sc_core::sc_object::get_child_events |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ get_child_objects()
| virtual const std::vector<sc_object*>& sc_core::sc_object::get_child_objects |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ get_data_ref()
template<class T, sc_writer_policy POL>
◆ get_new_value()
template<class T, sc_writer_policy POL>
◆ get_parent()
| sc_object* sc_core::sc_object::get_parent |
( |
| ) |
const |
|
inherited |
◆ get_parent_object()
| sc_object* sc_core::sc_object::get_parent_object |
( |
| ) |
const |
|
inlineinherited |
◆ get_writer_policy()
template<class T, sc_writer_policy POL>
◆ init()
| void sc_core::sc_clock::init |
( |
const sc_time & |
, |
|
|
double |
, |
|
|
const sc_time & |
, |
|
|
bool |
|
|
) |
| |
|
protected |
◆ is_clock()
| bool sc_core::sc_clock::is_clock |
( |
| ) |
const |
|
inlineprotected |
◆ kind()
| virtual const char* sc_core::sc_clock::kind |
( |
| ) |
const |
|
inlinevirtual |
◆ lazy_kernel_event()
| sc_event* sc_core::sc_signal_channel::lazy_kernel_event |
( |
sc_event ** |
, |
|
|
const char * |
|
|
) |
| const |
|
protectedinherited |
◆ name()
| const char* sc_core::sc_object::name |
( |
| ) |
const |
|
inlineinherited |
◆ negedge_action()
| void sc_core::sc_clock::negedge_action |
( |
| ) |
|
|
inlineprotected |
◆ next_trigger() [1/12]
| void sc_core::sc_prim_channel::next_trigger |
( |
| ) |
|
|
inlineprotectedinherited |
◆ next_trigger() [2/12]
| void sc_core::sc_prim_channel::next_trigger |
( |
const sc_event & |
e | ) |
|
|
inlineprotectedinherited |
◆ next_trigger() [3/12]
◆ next_trigger() [4/12]
◆ next_trigger() [5/12]
| void sc_core::sc_prim_channel::next_trigger |
( |
const sc_time & |
t | ) |
|
|
inlineprotectedinherited |
◆ next_trigger() [6/12]
| void sc_core::sc_prim_channel::next_trigger |
( |
double |
v, |
|
|
sc_time_unit |
tu |
|
) |
| |
|
inlineprotectedinherited |
◆ next_trigger() [7/12]
| void sc_core::sc_prim_channel::next_trigger |
( |
const sc_time & |
t, |
|
|
const sc_event & |
e |
|
) |
| |
|
inlineprotectedinherited |
◆ next_trigger() [8/12]
◆ next_trigger() [9/12]
◆ next_trigger() [10/12]
◆ next_trigger() [11/12]
◆ next_trigger() [12/12]
◆ notify_next_delta()
| void sc_core::sc_signal_channel::notify_next_delta |
( |
sc_event * |
ev | ) |
const |
|
inlineprotectedinherited |
◆ num_attributes()
| int sc_core::sc_object::num_attributes |
( |
| ) |
const |
|
inherited |
◆ operator const T &()
template<class T, sc_writer_policy POL>
◆ period()
| const sc_time& sc_core::sc_clock::period |
( |
| ) |
const |
|
inline |
◆ posedge_action()
| void sc_core::sc_clock::posedge_action |
( |
| ) |
|
|
inlineprotected |
◆ posedge_first()
| bool sc_core::sc_clock::posedge_first |
( |
| ) |
const |
|
inline |
◆ print()
template<class T , sc_writer_policy POL>
◆ read()
template<class T, sc_writer_policy POL>
◆ register_port()
| virtual void sc_core::sc_clock::register_port |
( |
sc_port_base & |
, |
|
|
const char * |
if_type |
|
) |
| |
|
virtual |
◆ register_simulation_phase_callback()
◆ remove_all_attributes()
| void sc_core::sc_object::remove_all_attributes |
( |
| ) |
|
|
inherited |
◆ remove_attribute()
| sc_attr_base* sc_core::sc_object::remove_attribute |
( |
const std::string & |
name_ | ) |
|
|
inherited |
◆ remove_child_event()
| virtual bool sc_core::sc_object::remove_child_event |
( |
sc_event * |
event_p | ) |
|
|
protectedvirtualinherited |
◆ remove_child_object()
| virtual bool sc_core::sc_object::remove_child_object |
( |
sc_object * |
object_p | ) |
|
|
protectedvirtualinherited |
◆ report_error()
| void sc_core::sc_clock::report_error |
( |
const char * |
id, |
|
|
const char * |
add_msg = 0 |
|
) |
| const |
|
protected |
◆ request_update()
| void sc_core::sc_prim_channel::request_update |
( |
| ) |
|
|
inlineinherited |
◆ simcontext()
◆ start_of_simulation()
| virtual void sc_core::sc_prim_channel::start_of_simulation |
( |
| ) |
|
|
protectedvirtualinherited |
◆ start_time()
| sc_time sc_core::sc_clock::start_time |
( |
| ) |
const |
|
inline |
◆ time_stamp()
| static const sc_time& sc_core::sc_clock::time_stamp |
( |
| ) |
|
|
static |
◆ timed_out()
| bool sc_core::sc_prim_channel::timed_out |
( |
| ) |
|
|
inlineprotectedinherited |
◆ trace()
template<class T, sc_writer_policy POL>
◆ unregister_simulation_phase_callback()
◆ update()
template<class T , sc_writer_policy POL>
|
|
protectedvirtualinherited |
◆ update_requested()
| bool sc_core::sc_prim_channel::update_requested |
( |
| ) |
|
|
inlineinherited |
◆ value_changed_event()
template<class T, sc_writer_policy POL>
◆ wait() [1/13]
| void sc_core::sc_prim_channel::wait |
( |
| ) |
|
|
inlineprotectedinherited |
◆ wait() [2/13]
| void sc_core::sc_prim_channel::wait |
( |
const sc_event & |
e | ) |
|
|
inlineprotectedinherited |
◆ wait() [3/13]
◆ wait() [4/13]
◆ wait() [5/13]
| void sc_core::sc_prim_channel::wait |
( |
const sc_time & |
t | ) |
|
|
inlineprotectedinherited |
◆ wait() [6/13]
| void sc_core::sc_prim_channel::wait |
( |
double |
v, |
|
|
sc_time_unit |
tu |
|
) |
| |
|
inlineprotectedinherited |
◆ wait() [7/13]
| void sc_core::sc_prim_channel::wait |
( |
const sc_time & |
t, |
|
|
const sc_event & |
e |
|
) |
| |
|
inlineprotectedinherited |
◆ wait() [8/13]
◆ wait() [9/13]
◆ wait() [10/13]
◆ wait() [11/13]
◆ wait() [12/13]
◆ wait() [13/13]
| void sc_core::sc_prim_channel::wait |
( |
int |
n | ) |
|
|
inlineprotectedinherited |
◆ write() [1/2]
| virtual void sc_core::sc_clock::write |
( |
const bool & |
| ) |
|
|
virtual |
◆ write() [2/2]
template<class T, sc_writer_policy POL>
◆ sc_clock_negedge_callback
◆ sc_clock_posedge_callback
◆ m_change_event_p
| sc_event* sc_core::sc_signal_channel::m_change_event_p |
|
mutableprotectedinherited |
◆ m_change_stamp
◆ m_cur_val
template<class T, sc_writer_policy POL>
◆ m_duty_cycle
| double sc_core::sc_clock::m_duty_cycle |
|
protected |
◆ m_negedge_time
| sc_time sc_core::sc_clock::m_negedge_time |
|
protected |
◆ m_new_val
template<class T, sc_writer_policy POL>
◆ m_next_negedge_event
| sc_event sc_core::sc_clock::m_next_negedge_event |
|
protected |
◆ m_next_posedge_event
| sc_event sc_core::sc_clock::m_next_posedge_event |
|
protected |
◆ m_period
| sc_time sc_core::sc_clock::m_period |
|
protected |
◆ m_posedge_first
| bool sc_core::sc_clock::m_posedge_first |
|
protected |
◆ m_posedge_time
| sc_time sc_core::sc_clock::m_posedge_time |
|
protected |
◆ m_start_time
| sc_time sc_core::sc_clock::m_start_time |
|
protected |
The documentation for this class was generated from the following file: