Documente Academic
Documente Profesional
Documente Cultură
A digital processor generally requires a facility for storing information. The part of a digital processor, which provides this storage facility is called the memory.
Two classes memory
Magnetic Memory
Semiconductor memory
A ferromagnetic material can be magnetized in a particular direction by the application of suitable magnetizing force. The ability of a magnetic material to store information in two different states, has resulted magnetic memory. Recent advances in semiconductor technology have led to economical and reliable MSI and LSI semiconductor memory chips that are much smaller in size and much faster in operation than conventional magnetic memories.
S. Kal, IIT-Kharagpur
Transistor flip-flops (either bipolar or MOS) stores 1 bit of information and is referred to a memory cell. Faster operation is obtained with a bipolar memory, but greater packing density and therefore reduced size and cost as well as lower power requirements are characteristics of MOS memory.
Memory
Memory Parameters
Memory cell: An electrical circuit or device used to store a single binary digit (bit) is known as a memory cell. Charged capacitors, flip flop, single spot on magnetic tape or disk are some examples of memory cell. Word: A set of binary cells is physically grouped together to form a unit called a word. A register consisting of eight flip flops can be considered to be a memory that is storing an 8-bit word. The word size in modern computers varies from 4 to 64 bits. A group of 8 bits is known as a byte. Word size can be expressed in bytes as well as in bits. A word size of 16 bits is also a word of 2 byte.
S. Kal, IIT-Kharagpur
Memory Parameters
Density or Capacity: The number of bits that can be stored in a particular memory system is known as its capacity or density. A particular memory has greater density than other means that it can store more bits in the same amount of space. For example, a memory of 16 twenty-bit word means the capacity of the memory is 320 bits. It is common practice to refer memory capacity in K. The designation 1K represents 210 =1024. The number of words in a memory is often a multiple of 1024. Thus a memory that has a storage capacity of 2K v 20 comprises of 2048 (2 v 1024) words of 20 bits, which means the capacity of the memory unit is 40,960 (2048 v 20) bits, In the recent times larger memories are designed as M or meg. 1M equal 1000K, which means 1M = 220 = 1,048,576. Address: The location in the memory system where a word is to be stored is called the address of the word. Similarly one has to specify its address to retrieve a word from memory. Addresses are generally expressed as a binary number. Each word in a memory has an address code, which refers to a particular location in a memory. S. Kal, IIT-Kharagpur
5
Memory Parameters
Read Operation: The read operation, sometimes known as fetch operation, is an operation whereby the binary word stored in a particular memory location (address) is sensed and then transferred to another device. If a word stored in some location is to be read then its address is entered in memory address register (MAR). When the read signal is activated by the control unit, the number is copied into memory buffer register (MBR). Copying process, which leaves the word undisturbed in its location is called non-destructive read out. It may be destructive also. It all depends upon the device used for a binary cell in the memory. Flip-flop binary cells, for example, are non-destructive. Reading from binary cells made with magnetic cores is destructive. In this case, whatever is read from the selected memory cell must be written back to preserve its contents.
S. Kal, IIT-Kharagpur
Memory Parameters
Write Operation: When a new word is placed into a particular memory location, it is referred to as write or store operation. In order to write a word in a particular location, It is placed initially in memory buffer register or data register and the address of the location is entered in the memory address register. The write signal is then initiated and the new word is stored into the memory location replacing the previously stored data. Access Time: It is the time interval between the initiation of a read signal and the availability of the required word in the memory buffer register. Access time is a measure of a memory devices operating speed. The method of accessing memory depends on the particular device used for binary cell. Write Time: The time interval between the initiation of a write signal and the storing information in the specified address (location) in the memory is termed as write time. If reading information from the memory is destructive, the total time required for read and rewrite is called the memory cycle time.
S. Kal, IIT-Kharagpur
S. Kal, IIT-Kharagpur
10
S. Kal, IIT-Kharagpur
11
12
S. Kal, IIT-Kharagpur
13
S1,S2,S3,S4 represent four MOSFET switches and are controlled by various address decoder outputs. CS is the actual storage cell To write data to the cell CS, decoder signal closes switch S1 and S2 while keeping S3 and S4 open To read data from the cell, S2,S3,S4 are closed and S1 is kept open
S. Kal, IIT-Kharagpur
14
S. Kal, IIT-Kharagpur
15
16
17
18
19
Applications of ROM:
1. It can be used to provide the realization of an arbitrary truth table. 2. ROMs are widely used in code conversion and in connection with alphanumeric displays. 3. ROM is used to yield results that would otherwise be achieved by computation involving a sequence of arithmetic operations. Examples: 1. Main memory in a hand calculator RAM 2. Storing values of logarithms ROM 3. Storing prices of vegetable produce EPROM 4. Emergency stop procedures for an industrial mill now in the design stage PROM
S. Kal, IIT-Kharagpur
20