60
Internal Memory Internal Memory

Internal memory

Embed Size (px)

DESCRIPTION

Computer Architecture

Citation preview

Page 1: Internal memory

Internal MemoryInternal Memory

Page 2: Internal memory

IntroductionIntroductionComputer memory exhibits different types

of technique, organization, performance, size and cost.

But, no technology is optimal in memory requirements for a computer system.

As a result, a computer equipped with a hierarchy of memory subsystems.

Some are internal to the system – RAM, ROM, CACHE

External memories are Hard disk, Optical and Pen drive etc.,

Page 3: Internal memory

RAMRAMStorage cell unit consists of N cells each of

which can store 1 bit either 0 or 1.Every location of RAM accessed

independently. So, the access and cycle times can constant.

The address of memory location transferred through MAR using address bus.

The address then proceed by the address decoder.

Which select required location in storage unit.

Page 4: Internal memory

RAM RAM contd.,contd.,

The contents of the selected location placed in IR through MDR processor register.

The R/W control line specifies the type of access to be performed.

Write operation, the word to be place in MDR and the address specified in MAR and then transferred to selected cell.

DDR RAM-Double Data Rate synchronous dynamic random access memory

Page 5: Internal memory

RAMRAM

Page 6: Internal memory
Page 7: Internal memory

ROMROMData are written into a ROM when it is

manufactured.ROM is mask programmed by the

manufacturer in the factory with the contents ordered by the customers.

The contents are fixed by metal masks used during chip fabrication.

Once programmed, the contents cannot be erased.

Even a single bit wrongly programmed the ROM chip is useless.

Page 8: Internal memory

ApplicationApplicationUsed to store control programs such as

micro program.Character generation, code conversion, etc.,

Page 9: Internal memory
Page 10: Internal memory

Boot screenBoot screen

Page 11: Internal memory
Page 12: Internal memory
Page 13: Internal memory

PROM-Programmable ROMPROM-Programmable ROMPROM is a field programmable device.The customer buy a blank PROM and store

desired data using PROM programmer(burner).Programmability achieved by inserting a fuse at

point P.Before programmed, the memory contains all 0s.The user can insert 1 by burning out the fuse in the

particular cell using high current pulse.The PROM chip can be programmed only once

and its contents cannot be erased.PROM are flexible , faster and less expensive

because they can be programmed directly by the user.

Page 14: Internal memory

Application-PROMApplication-PROMBoot program in micro computer

Page 15: Internal memory

PROMPROM

Page 16: Internal memory

PROMPROM

Page 17: Internal memory

EPROM-Erase programmable EPROM-Erase programmable ROMROM

A rewritable chip that holds its contents without power.

Previous data can be erased and new data can be inserted

EPROM chips are written on an external programming device before being placed on the circuit board.

Capable of retaining stored information for a long time.

Page 18: Internal memory

EPROM EPROM contd.,contd.,

Eraser requires breakup the charges trapped in the transistors of memory cell.[this is done by break the chip to ultraviolet light].

This reason EPROM packaged with transparent window.

Disadvantages:Entire EPROM is erased as a whole and

selective erasing is not possible.Should be removed from the chip for

reprogramming.

Page 19: Internal memory

EPROMEPROM

Page 20: Internal memory
Page 21: Internal memory

EEPROM-Electrically Erased EEPROM-Electrically Erased PROMPROM

It can be both programmed and erased electrically( flashed back to Zero).

They do not need to removed when the chip content erasure.

Also, erase selected content in the chip.Erasing and programming dynamically

without removing the EEPROM from the circuit.

Disadvantages:Different voltages are required for erasing,

reading and writing the data.

Page 22: Internal memory

ApplicationApplicationUsed as ROMCritical system setup information in a non-

volatile way.

Page 23: Internal memory

EEPROMEEPROM

Page 24: Internal memory

EEPROMEEPROM

Page 25: Internal memory

EEPROMEEPROM

Page 26: Internal memory

Flash MemoryFlash MemoryRecent kind of EEPROM is flash memory.Which is erased by ultraviolet light.EEPROM is byte erasable whereas, flash

memory is a block erasable.Like a EEPROM when erasing the contents

of flash memory no need to remove from the circuit.

In flash it is possible to read the contents of a single cell, but is only possible to write an entire block of cells.

Page 27: Internal memory

Flash memory Flash memory contd.,contd.,

It need single power supply and consume less power.

Application:Cell phones, hand held devices, digital

camera, washing machine, AC, Tablet etc.NOTE: low power consumption of flash

memory makes it attractive for use in portable equipment that is battery driven

Page 28: Internal memory

Flash CardFlash CardMount flash chips on a small card.That card simply plugged into a slot.64 MB can store 1 hour songs.Now a days, the device can equipped with

up to 32GB flash memory.

Page 29: Internal memory
Page 30: Internal memory
Page 31: Internal memory
Page 32: Internal memory

Speed, size and CostSpeed, size and CostSRAM chip is very fast memory in the

computer system. but it is expensive because their basic cells have 6 transistors.

Which impossible to packaging a very large number of cells onto a single chip.

Cost wise also expensive.Cache memory can be implemented based

on SRAM.Alternative is to use DRAM, which can have

same basic cells and thus much less expensive. But significantly slower.

Still it is small in size compared to magnetic drives.

Page 33: Internal memory

Speed, size and CostSpeed, size and CostMain memory can be build with DRAM.Secondary storage- large memory

space with reasonable price but much slower than semiconductor memory unit.

Page 34: Internal memory

conclusionconclusionHuge amount of cost-effective

storage can be provided by magnetic disk.

Main memory can be built with DRAM.

SRAM to be used in smaller unit where speed is of the essence.(Cache)

Page 35: Internal memory

SPEEDSPEED

Page 36: Internal memory

SPEEDSPEEDFastest access is to data held in

processor registers.There are often two levels of cache,

the primary cache inside processor refer to as L1. secondary cache placed outside referred as LEVEL 2(L2) usually SRAM chip.

Next level in the hierarchy is called main memory.

The typical main memory is about ten times slower than the access for the L1 cache.

Page 37: Internal memory

SPEEDSPEEDThe bottom level in the hierarchy

is called the secondary memory such as magnetic disk.

Disk provide a huge amount of inexpensive storage. But they very slow.

Page 38: Internal memory
Page 39: Internal memory
Page 40: Internal memory
Page 41: Internal memory
Page 42: Internal memory
Page 43: Internal memory
Page 44: Internal memory
Page 45: Internal memory
Page 46: Internal memory
Page 47: Internal memory
Page 48: Internal memory
Page 49: Internal memory
Page 50: Internal memory
Page 51: Internal memory
Page 52: Internal memory
Page 53: Internal memory
Page 54: Internal memory
Page 55: Internal memory
Page 56: Internal memory
Page 57: Internal memory
Page 58: Internal memory
Page 59: Internal memory
Page 60: Internal memory