We have a standard 32-bit byte-addressed MIPS machine with 4 GiB RAM, a 4-way set-associative CPU data cache that uses 32 byte blocks, a LRU replacement policy, and has a total capacity of 16 KiB. Consider the following C code and answer the questions below. (size of int type variable is 4 byte)
How many bits are used for the tag, index, and offset?
Tag | Index | Offset |