hottub.patents
US 12,717,708 B2#3156066 Most CitedActiveUnited States (USPTO)Utility

Modulo operations for interleaved memory having non-power-of-two channels

0Forward Citations (#3156066 Global)
0.0/yrCitation Velocity (#3156066 Global)
0.00Citation PageRank (#3156066 Global)
8Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

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 including an M-bit address; and 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 α i mod N*2 b i mod N]mod N, where Σ i α i *2 b i represents the M-bit address, a i is an i th word in the address, and 2 b i is a power of two associated with the i th word. The method further includes using the modulo N of the address as an offset to determine which of the N interleaved channels to access.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 0.

Claims (8)

  1. Claim 1Independent Claim

    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: receiving a request to access the system memory, the request including an M-bit address; processing the address to calculate a modulo N of the address without performing division-by-N, wherein the modulo N of the address is calculated as [ Σ i α i mod N*2 b i mod N]mod N, where Σ i α i *2 b i represents the M-bit address, a i is an i th word in the address, and 2 b i is a power of two associated with the i th word; and using the modulo N of the address as an offset to determine which of the N interleaved channels to access.

  2. Claim 2Depends on #1

    The method of claim 1, wherein the M-bit address has P words, and each of the words has M/P bits.

  3. Claim 3Depends on #1

    The method of claim 1, wherein look up tables are used to perform the modulo N.

  4. Claim 4Depends on #1

    The method of claim 1, wherein N is a prime number greater than 2.

  5. Claim 5Depends on #1

    The method of claim 1, wherein N is programmable at runtime.

  6. Claim 6Depends on #1

    The method of claim 1, wherein modulo N of 2 b i =1 for all i; and wherein the modulo N of the M-bit address is calculated with at least one adder and at least one lookup table.

  7. Claim 7Depends on #1

    The method of claim 1, wherein modulo N of 2 b i includes at least one power of 2 over all i; and wherein the modulo N of the M-bit address is calculated with at least one adder, at least one shift register, and at least one lookup table.

  8. Claim 8Depends on #7

    The method of claim 7, wherein modulo N of 2 b i further includes at least one odd integer great than one.

Technical Overview & Description

TECHNICAL FIELD The present technology is in the field of electronic systems including system memory. BACKGROUND A system on chip (SoC) may include multiple processors that communicate with system memory. The system memory may include power-of-two memory channels (e.g., two memory channels, four memory channels) that are interleaved. However, there are instances where power-of-two memory channels are not available. For instance, physical dimensions of the SoC might not be large enough to fit power-of-two memory devices. Consider the example of system memory having three channels. When a memory access request is sent to the system memory, an address decoder determines which channel will be accessed. This determination may be made by performing a modulo 3 operation on the address. If the result of the modulo 3 operation — the remainder — equals zero, the first channel is accessed. The second channel is accessed if the remainder equals one, and the third channel is accessed if the remainder equals two. To calculate the remainder, the address decoder may perform a divide-by-3 operation. However, binary division has relatively high delay and logic complexity. Moreover, binary division does not scale well. Its penalty grows with increases in address size. The memory interface may instead use a hash or mapping function. However, a hash or mapping function can generate non-linear address holes to memory space. The address holes make it difficult to reconstruct a continuous address space for remapping in a downstream memory interface. SUMMARY An electronic system includes system memory having N interleaved channels, where N is not a power of two. In accordance with various embodiments and aspects herein, a hardware-implemented method for the electronic system includes receiving a request to access the system memory, the request including an M-bit address; and processing the address to calculate a modulo N of the address without performing division-by-N. The modulo N of the a

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (8)