8086/8088Mp Instructor: Abdulmuttalib A. H. Aldouri
8086/8088Mp Instructor: Abdulmuttalib A. H. Aldouri
ALDOURI
01
8086/8088MP INSTRUCTOR: ABDULMUTTALIB A. H. ALDOURI
A single NAND gate is used to decode each memory device. The inputs of
the NAND gate can be connected on the address lines either directly, or
through inverters, according to the required memory map.
This method has the advantage that it adds a short time delay in the memory
path.
The disadvantage of this circuit is that too many gates (NAND and NOT) are
needed for memory systems that have a few memory chips. This increases
the cost of the system, adds to the complexity of the PCB board (too many
chips and lines).
The figure below shows a memory map of two memory chips. Lines A 0 – A14
are connected to each chip and lines A15 – A19 are connected to NAND gates to
generate the CS signal.
02
8086/8088MP INSTRUCTOR: ABDULMUTTALIB A. H. ALDOURI
03
8086/8088MP INSTRUCTOR: ABDULMUTTALIB A. H. ALDOURI
H.W.
Show how a 32Kbyte ROM module can be connected on an 8088 system using
2764 EPROM chips (8K x 8), occupying the address range starting from the
address E0000H. Use the following address decoding circuits:
1. NAND gates
2. A line decoder and a NAND gate
04
8086/8088MP INSTRUCTOR: ABDULMUTTALIB A. H. ALDOURI
Example:
Design an 8K x 8 RAM module using 2K x 8 RAM chips. The module should
be connected on an 8-bit processor with a 16-bit address bus, and occupy the
address range starting from the address A000. Show the circuit and the memory
map.
Solution:
Number of memory devices needed = 8K / 2K = 4
Decoder needed = 2 x 4
Number of address lines on each 2K x 8 memory chip = 11
2m = 2K = 21 x 210 = 211 → (A0 - A10)
Two address lines are needed for the decoder → (A11 , A12)
Number of address lines needed for the address selection circuit
= 16 - 11 - 2 = 3 → (A13, A14 , A15)
05