Сourse repository is dedicated to CPU and OS simulation in third bachelor semester at MIPT.
All teaching materials used during the semester are here.
You can find simulator library and test generation script here.
During the course we consistently improve our toy model of the simulator.
Here are the results of a comparison of four different models on a test in which we varied the number of loop iterations (aka LC):
- Introduction
- Software Modeling
- Interpreters
- Decoder
- ELF
- Advanced Interptreters
- Full-System Simulation
- Trace Driver Simulation
- Cycle-Accurate Models
- Caches
- Program Execution Analysis
From the root of source directory configure:
mkdir -p build/
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release
Then run build:
cmake --build build/ -j<nproc>