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

Function Subtask

xilinx_test/kernels/Subflow.cpp:28–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void Subtask(hlslib::Stream<Data_t>& inPipe, hlslib::Stream<Data_t>& outPipe) {
29 HLSLIB_DATAFLOW_INIT();
30 hlslib::Stream<Data_t> internal;
31 HLSLIB_DATAFLOW_FUNCTION(AddOne, inPipe, internal);
32 HLSLIB_DATAFLOW_FUNCTION(MultiplyByTwo, internal, outPipe);
33 HLSLIB_DATAFLOW_FINALIZE();
34}
35
36void WriteOut(hlslib::Stream<Data_t>& outPipe, Data_t* memOut) {
37 for (unsigned i = 0; i < kSize; ++i) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected