ut_helpers.hpp
Go to the documentation of this file.
UT_in< T > iport1
port for the input channel
Definition: ut_process_constructors.hpp:521
UT_in< T1 > iport1
port for the input channel
Definition: ut_process_constructors.hpp:48
UT_in< T1 > iport1
port for the input channel 1
Definition: ut_process_constructors.hpp:1319
scand< IT, ST > * make_scand(const std::string &pName, const typename scan< IT, ST >::gamma_functype &_gamma_func, const typename scan< IT, ST >::ns_functype &_ns_func, const ST &init_st, OIf< ST > &outS, IIf< IT > &inpS)
Helper function to construct a scand-based process.
Definition: ut_helpers.hpp:242
UT_in< IT > iport1
port for the input channel
Definition: ut_process_constructors.hpp:817
UT_in< T > iport1
port for the input channel
Definition: ut_process_constructors.hpp:1694
The zip process with two inputs and one output.
Definition: ut_process_constructors.hpp:1316
comb3< T0, T1, T2, T3 > * make_comb3(const std::string &pName, const typename comb3< T0, T1, T2, T3 >::functype &_func, const unsigned int &i1toks, const unsigned int &i2toks, const unsigned int &i3toks, OIf< T0 > &outS, I1If< T1 > &inp1S, I2If< T2 > &inp2S, I3If< T3 > &inp3S)
Helper function to construct a comb3 process.
Definition: ut_helpers.hpp:100
UT_in< IT > iport1
port for the input channel
Definition: ut_process_constructors.hpp:600
std::function< void(std::vector< T0 > &, const std::vector< T1 > &)> functype
Type of the function to be passed to the process constructor.
Definition: ut_process_constructors.hpp:54
UT_in< std::tuple< std::vector< T1 >, std::vector< T2 > > > iport1
port for the input channel
Definition: ut_process_constructors.hpp:1512
Process constructor for a Mealy machine.
Definition: ut_process_constructors.hpp:940
moore< IT, ST, OT > * make_moore(const std::string &pName, const typename moore< IT, ST, OT >::gamma_functype &_gamma_func, const typename moore< IT, ST, OT >::ns_functype &_ns_func, const typename moore< IT, ST, OT >::od_functype &_od_func, const ST &init_st, OIf< OT > &outS, IIf< IT > &inpS)
Helper function to construct a moore process.
Definition: ut_helpers.hpp:268
source< T > * make_source(const std::string &pName, const typename source< T >::functype &_func, const T &initval, const unsigned long long &take, OIf< T > &outS)
Helper function to construct a source process.
Definition: ut_helpers.hpp:341
std::function< void(unsigned int &, const ST &)> gamma_functype
Type of the partitioning function to be passed to the process constructor.
Definition: ut_process_constructors.hpp:821
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: ut_process_constructors.hpp:140
Process constructor for a fan-out process with one input and one output.
Definition: ut_process_constructors.hpp:1691
UT_in< T > iport1
port for the input channel
Definition: ut_process_constructors.hpp:445
std::function< void(std::vector< OT > &, const ST &)> od_functype
Type of the output-decoding function to be passed to the process constructor.
Definition: ut_process_constructors.hpp:827
UT_in< T1 > iport1
port for the input channel 1
Definition: ut_process_constructors.hpp:132
UT_in< IT > iport1
port for the input channel
Definition: ut_process_constructors.hpp:943
Implements the basic process constructors in the UT MoC.
Process constructor for a Moore machine.
Definition: ut_process_constructors.hpp:814
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: ut_process_constructors.hpp:234
constant< T > * make_constant(const std::string &pName, const T &initval, const unsigned long long &take, OIf< T > &outS)
Helper function to construct a constant source process.
Definition: ut_helpers.hpp:320
The unzip process with one input and two outputs.
Definition: ut_process_constructors.hpp:1509
Process constructor for a combinational process with two inputs and one output.
Definition: ut_process_constructors.hpp:323
UT_in< T1 > iport1
port for the input channel 1
Definition: ut_process_constructors.hpp:224
comb< T0, T1 > * make_comb(const std::string &pName, const typename comb< T0, T1 >::functype &_func, const unsigned int &i1toks, OIf< T0 > &outS, I1If< T1 > &inp1S)
Helper function to construct a comb process.
Definition: ut_helpers.hpp:45
mealy< IT, ST, OT > * make_mealy(const std::string &pName, const typename moore< IT, ST, OT >::gamma_functype &_gamma_func, const typename mealy< IT, ST, OT >::ns_functype &_ns_func, const typename mealy< IT, ST, OT >::od_functype &_od_func, const ST &init_st, OIf< OT > &outS, IIf< IT > &inpS)
Helper function to construct a mealy process.
Definition: ut_helpers.hpp:295
Process constructor for a sink process.
Definition: ut_process_constructors.hpp:1247
std::function< void(const T &)> functype
Type of the function to be passed to the process constructor.
Definition: ut_process_constructors.hpp:1253
fanout< T > * make_fanout(const std::string &pName, OIf< T > &outS, IIf< T > &inpS)
Helper function to construct an unzipN process.
Definition: ut_helpers.hpp:486
UT_in< IT > iport1
port for the input channel
Definition: ut_process_constructors.hpp:701
Process constructor for a combinational process with two inputs and one output.
Definition: ut_process_constructors.hpp:221
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: ut_process_constructors.hpp:338
zip< T1, T2 > * make_zip(const std::string &pName, const unsigned int &i1toks, const 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: ut_helpers.hpp:405
std::function< void(std::vector< OT > &, const ST &, const std::vector< IT > &)> od_functype
Type of the output-decoding function to be passed to the process constructor.
Definition: ut_process_constructors.hpp:954
Process constructor for a source process with vector input.
Definition: ut_process_constructors.hpp:1209
delay< T > * make_delay(const std::string &pName, const T &initval, OIf< T > &outS, IIf< T > &inpS)
Helper function to construct a delay process.
Definition: ut_helpers.hpp:168
UT_in< T1 > iport1
port for the input channel 1
Definition: ut_process_constructors.hpp:326
Process constructor for a scand process.
Definition: ut_process_constructors.hpp:698
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: ut_helpers.hpp:363
Process constructor for a combinational process with two inputs and one output.
Definition: ut_process_constructors.hpp:129
sc_fifo_out< OTYP > oport1
port for the output channel
Definition: ut_process_constructors.hpp:1212
delayn< T > * make_delayn(const std::string &pName, const T &initval, const unsigned int &n, OIf< T > &outS, IIf< T > &inpS)
Helper function to construct a delayn process.
Definition: ut_helpers.hpp:191
Process constructor for a constant source process.
Definition: ut_process_constructors.hpp:1051
std::function< void(ST &, const ST &, const std::vector< IT > &)> ns_functype
Type of the next-state function to be passed to the process constructor.
Definition: ut_process_constructors.hpp:607
Process constructor for a n-delay element.
Definition: ut_process_constructors.hpp:518
Process constructor for a delay element.
Definition: ut_process_constructors.hpp:442
comb4< T0, T1, T2, T3, T4 > * make_comb4(const std::string &pName, const typename comb4< T0, T1, T2, T3, T4 >::functype &_func, const unsigned int &i1toks, const unsigned int &i2toks, const unsigned int &i3toks, const 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: ut_helpers.hpp:134
Process constructor for a scan process.
Definition: ut_process_constructors.hpp:597
UT_in< T > iport1
port for the input channel
Definition: ut_process_constructors.hpp:1250
std::function< void(T &, const T &)> functype
Type of the function to be passed to the process constructor.
Definition: ut_process_constructors.hpp:1127
Process constructor for a combinational process (actor) with one input and one output.
Definition: ut_process_constructors.hpp:45
std::function< void(unsigned int &, const ST &)> gamma_functype
Type of the partitioning function to be passed to the process constructor.
Definition: ut_process_constructors.hpp:604
sink< T > * make_sink(const std::string &pName, const typename sink< T >::functype &_func, IIf< T > &inS)
Helper function to construct a sink process.
Definition: ut_helpers.hpp:383
UT_out< T > oport1
port for the output channel
Definition: ut_process_constructors.hpp:1124
std::function< void(ST &, const ST &, const std::vector< IT > &)> ns_functype
Type of the next-state function to be passed to the process constructor.
Definition: ut_process_constructors.hpp:950
std::function< void(ST &, const ST &, const std::vector< IT > &)> ns_functype
Type of the next-state function to be passed to the process constructor.
Definition: ut_process_constructors.hpp:824
UT_out< T > oport1
port for the output channel
Definition: ut_process_constructors.hpp:1054
scan< IT, ST > * make_scan(const std::string &pName, const typename scan< IT, ST >::gamma_functype &_gamma_func, const typename scan< IT, ST >::ns_functype &_ns_func, const ST &init_st, OIf< ST > &outS, IIf< IT > &inpS)
Helper function to construct a scan-based process.
Definition: ut_helpers.hpp:216
unzip< T1, T2 > * make_unzip(const std::string &pName, IIf< std::tuple< std::vector< T1 >, std::vector< T2 >>> &inpS, O1If< T1 > &out1S, O2If< T2 > &out2S)
Helper function to construct an unzip process.
Definition: ut_helpers.hpp:432
comb2< T0, T1, T2 > * make_comb2(const std::string pName, const typename comb2< T0, T1, T2 >::functype &_func, const unsigned int &i1toks, const unsigned int &i2toks, OIf< T0 > &outS, I1If< T1 > &inp1S, I2If< T2 > &inp2S)
Helper function to construct a comb2 process.
Definition: ut_helpers.hpp:70
Process constructor for a source process.
Definition: ut_process_constructors.hpp:1121
Generated by Doxygen 1.8.11