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< CTTYPEiport1
 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

ForSyDe::SY2CT::SY2CT ( sc_module_name  _name,
sc_time  sample_period,
A2DMode  op_mode = HOLD 
)
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
_nameprocess name
sample_periodThe sampling period
op_modeThe operation mode

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