sdf_helpers.hpp
Go to the documentation of this file.
Process constructor for a combinational process with two inputs and one output.
Definition: sdf_process_constructors.hpp:329
Process constructor for a combinational process (actor) with one input and one output.
Definition: sdf_process_constructors.hpp:45
unzip< T1, T2 > * make_unzip(std::string pName, IIf< std::tuple< std::vector< T1 >, std::vector< T2 >>> &inpS, unsigned int o1toks, unsigned int o2toks, O1If< T1 > &out1S, O2If< T2 > &out2S)
Helper function to construct an unzip process.
Definition: sdf_helpers.hpp:372
Process constructor for a file_source process.
Definition: sdf_process_constructors.hpp:764
zip< T1, T2 > * make_zip(std::string pName, unsigned int i1toks, unsigned int i2toks, OIf< std::tuple< std::vector< T1 >, std::vector< T2 >>> &outS, I1If< T1 > &inp1S, I2If< T2 > &inp2S)
Helper function to construct a zip process.
Definition: sdf_helpers.hpp:345
SDF_in< T > iport1
port for the input channel
Definition: sdf_process_constructors.hpp:453
comb4< T0, T1, T2, T3, T4 > * make_comb4(std::string pName, typename comb4< T0, T1, T2, T3, T4 >::functype _func, unsigned int o1toks, unsigned int i1toks, unsigned int i2toks, unsigned int i3toks, unsigned int i4toks, OIf< T0 > &outS, I1If< T1 > &inp1S, I2If< T2 > &inp2S, I3If< T3 > &inp3S, I4If< T4 > &inp4S)
Helper function to construct a comb4 process.
Definition: sdf_helpers.hpp:137
SDF_out< T > oport1
port for the output channel
Definition: sdf_process_constructors.hpp:607
SDF_in< T1 > iport1
port for the input channel 1
Definition: sdf_process_constructors.hpp:134
SDF_out< T > oport1
port for the output channel
Definition: sdf_process_constructors.hpp:767
Process constructor for a file_sink process.
Definition: sdf_process_constructors.hpp:993
std::function< void(T &, const std::string &)> functype
Type of the function to be passed to the process constructor.
Definition: sdf_process_constructors.hpp:770
SDF_in< std::tuple< std::vector< T1 >, std::vector< T2 > > > iport1
port for the input channel
Definition: sdf_process_constructors.hpp:1329
Process constructor for a source process.
Definition: sdf_process_constructors.hpp:674
Process constructor for a combinational process with two inputs and one output.
Definition: sdf_process_constructors.hpp:131
Process constructor for a source process with vector input.
Definition: sdf_process_constructors.hpp:854
fanout< T > * make_fanout(std::string pName, OIf< T > &outS, IIf< T > &inpS)
Helper function to construct an unzipN process.
Definition: sdf_helpers.hpp:428
std::function< void(std::vector< T0 > &, const std::vector< T1 > &, const std::vector< T2 > &, const std::vector< T3 > &, const std::vector< T4 > &)> functype
Type of the function to be passed to the process constructor.
Definition: sdf_process_constructors.hpp:344
Process constructor for a fan-out process with one input and one output.
Definition: sdf_process_constructors.hpp:1531
vsource< T > * make_vsource(const std::string &pName, const std::vector< T > &in_vec, OIf< T > &outS)
Helper function to construct a vector source process.
Definition: sdf_helpers.hpp:282
delay< T > * make_delay(std::string pName, T initval, OIf< T > &outS, IIf< T > &inpS)
Helper function to construct a delay process.
Definition: sdf_helpers.hpp:172
Implements the basic process constructors in the SDF MoC.
Process constructor for a n-delay element.
Definition: sdf_process_constructors.hpp:526
comb2< T0, T1, T2 > * make_comb2(std::string pName, typename comb2< T0, T1, T2 >::functype _func, unsigned int o1toks, unsigned int i1toks, unsigned int i2toks, OIf< T0 > &outS, I1If< T1 > &inp1S, I2If< T2 > &inp2S)
Helper function to construct a comb2 process.
Definition: sdf_helpers.hpp:71
SDF_in< T > iport1
port for the input channel
Definition: sdf_process_constructors.hpp:923
SDF_out< T > oport1
port for the output channel
Definition: sdf_process_constructors.hpp:677
std::function< void(T &, const T &)> functype
Type of the function to be passed to the process constructor.
Definition: sdf_process_constructors.hpp:680
SDF_in< T1 > iport1
port for the input channel 1
Definition: sdf_process_constructors.hpp:228
std::function< void(std::vector< T0 > &, const std::vector< T1 > &, const std::vector< T2 > &)> functype
Type of the function to be passed to the process constructor.
Definition: sdf_process_constructors.hpp:142
SDF_in< T > iport1
port for the input channel
Definition: sdf_process_constructors.hpp:529
file_source< T > * make_file_source(std::string pName, typename file_source< T >::functype _func, std::string file_name, OIf< T > &outS)
Helper function to construct a file_source process.
Definition: sdf_helpers.hpp:261
SDF_in< T1 > iport1
port for the input channel 1
Definition: sdf_process_constructors.hpp:332
sink< T > * make_sink(std::string pName, typename sink< T >::functype _func, IIf< T > &inS)
Helper function to construct a sink process.
Definition: sdf_helpers.hpp:302
SDF_in< T1 > iport1
port for the input channel
Definition: sdf_process_constructors.hpp:48
std::function< void(std::vector< T0 > &, const std::vector< T1 > &)> functype
Type of the function to be passed to the process constructor.
Definition: sdf_process_constructors.hpp:54
std::function< void(const T &)> functype
Type of the function to be passed to the process constructor.
Definition: sdf_process_constructors.hpp:926
delayn< T > * make_delayn(std::string pName, T initval, unsigned int n, OIf< T > &outS, IIf< T > &inpS)
Helper function to construct a delayn process.
Definition: sdf_helpers.hpp:195
constant< T > * make_constant(std::string pName, T initval, unsigned long long take, OIf< T > &outS)
Helper function to construct a constant source process.
Definition: sdf_helpers.hpp:218
SDF_in< T1 > iport1
port for the input channel 1
Definition: sdf_process_constructors.hpp:1129
std::function< void(std::vector< T0 > &, const std::vector< T1 > &, const std::vector< T2 > &, const std::vector< T3 > &)> functype
Type of the function to be passed to the process constructor.
Definition: sdf_process_constructors.hpp:238
The zip process with two inputs and one output.
Definition: sdf_process_constructors.hpp:1126
Process constructor for a constant source process.
Definition: sdf_process_constructors.hpp:604
Process constructor for a combinational process with two inputs and one output.
Definition: sdf_process_constructors.hpp:225
Process constructor for a sink process.
Definition: sdf_process_constructors.hpp:920
SDF_out< T > oport1
port for the output channel
Definition: sdf_process_constructors.hpp:857
source< T > * make_source(std::string pName, typename source< T >::functype _func, T initval, unsigned long long take, OIf< T > &outS)
Helper function to construct a source process.
Definition: sdf_helpers.hpp:239
SDF_in< T > iport1
port for the input channel
Definition: sdf_process_constructors.hpp:1534
Process constructor for a delay element.
Definition: sdf_process_constructors.hpp:450
The unzip process with one input and two outputs.
Definition: sdf_process_constructors.hpp:1326
SDF_in< T > iport1
port for the input channel
Definition: sdf_process_constructors.hpp:996
file_sink< T > * make_file_sink(std::string pName, typename file_sink< T >::functype _func, std::string file_name, IIf< T > &inS)
Helper function to construct a file_sink process.
Definition: sdf_helpers.hpp:322
comb< T0, T1 > * make_comb(std::string pName, typename comb< T0, T1 >::functype _func, unsigned int o1toks, unsigned int i1toks, OIf< T0 > &outS, I1If< T1 > &inp1S)
Helper function to construct a comb process.
Definition: sdf_helpers.hpp:45
comb3< T0, T1, T2, T3 > * make_comb3(std::string pName, typename comb3< T0, T1, T2, T3 >::functype _func, unsigned int o1toks, unsigned int i1toks, unsigned int i2toks, unsigned int i3toks, OIf< T0 > &outS, I1If< T1 > &inp1S, I2If< T2 > &inp2S, I3If< T3 > &inp3S)
Helper function to construct a comb3 process.
Definition: sdf_helpers.hpp:102
std::function< void(std::string &, const T &)> functype
Type of the function to be passed to the process constructor.
Definition: sdf_process_constructors.hpp:999
Generated by Doxygen 1.8.11