Module 7: Memory Interfacing: Cs/Ece/Eee/Instr F241 - Microprocessor Programming & Interfacing
Module 7: Memory Interfacing: Cs/Ece/Eee/Instr F241 - Microprocessor Programming & Interfacing
ANUPAMA KR
BITS, PILANI – KK BIRLA GOA CAMPUS
Q1. An 8086 based system has the following memory requirements:
Chips available:
64K ROM -8, 64K RAM -4, LS138-2. Design the memory Interfacing circuit.
Q2. For an 80286 processor that has 16 MB of memory of which 4M is ROM and the rest is RAM. Half
of the ROM - mapped to address space starting at 00 00 00H Half to address space starting from
E0 00 00H. The RAM is mapped continuously from address 20 00 00H. Design the memory
Interfacing circuit.
Q3. For an 8086 based system with the following memory requirements:
Using these decoders and minimum number of logic gates draw the memory interfacing diagram
32K RAM - 8
LS138 -4
Show the complete memory mapping and design the memory decoding circuit using only the
chips given. All system bus signals (MEMR’, MEMW’, IOR’, IOW’ BHE’, A0- A23, D0 – D16) are
available. Show the memory interfacing circuit. Use absolute addressing.
Q6. A System is built around the 8086 processor which is working at a frequency of 5 MHz. It has 640
KB of memory – of which 256 K is ROM and the rest is RAM – Half of the ROM is mapped to address
space starting at 0 00 00H and half it to address space starting from E 00 00H The RAM 128 K is
mapped from 4 00 00H and the rest from address 8 00 00H.
Show the complete memory mapping and design the memory interfacing circuit using only the
chips given in table below. All system bus signals (MEMR’, MEMW’, IOR’, IOW’, BHE’, A0- A19, D0 –
D15) are available. Use Absolute Addressing.
The SRAM chip available is MS621000 128 K x 8. The memory interfacing has to be done using
GAL22V10C. (Refer to corresponding video for details of GAL22V10C)
1. Q9. The decoding logic (using absolute addressing) for an 8086 processor is shown below. This is
the only decoding circuit in the computing system and the rest of the address lines are used with the
memory chips. (Pin out of this decoder is same as the one given in Lecture 1 of Module 7)
ROM2 RAM3
ROM3 RAM4
RAM1 RAM5