dde_helpers.hpp
Go to the documentation of this file.
std::function< void(ST &, const ST &, const ttn_event< IT > &)> ns_functype
Type of the next-state function to be passed to the process constructor.
Definition: dde_process_constructors.hpp:355
Process constructor for a combinational process with two inputs and one output.
Definition: dde_process_constructors.hpp:135
source< T > * make_source(std::string pName, typename source< T >::functype _func, ttn_event< T > initval, unsigned long long take, OIf< T > &outS)
Helper function to construct a source process.
Definition: dde_helpers.hpp:172
DDE_in< IT1 > iport1
port for the input channel
Definition: dde_process_constructors.hpp:460
Process constructor for a delay element.
Definition: dde_process_constructors.hpp:264
std::function< void(ttn_event< T > &, const ttn_event< T > &)> functype
Type of the function to be passed to the process constructor.
Definition: dde_process_constructors.hpp:1112
std::function< void(abst_ext< OT > &, const ST &, const ttn_event< IT1 > &, const ttn_event< IT2 > &)> od_functype
Type of the output-decoding function to be passed to the process constructor.
Definition: dde_process_constructors.hpp:468
zip< T1, T2 > * make_zip(std::string pName, OIf< std::tuple< abst_ext< T1 >, abst_ext< T2 >> > &outS, I1If< T1 > &inp1S, I2If< T2 > &inp2S)
Helper function to construct a zip process.
Definition: dde_helpers.hpp:237
DDE_in< std::array< abst_ext< T1 >, N > > iport1
port for the input channel
Definition: dde_process_constructors.hpp:1640
mealy< IT, ST, OT > * make_mealy(const std::string &pName, const typename mealy< IT, ST, OT >::ns_functype &_ns_func, const typename mealy< IT, ST, OT >::od_functype &_od_func, const ST &init_st, const sc_time &delay_time, OIf< OT > &outS, IIf< IT > &inpS)
Definition: dde_helpers.hpp:119
Implements the basic process constructors in the DDE MoC.
The zip process with two inputs and one output.
Definition: dde_process_constructors.hpp:1345
DDE_in< std::tuple< abst_ext< T1 >, abst_ext< T2 > > > iport1
port for the input channel
Definition: dde_process_constructors.hpp:1557
vsource< T > * make_vsource(std::string pName, const std::vector< T > &values, const std::vector< sc_time > &offsets, OIf< T > &outS)
Helper function to construct a vsource process.
Definition: dde_helpers.hpp:194
DDE_in< T > iport1
port for the input channel
Definition: dde_process_constructors.hpp:1279
unzip< T1, T2 > * make_unzip(std::string pName, IIf< std::tuple< abst_ext< T1 >, abst_ext< T2 >> > &inpS, O1If< T1 > &out1S, O2If< T2 > &out2S)
Helper function to construct an unzip process.
Definition: dde_helpers.hpp:283
comb2< T0, T1, T2 > * make_comb2(std::string pName, typename comb2< T0, T1, T2 >::functype _func, OIf< T0 > &outS, I1If< T1 > &inp1S, I2If< T2 > &inp2S)
Helper function to construct a comb2 process.
Definition: dde_helpers.hpp:70
std::function< void(abst_ext< T0 > &, const abst_ext< T1 > &, const abst_ext< T2 > &)> functype
Type of the function to be passed to the process constructor.
Definition: dde_process_constructors.hpp:143
The unzipX process with a vector of outputs and one input.
Definition: dde_process_constructors.hpp:1637
The zipX process with a vector of inputs and one output.
Definition: dde_process_constructors.hpp:1460
DDE_out< T > oport1
port for the output channel
Definition: dde_process_constructors.hpp:1204
The unzip process with one input and two outputs.
Definition: dde_process_constructors.hpp:1554
unzipX< T1, N > * make_unzipX(const std::string &pName, IIf< std::array< abst_ext< T1 >, N >> &inpS)
Helper function to construct an unzipX process.
Definition: dde_helpers.hpp:308
std::function< void(const ttn_event< T > &)> functype
Type of the function to be passed to the process constructor.
Definition: dde_process_constructors.hpp:1282
DDE_in< T > iport1
port for the input channel
Definition: dde_process_constructors.hpp:267
std::function< void(ST &, const ST &, const ttn_event< IT1 > &, const ttn_event< IT2 > &)> ns_functype
Type of the next-state function to be passed to the process constructor.
Definition: dde_process_constructors.hpp:465
DDE_in< T1 > iport1
port for the input channel 1
Definition: dde_process_constructors.hpp:1348
DDE_in< T > iport1
port for the input channel
Definition: dde_process_constructors.hpp:1728
Process constructor for a source process.
Definition: dde_process_constructors.hpp:1106
Process constructor for a Mealy machine with two inputs.
Definition: dde_process_constructors.hpp:457
Process constructor for a sink process.
Definition: dde_process_constructors.hpp:1276
Process constructor for a source process with vector input.
Definition: dde_process_constructors.hpp:1201
std::function< void(abst_ext< T0 > &, const T1 &)> functype
Type of the function to be passed to the process constructor.
Definition: dde_process_constructors.hpp:56
sink< T > * make_sink(std::string pName, typename sink< T >::functype _func, IIf< T > &inS)
Helper function to construct a sink process.
Definition: dde_helpers.hpp:215
std::function< void(abst_ext< OT > &, const ST &, const ttn_event< IT > &)> od_functype
Type of the output-decoding function to be passed to the process constructor.
Definition: dde_process_constructors.hpp:358
DDE_out< T > oport1
port for the output channel
Definition: dde_process_constructors.hpp:1109
delay< T > * make_delay(std::string pName, abst_ext< T > initval, sc_time delay_time, OIf< T > &outS, IIf< T > &inpS)
Helper function to construct a delay process.
Definition: dde_helpers.hpp:95
Process constructor for a fan-out process with one input and one output.
Definition: dde_process_constructors.hpp:1725
comb< T0, T1 > * make_comb(std::string pName, typename comb< T0, T1 >::functype _func, OIf< T0 > &outS, I1If< T1 > &inp1S)
Helper function to construct a comb process.
Definition: dde_helpers.hpp:46
Implements the time-tagged events.
fanout< T > * make_fanout(std::string pName, OIf< T > &outS, IIf< T > &inpS)
Helper function to construct a fanout process.
Definition: dde_helpers.hpp:328
Process constructor for a Mealy machine.
Definition: dde_process_constructors.hpp:348
DDE_out< std::array< abst_ext< T1 >, N > > oport1
port for the output channel
Definition: dde_process_constructors.hpp:1464
zipX< T1, N > * make_zipX(std::string pName, OIf< std::array< abst_ext< T1 >, N > > &outS)
Helper function to construct a zipX process.
Definition: dde_helpers.hpp:262
DDE_in< T1 > iport1
port for the input channel 1
Definition: dde_process_constructors.hpp:138
mealy2< IT1, IT2, ST, OT > * make_mealy2(const std::string &pName, const typename mealy2< IT1, IT2, ST, OT >::ns_functype &_ns_func, const typename mealy2< IT1, IT2, ST, OT >::od_functype &_od_func, const ST &init_st, const sc_time &delay_time, OIf< OT > &outS, IIf1< IT1 > &inpS1, IIf2< IT2 > &inpS2)
Definition: dde_helpers.hpp:145
DDE_in< IT > iport1
port for the input channel
Definition: dde_process_constructors.hpp:351
DDE_in< T1 > iport1
port for the input channel
Definition: dde_process_constructors.hpp:52
Process constructor for a combinational process with one input and one output.
Definition: dde_process_constructors.hpp:49
Generated by Doxygen 1.8.11