cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
johnvivm
Voyager
Voyager
857 Views
Registered: ‎08-16-2018

Can I split AXI4 Stream data?

Jump to solution

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 (?)

0 Kudos
Reply
1 Solution

Accepted Solutions
johnvivm
Voyager
Voyager
821 Views
Registered: ‎08-16-2018
I found the AXI4-Stream Broadcaster does exactly what I wanted

View solution in original post

0 Kudos
Reply
2 Replies
johnvivm
Voyager
Voyager
822 Views
Registered: ‎08-16-2018
I found the AXI4-Stream Broadcaster does exactly what I wanted

View solution in original post

0 Kudos
Reply
u4223374
Advisor
Advisor
819 Views
Registered: ‎04-26-2015

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.