ct_helpers.hpp File Reference

Implements helper primitives for modeling in the CT MoC. More...

#include <functional>
#include "sub_signal.hpp"
#include "ct_process_constructors.hpp"
Include dependency graph for ct_helpers.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ForSyDe
 The namespace for ForSyDe.
 
 ForSyDe::CT
 The namespace for CT MoC.
 

Functions

template<class OIf , class I1If >
comb * ForSyDe::CT::make_comb (std::string pName, typename comb::functype _func, OIf &outS, I1If &inp1S)
 Helper function to construct a comb process. More...
 
template<class OIf , class I1If , class I2If >
comb2 * ForSyDe::CT::make_comb2 (std::string pName, typename comb2::functype _func, OIf &outS, I1If &inp1S, I2If &inp2S)
 Helper function to construct a comb2 process. More...
 
template<class OIf , class IIf , std::size_t N>
combX< N > * ForSyDe::CT::make_combX (std::string pName, typename combX< N >::functype _func, OIf &outS, std::array< IIf, N > &inpS)
 Helper function to construct a combX process. More...
 
template<class IIf , class OIf >
delay * ForSyDe::CT::make_delay (std::string pName, sc_time delay_time, OIf &outS, IIf &inpS)
 Helper function to construct a delay process. More...
 
template<class IIf , class OIf >
shift * ForSyDe::CT::make_shift (std::string pName, sc_time delay_time, OIf &outS, IIf &inpS)
 Helper function to construct a shift process. More...
 
template<class OIf >
constant * ForSyDe::CT::make_constant (std::string pName, CTTYPE init_val, sc_time end_time, OIf &outS)
 Helper function to construct a constant source process. More...
 
template<class OIf >
source * ForSyDe::CT::make_source (std::string pName, typename source::functype _func, const sc_time &end_time, OIf &outS)
 Helper function to construct a source process. More...
 
template<class IIf >
sink * ForSyDe::CT::make_sink (std::string pName, typename sink::functype _func, sc_time sampling_period, IIf &inS)
 Helper function to construct a sink process. More...
 
template<class IIf >
traceSig * ForSyDe::CT::make_traceSig (std::string pName, sc_time sampling_period, IIf &inpS)
 Helper function to construct a traceSig process. More...
 
template<class IIf , class OIf >
fanout * ForSyDe::CT::make_fanout (std::string pName, OIf &outS, IIf &inpS)
 Helper function to construct a fanout process. More...
 

Detailed Description

Implements helper primitives for modeling in the CT MoC.

This file includes helper functions which facilliate construction of processes in the continuous-time MoC