Skip to content

A simple simulator for evaluating the hit/miss ratio of L1 data cache under multicore system with one main memory.

Notifications You must be signed in to change notification settings

tsengs0/MulticoreCache_sim

Repository files navigation

This is a simple exercise of using SystemC when I was in undergraduate school.

I implemented a multicore simulator which contains:
* Four indentical cores. it is for performing simple arithmetic unit (ALU)
* Main memory (RAM). The size is 256x8 bits (tentative)
* L1 data cache. Each core owns one L1 cache memory
* System bus. It is for interconnecting whole elements, i.e., cores and main memory

I managed to evaluate the hit and miss ratio of L1 cache of each core. Specifically every core will randomly chose two data from the RAM and do the addition operation. Then transfer the calculation reslut to another core via RAM.

About

A simple simulator for evaluating the hit/miss ratio of L1 data cache under multicore system with one main memory.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published