class crc32c_acc

#include "crc32c_krl.hpp"

Overview

class crc32c_acc: public VPP_ACC< crc32c_acc, 1 >

Methods

compute

static void compute (
    ap_uint <512>* in_buff,
    ap_uint <32>* len_buff,
    ap_uint <32>* out_buff
    )

top of the compute.

Parameters:

in_buff input buffer providing the data that needs to be calculated.
len_buff length of each data in bytes from address 1 to N, address 0 used to save the number of input data.
out_buff output result buffer.

hls_top

static void hls_top (
    ap_uint <512>* in_buff,
    ap_uint <32>* len_buff,
    ap_uint <32>* out_buff
    )

top of the HLS kernel.

Parameters:

in_buff input buffer providing the data that needs to be calculated.
len_buff length of each data in bytes from address 1 to N, address 0 used to save the number of input data.
out_buff output result buffer.