ct_lib.hpp File Reference

Implements extra facilities on top of the CT MoC. More...

#include "ct_moc.hpp"
#include "dde_moc.hpp"
#include "mis.hpp"
Include dependency graph for ct_lib.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ForSyDe::CT::sine
 Helper function to construct a coasine source. More...
 
class  ForSyDe::CT::cosine
 Helper function to construct a coasine source. More...
 
class  ForSyDe::CT::square
 Helper function to construct a square source. More...
 
class  ForSyDe::CT::scale
 Process constructor for a continuous-time process which scales the input. More...
 
class  ForSyDe::CT::add
 Process constructor for a continuous-time process which adds its inputs. More...
 
class  ForSyDe::CT::sub
 Process constructor for a continuous-time process which subtracts its inputs. More...
 
class  ForSyDe::CT::mul
 Process constructor for a continuous-time process which multiplies its inputs. More...
 

Namespaces

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

Functions

template<class OIf >
sine * ForSyDe::CT::make_sine (std::string pName, const sc_time &endT, const sc_time &period, const CTTYPE &ampl, OIf &outS)
 Helper function to construct a sine source process. More...
 
template<class OIf >
cosine * ForSyDe::CT::make_cosine (std::string pName, const sc_time &endT, const sc_time &period, const CTTYPE &ampl, OIf &outS)
 Helper function to construct a cosine source process. More...
 
template<class OIf >
square * ForSyDe::CT::make_square (std::string pName, const sc_time &endT, const sc_time &period, const CTTYPE &highS, const CTTYPE &lowS, const double &dutyCycle, OIf &outS)
 Helper function to construct a square source process. More...
 
template<class OIf , class IIf >
scale * ForSyDe::CT::make_scale (std::string pName, const CTTYPE &scaling_factor, OIf &outS, IIf &inpS)
 Helper function to construct a scale process. More...
 
template<class OIf , class IIf1 , class IIf2 >
add * ForSyDe::CT::make_add (std::string pName, OIf &outS, IIf1 &inp1S, IIf2 &inp2S)
 Helper function to construct an add process. More...
 
template<class OIf , class IIf1 , class IIf2 >
sub * ForSyDe::CT::make_sub (std::string pName, OIf &outS, IIf1 &inp1S, IIf2 &inp2S)
 Helper function to construct a sub process. More...
 
template<class OIf , class IIf1 , class IIf2 >
mul * ForSyDe::CT::make_mul (std::string pName, OIf &outS, IIf1 &inp1S, IIf2 &inp2S)
 Helper function to construct a mul process. More...
 
 ForSyDe::CT::SC_MODULE (gaussian)
 Process constructor for a Gaussian randome wave generator. More...
 
template<class OIf >
gaussian * ForSyDe::CT::make_gaussian (std::string pName, const double &gaussVar, const double &gaussMean, const sc_time sample_period, OIf &outS)
 Helper function to construct a gaussian process. More...
 
 ForSyDe::CT::SC_MODULE (filter)
 Process constructor for implementing a linear filter. More...
 
template<class OIf , class I1If >
filter * ForSyDe::CT::make_filter (std::string pName, const std::vector< CTTYPE > numerators, const std::vector< CTTYPE > denominators, const sc_time sample_period, OIf &outS, I1If &inp1S)
 Helper function to construct a linear process. More...
 
 ForSyDe::CT::SC_MODULE (filterf)
 Process constructor for implementing a linear filter with fixed step. More...
 
template<class OIf , class I1If >
filterf * ForSyDe::CT::make_filterf (std::string pName, const std::vector< CTTYPE > numerators, const std::vector< CTTYPE > denominators, const sc_time sample_period, OIf &outS, I1If &inp1S)
 Helper function to construct a linear process with fixed step size. More...
 
template<class OIf , class I1If >
filter * ForSyDe::CT::make_integrator (std::string pName, const sc_time sample_period, OIf &outS, I1If &inp1S)
 Helper function to construct an integrator. More...
 
template<class OIf , class I1If >
filterf * ForSyDe::CT::make_integratorf (std::string pName, const sc_time sample_period, OIf &outS, I1If &inp1S)
 Helper function to construct an integrator with fixed step size. More...
 
 ForSyDe::CT::SC_MODULE (pif)
 Process constructor for implementing a PI controller with fixed step. More...
 
template<class OIf , class I1If >
pif * ForSyDe::CT::make_pif (std::string pName, const CTTYPE &kp, const CTTYPE &ki, const sc_time sample_period, OIf &outS, I1If &inp1S)
 Helper function to construct a PI controller with fixed step size. More...
 

Detailed Description

Implements extra facilities on top of the CT MoC.

This file includes the basic process constructors and helper functions for creating advanced CT processes.