Computer Science & Information TechnologyComputer Organization and Architecture

Cache Memory Design

Cache Memory

Cache is a random access memory used by the central processing unit (CPU) to reduce the average time to access memory. Cache memory stores instructions that are repeatedly required to run programs.

Cache Memory

Direct Mapped Cache (1-way Set Associative Cache)

The simplest way to determine cache locations in which to store memory blocks. In direct mapping technique, the mapping is expressed as


i = j % m
where, 
i
= Cache line number
j = Main memory block number
m = Number of lines in the cache
Direct Mapped Cache

<< Previous | Next >>
Must Read: What is Computer Organization and Architecture?

WhatsApp Group Join Now
Telegram Group Join Now

Leave a Reply

Your email address will not be published. Required fields are marked *