Memory Address Decoding
Memory Address Decoding
For example, the 8088 issues 20-bit addresses for a total of 1MB
of memory address space.
ece-research.unm.edu/jimp/310/slides/8086_memory2.html 1/14
8/25/2020 Memory Address Decoding
This 2KB memory segment maps into the reset location of the
8086/8088 (FFFF0H).
Note that all three Enables (G2A, G2B, and G1) must be active,
e.g. low, low and high, respectively.
Each output of the decoder can be attached to an 2764 EPROM (
8K X 8 ).
Memory Address Decoding
ece-research.unm.edu/jimp/310/slides/8086_memory2.html 3/14
8/25/2020 Memory Address Decoding
PLDs have been around since the mid-1970s but have only
recently appeared in memory systems (PALs have replaced
PROM address decoders).
ece-research.unm.edu/jimp/310/slides/8086_memory2.html 4/14
8/25/2020 Memory Address Decoding
ece-research.unm.edu/jimp/310/slides/8086_memory2.html 6/14
8/25/2020 Memory Address Decoding
Parity Checking:
Parity checking is used to detect single bit errors in the
memory.
ece-research.unm.edu/jimp/310/slides/8086_memory2.html 7/14
8/25/2020 Memory Address Decoding
This circuit generates EVEN or ODD parity for the 9-bit number
placed on its inputs.
Typically, for generation, the 9th input bit is set to 0.
This circuit also checks EVEN or ODD parity for the 9-bit
number.
In this case, the 9th input bit is connected to the 9th bit
of memory.
For example, if the original byte has an even # of 1's
(with 9th bit at GND), the parity bit is set to 1 (from the
EVEN output).
If the EVEN output goes high during the check, then an
error occurred.
Parity for Memory Error Detection
ece-research.unm.edu/jimp/310/slides/8086_memory2.html 8/14
8/25/2020 Memory Address Decoding
Error Detection
This parity scheme can only detect a single bit error.
Block-Check Character ( BCC ) or Checksum.
Can detect multiple bit errors.
This is simply the two's complement sum (the negative
of the sum) of the sequence of bytes.
No error occurred if adding the data values and the
checksum produces a 0.
For example:
Error Detection
Cyclic Redundancy Check ( CRC ) (cont.)
The CRC is found by applying the following equation.
ece-research.unm.edu/jimp/310/slides/8086_memory2.html 10/14
8/25/2020 Memory Address Decoding
Error Correction
Parity , BCC and CRC are only mechanisms for error detection.
The system is halted if an error is found in memory.
ece-research.unm.edu/jimp/310/slides/8086_memory2.html 11/14
8/25/2020 Memory Address Decoding
ece-research.unm.edu/jimp/310/slides/8086_memory2.html 12/14
8/25/2020 Memory Address Decoding
Error Correction
Hamming Codes (cont).
ece-research.unm.edu/jimp/310/slides/8086_memory2.html 14/14