|
scc 2025.09
SystemC components library
|
A clock source with construction time configurable start delay. More...
#include <sc_clock_ext.h>


Public Member Functions | |
| sc_clock_ext (const char *name_, const sc_core::sc_time &period_, double duty_cycle_=0.5, const sc_core::sc_time &start_time_=sc_core::SC_ZERO_TIME, bool posedge_first_=true) | |
Public Attributes | |
| cci::cci_param< sc_core::sc_time > | period |
| The period of the generated clock. | |
| cci::cci_param< double > | duty_cycle |
| The duty cycle of the generated clock. | |
| cci::cci_param< sc_core::sc_time > | initial_delay |
| The start time of the generated clock. | |
Protected Member Functions | |
| void | end_of_elaboration () override |
| void | period_write_callback (const cci::cci_param_write_event< int > &ev) |
Static Protected Member Functions | |
| static std::string | get_cci_name (const char *base, const char *name) |
A clock source with construction time configurable start delay.
The sc_clock_ext class extends the sc_core::sc_clock class to provide additional functionality, such as configuration via CCI. It allows users to specify the period, duty cycle, and start time of the generated clock .
Definition at line 36 of file sc_clock_ext.h.
|
inline |
Definition at line 56 of file sc_clock_ext.h.
|
inlineoverrideprotected |
Definition at line 68 of file sc_clock_ext.h.
|
inlinestaticprotected |
Definition at line 81 of file sc_clock_ext.h.
|
inlineprotected |
Definition at line 80 of file sc_clock_ext.h.
| cci::cci_param<double> scc::sc_clock_ext::duty_cycle |
The duty cycle of the generated clock.
This parameter allows users to specify the duty cycle of the generated clock.
Definition at line 48 of file sc_clock_ext.h.
| cci::cci_param<sc_core::sc_time> scc::sc_clock_ext::initial_delay |
The start time of the generated clock.
This parameter allows users to specify the start time of the generated clock.
Definition at line 54 of file sc_clock_ext.h.
| cci::cci_param<sc_core::sc_time> scc::sc_clock_ext::period |
The period of the generated clock.
This parameter allows users to specify the period of the generated clock.
Definition at line 42 of file sc_clock_ext.h.