Avionics Lecture Handouts (L-18)
Avionics Lecture Handouts (L-18)
Lecture Handouts
Subject Name: AVIONICS
VII/IV
Introduction:
Memory is an integral part of a microprocessor system, and in this section, we will discuss
how to interface a memory device with the microprocessor. The Memory Interfacing in 8085 is
used to access memory quite frequently to read instruction codes and data stored in memory. This
read/write operations are monitored by control signals. The microprocessor activates these signals
when it wants to read from and write into memory. In the last section we have already seen the
memory read and memory write machine cycles, and status of the RD, WR and IO/M status signals
for read/write operation. In the following section we will see memory structure and its
requirements, concepts in Memory Interfacing in 8085 and interfacing examples.
Prerequisite knowledge for Complete learning of Topic:
1. Semiconductors.
2. Digital circuits
Detailed content of the Lecture:
As mentioned earlier, read/write memories consist of an array of registers, in which each
register has unique address. The size of the memory is N x M as shown in Fig. where N is
the number of registers and M is the word length, in number of bits.
Page 1 of 3
component totally depends on the application. The memory interfacing requires to : Select
the chip Identify the register Enable the appropriate buffer. Microprocessor system includes
memory devices and I/O devices.
It is important to note that microprocessor can communicate (read/write) with only one
device at a time, since the data, address and control buses are common for all the devices.
In order to communicate with memory or I/O devices, it is necessary to decode the address
from the microprocessor.
Due to this each device (memory or I/O) can be accessed independently. The following
section describes common address decoding techniques.
Address Decoding Techniques : Absolute decoding/Full Decoding Linear decoding/Partial
Decoding Absolute decoding: In absolute decoding technique, all the higher address lines
are decoded to select the memory chip, and the memory chip is selected only for the
specified logic levels on these high-order address lines; no other logic levels can select the
chip. Fig. 4.14 shows the Memory Interfacing in 8085 with absolute decoding. This
addressing technique is normally used in large memory systems.
Address Decoding Techniques : Absolute decoding/Full Decoding Linear
decoding/Partial Decoding Absolute decoding: In absolute decoding technique, all the
higher address lines are decoded to select the memory chip, and the memory chip is
selected only for the specified logic levels on these high-order address lines; no other logic
levels can select the chip. Fig. 4.14 shows the Memory Interfacing in 8085 with absolute
decoding. This addressing technique is normally used in large memory systems.
Linear decoding: In small systems, hardware for the decoding logic can be eliminated by using
individual high-order address lines to select memory chips. This is referred to as linear decoding.
Fig. 4.15 shows the addressing of RAM with linear decoding technique. This technique is also
called partial decoding. It reduces the cost of decoding circuit, but it has a drawback of multiple
addresses (shadow addresses).
Page 2 of 3
Fig. 4.15 shows the addressing of RAM with linear decoding technique. A15 address line, is
directly connected to the chip select signal of EPROM and after inversion it is connected to the chip
select signal of the RAM. Therefore, when the status of A15 line is ‘zero’, EPROM gets selected
and when the status of A15 line is ‘one’ RAM gets selected. The status of the other address lines is
not considered, since those address lines are not used for generation of chip select signals.
Page 3 of 3