13 #ifndef MI_HELPERS_HPP 14 #define MI_HELPERS_HPP 40 template <
class OIf,
class IIf>
42 sc_time sample_period,
48 auto p =
new SY2CT(pName.c_str(), sample_period, op_mode);
64 template <
class OIf,
class IIf>
66 sc_time sample_period,
71 auto p =
new CT2SY(pName.c_str(), sample_period);
87 template <
class T,
template <
class>
class OIf,
class IIf>
111 template <
class T,
template <
class>
class OIf,
class IIf>
113 sc_time sampling_period,
118 auto p =
new CT2DDEf<T>(pName.c_str(), sampling_period);
134 template <
class T,
class OIf,
template <
class>
class IIf>
141 auto p =
new DDE2CT<T>(pName.c_str(), op_mode);
157 template <
class T,
template <
class>
class OIf,
template <
class>
class IIf>
179 template <
class T,
template <
class>
class OIf,
template <
class>
class IIf>
201 template <
class T,
template <
class>
class OIf,
template <
class>
class IIf>
203 sc_time sample_period,
208 auto p =
new SY2DDE<T>(pName.c_str(), sample_period);
224 template <
class T,
template <
class>
class OIf,
template <
class>
class IIf>
226 sc_time sample_period,
231 auto p =
new DDE2SY<T>(pName.c_str(), sample_period);
DDE2SY< T > * make_DDE2SY(std::string pName, sc_time sample_period, OIf< T > &outS, IIf< T > &inpS)
Helper function to construct an DDE2SY MoC interface.
Definition: mi_helpers.hpp:225
SY2DDE< T > * make_SY2DDE(std::string pName, sc_time sample_period, OIf< T > &outS, IIf< T > &inpS)
Helper function to construct an SY2DDE MoC interface.
Definition: mi_helpers.hpp:202
SDF::SDF_in< T > iport1
port for the input channel
Definition: mis.hpp:610
DDE::DDE_in< T > iport1
port for the input channel
Definition: mis.hpp:755
SDF2SY< T > * make_SDF2SY(std::string pName, OIf< T > &outS, IIf< T > &inpS)
Helper function to construct an SDF2SY MoC interface.
Definition: mi_helpers.hpp:180
SY2SDF< T > * make_SY2SDF(std::string pName, OIf< T > &outS, IIf< T > &inpS)
Helper function to construct an SY2SDF MoC interface.
Definition: mi_helpers.hpp:158
The namespace for ForSyDe.
Definition: abssemantics.hpp:30
The DDE_in port is used for input ports of DDE processes.
Definition: dde_process.hpp:56
Process constructor for a DDE2CT MoC interfaces.
Definition: mis.hpp:437
CT2DDE< T > * make_CT2DDE(std::string pName, OIf< T > &outS, IIf &inpS1, DDE::in_port< unsigned int > inpS2)
Helper function to construct an CT2DDE MoC interface.
Definition: mi_helpers.hpp:88
SY2CT * make_SY2CT(std::string pName, sc_time sample_period, A2DMode op_mode, OIf &outS, IIf &inpS)
Helper function to construct an SY2CT MoC interface.
Definition: mi_helpers.hpp:41
A2DMode
Operation modes for the SY2CT converter.
Definition: mis.hpp:30
Process constructor for a SY2DDE MoC interfaces.
Definition: mis.hpp:672
CT::CT_in iport1
port for the input channel
Definition: mis.hpp:365
CT2SY * make_CT2SY(std::string pName, sc_time sample_period, OIf &outS, IIf &inpS)
Helper function to construct an CT2SY MoC interface.
Definition: mi_helpers.hpp:65
CT::CT_in iport1
port for the input channel
Definition: mis.hpp:145
Implements the MoC interfaces between different MoCs.
SY::SY_in< T > iport1
port for the input channel
Definition: mis.hpp:539
Process constructor for a SY2SDF MoC interfaces.
Definition: mis.hpp:536
Process constructor for a SDF2SY MoC interface.
Definition: mis.hpp:607
Process constructor for a CT2DDE MoC interface.
Definition: mis.hpp:222
Process constructor for a CT2SY MoC interface.
Definition: mis.hpp:142
CT2DDEf< T > * make_CT2DDEf(std::string pName, sc_time sampling_period, OIf< T > &outS, IIf &inpS)
Helper function to construct an CT2DDEf MoC interface.
Definition: mi_helpers.hpp:112
CT::CT_in iport1
port for the input channel
Definition: mis.hpp:225
DDE2CT< T > * make_DDE2CT(std::string pName, A2DMode op_mode, OIf &outS, IIf< T > &inpS)
Helper function to construct an DDE2CT MoC interface.
Definition: mi_helpers.hpp:135
Process constructor for a CT2DDEf MoC interface.
Definition: mis.hpp:362
Process constructor for a SY2CT MoC interfaces.
Definition: mis.hpp:40
DDE::DDE_in< T > iport1
port for the input channel
Definition: mis.hpp:440
SY::SY_in< CTTYPE > iport1
port for the input channel
Definition: mis.hpp:43
SY::SY_in< T > iport1
port for the input channel
Definition: mis.hpp:675
Process constructor for a DDE2SY MoC interface.
Definition: mis.hpp:752