ForSyDe::SDF::vsource< T > Class Template Reference
Process constructor for a source process with vector input. More...
#include <sdf_process_constructors.hpp>
Inheritance diagram for ForSyDe::SDF::vsource< T >:
Collaboration diagram for ForSyDe::SDF::vsource< T >:
Public Member Functions | |
vsource (const sc_module_name &_name, const std::vector< T > &in_vec) | |
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 | |
SDF_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::SDF::vsource< T >
Process constructor for a source process with vector input.
This class is used to build a souce process which only has an output. Given the test bench vector, the process iterates over the emenets of the vector and outputs one value on each evaluation cycle.
Constructor & Destructor Documentation
template<class T >
|
inline |
The constructor requires the module name.
It creates an SC_THREAD which writes the result using the output port.
- Parameters
-
_name process name in_vec Initial vector
The documentation for this class was generated from the following file:
- src/forsyde/sdf_process_constructors.hpp
Generated by Doxygen 1.8.11