14
MEMORY UNIT

Memory Unit For engineering

Embed Size (px)

DESCRIPTION

this is my own made ppt it must help u

Citation preview

Page 1: Memory Unit For engineering

MEMORY UNIT

Page 2: Memory Unit For engineering

Memory Unit

A memory unit is a device to which binary information is transferred for storage and from which information is retrieved when needed for processing.A memory unit stores binary information in groups of bits called words.The internal structure of memory unit is specified by the number of words it contains and the number of bits in each word.The memory unit is an essential component in any digital computer since it is needed for storing programs and data. Not all accumulated information is needed by the CPU at the same time.Therefore, it is more economical to use low-cost storage devices to serve as a backup for storing the information that is not currently used by CPU

Page 3: Memory Unit For engineering

Classification

In general the memory is classified in two types based on their mode of access of a memory system.

1. Random Access Memory: The world of data reading or writing from or to the memory requires same time. We can access the data randomly.

Example: hard disk.

2.Sequential Access Memory: The information stored in some medium is not immediately accessible but is available as certain intervals of time. The access time is variable.

Example: magnetic tape.

Page 4: Memory Unit For engineering

Random Access Memory

RAM can perform both Write and Read operations.The architecture of memory is such that information can be selectively retrieved from any of its internal locations. The time it takes to transfer information to or from any desired random location is always the same – hence the name random access memory.Integrated circuit RAM units are available in two operating modes: static and dynamic.RAMs are categorized into ROMs,Read Write Memories(RWMs) and Read Mostly Memories(RMMs).

Page 5: Memory Unit For engineering

RAM

The write input causes binary data to be transferred into the memory, and the read input causes binary data to be transferred out of memory.

Page 6: Memory Unit For engineering

ROM

ROM stands for Read Only MemoryRead means output data-bits corresponding to the address bits set at the input. The bits are used by some processor or device or circuit for further operations.Data bits of different addresses store at ROM and all bits remain stored in the memory even after a power interruption or power switch OFFROM is randomly accessed. An equal time interval is taken for a read of data-bits from each address. Address bits can be set randomly by an external circuit.ROM has an address decoder (n to 2n) decoder within it.

Page 7: Memory Unit For engineering

ROM

ROM is used for storing programs that are PERMENTLY resident in the computer and for tables of constants that do not change in value once the production of the computer is completed.

Page 8: Memory Unit For engineering

Types Of ROM

1.Masked Programmed ROMs :- These chips are integrated circuits that physically encode the data to be stored, and thus it is impossible to change their contents after fabrication.The main advantage of mask ROM is its cost. Per bit, mask ROM is more compact than any other kind of semiconductor memory. Since the cost of an integrated circuit strongly depends on its size, mask ROM is significantly cheaper than any other kind of semiconductor memory. However, the one-time masking cost is high and there is a long turn-around time from design to product phase. Design errors are costly: if an error in the data or code is found, the mask ROM is useless and must be replaced in order to change the code or data.

Page 9: Memory Unit For engineering

2.User Programmed PROMs

Programmable Read-Only Memory (PROM) is read-only memory (ROM) that can be modified once by a user. A typical PROM comes with all bits reading as "1". Burning a fuse bit during programming causes the bit to read as "0"The difference between a PROM and a ROM (read-only memory) is that a PROM is manufactured as blank memory, whereas a ROM is programmed during the manufacturing process. To write data onto a PROM chip, you need a special device called a PROM programmer or PROM burner. The process of programming a PROM is sometimes called burning the PROM.

Page 10: Memory Unit For engineering

Types Of RWMs–Static RAM (SRAM)Dynamic RAM (DRAM)

Page 11: Memory Unit For engineering

Types Of RMMs

EPROM (Erasable Programmable Read-Only Memory) is programmable read-only memory (programmable ROM) that can be erased and re-used.Once programmed, an EPROM can be erased by exposing it to strong ultraviolet light source.An EPROM differs from a PROM in that a PROM can be written to only once and cannot be erased.EPROMs are used widely in personal computers because they enable the manufacturer to change the contents of the PROM.

Page 12: Memory Unit For engineering

2.EEPROM

EEPROM stands for Electrically Erasable and Programmable Read Only Memory.EEPROM is a type of non-volatile memory used in computers and other electronic devices to store small amounts of data that must be saved when power is removed, e.g., calibration tables or device configuration. Unlike EPROM chips, EEPROMs do not need to be removed from the computer to be modified.It also has a limited life i.e. the number of times it can be reprogrammed is limited to tens or hundreds of thousands of times.Applications-storing current date and time,storing port statusses.

Page 13: Memory Unit For engineering

Semiconductor Memory Types

Page 14: Memory Unit For engineering

Flash Memory

Flash Memory is a special form of EEPROM, which uses normal PC voltages for erasure and reprogramming.Flash memory is often used to hold control code such as the basic input/output system (BIOS) in a personal computer.When BIOS needs to be changed (rewritten), the flash memory can be written to in block (rather than byte) sizes, making it easy to update.Examples of flash memory device applications are storing messages in a mobile phone, storing photographs in a digital camera.