1 Answer

0 votes
by

If each block has only one place it can appear in the cache, the cache is said to be direct mapped. The mapping is usually (block-frame address) modulo (number of blocks in cache).

If a block can be placed anywhere in the cache, the cache is said to be fully associative.

If a block can be placed in a restricted set of places in the cache, the cache is said to be set associative. A set is a group of two or more blocks in the cache. A block is first mapped onto a set, and then the block can be placed anywhere within the set. The set is usually chosen by bit selection; that is, (block-frame address) modulo (number of sets in cache). If there are n blocks in a set, the cache placement is called n-way set associative.

Related questions

0 votes
    A byte addressable direct-mapped cache with 1024 blocks/lines, and with each block are having 8 32-bit words. How many bits are required ... 32-bit address? (a)10 (b)15 (c)3 (d)5...
asked Oct 6, 2020 in Technology by JackTerrance
0 votes
    What are the types of Caches in lookup? Explain them....
asked Mar 28, 2021 in Technology by JackTerrance
0 votes
    Can you explain the difference between direct and alternating current?...
asked Dec 12, 2020 in Technology by JackTerrance
0 votes
    Which of these can be used to fully abstract a class from its implementation? (a) Objects (b) Packages (c) ... & Packages of Java Select the correct answer from above options...
asked Feb 23, 2022 in Education by JackTerrance
0 votes
    What command is used for remove all stopped containers, unused networks, build caches, and dangling images? docker system kill ... kill -a docker system prune docker system rm -a...
asked Jun 22, 2021 in Technology by JackTerrance
0 votes
    What are the different types of caches available in Hibernate?...
asked Feb 4, 2021 in Technology by JackTerrance
0 votes
    Which was the first direct confrontation between the USA and USSR during the Cold War? Select the correct answer from above options...
asked Aug 3, 2022 in Education by JackTerrance
0 votes
    Explain the differences between a linked list and an array....
asked Mar 11, 2021 in Technology by JackTerrance
0 votes
    Explain differences between the page execution lifecycle of an ASP.NET page and an ASP.NET AJAX page?...
asked Dec 31, 2020 in Technology by JackTerrance
0 votes
    Simplest definition of Memory-Mapped files?...
asked Nov 22, 2020 in Technology by JackTerrance
0 votes
    Which types of java classes can be mapped using @Lob annotation?...
asked Nov 7, 2020 in Technology by JackTerrance
0 votes
    Prediction and Reality can be easily mapped together with the help of : a) Prediction b) ... proposed by,electromagnetic theory engineering physics,electromagnetic theory nptel...
asked Nov 12, 2021 in Education by JackTerrance
0 votes
    When a program tries to access a page that is mapped in address space but not loaded in physical memory, then ____________ ... error occurs c) page fault occurs d) no error occurs...
asked Oct 27, 2022 in Education by JackTerrance
0 votes
    Can data be stored directly in associative memory? (a) yes (b) no I had been asked this question during ... of ANN of Neural Networks Please answer the above question....
asked Aug 27, 2022 in Education by JackTerrance
0 votes
    What are some of desirable characteristics of associative memories? (a) ability to store large number of patterns (b) ... d) all of the mentioned Please answer the above question....
asked Aug 27, 2022 in Education by JackTerrance
...