Skip to content

fixed bug in end of page fetching when mem not ready

David Belohrad requested to merge page_fetch_fix into master

This fix addresses problem of fetching the pages from the DDR memory. There is a very specific case of simultaneous end-of-page-fetch event and 'ddr-not-ready' case, which results in incorrect end of page fetching. In order to detect the endof page fetch two conditions have to be fulfilled: the cache address pointer bits have to be set to '1', and memory has to be ready (= no refresh cycle just inserted). When refresh happens just at the end of the page read state, such state never finishes due to memory not being ready. This is incorrect behavior as page fetching should be only dependent of address pointer being at its maximum while the data from the memory are ready.

This patch addresses the issue.

Merge request reports