Memory-mapped I/O - Complete and Incomplete Address Decoding

Complete and Incomplete Address Decoding

Addresses may be decoded completely or incompletely by a device.

  • Complete decoding involves checking every line of the address bus, causing an open data bus when the CPU accesses an unmapped region of memory. (Note that even with incomplete decoding, decoded partial regions may not be associated with any device, leaving the data bus open when those regions are accessed.)
  • Incomplete decoding, or partial decoding, uses simpler and often cheaper logic that examines only some address lines. Such simple decoding circuitry might allow a device to respond to several different addresses, effectively creating virtual copies of the device at different places in the memory map. All of these copies refer to the same real device, so there is no particular advantage in doing this, except to simplify the decoder (or possibly the software that uses the device). This is also known as address aliasing; Aliasing has other meanings in computing. Commonly, the decoding itself is programmable, so the system can reconfigure its own memory map as required, though this is a newer development and generally in conflict with the intent of being cheaper.

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

Famous quotes containing the words complete, incomplete and/or address:

    I see advertisements for active young men, as if activity were the whole of a young man’s capital. Yet I have been surprised when one has with confidence proposed to me, a grown man, to embark in some enterprise of his, as if I had absolutely nothing to do, my life having been a complete failure hitherto. What a doubtful compliment this to pay me!
    Henry David Thoreau (1817–1862)

    The real weakness of England lies, not in incomplete armaments or unfortified coasts, not in the poverty that creeps through sunless lanes, or the drunkenness that brawls in loathsome courts, but simply in the fact that her ideals are emotional and not intellectual.
    Oscar Wilde (1854–1900)

    There’s nothing that makes you so aware of the improvisation of human existence as a song unfinished. Or an old address book.
    Carson McCullers (1917–1967)