dynamicEvalV2 - 2023.2 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.2 English
#include "xf_database/dynamic_eval_v2.hpp"
template <typename T>
void dynamicEvalV2 (
    hls::stream <ap_uint <32>>& cfgs,
    hls::stream <T>& col0_istrm,
    hls::stream <T>& col1_istrm,
    hls::stream <T>& col2_istrm,
    hls::stream <T>& col3_istrm,
    hls::stream <bool>& e_istrm,
    hls::stream <T>& ret_ostrm,
    hls::stream <bool>& e_ostrm
    )

Dynamic expression evaluation version 2.

This primitive has four fixed number of column inputs, and allows up to four constants to be specified via configuration. The operation between the column values and constants can be defined dynamically through the configuration at run-time. The same configuration is used for all rows until the end of input.

The constant numbers are assumed to be no more than 32-bits.

Parameters:

T Type of input streams
cfgs configuration bits of ops and constants.
col0_istrm input Stream1
col1_istrm input Stream2
col2_istrm input Stream3
col3_istrm input Stream4
e_istrm end flag of input stream
ret_ostrm output Stream
e_ostrm end flag of output stream