This is a cache and memory simulator for a custom ISA nicknamed "RISC V[ECTOR]". It uses a writeback and write allocate on a miss scheme. It also supports a configurable number of cache levels and ways (allowing creation of a direct mapped or fully associative cache). Additionally, it uses a least-recently used replacement policy.
g++, CMake, and the following libraries are required to compile:
- cmake (tested with v3.30.3)
- g++ (tested with v11.4.0)
- catch2 (tested with v3.5.3)
Generate the build directory with
cmake -S . -B build
then compile both the simulator and tests with
cmake --build build
Created at the University of Massachusetts, Amherst
CS535 -- Computer Architecture and ISA Design