ForSyDe::UT::zipN< Ts > Class Template Reference

The zip process with variable number of inputs and one output. More...

#include <ut_process_constructors.hpp>

Inheritance diagram for ForSyDe::UT::zipN< Ts >:
Collaboration diagram for ForSyDe::UT::zipN< Ts >:

Public Member Functions

 zipN (const sc_module_name &_name, const std::vector< unsigned > &in_toks)
 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::tuple< UT_in< Ts >... > iport
 tuple of ports for the input channels
 
UT_out< std::tuple< std::vector< Ts >... > > 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... Ts>
class ForSyDe::UT::zipN< Ts >

The zip process with variable number of inputs and one output.

This process "zips" the incoming signals into one signal of tuples.

Constructor & Destructor Documentation

template<class... Ts>
ForSyDe::UT::zipN< Ts >::zipN ( const sc_module_name &  _name,
const std::vector< unsigned > &  in_toks 
)
inline

The constructor requires the module name.

It creates an SC_THREAD which reads data from its input port, zips them together and writes the results using the output port


The documentation for this class was generated from the following file: