Professional Documents
Culture Documents
PART A
1. Draw the four stages in the pipelining
Time
Clock cycle 1 2 3 4 5 6 7
Instruction
I1 F1 D1 E1 W1
I2 F2 D2 E2 W2
I3 F3 D3 E3 W3
I4 F4 D4 E4 W4
Interstage buffers
D : Decode
F : Fetch instruction E: Execute W : Write
instruction and fetch operation results
operands
B1 B2 B3
5. What is Pipelining
Pipelining is widely used in modern processors. Pipelining improves system
performance in terms of throughput. Pipelined organization requires sophisticated
compilation techniques.
PART A
1. State the advantages of Cache Memory
Cache memory is faster than main memory.
It consumes less access time as compared to main memory.
It stores the program that can be executed within a short period of time.
It stores data for temporary use.
2. Distinguish between static RAM and dynamic RAM.
Static RAM uses a completely different technology. ... So static RAM is fast and
expensive, and dynamic RAM is less expensive and slower. Therefore static RAM is
used to create the CPU's speed-sensitive cache, while dynamic RAM forms the larger
system RAM space
Primary Memory and Secondary memory are the types of Memory System. Primary
memory is also called internal memory whereas Secondary memory is also known as a
Backup memory or Auxiliary memory. Primary memory data is directly accessed by the
processing unit whereas Secondary memory data cannot be accessed directly by the
processor.
DDR SDRAM means that this type of SDRAM fetches data on both the leading edge and
the falling edge of the clock signal that regulates it, thus the name “Double Data
Rate”. Double Data Rate SDRAMs are most efficiently used in applications where block
transfers are required
Very fast, but expensive, because a basic SRAM cell has a complex circuit
making it impossible to pack a large number of cells onto a single chip.
Dynamic RAM:
Simpler basic cell circuit, hence are much less expensive, but significantly slower
than SRAMs.
Magnetic disks:
Storage provided by DRAMs is higher than SRAMs, but is still less than what is
necessary.
Secondary storage such as magnetic disks provide a large amount
of storage, but is much slower than DRAMs.
PART-B
1. (i) Analyze the memory hierarchy in terms of speed, size and Cost.
ii) Draw the block diagram of Virtual memory and explain.
2. Explain the need for cache memory and Discuss the various mapping techniques used in
cache memories.
3. Write about mapping function? What are the ways the cache can be mapped?
4. Illustreate the different types of mapping functions in cache memory
5. What is virtual memory? Explain how the logical address is translated into physical
address in the virtual memory system with a neat diagram.