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.
 
- Public Member Functions inherited from ForSyDe::process
 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< CTTYPEoport1
 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 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

ForSyDe::CT2SY::CT2SY ( sc_module_name  _name,
sc_time  sample_period 
)
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

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