Memory-mapped I/O - Basic Types of Address Decoding

Basic Types of Address Decoding

  • Exhaustive — 1:1 mapping of unique addresses to one hardware register (physical memory location)
  • Partial — n:1 mapping of n unique addresses to one hardware register. Partial decoding allows a memory location to have more than one address, allowing the programmer to reference a memory location using n different addresses. It may also be done just to simplify the decoding hardware, when not all of the CPU's address space is needed. Synonyms: foldback, multiply mapped, partially mapped.
  • Linear — Address lines are used directly without any decoding logic. This is done with devices such as RAMs and ROMs that have a sequence of address inputs, and with peripheral chips that have a similar sequence of inputs for addressing a bank of registers. Linear addressing is rarely used alone (only when there are few devices on the bus, as using purely linear addressing for more than one device usually wastes a lot of address space) but instead is combined with one of the other methods to select a device or group of devices within which the linear addressing selects a single register or memory location.

Read more about this topic:  Memory-mapped I/O

Famous quotes containing the words basic, types and/or address:

    “Of course I lie to people. But I lie altruistically—for our mutual good. The lie is the basic building block of good manners. That may seem mildly shocking to a moralist—but then what isn’t?”
    —Quentin Crisp (b. 1908)

    “The American man is a very simple and cheap mechanism. The American woman I find a complicated and expensive one. Contrasts of feminine types are possible. I am not absolutely sure that there is more than one American man.”
    —Henry Brooks Adams (1838–1918)

    “If you would be a favourite of your king, address yourself to his weaknesses. An application to his reason will seldom prove very successful.”
    —Philip Dormer Stanhope, 4th Earl Chesterfield (1694–1773)