Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

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,

Jimmy

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.