Assignment 2 (To Be Submitted On 28/3/2019 in The Class)
Assignment 2 (To Be Submitted On 28/3/2019 in The Class)
1. Write and explain micro operations for fetch cycle (instruction fetch) by making use of
data flow diagram and sequence of events
4. A two way set associative cache uses blocks of 4 words. The cache can accommodate a
total of 2048 words from main memory. The main memory size is 128K words.
Determine
i) No. of blocks in the main memory.
ii) No. of blocks and sets in the cache memory
iv) No. of bits in the word, set and tag field of the memory address format
5. Consider a main memory system with 26- bit address, and a cache with 18- bit address that
uses a 32 byte block size. The memory is byte addressable and assume direct mapping.
Determine
6. Consider a virtual address space of 16 megabytes. The main memory space is specified by
20 bits. If the page no. field of the virtual address is 10 bits, find the following:
(i) No. of bits needed to specify the virtual address space
(ii) Size of the main memory
(iii) No. of pages
(iv) Size of a page
(v) No. of blocks