Newer
Older
#include <iostream>
#include <hls_stream.h>
#include <ap_axi_sdata.h>
using namespace std;
) {
#pragma HLS INTERFACE ap_ctrl_none port=return
#pragma HLS INTERFACE axis port=din
#pragma HLS INTERFACE axis port=dout
// pending: have to make count=0 when TLAST signal is active - for w not in the range of 0 to n(size of the array)