To improve DDR utilization, the address of each new request is compared with the address of the previous request. The DDRC has a preference for taking new requests that are to the same page as the previous request. The memory port compares the addresses to determine if there is a page match. A port that has been selected by the arbiter continues to get preference (priority 0) as long as there continues to be page hits. They compete against other ports with a priority of 0.
The page size is defined by PAGE_MASK (32 bit register that
all bits are the mask) and is always address aligned. For proper operation, the software
must program the page size in the PAGE_MASK to match the size of the DDR memory. Setting
this register to 0 disables the page-match step of the arbitration.