Module3_Interfacing
Module3_Interfacing
I/O Interfacing
Memory Interfacing
• If the lower byte of the word is located at an odd memory address, then the CPU will require 2 memory
cycles. The first memory cycle is required for accessing the lower byte of the word through the higher
data bus, i.e. D15 to D8, and the second memory cycle is required for accessing the upper byte of the
word through the lower data bus, i.e. D7 to D0.
Dr. Dipti Mishra, Mahindra University Ecole Centrale School of
10/10/2024 8
Engineering, Hyderabad
Memory Devices
• Simple or complex, every microprocessor-based system has a memory
system.
• Introduction: Memory is simply a device that can store information.
• The semiconductor memories are extensively used because of their small
size, low cost, high speed, high reliability & ease of memory size expansion.
• It consists of mainly flip-flops & some additional circuitry such as buffers, one
flip-flop can hold one bit of data.
• Memory fundamentals: Memory capacity. The no. of bits that a
semiconductor memory chip can store is called its chip capacity.
Almost all systems contain four common types of memory:
♦ Read-only memory (ROM)
♦ Flash memory (EEPROM)
♦ Static Random access memory (SARAM)
Dr. Dipti Mishra, Mahindra University Ecole Centrale School of
Dynamic Random access
♦10/10/2024 memory (DRAM).
Engineering, Hyderabad
9
Static Random Access Memory (SRAM)
• A Static RAM is a volatile memory device which means that the
contents of the memory array will be lost if power is removed.
• Unlike a dynamic memory device, static memory does not require a
periodical refresh cycle and generally runs much faster than a
dynamic memory device.
• Static RAM is used when the size of the read/write memory is
relatively small, today, a small memory is less than 1M byte.
• The main difference between ROM and RAM is that RAM is written
under normal operation, whereas ROM is programmed outside the
computer and normally is only read.
Dr. Dipti Mishra, Mahindra University Ecole Centrale School of
10/10/2024 11
Engineering, Hyderabad
Dr. Dipti Mishra, Mahindra University Ecole Centrale School of
10/10/2024 12
Engineering, Hyderabad
Dynamic Random Access Memory (DRAM)
• Available up to 256M X 8 (2G bits).
• DRAM is essentially the same as SRAM, except that it retains data for only 2
or 4 ms on an integrated capacitor.
• After 2 or 4 ms, the contents of the DRAM must be completely rewritten
(refreshed), because the capacitors, which store a logic 1 or logic 0, lose their
charges.