ForSyDe::UT::vsource< OTYP > Class Template Reference
Process constructor for a source process with vector input. More...
#include <ut_process_constructors.hpp>
Inheritance diagram for ForSyDe::UT::vsource< OTYP >:

Collaboration diagram for ForSyDe::UT::vsource< OTYP >:

Public Member Functions | |
vsource (const sc_module_name &_name, const std::vector< OTYP > &invec) | |
The constructor requires the module name. More... | |
Public Attributes | |
sc_fifo_out< OTYP > | oport1 |
port for the output channel | |
Detailed Description
template<class OTYP>
class ForSyDe::UT::vsource< OTYP >
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 OTYP >
|
inline |
The constructor requires the module name.
It creates an SC_THREAD which writes the result using the output port.
- Parameters
-
_name The module name invec Initial vector
The documentation for this class was generated from the following file:
- src/forsyde/ut_process_constructors.hpp
Generated by Doxygen 1.8.11