Direct mapped cache memory complete hardware circuit.
This technique of placing a group of main memory locations into a fixed cache line is termed as Direct- mapped Cache.
We have discussed the direct- mapped cache in previous topic. The details on Cache line, TAG memory and various control flags can also be referred from previous topics. To implement an efficient control circuit in hardware requires following approach.
We have discussed the direct-
For direct mapped cache memory we will need to partition address into following fields.
Access the partition of main memory for direct- cache implementation.
Block Nos (TAG) : Any 1 of 32 TAGs = (2^5)
Group : Any 1 of 256 groups (2^8)
No of Bytes (offset) : Any 1 of 8 bytes = (2^3)
Access the partition of main memory for direct- cache implementation.
Direct- Mapped Cache Memory complete hardware block diagram below.