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:

    It is a strange fact that freedom and equality, the two basic ideas of democracy, are to some extent contradictory. Logically considered, freedom and equality are mutually exclusive, just as society and the individual are mutually exclusive.
    Thomas Mann (1875–1955)

    He’s one of those know-it-all types that, if you flatter the wig off him, he chatter like a goony bird at mating time.
    —Michael Blankfort. Lewis Milestone. Johnson (Reginald Gardner)

    Patience, to hear frivolous, impertinent, and unreasonable applications: with address enough to refuse, without offending; or, by your manner of granting, to double the obligation: dexterity enough to conceal a truth, without telling a lie: sagacity enough to read other people’s countenances: and serenity enough not to let them discover anything by yours; a seeming frankness, with a real reserve. These are the rudiments of a politician; the world must be your grammar.
    Philip Dormer Stanhope, 4th Earl Chesterfield (1694–1773)