Fast modulo processing for interleaved memory having non-power-of-two channels
AssigneeArteris, Inc.
InventorsBrian HUANG, Hao LUAN
Life of this patent
Estimating the term…
Loading patent…
AssigneeArteris, Inc.
InventorsBrian HUANG, Hao LUAN
Estimating the term…
An electronic system includes system memory having N interleaved channels, where N is not a power of two. A hardware-implemented method for the electronic system includes receiving a request to access the system memory. The request includes an M-bit address. The method further includes processing the address to calculate a modulo N of the address without performing division-by-N. The modulo N of the address is calculated as [Σi ai mod N*2bi mod N]mod N, where Σi ai*2bi represents the M-bit address, ai is an ith word in the address, 2bi is a power of two associated with the ith word, and modulo N of 2bi=1 for all i. In a first level of processing, ai(mod N) for each i is calculated to produce a number P of remainders. At least one intermediate level of processing is performed to reduce the P remainders to a single intermediate word, where each intermediate level of processing includes forming word groups from the remainders of the previous level and performing modulo N operations on the word groups. In a last level of processing, a modulo N of the single intermediate word is calculated.
A hardware-implemented method for an electronic system including system memory having N interleaved channels, where N is not a power of two, the method comprising:
A network-on-chip (NoC) comprising:
A system on chip (SoC) comprising:
Dependencies are inferred from the claim text.