void readOnly ( ap_uint <512>* ddrMem0, ap_uint <512>* ddrMem1, hls::stream <ap_uint <32>>& addrStrm, hls::stream <bool>& e_addrStrm, hls::stream <T>& data0Strm, hls::stream <bool>& e_data0Strm, hls::stream <T>& data1Strm, hls::stream <bool>& e_data1Strm )
readOnly function that index two off-chip buffers without end flags. Both of the buffers should be indexed in exactly the same behaviour.
Parameters:
ddrMem0 | The pointer for the first off chip memory |
ddrMem1 | The pointer for the second off chip memory |
addrStrm | The read address should be sent from this stream |
e_addrStrm | The end flag for the addrStrm |
data0Strm | The data loaded from the first off chip memory |
e_data0Strm | The end flag for the data0Strm |
data1Strm | The data loaded from the second off chip memory |
e_data1Strm | The end flag for the data1Strm |