Caches  Consider a 1MB 4-way cache with 64-Byte cache lines;…

Caches  Consider a 1MB 4-way cache with 64-Byte cache lines; assume memory addresses are 64 bits. Please answer the following questions with justifications for your answers How many sets are there in the cache? How many bits are needed for offset?  How many bits are needed for set index?  How many bits are there for the tag? Given an memory address 0xFEFE, which set does it map to? What are its tag and offset?