ForSyDe::DDE::comb2< T0, T1, T2 > Class Template Reference
  Process constructor for a combinational process with two inputs and one output. More...
#include <dde_process_constructors.hpp>
Inheritance diagram for ForSyDe::DDE::comb2< T0, T1, T2 >:

Collaboration diagram for ForSyDe::DDE::comb2< T0, T1, T2 >:

| Public Types | |
| typedef std::function< void(abst_ext< T0 > &, const abst_ext< T1 > &, const abst_ext< T2 > &)> | functype | 
| Type of the function to be passed to the process constructor. | |
| Public Member Functions | |
| comb2 (sc_module_name _name, 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 | |
| DDE_in< T1 > | iport1 | 
| port for the input channel 1 | |
| DDE_in< T2 > | iport2 | 
| port for the input channel 2 | |
| DDE_out< T0 > | 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<typename T0, typename T1, typename T2>
class ForSyDe::DDE::comb2< T0, T1, T2 >
Process constructor for a combinational process with two inputs and one output.
similar to comb with two inputs
Constructor & Destructor Documentation
template<typename T0, typename T1, typename T2> 
| 
 | 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/dde_process_constructors.hpp
Generated by Doxygen 1.8.11
 
          
          