ForSyDe::CT2SY Class Reference
Process constructor for a CT2SY MoC interface. More...
#include <mis.hpp>
Inheritance diagram for ForSyDe::CT2SY:

Collaboration diagram for ForSyDe::CT2SY:

Public Member Functions | |
CT2SY (sc_module_name _name, sc_time sample_period) | |
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... | |
Public Attributes | |
CT::CT_in | iport1 |
port for the input channel | |
SY::SY_out< CTTYPE > | oport1 |
port for the output channel | |
Additional Inherited Members | |
![]() | |
void | end_of_simulation () |
This hook is used to run the clean stage. | |
Detailed Description
Process constructor for a CT2SY MoC interface.
This class is used to build a MoC interface which converts an CT signal to a SY one with fixed sampling rate. It can be used to implement analog-to-digital converters.
Constructor & Destructor Documentation
|
inline |
The constructor requires the module name.
It creates an SC_THREAD which reads data from its input port, applies the user-imlpemented function to it and writes the results using the output port
- Parameters
-
_name process name sample_period The sampling period
The documentation for this class was generated from the following file:
- src/forsyde/mis.hpp
Generated by Doxygen 1.8.11