Patent ID: 9588880
Date: 2017-03-07
CPC Classifications: G06F

Claim:
1. An adaptive memory address translation method, comprising: receiving a plurality of request instructions, wherein a memory address corresponding to each of the request instructions comprises a bank address; analyzing the memory addresses corresponding to the request instructions to obtain a translation frequency of each bit in the memory addresses, wherein the translation frequency of each bit represents how frequent the bit changes value in the memory addresses; determining a linear translation formula according to the obtained translation frequency of bits in the memory addresses; performing a first translation of the memory addresses corresponding to the request instructions according to the linear translation formula, such that the number of identical bank addresses between two adjacent request instructions is fewer than that before the first translation; and utilizing a numerical translation mechanism to perform a second translation of the memory addresses corresponding to the request instructions, such that the memory addresses corresponding to the any two adjacent request instructions have fewer different bits than those before the second translation.