csvParser overload (1) - 2023.2 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.2 English
#include "xf_data_analytics/dataframe/csv_parser.hpp"
template <int PU_NUM = 8>
void csvParser (
    ap_uint <128>* csv_buf,
    ap_uint <8>* schema,
    hls::stream <Object>& o_obj_strm
    )

read one standard CSV file from DDR and parse into object stream with schma defination

Parameters:

PU_NUM number of CSV parse core, only support 2/4/8
csv_buf buffer of CSV file
schema name, data type and is_filter flag for each column
o_obj_strm output object stream for selected columns