27 #ifndef _CF_AXI_USER_UTILS_
28 #define _CF_AXI_USER_UTILS_
36 #include <hls_stream.h>
49 ap_uint<(D+7)/8> tkeep;
53 Axis(ap_uint<D> single_data) : tdata((ap_uint<D>)single_data), tkeep(~(((ap_uint<D>) single_data) & 0)), tlast(1) {}
54 Axis(ap_uint<D> new_data, ap_uint<(D+7/8)> new_keep, ap_uint<1> new_last) : tdata(new_data), tkeep(new_keep), tlast(new_last) {}
80 this->tdata = ot.
tdata;
81 this->tkeep = ot.
tkeep;
82 this->tlast = ot.
tlast;
Axis(ap_uint< D > single_data)
void setTLast(ap_uint< 1 > new_last)
Axis(ap_uint< D > new_data, ap_uint<(D+7/8)> new_keep, ap_uint< 1 > new_last)
ap_uint<(D+7)/8 > getTKeep()
void setTKeep(ap_uint<(D+7)/8 > new_keep)
void setTData(ap_uint< D > new_data)