13.07.2015 Views

Digital Electronics: Principles, Devices and Applications

Digital Electronics: Principles, Devices and Applications

Digital Electronics: Principles, Devices and Applications

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Computer Fundamentals 611CPURegistersCacheMemoryR<strong>and</strong>om Access Memory(RAM)Read Only Memory(ROM)Hard Drives/Removable DiscsVolatileMemoriesNon-VolatileMemoriesFigure 15.3Various types of memory present in a typical computer system.<strong>and</strong> CDs. Primary memory is described in this section, <strong>and</strong> secondary storage media are discussed inSection 15.10.15.4.1 Primary MemoryThe primary memory holds the program instructions for the program to be executed, the input data tobe processed <strong>and</strong> the intermediate results of any calculations when processing is being done. Primarymemory is also used for storing BIOS <strong>and</strong> start-up programs.When a program <strong>and</strong> data are entered into a computer, the control unit directs them to the primarymemory. Each program instruction <strong>and</strong> each data item is stored in a memory location that has a uniqueaddress. These data <strong>and</strong> instructions are held till new data items <strong>and</strong> instructions are written over them.Thus, the same data can be accessed repeatedly if so desired <strong>and</strong> the same instructions can be executedrepeatedly if so required. This is what is known as the stored program concept. The primary memoryof a computer further comprises process registers, r<strong>and</strong>om access memory (RAM), cache memory <strong>and</strong>read only memory (ROM). Process registers are memory cells built into the CPU that contain thespecific data needed by the CPU. Cache memory is basically a type of RAM memory.15.4.1.1 R<strong>and</strong>om Access MemoryRAM is a read/write memory where the data can be read from or written into any of the memorylocations regardless of the order in which they are arranged. Therefore, all the memory locations ina RAM can be accessed at the same speed. RAM is used to store data, program instructions <strong>and</strong> theresults of any intermediate calculations during the execution of a program. Also, the same data can beread any number of times <strong>and</strong> different data can be written into the same memory location, with everyfresh data item overwriting the existing one. It is typically used for short-term data storage as it cannotretain data when the power is turned off.RAM is available in the form of ICs as well as in the form of plug-in modules. The plug-inmodules are small circuit boards containing memory ICs <strong>and</strong> having input <strong>and</strong> output lines connectedto an edge connector. They are available as single in-line memory modules (SIMMs) <strong>and</strong> dual in-linememory modules (DIMMs). More than one memory IC (or chip) can be used to build the RAM for

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!