ForSyDe::CT::combX< N > Class Template Reference
Process constructor for a combinational process with an array of inputs and one output. More...
#include <ct_process_constructors.hpp>
Inheritance diagram for ForSyDe::CT::combX< N >:
Collaboration diagram for ForSyDe::CT::combX< N >:
Public Types | |
typedef std::function< void(CTTYPE &, const std::array< CTTYPE, N > &)> | functype |
Type of the function to be passed to the process constructor. | |
Public Member Functions | |
combX (sc_module_name _name, const functype &_func) | |
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 | |
std::array< CT_in, N > | iport |
port for the input channel array | |
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<std::size_t N>
class ForSyDe::CT::combX< N >
Process constructor for a combinational process with an array of inputs and one output.
similar to comb but with an array of inputs
Constructor & Destructor Documentation
template<std::size_t N>
|
inline |
The constructor requires the module name.
It creates an SC_THREAD which reads data from its input ports, applies the user-imlpemented function to them and writes the results using the output port
- Parameters
-
_name process name _func function to be passed
The documentation for this class was generated from the following file:
- src/forsyde/ct_process_constructors.hpp
Generated by Doxygen 1.8.11