shashankksraj
Newbie
Hi,
I have 32-bit data, 16-bit data, 8-data accompanied by their respective data valid signal. At each clock, any one of the data may arrive into 32-bit memory/buffer. If its 32-bit, I could send across the output. If its any other data, I need wait until the 32-bit is filled after concatenation and send it across the output. Suppose, I get a 16-bit data first, 8-bit data second, 16-bit third. On concatenation, I have 8 bits overflow which I need to send at next clock cycle by concatenating with next arriving data. I can only output 32-bit with help on concatenation and accompanied by valid signal for the output.
How do I achieve the size check and concatenation? Please help.
I have 32-bit data, 16-bit data, 8-data accompanied by their respective data valid signal. At each clock, any one of the data may arrive into 32-bit memory/buffer. If its 32-bit, I could send across the output. If its any other data, I need wait until the 32-bit is filled after concatenation and send it across the output. Suppose, I get a 16-bit data first, 8-bit data second, 16-bit third. On concatenation, I have 8 bits overflow which I need to send at next clock cycle by concatenating with next arriving data. I can only output 32-bit with help on concatenation and accompanied by valid signal for the output.
How do I achieve the size check and concatenation? Please help.