ForSyDe::CT::sine Class Reference
Helper function to construct a coasine source. More...
#include <ct_lib.hpp>
Inheritance diagram for ForSyDe::CT::sine:

Collaboration diagram for ForSyDe::CT::sine:

Public Member Functions | |
sine (sc_module_name name_, const sc_time &endT, const sc_time &period, const CTTYPE &l) | |
std::string | forsyde_kind () const |
Specifying from which process constructor is the module built. | |
![]() | |
source (sc_module_name _name, functype _func, const sc_time &end_time) | |
The constructor requires the module name. More... | |
std::string | forsyde_kind () const |
Specifying from which process constructor is the module built. | |
![]() | |
process (sc_module_name _name) | |
The constructor requires the module name. More... | |
Additional Inherited Members | |
![]() | |
typedef std::function< void(CTTYPE &, const sc_time &)> | functype |
Type of the function to be passed to the process constructor. | |
![]() | |
CT_out | oport1 |
port for the output channel | |
![]() | |
void | end_of_simulation () |
This hook is used to run the clean stage. | |
Detailed Description
Helper function to construct a coasine source.
This class is used to cretae a continuous-time signal source which produces a sinosoid.
Constructor & Destructor Documentation
|
inline |
- Parameters
-
name_ The Process name endT The end time of the generated signal period The signal period (1/f) ampl The signal amplitude
The documentation for this class was generated from the following file:
- src/forsyde/ct_lib.hpp
Generated by Doxygen 1.8.11