In direct memory management, CPU references address of 15-bits. Main memory size is 512 * 8 and cache memory size is 128 * 8. What is the size of Tag and line in bits?
I have found the number of bits in the word field as follows, Block size=8=2^3 Therefore, word bits=3 bits
Now number of bits in line field is 7 (128=2^7) i guess.