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

Function MemoryToStream

xilinx_test/kernels/MultiStageAdd.cpp:7–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include "hlslib/xilinx/Simulation.h"
6
7void MemoryToStream(Data_t const *memory, hlslib::Stream<Data_t> &stream) {
8MemoryToStream:
9 for (int i = 0; i < kNumElements; ++i) {
10 #pragma HLS PIPELINE II=1
11 stream.Push(memory[i]);
12 }
13}
14
15void AddStage(hlslib::Stream<Data_t> &streamIn,
16 hlslib::Stream<Data_t> &streamOut) {

Callers

nothing calls this directly

Calls 1

PushMethod · 0.80

Tested by

no test coverage detected