Livoa LogoLivoa
Initialize parameters
Generate random memory address
Select random cache chiplet
Access cache with the address
Is cache hit?
Update last_used


Add cache access latency

Increment hit count

Find LRU block in set


Replace LRU block with new

Add cache miss penalty

Access near-data memory

Add near-data latency

Update total latency
Increment current time
More operations to simulate?
Yes
No
Calculate cache hit rate
Calculate average latency
Print performance metrics

Copy of Project

by QWERTY

0
0 uses