Problem Passing arrays to and from functions

38 views
Skip to first unread message

M Nasser

unread,
Apr 26, 2021, 3:53:25 PM4/26/21
to PandA project discussions and questions
Hello everyone,
I've been checking the code example of the CRC, I noticed that we passed a char pointer to the function and after the combilation this was converted into a memory, I noticed the simulation waveforms and noticed that before the start signal is asserted we fill the memory first by putting the data and validating it with a ready signal to get latched the next clk cycle. The problem is the data was of char 8 bit type but the memory has a 16 bit input port and I was unable to detect the protocol with which we fill this 16 bit word memory. Another problem I noticed that there were memory signals at the output that I can not figure out why they are exist.
 Can you please help me? 
Is there any documentation that I should read, if there was can you please guide me where I can find it.

Thanks in advance 
Reply all
Reply to author
Forward
0 new messages