1 #ifndef DATAFORMATS_L1TPARTICLEFLOW_ENCODING_H 2 #define DATAFORMATS_L1TPARTICLEFLOW_ENCODING_H 7 template <
typename U,
typename T>
14 template <
typename U,
typename T>
31 template <
unsigned int N,
unsigned int OFFS = 0,
typename T,
int NB>
35 #pragma HLS inline region recursive 38 for (
unsigned int i = 0;
i <
N; ++
i) {
46 template <
unsigned int N,
unsigned int OFFS = 0,
typename T,
int NB>
50 #pragma HLS inline region recursive 53 for (
unsigned int i = 0;
i <
N; ++
i) {
std::pair< unsigned int, unsigned int > unpack(cond::Time_t since)
void l1pf_pattern_unpack(const ap_uint< NB > data[], T objs[N])
void unpack_bool_from_bits(const U &u, unsigned int &start, bool &data)
void pack_into_bits(U &u, unsigned int &start, const T &data)
void l1pf_pattern_pack(const T objs[N], ap_uint< NB > data[])
char data[epos_bytes_allocation]
void unpack_from_bits(const U &u, unsigned int &start, T &data)
void pack_bool_into_bits(U &u, unsigned int &start, bool data)