|
scc 2025.09
SystemC components library
|
The ticking_clock class is a mixin that provides ticking clock functionality. More...
#include <clock_if_mixins.h>


Public Member Functions | |
| ticking_clock (sc_core::sc_module_name const &nm) | |
| Constructor for the ticking_clock class. | |
| template<typename... Args> | |
| ticking_clock (sc_core::sc_module_name const &nm, Args &&... args) | |
| Constructor for the ticking_clock class with variable number of arguments. | |
| virtual | ~ticking_clock ()=default |
| Virtual destructor for the tickless_clock class. | |
Public Attributes | |
| sc_core::sc_in< bool > | clk_i {"clk_i"} |
| An input port for the clock signal. | |
Protected Member Functions | |
| void | end_of_elaboration () override |
| Method called at the end of elaboration. | |
The ticking_clock class is a mixin that provides ticking clock functionality.
The ticking_clock class is a template class that inherits from a base class. It adds ticking clock functionality to the base class by monitoring an input clock signal.
| BASE | The base class to which the ticking clock functionality will be added. |
Definition at line 35 of file clock_if_mixins.h.
|
inline |
Constructor for the ticking_clock class.
| nm | The name of the ticking_clock instance. |
Definition at line 53 of file clock_if_mixins.h.
|
inline |
Constructor for the ticking_clock class with variable number of arguments.
| nm | The name of the ticking_clock instance. |
| args | Template arguments for the base class constructor. |
Definition at line 62 of file clock_if_mixins.h.
|
inlineoverrideprotected |
Method called at the end of elaboration.
This method is responsible for setting the clock period based on the input clock signal.
Definition at line 75 of file clock_if_mixins.h.
| sc_core::sc_in<bool> scc::ticking_clock< BASE >::clk_i {"clk_i"} |
An input port for the clock signal.
This input port is used to monitor the clock signal and provide ticking clock functionality.
Definition at line 47 of file clock_if_mixins.h.