scc 2025.09
SystemC components library
scc::tickless_clock< BASE > Class Template Reference

The tickless_clock class is a mixin that provides tickless clock functionality. More...

#include <clock_if_mixins.h>

Inheritance diagram for scc::tickless_clock< BASE >:
Collaboration diagram for scc::tickless_clock< BASE >:

Public Member Functions

 tickless_clock (sc_core::sc_module_name const &nm)
 Constructor for the tickless_clock class.
template<typename... Args>
 tickless_clock (sc_core::sc_module_name const &nm, Args &&... args)
 Constructor for the tickless_clock class with template arguments.
virtual ~tickless_clock ()=default
 Virtual destructor for the tickless_clock class.

Public Attributes

sc_core::sc_in< sc_core::sc_time > clk_i {"clk_i"}
 An input port for the clock signal.

Detailed Description

template<typename BASE>
class scc::tickless_clock< BASE >

The tickless_clock class is a mixin that provides tickless clock functionality.

The tickless_clock class is a template class that inherits from a base class. It adds tickless clock functionality to the base class by monitoring an input clock signal.

Template Parameters
BASEThe base class to which the tickless clock functionality will be added.

Definition at line 102 of file clock_if_mixins.h.

Constructor & Destructor Documentation

◆ tickless_clock() [1/2]

template<typename BASE>
scc::tickless_clock< BASE >::tickless_clock ( sc_core::sc_module_name const & nm)
inline

Constructor for the tickless_clock class.

Parameters
nmThe name of the tickless_clock instance.

Definition at line 115 of file clock_if_mixins.h.

◆ tickless_clock() [2/2]

template<typename BASE>
template<typename... Args>
scc::tickless_clock< BASE >::tickless_clock ( sc_core::sc_module_name const & nm,
Args &&... args )
inline

Constructor for the tickless_clock class with template arguments.

Parameters
nmThe name of the tickless_clock instance.
argsTemplate arguments for the base class constructor.

Definition at line 130 of file clock_if_mixins.h.

Member Data Documentation

◆ clk_i

template<typename BASE>
sc_core::sc_in<sc_core::sc_time> scc::tickless_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 tickless clock functionality.

Definition at line 109 of file clock_if_mixins.h.


The documentation for this class was generated from the following file: