ForSyDe::SY2CT Class Reference
Process constructor for a SY2CT MoC interfaces. More...
#include <mis.hpp>
Inheritance diagram for ForSyDe::SY2CT:
Collaboration diagram for ForSyDe::SY2CT:
Public Member Functions | |
SY2CT (sc_module_name _name, sc_time sample_period, A2DMode op_mode=HOLD) | |
The constructor requires the module name. More... | |
std::string | forsyde_kind () const |
Specifying from which process constructor is the module built. | |
Public Member Functions inherited from ForSyDe::process | |
process (sc_module_name _name) | |
The constructor requires the module name. More... | |
Public Attributes | |
SY::SY_in< CTTYPE > | iport1 |
port for the input channel | |
CT::CT_out | oport1 |
port for the output channel | |
Additional Inherited Members | |
Protected Member Functions inherited from ForSyDe::process | |
void | end_of_simulation () |
This hook is used to run the clean stage. | |
Detailed Description
Process constructor for a SY2CT MoC interfaces.
This class is used to build a MoC interface which converts an SY signal to a CT one. It can be used to implement digital-to-analog converters. There are two operating modes which can be configured using the initial values of the constructor:
- sample and hold
- linear interpolation
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 op_mode The operation mode
The documentation for this class was generated from the following file:
- src/forsyde/mis.hpp
Generated by Doxygen 1.8.11