Skip to main content

Posts

Showing posts with the label architecture

Wondering Cache

Some of you may have already heard about the computer cache in your curriculum or some of you may have not. But this article is intended for all of those who want to understand cache concepts. The next part of it consists of developing a cache simulator using C programming language. I believe that this article will give a clear insight of cache and how it works. So lets see what we will be learning in this series of articles. Cache Introduction Cache Organisation Understanding a few Concepts Cache Replacement Strategies Random Replacement Least Recently Used (LRU) Replacement Cache Mapping Techniques Direct Mapped Cache Set Associative Mapped Cache Fully Associative Mapped Cache The Tedious Task of Cache Writing Write Through No Allocate (write around) Allocate Write Back Basic Cache Simulator Cache Introduction The first thing we should know what are we ta...