MCPcopy Create free account
hub / github.com/definelicht/hlslib / StreamToMemory

Function StreamToMemory

xilinx_test/kernels/MultiStageAdd.cpp:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26void StreamToMemory(hlslib::Stream<Data_t> &stream, Data_t *memory) {
27StreamToMemory:
28 for (int i = 0; i < kNumElements; ++i) {
29 #pragma HLS PIPELINE
30 memory[i] = stream.Pop();
31 }
32}
33
34void MultiStageAdd(Data_t const *memoryIn, Data_t *memoryOut) {
35 #pragma HLS INTERFACE m_axi port=memoryIn offset=slave bundle=gmem0

Callers

nothing calls this directly

Calls 1

PopMethod · 0.80

Tested by

no test coverage detected