ForSyDe::SY::sgroup< T > Class Template Reference
The strict group process with one input and one output. More...
#include <sy_process_constructors_strict.hpp>
Inheritance diagram for ForSyDe::SY::sgroup< T >:
Collaboration diagram for ForSyDe::SY::sgroup< T >:
Public Member Functions | |
sgroup (const sc_module_name &_name, const unsigned long &samples) | |
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_in< T > | iport1 |
port for the input channel | |
SY_out< std::vector< 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::SY::sgroup< T >
The strict group process with one input and one output.
It groups values into a vector of specified size n, which takes n cycles. While the grouping takes place the output from this process consists of absent values.
Constructor & Destructor Documentation
template<class T >
|
inline |
The constructor requires the module name.
It creates an SC_THREAD which reads data from its input port, groups together n samples and writes the results using the output port.
- Parameters
-
_name process name samples Number of samples in each group
The documentation for this class was generated from the following file:
- src/forsyde/sy_process_constructors_strict.hpp
Generated by Doxygen 1.8.11