Question: what is the difference between direct memory map and set associative cache?
Answer: - Set-associative mapping the cache is divided into a number of sets of cache lines; each main memory block can be mapped into any line in a particular set. ... For a direct-mapped cache , a main memory address is viewed as consisting of three fields.