ForSyDe::SY::fanout< T > Class Template Reference

Process constructor for a fan-out process with one input and one output. More...

#include <sy_process_constructors.hpp>

Inheritance diagram for ForSyDe::SY::fanout< T >:
Collaboration diagram for ForSyDe::SY::fanout< T >:

Public Member Functions

 fanout (const sc_module_name &_name)
 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

SY_in< T > iport1
 port for the input channel
 
SY_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::SY::fanout< T >

Process constructor for a fan-out process with one input and one output.

This class is used to build a fanout processes with one input and one output. The class is parameterized for input and output data-types.

This class exist because it is impossible to connect channels directly to ports in SystemC (which may be needed in hierarchical designs). It will be used when it is needed to connect an input port of a module to the input channels of multiple processes (modules).

Constructor & Destructor Documentation

template<class T >
ForSyDe::SY::fanout< T >::fanout ( const sc_module_name &  _name)
inline

The constructor requires the module name.

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

Parameters
_nameprocess name

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