Hello. I have this question that is confusing me.

A direct-mapped cache consists of 16 blocks. Main memory contains 16K blocks of 8 bytes each. Show the main memory mapping address format.

my question is this: Does the 16K blocks of 8 bytes each mean there are 16K*8 total bytes? how do i know cache size?

this is the effort i've made so far: i know a block has 8 bytes each. so that's 2^3. so the offset field will have 3 bits. but i don't know how to determine the total number of bits in the address or how to go about doing that.

If memory has 16K blocks of 8 bytes each, what does that say about the possible values that memory addresses can have?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.