tsengs0 / MulticoreCache_sim

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:C++ 95.7%Language:Makefile 4.3%