Memory Unit - Computer Architecture - Leo Tutorials

                                                    Memory Unit
A memory unit is a collection of storage cells together with associated circuits needed to transfer information in and out of storage. The memory stores binary information in groups of bits called words. A words in memory is an entity of bits that move in and out of storage as a unit. A memory word is a group of 1's and 0's and may represent a number, an instruction code, one or more alphanumeric characters, or any others binary-coded information. A group of eight bits is called a byte.Most computer memories use words whose number of bits is a multiple of 8.Thus a 16-bit word contains two byte, and a 32-bit words is made up of four bytes. The capacity of memories in commercial computer is usually stated as the total number of bytes that can be stored.
                    The internal structure of a memory unit is specified by the number of words it contains and the number of bits in each words. Special input lines called address lines select one particular word.Each word in memory is assigned an identification number, called an address, starting from 0 and continuing with 1, 2, 3, upto 2k -1 where k is the number of address lines. The selection of a specific word inside the memory is done by applying the k-bit binary address to the address liines. A decoder inside the memory accepts this address and opens the paths needed to select the bits of the specified word. Computer memories may range from 1024 words, requiring an address of 10 bits, to 232 words, requiring 32 address bits. It is customary to refer to the number of words (or bytes) in a memory with one of the letters K (kilo),M (mega) or G (giga). K is equal to 210, M is equal to 220, and G is equal to 230. Thus, 64K = 216, 2M = 221, and 4G = 232.
                  Two major types of memories are used in computer system: random-access memory (RAM) and read-only memory (ROM).These semiconductor memories are classified iinto Random Access Memory (RAMs) and Sequential Access Memories (SAMs) based on access time. Memories constructed with shift registers, Charge Coupled Devices (CCDs), or bubble memories are example of SAMs. RAMs are categorized into ROMs, Read Mostly Memories (RMMs), and Read write Memories (RWMs). ROMs are of two types: Masked programmed ROMs and user programmed PROMs. Two types of RMMs are Erasable and Programmable (EPROM), and Electrically Erasable (EEPROM). RWMs are static RAM (SRAM) and Dynamic RAM (DRAM). Static RAMs have memory cells as common Flip-Flops. Dynamic RAMs have memory cells that must be refreshed, read and written periodically to avoid loss of memory cells


Post a comment

0 Comments