dpaul
Advanced Member level 5
Need ideas...
I have multi-input channels (lets assume 8 channels for now) each carrying 256 bits of AXI-Stream data. Now each input (the tdata bus) has a 64 bit unique value given by the position, tdata_i(95 downto 32).
My requirement is to compare each of the 64 bits values from all the 8 input data streams, determine which input data has the least 64 bit value and then save that data input into a FIFO first. Then the tdata with the next bigger 64 bit value will go into the second location of the FIFO and so on.
I will have corresponding tvalid_i and tlast_i signals for all the 8 channels.
I have to keep in mind that data might be continuously coming in from one or all of the channels or it might be completely random.
Target device is xc7a200t and clock is 125MHz.
How to do the comparison in the most efficient way?
Regards.
I have multi-input channels (lets assume 8 channels for now) each carrying 256 bits of AXI-Stream data. Now each input (the tdata bus) has a 64 bit unique value given by the position, tdata_i(95 downto 32).
My requirement is to compare each of the 64 bits values from all the 8 input data streams, determine which input data has the least 64 bit value and then save that data input into a FIFO first. Then the tdata with the next bigger 64 bit value will go into the second location of the FIFO and so on.
I will have corresponding tvalid_i and tlast_i signals for all the 8 channels.
I have to keep in mind that data might be continuously coming in from one or all of the channels or it might be completely random.
Target device is xc7a200t and clock is 125MHz.
How to do the comparison in the most efficient way?
Regards.