11-22-2018 06:18 AM
Can I use data from an AXI stream source (in my case accumulating) meanwhile storing it via DMA into memory?
The purpose is to calculate the average of a frame of data, then subtracting it from the frame. If the above is possible, it involves the writing to the memory while simultaneously averaging,
otherwise I would have to write all the frame in memory and read it all back again to average and then again to subtract the average, looks very clumsy to me.
I'm thinking maybe some HLS-written stream block that receives, accumulates and streams out (obviously keeping up the speed) to the memory (?)
11-23-2018 01:24 AM
There are two easy ways to do it. One is as you said - a block that streams data in, streams it back out, and processes it in the middle. The other is the AXI Stream Broadcaster, which connects one stream input to multiple stream outputs. Either should work, and neither should take very many resources.