Showing results for 
Search instead for 
Did you mean: 
Honored Contributor I

Altera Avalon MM Read Master Template: max transfer length of 20 bytes?

Hi everyone, 


I have sucessfully integrated the Altera Avalon MM Read Master template. However, this only works properly up to the length of 20. (word size is 32 bit) 


When I define the transfer length to be 24, i.e. 6 words, then there are only 5 dataavailable assertions with 5 buffered data. What I find interesting is, that the signal early_done does get asserted, meaning the last read is actually posted, but the signal done is never asserted, so somehow the result cannot be returned. 


I already used a FIFO of size 64, so should be big enough I think. 


Is this a known issue? Or anyone an idea what the problem could be? 


Best regards, 

0 Kudos
1 Reply
Honored Contributor I

Hi, it will be faster to write Avalon MM Read Master by yourself than try debugging these templates. There are 3 parts here: send read addresses, react on waitrequest and collect incoming data on the bus.