Cache Warmstarter design by Aril.
It is 128B 2-way set associative cache with 16B line size.
The code is split in 2 files, Main body and the functions file.
cache_warmstarter.py
utility.pyThe output hex files are generated upon running the "cache_warmstarter.py"
python cache_warmstarter.py --seed 2 --ways 2 --index 4The code runs with a seed value, ways supported and the number of sets, i.e index (calculated from the given cache specifications) given as input from the Command Line as an argument.
The code also runs with default values. (No Command line arguments needed)