ForSyDe::DDE::filterf< T > Class Template Reference

Process constructor for implementing a linear filter with fixed step size. More...

#include <dde_process_constructors.hpp>

Inheritance diagram for ForSyDe::DDE::filterf< T >:
Collaboration diagram for ForSyDe::DDE::filterf< T >:

Public Types

typedef matrix< T > MatrixDouble
 

Public Member Functions

 filterf (sc_module_name _name, std::vector< T > numerators, std::vector< T > denominators)
 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_in< T > iport1
 port for the input channel
 
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::DDE::filterf< T >

Process constructor for implementing a linear filter with fixed step size.

This class is used to build a process which implements a linear filter with fixed step size based on the numerator and denominator constants.

Constructor & Destructor Documentation

template<class T>
ForSyDe::DDE::filterf< T >::filterf ( sc_module_name  _name,
std::vector< T >  numerators,
std::vector< T >  denominators 
)
inline

The constructor requires the module name.

It creates an SC_THREAD which inserts the initial element, reads data from its input port, and writes the results using the output port.

Parameters
_nameprocess name
numeratorsNumerator constants
denominatorsDenominator constants

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