ForSyDe::DDE2CT< T > Class Template Reference

Process constructor for a DDE2CT MoC interfaces. More...

#include <mis.hpp>

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

Public Member Functions

 DDE2CT (sc_module_name _name, 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

DDE::DDE_in< T > 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

template<class T>
class ForSyDe::DDE2CT< T >

Process constructor for a DDE2CT MoC interfaces.

This class is used to build a MoC interfaces which converts a DDE 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

template<class T>
ForSyDe::DDE2CT< T >::DDE2CT ( sc_module_name  _name,
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
op_modeThe operation mode

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