scc 2025.09
SystemC components library
scc::time2tick Struct Reference

translate a tick-less clock (sc_time based) to boolean clock More...

#include <python4sc.h>

Inheritance diagram for scc::time2tick:
Collaboration diagram for scc::time2tick:

Public Member Functions

 SC_HAS_PROCESS (time2tick)
 yes, we have processes
 time2tick (sc_core::sc_module_name nm)

Public Attributes

sc_core::sc_in< sc_core::sc_time > clk_i {"clk_i"}
 the clock input
sc_core::sc_out< bool > clk_o {"clk_o"}
 the clock output

Detailed Description

translate a tick-less clock (sc_time based) to boolean clock

Definition at line 33 of file time2tick.h.

Constructor & Destructor Documentation

◆ time2tick()

scc::time2tick::time2tick ( sc_core::sc_module_name nm)
inlineexplicit

the constructor

Parameters
nmthe name

Definition at line 47 of file time2tick.h.

Member Data Documentation

◆ clk_i

sc_core::sc_in<sc_core::sc_time> scc::time2tick::clk_i {"clk_i"}

the clock input

Definition at line 39 of file time2tick.h.

◆ clk_o

sc_core::sc_out<bool> scc::time2tick::clk_o {"clk_o"}

the clock output

Definition at line 41 of file time2tick.h.


The documentation for this struct was generated from the following files:
  • /home/eyck/Projects/MINRES/SystemC-Components/src/sysc/scc/time2tick.h
  • /home/eyck/Projects/MINRES/SystemC-Components/src/sysc/scc/time_n_tick.cpp