ForSyDe::CT2DDE< T > Class Template Reference

Process constructor for a CT2DDE MoC interface. More...

#include <mis.hpp>

Inheritance diagram for ForSyDe::CT2DDE< T >:
Collaboration diagram for ForSyDe::CT2DDE< T >:

Public Member Functions

 CT2DDE (sc_module_name _name)
 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
 
DDE::DDE_in< unsigned int > iport2
 port for the sampling channel
 
DDE::DDE_out< T > 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

template<class T>
class ForSyDe::CT2DDE< T >

Process constructor for a CT2DDE MoC interface.

This class is used to build a MoC interface which converts an CT signal to a DDE one with adaptive sampling rate. It can be used to implement analog-to-digital converters with adaptive sampling rates.

Constructor & Destructor Documentation

template<class T>
ForSyDe::CT2DDE< T >::CT2DDE ( sc_module_name  _name)
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

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