Efficient way to store data buffer and transmit it between entities

OP #6193544
Rate this post
• ▲ useful
▼ not useful
I am trying to store data which comes from the output of an entity "A" 
(std_logic_vecotr(7 downto 0 bits). Per data transmission the entity "A" 
updates it output and may recieve max 64 bytes and store them in Entity 
"B" for further processing.

I store the data through a variable std_logic_vector (511 downto 0)   in 
Entity "B" and then I parse the recieved buffer to an Entity "C". Is it 
ok if I pass the parsed data to an Entity "C" with an output of lets say 
std_logic_vector(239 downto 0) or is it better if I just have an output 
with a std_logic_vector(7 downto 0) and send the required data per clock 
cycle and store it inside a variable?

This is repeated between other entities I have so I dont know if its 
better to pass all the bytes directly between outputs or have a 1 byte 
buffer output that is updated between clock cycles.

Im not an expert on vhdl so Idk if when I synthesize the code it would 
be better to use a 1 byte buffer output or send all the data (1-64 
bytes) between entitites.

Best regards

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.