ForSyDe::CT::sub Class Reference

Process constructor for a continuous-time process which subtracts its inputs. More...

#include <ct_lib.hpp>

Inheritance diagram for ForSyDe::CT::sub:
Collaboration diagram for ForSyDe::CT::sub:

Public Member Functions

 sub (sc_module_name name_)
 
std::string forsyde_kind () const
 Specifying from which process constructor is the module built.
 
- Public Member Functions inherited from ForSyDe::CT::comb2
 comb2 (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...
 

Additional Inherited Members

- Public Types inherited from ForSyDe::CT::comb2
typedef std::function< void(CTTYPE &, const CTTYPE &, const CTTYPE &)> functype
 Type of the function to be passed to the process constructor.
 
- Public Attributes inherited from ForSyDe::CT::comb2
CT_in iport1
 port for the input channel 1
 
CT_in iport2
 port for the input channel 2
 
CT_out oport1
 port for the output channel
 
- Protected Member Functions inherited from ForSyDe::process
void end_of_simulation ()
 This hook is used to run the clean stage.
 

Detailed Description

Process constructor for a continuous-time process which subtracts its inputs.

This class is used to build continuous-time processes with two inputs and one output. The process subtracts the second input from the first and produces the output.

Constructor & Destructor Documentation

ForSyDe::CT::sub::sub ( sc_module_name  name_)
inline
Parameters
name_The Process name

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